/* =========================================================
   Legen — Company portal (page styles)
   Design tokens + base atoms live in shared/brand.css
   ========================================================= */

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--border-soft); background: rgba(10,10,10,0.82); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 9px; }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent-glow); }
.logo .hl { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-dim); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 600; font-size: 14.5px; border-radius: 999px; border: 1px solid transparent;
  padding: 10px 20px; transition: transform .15s, box-shadow .25s, background .25s, border-color .2s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px var(--accent-glow); background: #5457e6; }
.btn-ghost { background: rgba(255,255,255,0.03); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: rgba(99,102,241,0.08); }
.btn-disabled { background: rgba(255,255,255,0.02); border-color: var(--border-soft); color: var(--text-faint); cursor: not-allowed; }
.nav-cta { display: inline-flex; }
.nav-links a.nav-cta { color: #fff; }
.nav-links a.nav-cta:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 90px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; margin-bottom: 28px;
  border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--text-dim);
  background: rgba(255,255,255,0.02);
}
.hero-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.035em; margin: 0 auto 24px; max-width: 14ch;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #fff 20%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.sub { font-size: clamp(1rem, 2.1vw, 1.22rem); color: var(--text-dim); max-width: 60ch; margin: 0 auto 38px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn { padding: 13px 26px; font-size: 15.5px; }

/* ---------- Section scaffolding ---------- */
section { position: relative; padding: 84px 0; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; margin-top: 10px; }
.section-head p { color: var(--text-dim); margin-top: 12px; max-width: 56ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Projects grid ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: #34343f; box-shadow: var(--shadow); }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(130deg, var(--accent), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none;
}
.card:hover::before { opacity: 0.6; }

/* media / carousel */
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.carousel { position: relative; width: 100%; height: 100%; }
.carousel-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.slide { min-width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* logo / banner artwork — show the whole thing instead of cropping */
.media-contain .slide img { object-fit: contain; object-position: center; padding: 18px; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--border); background: rgba(10,10,10,0.7);
  color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s, background .2s; z-index: 3; font-size: 16px;
}
.card-media:hover .car-btn { opacity: 1; }
.car-btn:hover { background: var(--accent); border-color: var(--accent); }
.car-prev { left: 10px; } .car-next { right: 10px; }
.car-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.35); transition: background .2s, width .2s; }
.car-dots i.active { background: #fff; width: 16px; border-radius: 3px; }

/* placeholder — polished "coming soon" tile for products without screenshots */
.placeholder {
  width: 100%; height: 100%; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 24px;
}
.placeholder::before {
  /* subtle dot-grid texture */
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
}
.ph-badge {
  position: relative; z-index: 2; width: 68px; height: 68px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;
  border: 1px solid; backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.7);
}
.ph-name { position: relative; z-index: 2; font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.ph-sub { position: relative; z-index: 2; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.ph-chip {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(6px);
}
.ph-chip .s-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ph-accent, var(--accent)); box-shadow: 0 0 8px var(--ph-accent, var(--accent)); }

/* card body */
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-titlewrap { min-width: 0; }
.card-titlerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-title { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; }
.role-chip {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--violet); border: 1px solid rgba(167,139,250,0.35); background: rgba(167,139,250,0.1);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.card-sub { color: var(--text-faint); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.status .s-dot { width: 6px; height: 6px; border-radius: 50%; }
.status.live { color: var(--green); border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.08); }
.status.live .s-dot { background: var(--green); }
.status.progress { color: var(--amber); border-color: rgba(251,191,36,0.3); background: rgba(251,191,36,0.08); }
.status.progress .s-dot { background: var(--amber); }
.status.beta { color: var(--blue); border-color: rgba(56,189,248,0.3); background: rgba(56,189,248,0.08); }
.status.beta .s-dot { background: var(--blue); }
.status.oss { color: var(--violet); border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.08); }
.status.oss .s-dot { background: var(--violet); }
.card-desc { color: var(--text-dim); font-size: 14.5px; margin: 14px 0 16px; flex: 1; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tech-tags span { font-size: 11.5px; color: var(--text-dim); border: 1px solid var(--border); background: rgba(255,255,255,0.02); padding: 4px 10px; border-radius: 7px; }
.card-actions { display: flex; gap: 10px; }
.card-actions .btn { flex: 1; justify-content: center; padding: 10px 14px; font-size: 13.5px; }

/* ---------- Spotlight (featured) rows ---------- */
.spotlight { display: flex; flex-direction: column; gap: 30px; margin-bottom: 64px; }
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.spot.alt .spot-media { order: 2; }
.spot-titlerow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.spot-title { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.spot-body .card-sub { font-size: 13px; }
.spot-desc { color: var(--text-dim); font-size: 16px; margin: 16px 0 20px; }
.spot-body .tech-tags { margin-bottom: 24px; }
.spot-body .card-actions { max-width: 380px; }

/* browser-chrome frame around featured screenshots */
.frame {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #0d0d12;
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.92);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .3s;
}
.spot-media:hover .frame { transform: translateY(-5px); border-color: #34343f; box-shadow: 0 44px 90px -36px rgba(0,0,0,0.95); }
.frame-bar { height: 42px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: linear-gradient(180deg, #1a1a21, #141419); border-bottom: 1px solid var(--border-soft); }
.frame-dots { display: flex; gap: 7px; }
.frame-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a44; }
.frame-dots i:nth-child(1) { background: #ff5f57; }
.frame-dots i:nth-child(2) { background: #febc2e; }
.frame-dots i:nth-child(3) { background: #28c840; }
.frame-url { flex: 1; max-width: 280px; height: 25px; border-radius: 7px; background: var(--bg-soft); border: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: center; padding: 0 12px; font-size: 11.5px; color: var(--text-faint); }
.frame-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-body { position: relative; aspect-ratio: 16 / 10; }
.frame-body .card-media { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-bottom: 0; }

/* "More products" divider above the compact grid */
.more-head { display: flex; align-items: center; gap: 20px; margin: 4px 0 30px; }
.more-head .more-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.about-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; position: sticky; top: 96px; }
.avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 32px -8px var(--accent-glow); }
.about-card h3 { font-size: 1.3rem; font-weight: 700; }
.about-card .role { color: var(--accent); font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.about-card .loc { color: var(--text-faint); font-size: 13px; margin-top: 10px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.about-stats div { border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 12px 8px; }
.about-stats .num { font-size: 1.4rem; font-weight: 800; color: #fff; }
.about-stats .lbl { font-size: 11px; color: var(--text-faint); }
.about-bio p { color: var(--text-dim); margin-bottom: 16px; font-size: 15.5px; }
.sub-h { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin: 28px 0 14px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span { font-size: 13px; padding: 6px 13px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); color: var(--text); }
.timeline { margin-top: 8px; }
.timeline-item { position: relative; padding: 0 0 24px 26px; border-left: 1px solid var(--border); }
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(99,102,241,0.15); }
.timeline-item .t-role { font-weight: 700; font-size: 15.5px; }
.timeline-item .t-meta { color: var(--text-faint); font-size: 13px; margin: 2px 0 8px; }
.timeline-item .t-desc { color: var(--text-dim); font-size: 14px; }

/* ---------- Trust ---------- */
.trust { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 52px; text-align: center; }
.trust-stats .num { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.trust-stats .lbl { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.tech-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tech-cloud span { font-size: 13.5px; color: var(--text-dim); border: 1px solid var(--border); background: var(--bg-card); padding: 8px 15px; border-radius: 9px; transition: border-color .2s, color .2s, transform .2s; }
.tech-cloud span:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.contact-info p { color: var(--text-dim); margin: 14px 0 26px; max-width: 42ch; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); transition: border-color .2s, transform .2s; }
.contact-list a:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-list .ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: rgba(99,102,241,0.1); color: var(--accent); flex-shrink: 0; }
.contact-list .c-lbl { font-size: 12px; color: var(--text-faint); }
.contact-list .c-val { font-size: 14.5px; font-weight: 600; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.contact-form label { display: block; font-size: 13px; color: var(--text-dim); margin: 0 0 7px; font-weight: 500; }
.contact-form .field { margin-bottom: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 14.5px; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { width: 100%; justify-content: center; padding: 13px; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: 14px; text-align: center; transition: color .2s; }
.form-note.ok { color: var(--green); }
.form-note.err { color: #f87171; }
.form-note a { color: var(--accent); text-decoration: underline; }

/* ---------- Demo modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  background: rgba(5, 5, 8, 0.72); backdrop-filter: blur(7px); animation: fadeIn .2s ease;
}
.modal-overlay[hidden] { display: none; }
.modal {
  width: 100%; max-width: 470px; max-height: 90vh; overflow-y: auto;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; position: relative; box-shadow: var(--shadow); animation: modalIn .26s cubic-bezier(.2,.7,.3,1);
}
.modal h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; padding-right: 28px; }
.modal-sub { color: var(--text-dim); font-size: 14px; margin: 8px 0 22px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03); color: var(--text-dim);
  font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: color .2s, border-color .2s, background .2s;
}
.modal-close:hover { color: #fff; border-color: var(--accent); background: rgba(99,102,241,0.1); }
.modal .field { margin-bottom: 16px; }
.modal label { display: block; font-size: 13px; color: var(--text-dim); margin: 0 0 7px; font-weight: 500; }
.modal input, .modal textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 14.5px; transition: border-color .2s;
}
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--accent); }
.modal textarea { resize: vertical; min-height: 92px; }
.modal .btn { width: 100%; justify-content: center; padding: 13px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.tcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.tcard:hover { transform: translateY(-4px); border-color: #34343f; }
.tcard .stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.tcard .quote { color: var(--text); font-size: 15px; line-height: 1.7; flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tcard .av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; font-weight: 800; color: #fff; flex-shrink: 0; }
.tcard .nm { font-weight: 700; font-size: 14px; }
.tcard .rel { color: var(--text-faint); font-size: 12.5px; }
.tcard .ctx { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tcard .tag { font-size: 11px; font-family: var(--font-mono); color: var(--text-dim); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.tcard .lk { font-size: 12.5px; color: #f472b6; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border-soft); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner .muted { color: var(--text-faint); font-size: 13.5px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-dim); font-size: 13.5px; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about-card { position: static; max-width: 360px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .spot { grid-template-columns: 1fr; gap: 24px; }
  .spot.alt .spot-media { order: 0; }
  .spot-body .card-actions { max-width: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: rgba(12,12,14,0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 8px 0;
  }
  .nav-links.open a { padding: 14px 24px; width: 100%; }
  .nav-links.open .nav-cta { margin: 10px 24px; }
  .nav-toggle { display: grid; place-items: center; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 64px; }
  section { padding: 64px 0; }
}
@media (max-width: 420px) {
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .card-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
