﻿/* ============ TOKENS ============ */
  :root {
    --bg: #0a0908;
    --bg-2: #100e0c;
    --bg-3: #181513;
    --ink: #f4ede2;
    --ink-dim: #b8ad9a;
    --ink-mute: #7a7165;
    --line: #2a241e;
    --line-soft: #1a1714;
    --amber: #d4a24a;
    --amber-warm: #e8b463;
    --amber-deep: #9c7330;
    --white-glow: #fafaf5;
    --colmena-hexagon-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,3 95,28 95,75 50,100 5,75 5,28' fill='none' stroke='%23d4a24a' stroke-width='0.4' opacity='0.5'/%3E%3C/svg%3E");
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Inter Tight', system-ui, sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Grain overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
    opacity: 0.35;
    mix-blend-mode: overlay;
    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' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.85 0 0 0 0 0.6 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  ::selection { background: var(--amber); color: var(--bg); }
/* ============ NAV ============ */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 28px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
  }
  nav.scrolled {
    background: rgba(10, 9, 8, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 18px 56px;
    border-bottom: 1px solid var(--line-soft);
  }
  nav.nav--landing {
    background: transparent;
    border-bottom: none;
  }
  nav.nav--landing.scrolled {
    background: rgba(10, 9, 8, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(42, 36, 30, 0.45);
  }
  nav.nav--landing .nav-links { display: none; }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.18em;
    color: var(--ink);
    text-transform: uppercase;
    font-weight: 500;
  }
  .brand-logo {
    height: 28px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: flex;
    gap: 48px;
    list-style: none;
  }
  .nav-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
  }
  .nav-links a:hover { color: var(--amber-warm); }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width 0.4s ease;
  }
  .nav-links a:hover::after { width: 100%; }

  .cta-btn {
    border: 1px solid var(--ink-dim);
    color: var(--ink);
    background: transparent;
    padding: 13px 28px;
    font-size: 10.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-family: var(--sans);
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  .cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--amber);
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
    z-index: -1;
  }
  .cta-btn:hover { border-color: var(--amber); color: var(--bg); }
  .cta-btn:hover::before { transform: translateY(0); }
  .cta-btn { z-index: 1; isolation: isolate; }
  .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
