/* ============== PLNTN STUDIO ============== */
:root {
  /* warm palette — sage/olive accent */
  --bg-page: #F4F1EA;
  --bg-card: #FBF9F4;
  --glass-bg: rgba(251, 249, 244, 0.55);
  --glass-bg-strong: rgba(251, 249, 244, 0.78);
  --glass-border: rgba(80, 70, 55, 0.10);
  --glass-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 18px 50px -18px rgba(60, 50, 35, 0.12), 0 2px 8px -2px rgba(60, 50, 35, 0.05);

  --ink: #1B1A17;
  --ink-2: #3C3A34;
  --muted: #807A6C;
  --muted-2: #A39C8C;
  --line: #DDD6C7;
  --line-2: #C9C1AE;
  --line-grid: rgba(40, 35, 25, 0.045);

  /* sage / olive accent system */
  --accent: #5C7548;          /* sage-green */
  --accent-2: #8B6E3F;        /* warm clay */
  --accent-3: #B89968;        /* sand */
  --accent-soft: rgba(92, 117, 72, 0.08);
  --accent-glow: rgba(92, 117, 72, 0.35);

  --max: 1240px;
  --pad: 32px;
  --radius: 14px;
  --radius-sm: 8px;
}

[data-accent="clay"] {
  --accent: #A05A3D;
  --accent-2: #C28B5B;
  --accent-3: #D9B488;
  --accent-soft: rgba(160, 90, 61, 0.09);
  --accent-glow: rgba(160, 90, 61, 0.35);
}
[data-accent="ink"] {
  --accent: #1B1A17;
  --accent-2: #3C3A34;
  --accent-3: #807A6C;
  --accent-soft: rgba(27, 26, 23, 0.06);
  --accent-glow: rgba(27, 26, 23, 0.22);
}
[data-accent="ocean"] {
  --accent: #2F5D6E;
  --accent-2: #4E8EA0;
  --accent-3: #8BB8C4;
  --accent-soft: rgba(47, 93, 110, 0.08);
  --accent-glow: rgba(47, 93, 110, 0.32);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
  letter-spacing: -0.005em;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
::selection { background: var(--accent); color: var(--bg-card); }
a { color: inherit; }

/* ============== AMBIENT BACKGROUND ============== */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--line-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, black 25%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, black 25%, transparent 95%);
}
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.13  0 0 0 0 0.1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.bg-glow-1 {
  top: -160px;
  right: -160px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}
.bg-glow-2 {
  top: 340px;
  left: -200px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(184, 153, 104, 0.30), transparent 70%);
}

/* lift content */
nav, header, section, footer { position: relative; z-index: 1; }

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.62);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(80, 70, 55, 0.08);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 26px; height: 26px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-word {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-word .muted {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 0.86em;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s ease;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--accent); }
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
}
.nav-status .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(92,117,72,0.02); opacity: 0.7; }
}

/* ============== HERO ============== */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad) 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "content visual"
    "meta meta";
  gap: 56px 56px;
  align-items: center;
  position: relative;
}
.hero-content { grid-area: content; }
.hero-visual {
  grid-area: visual;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
  width: 100%;
}
.hero-meta { grid-area: meta; }

.hero-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 4px 14px -4px var(--accent-glow);
}
.eyebrow-pulse {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(46px, 6.6vw, 92px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.hero h1 .stem {
  position: relative;
  display: inline-block;
}
.hero h1 .stem::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 2px;
}
.hero-sub {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 48ch;
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.hero-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  padding: 6px 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-tag .swatch {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.hero-tag:nth-child(2) .swatch { background: var(--accent-2); }
.hero-tag:nth-child(3) .swatch { background: var(--accent-3); }

.hero-meta {
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero-meta-item .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hero-meta-item .value {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-meta-item .value .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ============== HERO VISUAL — node canvas ============== */
.node-canvas-wrap {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
}
.node-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.node-glow-bg {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(184, 153, 104, 0.30), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(139, 110, 63, 0.22), transparent 55%);
  filter: blur(50px);
  z-index: 0;
  animation: meshFloat 16s ease-in-out infinite;
}
@keyframes meshFloat {
  0%, 100% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.06) translate(2%, -2%); }
  66% { transform: scale(0.96) translate(-2%, 2%); }
}
.node-overlay-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(92, 117, 72, 0.18);
  z-index: 1;
  pointer-events: none;
  animation: spin 80s linear infinite;
}
.node-overlay-ring::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(139, 110, 63, 0.14);
  animation: spin 110s linear infinite reverse;
  display: block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* labels around the graph */
.node-labels {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.node-label {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px -6px rgba(60, 50, 35, 0.12);
  animation: labelFloat 8s ease-in-out infinite;
}
.node-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.node-label.lbl-1 { top: 8%; left: 8%; animation-delay: 0s; }
.node-label.lbl-2 { top: 16%; right: 4%; animation-delay: -2s; }
.node-label.lbl-2 .dot { background: var(--accent-2); }
.node-label.lbl-3 { bottom: 18%; left: 2%; animation-delay: -4s; }
.node-label.lbl-3 .dot { background: var(--accent-3); }
.node-label.lbl-4 { bottom: 8%; right: 10%; animation-delay: -6s; }
@keyframes labelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* center wordmark inside graph */
.node-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}
.node-center-inner {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-transform: uppercase;
  text-align: center;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 8px 16px;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 6px 24px -6px rgba(60, 50, 35, 0.18);
}

/* ============== MARQUEE / WHAT WE BUILD ============== */
.marquee {
  position: relative;
  margin-top: 8px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: "Manrope", sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}
.marquee-item.muted { color: var(--muted); font-weight: 500; font-style: italic; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== FOOTER ============== */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-inner b { color: var(--ink); font-weight: 600; }
.footer-meta { display: flex; gap: 22px; align-items: center; }
.footer-meta a { color: inherit; text-decoration: none; }
.footer-meta a:hover { color: var(--accent); }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "meta";
    padding: 56px var(--pad) 48px;
    gap: 40px;
  }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .nav-links a:not(.nav-status) { display: none; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ============== ENTRANCE ============== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.7s ease both; }
.hero h1 { animation: fadeUp 0.8s ease 0.08s both; }
.hero-sub { animation: fadeUp 0.8s ease 0.18s both; }
.hero-tags { animation: fadeUp 0.8s ease 0.26s both; }
.hero-meta { animation: fadeUp 0.8s ease 0.4s both; }
.hero-visual { animation: fadeUp 1.1s ease 0.3s both; }
