/* Base reset and variables */
:root {
  --bg: #0b0f17;
  --bg-alt: #0f1522;
  --surface: #141a26;
  --text: #e6e9ef;
  --muted: #9aa4b2;
  --primary: #5b8cff;
  --primary-600: #3e6ff0;
  --ring: rgba(91, 140, 255, 0.4);
  --border: #202836;
  --success: #27c193;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Prevent background scroll when mobile menu open */
body.nav-open { overflow: hidden; }

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: linear-gradient(180deg, var(--bg) 0%, #0a0e15 100%);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section { position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); }
.section-p { padding: 96px 0; }

/* Anchor offset so sections aren't hidden under header */
.section { scroll-margin-top: 80px; }

/* Visually separate sections following another section */
.section-p + .section-p { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 112px; }
.section-p + .section-p::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.section-title {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.5vw, 38px);
}

.section-subtitle {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}

/* Header / Navbar */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 23, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.header.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,0.35); background: rgba(11,15,23,0.85); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  color: #000; font-weight: 800; text-transform: uppercase;
  box-shadow: 0 6px 18px var(--ring), inset 0 0 0 1px rgba(255,255,255,0.18);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,0) 60%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.brand:hover .logo { transform: translateY(-1px) scale(1.04); box-shadow: 0 10px 26px var(--ring), inset 0 0 0 1px rgba(255,255,255,0.22); }
.brand-text { letter-spacing: -0.02em; }

.nav-menu { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--muted); font-weight: 500; padding: 8px 10px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: white; background: rgba(91,140,255,0.12); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle .bar { width: 24px; height: 2px; background: var(--text); border-radius: 1px; }

/* Hero */
.hero { padding-top: 36px; min-height: 90vh; display: flex; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }

.hero-title { margin: 0 0 22px; font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.03em; line-height: 1.15; }
.hero-subtitle { margin: 12px 0 36px; color: var(--muted); max-width: 56ch; }

.hero-actions { display: flex; gap: 12px; margin: 28px 0 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); background: rgba(255,255,255,0.02); transition: transform .08s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.18); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-600)); color: white; border-color: transparent; box-shadow: 0 10px 25px var(--ring); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 10px 14px; font-size: 14px; }

/* Dark text only for the hero's primary button */
.hero-actions .btn-primary { color: #0b0f17; font-weight: 700; box-shadow: none; }
.hero-actions .btn-primary:hover { box-shadow: none; }

.hero-stats { display: flex; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.stat { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 12px 14px; border-radius: 12px; display: grid; row-gap: 4px; min-width: 140px; }
.stat .num { font-weight: 800; font-size: 20px; }
.stat .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.hero-visual { position: relative; }
.code-card {
  background: linear-gradient(180deg, #0f1625, #0c1220 60%, #0f1625 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  overflow: hidden;
  transform: rotate(-3deg) scale(1.03);
  transform-origin: 50% 50%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.code-card .card-header {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  backdrop-filter: blur(3px);
  border-bottom: 1px solid var(--border);
}
.code-card .card-body {
  margin: 0;
  padding: 14px 16px;
  color: #b9c7e6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 13px;
  overflow: auto;
  max-height: 300px;
}

.glow { position: absolute; inset: -40px -80px auto auto; width: 220px; height: 220px; filter: blur(65px); background: radial-gradient(closest-side, rgba(91,140,255,.45), rgba(91,140,255,0)); pointer-events: none; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 18px; border-radius: 12px; transition: transform .1s ease, background .2s ease; }
.feature:hover { transform: translateY(-2px); background: rgba(255,255,255,0.04); }
.feature-icon { font-size: 22px; }
.feature-title { margin: 6px 0 6px; font-size: 18px; }
.feature-desc { margin: 0; color: var(--muted); font-size: 14px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.service-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  padding: 22px 18px 18px 18px;
  border-radius: 14px;
  display: grid;
  align-content: start;
  row-gap: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  overflow: hidden;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: -30% -60% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(closest-side, rgba(91,140,255,.18), rgba(91,140,255,0));
  filter: blur(50px);
  pointer-events: none;
  transition: opacity .2s ease;
  opacity: .5;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
  border-color: rgba(127,179,255,0.35);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
}
.service-card:hover::after { opacity: .9; }
.service-card h3 { margin: 0; font-size: 18px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Service card emoji icons (no HTML changes) */
.service-card::before {
  content: '🌐';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 20px;
  filter: drop-shadow(0 2px 8px rgba(91,140,255,.35));
}
.cards .service-card:nth-child(2)::before { content: '🤖'; }
.cards .service-card:nth-child(3)::before { content: '🎨'; }
.cards .service-card:nth-child(4)::before { content: '🧠'; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 12px; color: var(--muted); }
.contact-list a { color: #7fb3ff; text-decoration: underline; }
.contact-list li { margin: 6px 0; }

.contact-form { display: grid; gap: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #768299; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); background: rgba(91,140,255,0.04); }
.form-note { min-height: 18px; margin: 6px 0 0; color: var(--success); font-size: 13px; }

/* Pretty select styling */
.contact-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%239aa4b2' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  cursor: pointer;
}
.contact-form select:hover {
  border-color: rgba(127,179,255,0.35);
  background-color: rgba(255,255,255,0.03);
}
/* Placeholder color when invalid (uses disabled selected first option) */
.contact-form select:invalid { color: #768299; }
/* Option popup background (browser support varies) */
.contact-form select option { background-color: var(--surface); color: var(--text); }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; color: var(--muted); font-size: 14px; }
.back-to-top { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.back-to-top:hover { background: rgba(255,255,255,0.06); }

/* Utilities */
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

@media (max-width: 760px) {
  .section-p { padding: 64px 0; }
  .section-p + .section-p { padding-top: 80px; }

  .menu-toggle { display: inline-flex; }
  .menu-toggle { position: relative; z-index: 1100; }
  .nav-menu {
    position: fixed;
    inset: 64px 0 0 0; /* below header */
    z-index: 900;
    background: rgba(11,15,23,0.98);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-100%);
    transition: transform .2s ease;
    display: grid;
    gap: 8px;
    padding: 14px 16px 20px;
    min-height: calc(100vh - 64px);
    overflow-y: auto;
    align-content: start;
    grid-auto-rows: min-content;
    pointer-events: none; /* disabled when closed */
  }
  .nav-menu.open { transform: translateY(0); pointer-events: auto; }
  .nav-link { display: block; padding: 14px; border-radius: 10px; color: #fff; font-weight: 600; }

  /* Disable anchor offset and smooth scrolling on mobile */
  html { scroll-behavior: auto; }
  .section { scroll-margin-top: 0; }

  .features { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 12px; }
  .code-card { transform: none; }

  .hero { min-height: auto; align-items: start; }
  .hero-content { text-align: center; }
  .badge { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 1; max-width: 520px; margin: 6px auto 0; }
  .glow { width: 160px; height: 160px; filter: blur(50px); inset: -20px -40px auto auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Accessibility focus ring */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Hero badge and accent text */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c7d3ea;
  background: radial-gradient(120% 120% at 0% 0%, rgba(91,140,255,.20), rgba(255,255,255,.04) 40%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04);
  margin: 4px 0 10px;
}

.accent {
  background: linear-gradient(135deg, #73a7ff, #2aa4ff 60%, #1ec9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subtle large background glow */
body::before {
  content: '';
  position: fixed;
  inset: auto -20% 30% auto;
  width: 680px;
  height: 680px;
  background: radial-gradient(closest-side, rgba(91,140,255,.18), rgba(91,140,255,0));
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.section, .footer { position: relative; z-index: 1; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; }
.about-text { display: grid; gap: 12px; }
.about-text h3 { margin: 0; font-size: 22px; }
.about-text p { margin: 0; color: var(--muted); }
.about-list { margin: 0; padding-left: 18px; color: var(--muted); }
.about-list li { margin: 6px 0; }
.about-media { display: grid; justify-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 10px; }
.a-stat { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 14px; border-radius: 12px; display: grid; justify-items: center; min-width: 110px; }
.a-stat .num { font-weight: 800; font-size: 20px; }
.a-stat .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* About intro and what-we-do */
.about-intro { max-width: 70ch; color: var(--muted); margin-bottom: 12px; }
.brand-mark {
  position: relative;
  font-weight: 700;
  background: linear-gradient(135deg, #73a7ff, #2aa4ff 60%, #1ec9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.brand-mark::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, rgba(127,179,255,0), rgba(127,179,255,0.85), rgba(127,179,255,0));
  border-radius: 2px;
}

/* Slogan highlight */
.slogan-mark {
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: .01em;
  color: #cfe1ff;
}
.slogan-mark::after { display: none; }
.what-we-do { margin-top: 10px; }
.what-we-do .feature { align-content: start; }

/* Founder block */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; margin-top: 18px; }
.founder-photo { width: 120px; height: 120px; border-radius: 14px; background: url('images/founder.jpg') center/cover no-repeat, linear-gradient(135deg, rgba(91,140,255,.18), rgba(91,140,255,0)); border: 1px solid var(--border); box-shadow: var(--shadow); }
.founder-info h3 { margin: 0 0 6px; font-size: 18px; }
.founder-info p { margin: 0; color: var(--muted); }
.founder-sub { margin: 0 0 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7fb3ff; }
.founder-name { margin: 0; font-weight: 700; font-size: 16px; }
.founder-links { display: flex; gap: 8px; margin-top: 10px; }
.founder-links .icon { width: 16px; height: 16px; }
/* Allow founder links to wrap */
.founder-links { flex-wrap: wrap; }

/* Portfolio */
.portfolio { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.project-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.project-card::after {
  content: '';
  position: absolute;
  inset: -30% -60% auto auto;
  width: 240px; height: 240px;
  background: radial-gradient(closest-side, rgba(91,140,255,.16), rgba(91,140,255,0));
  filter: blur(60px);
  pointer-events: none;
  opacity: .6;
  transition: opacity .2s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.34); border-color: rgba(127,179,255,0.32); }
.project-card:hover::after { opacity: .95; }
.project-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(91,140,255,.18), rgba(91,140,255,0));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
/* Ensure portfolio images are properly contained */
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.18));
  pointer-events: none;
}
.project-media::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 30px;
  opacity: .75;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.45));
  pointer-events: none;
}
/* Emoji per project card */
.portfolio > .project-card:nth-child(1) .project-media::after { content: '🌐'; }
.portfolio > .project-card:nth-child(2) .project-media::after { content: '🤖'; }
.portfolio > .project-card:nth-child(3) .project-media::after { content: '🎮'; }
.project-media:hover { transform: scale(1.01); }
.project-body { padding: 16px; display: grid; gap: 12px; }
.project-body h3 { margin: 0; }
.project-body p { margin: 0; }
.project-actions { display: flex; gap: 10px; margin-top: 10px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 12px;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  display: grid;
  gap: 10px;
}
.post:hover, .post:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
  border-color: rgba(127,179,255,0.32);
  background: rgba(255,255,255,0.04);
}
.post-thumb {
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(127,179,255,.26), rgba(127,179,255,0) 60%), linear-gradient(180deg, #0f1625, #0c1220);
}
.thumb-news { background:
  linear-gradient(135deg, rgba(91,140,255,.30), rgba(91,140,255,0) 60%),
  radial-gradient(700px 260px at 110% -20%, rgba(91,140,255,.22), rgba(91,140,255,0)),
  linear-gradient(180deg, #0f1625, #0c1220);
}
.thumb-article { background:
  linear-gradient(135deg, rgba(169,127,255,.30), rgba(169,127,255,0) 60%),
  radial-gradient(700px 260px at -10% 120%, rgba(169,127,255,.22), rgba(169,127,255,0)),
  linear-gradient(180deg, #0f1625, #0c1220);
}
.thumb-ann { background:
  linear-gradient(135deg, rgba(46,213,115,.30), rgba(46,213,115,0) 60%),
  radial-gradient(700px 260px at -20% -20%, rgba(39,193,147,.22), rgba(39,193,147,0)),
  linear-gradient(180deg, #0f1625, #0c1220);
}
/* Ensure real images fill the thumb area nicely */
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.post h3 { margin: 0 0 2px; font-size: 18px; }
.post p { margin: 0; color: var(--muted); font-size: 14px; }
.post a { color: #7fb3ff; text-decoration: underline; }
.post-meta { font-size: 12px; color: #93a0b8; }
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}
.badge-news { color: #acd0ff; border-color: rgba(127,179,255,.34); background: rgba(127,179,255,.08); }
.badge-article { color: #d9c4ff; border-color: rgba(169,127,255,.34); background: rgba(169,127,255,.10); }
.badge-ann { color: #baf0db; border-color: rgba(39,193,147,.34); background: rgba(39,193,147,.10); }

/* Responsive grids for new sections */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; margin-bottom: 12px; }
  .about, .portfolio, .posts { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 100px 1fr; }
  .founder-photo { width: 100px; height: 100px; }
  /* Two-per-row buttons on tablet */
  .founder-links .btn { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 760px) {
  .about, .portfolio, .posts { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; justify-items: start; }
  /* Ensure wrapping and spacing on mobile */
  .founder-links { width: 100%; }
  .founder-links .btn { flex: 1 1 calc(50% - 8px); }
}

@media (max-width: 480px) {
  .nav { height: 56px; }
  .nav-menu { inset: 56px 0 0 0; padding-top: 14px; min-height: calc(100vh - 56px); } /* below shorter header */
  .hero-title { font-size: clamp(26px, 8vw, 36px); }
  .hero-subtitle { font-size: 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .section { scroll-margin-top: 0; }
  /* Full-width buttons on very small screens */
  .founder-links .btn { flex: 1 1 100%; }
}
