/* ============================================
   VANTA FLOW — SHARED STYLES (v2)
   Logo-matched typography
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --bg: #f4f1ec;
  --cream: #ebe6dd;
  --ink: #0a0a0a;
  --muted: #6b6660;
  --line: rgba(10,10,10,0.12);
  --accent: #0a0a0a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-feature-settings: "ss01";
  overflow-x: hidden;
  line-height: 1.5;
  font-weight: 400;
}

/* TYPOGRAPHY */
.display {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.display-italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* GRAIN OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

/* NAV - NEW STACKED LAYOUT */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  background: rgba(244,241,236,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1400px;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Archivo', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.3s;
  padding: 0.4rem 0;
  position: relative;
  font-weight: 500;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.4s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1.4rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--ink);
  font-weight: 500;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nav-cta:hover {
  background: transparent;
  color: var(--ink);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.4s ease;
  position: relative;
}

.btn-dark {
  background: var(--ink);
  color: var(--bg);
}

.btn-dark:hover {
  background: var(--bg);
  color: var(--ink);
  outline: 1px solid var(--ink);
}

.btn-light {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-light:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-arrow {
  width: 1rem;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s;
}

.btn-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn:hover .btn-arrow { width: 1.4rem; }

/* SECTIONS */
section { padding: 8rem 3rem; }

.section-eyebrow {
  font-family: 'Archivo', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.section-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--ink);
}

/* PAGE HEADER */
.page-header {
  padding: 14rem 3rem 6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: end;
}

.page-header-meta {
  font-family: 'Archivo', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.page-header h1 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.page-header h1 em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
}

/* FOOTER - SIMPLIFIED */
footer {
  background: var(--ink);
  color: var(--bg);
  padding: 6rem 3rem 2rem;
  position: relative;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(244,241,236,0.6);
  max-width: 320px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'Archivo', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.5);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  color: var(--bg);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

.footer-col a:hover { opacity: 0.6; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Archivo', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.4);
  font-weight: 500;
  padding-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem 0.8rem; }
  .nav-logo img { height: 40px; }
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: 0.62rem; }
  .nav-cta { display: none; }
  section { padding: 5rem 1.5rem; }
  .page-header { padding: 11rem 1.5rem 4rem; }
  .page-header-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
