@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --brand-red: #B03018; --brand-red-light: #D94E2E; --ink: #3D3D3D;
  --soft-ink: #8E8578; --parchment: #F5F0E8; --parchment-dark: #EDE7DA;
  --white: #FFFFFF; --font-mono: 'DM Mono', 'Courier New', monospace;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--parchment); color: var(--ink); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 clamp(1.5rem,4vw,4rem); height: 72px; display: flex; align-items: center; justify-content: space-between; background: rgba(245,240,232,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--parchment-dark); transition: background 0.3s; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.nav-logo { width: 36px; height: 36px; border-radius: 15%; overflow: hidden; flex-shrink: 0; }
.nav-logo svg { width: 100%; height: 100%; display: block; }
.nav-wordmark { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; letter-spacing: -0.02em; }
.nav-wordmark span { color: var(--soft-ink); font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--soft-ink); transition: color 0.25s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--brand-red); transition: width 0.3s cubic-bezier(0.22,1,0.36,1); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }
.nav-links .nav-cta { padding: 0.55rem 1.25rem; background: var(--brand-red); color: var(--white); border-radius: 6px; transition: background 0.25s, transform 0.2s; }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--brand-red-light); color: var(--white); transform: translateY(-1px); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.mobile-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: 0.3s; }
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--parchment-dark); padding: 3rem clamp(1.5rem,4vw,4rem); display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; }
.footer-brand svg { width: 28px; height: 28px; border-radius: 15%; overflow: hidden; }
.footer-name { font-family: var(--font-mono); font-weight: 500; font-size: 0.9rem; color: var(--ink); }
.footer-cols { display: flex; gap: clamp(2rem,5vw,5rem); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft-ink); margin-bottom: 0.8rem; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--ink); text-decoration: none; padding: 0.2rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-red); }
.footer-bottom { width: 100%; padding-top: 2rem; margin-top: 1rem; border-top: 1px solid var(--parchment-dark); display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--soft-ink); letter-spacing: 0.04em; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--parchment); padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--parchment-dark); }
  .nav-links.show { display: flex; }
  .mobile-toggle { display: block; }
  .footer-cols { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
