/* ═══════════════════════════════════════════════════════
   KOREE — WeeOn Tech Consulting
   Palette: Light background + Electric Blue + Coral
   Fonts: Railway (headings) + Inter (body)
═══════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  --bg:           #f8faff;
  --bg-card:      #ffffff;
  --bg-subtle:    #f1f5fb;
  --ink:          #0f172a;
  --body:         #475569;
  --muted:        #94a3b8;
  --line:         #e2e8f0;
  --line-strong:  #cbd5e1;

  --accent:       #0ea5e9;
  --accent-dark:  #0284c7;
  --accent-glow:  rgba(14, 165, 233, 0.25);
  --coral:        #ff6a3d;
  --coral-dim:    rgba(255, 106, 61, 0.12);
  --violet:       #7c3aed;
  --amber:        #f59e0b;
  --mint:         #10b981;
  --gradient:     linear-gradient(120deg, #0ea5e9 0%, #7c3aed 55%, #ff6a3d 100%);

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --container:    1200px;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 90px; }
body.menu-open { overflow: hidden; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, button, select { font-family: inherit; font-size: inherit; }
textarea { resize: vertical; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Railway', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--body); font-size: 1rem; }

.mono { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; }

/* ─── LAYOUT UTILS ───────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 720px;
}
section[id] { scroll-margin-top: 84px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-family: 'Railway', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }

.btn-ghost {
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: #fff; }

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(248, 250, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 60px);
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-sun { width: 20px; height: 20px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: 'Railway', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; }
.logo-sub { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.nav-links {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--body);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { padding: 9px 18px; }
.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-card);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(120px, 16vw, 180px) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(165deg, #fdfbf7 0%, #eef4ff 52%, #ffe9e2 100%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 70%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-glow-1 {
  width: 560px; height: 560px;
  background: rgba(255, 106, 61, 0.22);
  top: -120px; left: -80px;
}
.hero-glow-2 {
  width: 520px; height: 520px;
  background: rgba(124, 58, 237, 0.18);
  bottom: -80px; right: -60px;
}
.hero-content { position: relative; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--coral);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  color: #d8492a;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(255, 106, 61, 0.15);
}
.badge-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-subline {
  display: block;
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 16px;
}
.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--body);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-trust { text-align: center; }
.trust-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-family: 'Railway', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--muted);
}
.trust-logos span { transition: color 0.2s; }
.trust-logos span:hover { color: var(--ink); }
.scroll-cue {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: var(--line-strong);
}
.scroll-line {
  width: 100%; height: 0;
  background: var(--accent);
  animation: scrollcue 2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { height: 0; opacity: 0; }
  50% { height: 100%; opacity: 1; }
  100% { height: 100%; opacity: 0; }
}

/* ─── STATS BAR ──────────────────────────────────────── */
.stats-bar {
  padding: 48px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-value {
  font-family: 'Railway', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-unit {
  font-family: 'Railway', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--body);
  margin-top: 8px;
  max-width: 180px;
}
.stat-divider {
  display: none;
}

/* ─── MANIFESTO ──────────────────────────────────────── */
.manifesto {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.manifesto-left h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-top: 14px;
}
.manifesto-right p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.pillar-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pillar span {
  font-family: 'Railway', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ─── SERVICES BENTO ─────────────────────────────────── */
.services {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg-subtle);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}
.bento-card.card-large {
  grid-column: span 2;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-subtle);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.bento-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.bento-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  color: var(--body);
}
.card-arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: all 0.25s var(--ease);
}
.bento-card:hover .card-arrow {
  background: var(--accent);
  color: #fff;
  transform: translate(3px, -3px);
}

/* ─── TECH STACK ─────────────────────────────────────── */
.tech-stack {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg);
}
.tech-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tech-group {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.tech-group:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.tech-group-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-subtle);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.tech-group-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.tech-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tech-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--body);
}
.tech-items li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--violet);
  border-radius: 50%;
}

/* ─── PROCESS ────────────────────────────────────────── */
.process {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg-subtle);
}
.process-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: flex-start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.process-step:last-child {
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.step-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.step-body p {
  max-width: 620px;
}
.step-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 6px;
}

/* ─── TEAM ───────────────────────────────────────────── */
.team {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}
.avatar {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: 'Railway', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 20px;
}
.avatar-1 { background: linear-gradient(135deg, #0ea5e9, #7c3aed); }
.avatar-2 { background: linear-gradient(135deg, #7c3aed, #ff6a3d); }
.avatar-3 { background: linear-gradient(135deg, #ff6a3d, #f59e0b); }
.team-card h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.role {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.team-card p {
  font-size: 0.92rem;
}

/* ─── LOGOS SECTION ──────────────────────────────────── */
.logos-section {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg-subtle);
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.logo-placeholder {
  height: 96px;
  background: var(--bg-card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: 'Railway', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ─── CONTACT ────────────────────────────────────────── */
.contact {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg);
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 60%);
  pointer-events: none;
}
.contact-side { position: relative; }
.contact-side h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 18px;
}
.contact-side p {
  margin-bottom: 32px;
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-meta li span:first-child {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-meta li a,
.contact-meta li span:last-child {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.status-ok {
  color: var(--mint) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--body);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-subtle);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--accent);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.field textarea { resize: vertical; }
.form-note {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  background: var(--bg-card);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-brand p {
  color: var(--body);
  font-size: 0.9rem;
}
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col li {
  font-size: 0.9rem;
  color: var(--body);
  cursor: default;
  transition: color 0.2s;
}
.footer-col li:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

/* ─── REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.card-large { grid-column: span 2; }
  .tech-columns { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-end { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
  }
  .nav-links a:hover { background: var(--bg-subtle); }
  .nav-links a::after { display: none; }

  .manifesto-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 60px 1fr; }
  .step-meta { grid-column: 1 / -1; padding-left: 88px; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.card-large { grid-column: span 1; }
  .tech-columns { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row, .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 380px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}
