/* ARQVEA parent-brand marketing site.
   Display font: Space Grotesk (free, geometric — closest real match to the
   reference logo/headline face: flat apexes, open counters). Body font:
   Inter, same as the product app so the two feel like one company. */

:root {
  --bg: #f7f6f4;
  --bg-raised: #ffffff;
  --ink: #101010;
  --ink-soft: #2b2b28;
  --muted: #6b6a64;
  --subtle: #9b9a92;
  --line: #e4e2dd;
  --line-strong: #d3d1ca;

  --card-integrate: #0d0d0d;
  --card-engineering: #eef0ef;
  --card-academics: #16241b;
  --card-habitat: #efe7d9;
  --card-labs: #0d0d0d;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 30px 60px -30px rgba(16, 16, 16, 0.25);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3, .display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* -------------------------------------------------------- reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: .05s; } .reveal-2 { transition-delay: .1s; }
.reveal-3 { transition-delay: .15s; } .reveal-4 { transition-delay: .2s; }
.reveal-5 { transition-delay: .25s; }

/* ------------------------------------------------------------------- logo */
.logo { display: flex; align-items: center; }
.logo-img { height: 22px; width: auto; display: block; }
.logo-tagline { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--subtle); }

/* ------------------------------------------------------------------- nav */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 244, 0.88);
             backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
header.nav.scrolled { border-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); position: relative; padding: 6px 0; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--ink); }
.nav-dd { position: relative; }
.nav-dd > button { background: none; border: none; font: inherit; font-size: 14.5px; color: var(--ink-soft);
                    display: flex; align-items: center; gap: 5px; cursor: pointer; padding: 6px 0; }
.nav-dd > button:hover { color: var(--ink); }
.nav-dd-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
               background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
               box-shadow: var(--shadow-card); padding: 8px; min-width: 220px; opacity: 0; visibility: hidden;
               transform: translateX(-50%) translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.nav-dd-menu a:hover { background: var(--bg); }
.nav-dd-menu a span.sub { font-size: 12px; color: var(--muted); font-weight: 400; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
       height: 46px; padding: 0 22px; border-radius: var(--radius-pill); font-size: 14.5px;
       font-weight: 500; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
       transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-play { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.btn-play .circle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
                     display: flex; align-items: center; justify-content: center; flex: none; }
.btn-play:hover .circle { border-color: var(--ink); }

/* -------------------------------------------------------------- section spacing */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.section-head p { color: var(--muted); font-size: 16.5px; margin-top: 14px; }

/* -------------------------------------------------------------- footer */
footer.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-row .eyebrow { font-size: 11px; }
.footer-strip { display: flex; align-items: center; gap: 10px; color: var(--subtle); font-size: 11.5px;
                letter-spacing: 0.14em; text-transform: uppercase; }
.footer-strip .rule { width: 28px; height: 1px; background: var(--line-strong); }

@media (max-width: 900px) {
  .nav-links, .nav-dd-menu { display: none; }
  .nav-burger { display: inline-flex; }
}
