/* ============================================
   DIANA SIMPSON-HERNANDEZ — APEX DESIGN SYSTEM
   Editorial · Minimal · Conviction-Led
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400&family=Inter+Tight:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --paper: #f6f4ef;
  --paper-warm: #efece4;
  --ink: #1a1a1a;
  --ink-soft: #2c2c2c;
  --muted: #6b6b6b;
  --rule: #d8d4ca;
  --rule-soft: #e8e4d9;
  --accent: #c8462c;
  --accent-soft: #f0d6cc;

  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(200,70,44,0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 110%, rgba(200,70,44,0.04), transparent 60%);
  min-height: 100vh; overflow-x: hidden;
}

body::before {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; z-index: 1; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.1, 0 0 0 0 0.1, 0 0 0 0 0.1, 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--gutter); position: relative; z-index: 2;
}

.eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(246,244,239,0.78);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter); max-width: var(--max-w); margin: 0 auto;
}
.nav-mark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

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

.nav-mark-text span {
  font-style: italic;
  color: var(--accent);
}

.nav-mark span { font-style: italic; color: var(--accent); }
.nav-links {
  display: flex; gap: 1.75rem; list-style: none;
}
.nav-links a {
  font-size: 14px; color: var(--ink-soft);
  position: relative; transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: ''; position: absolute;
  left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--accent); transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
@media (max-width: 820px) { .nav-links { display: none; } }

::selection { background: var(--accent); color: var(--paper); }

.footer-logo {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 2rem;
  opacity: 0.9;
}
