/* NeuroBody — organic bio-luxe */
:root {
  --bg: #0b1612;
  --bg-2: #0f1f1a;
  --bg-3: #122821;
  --ink: #f3ead6;
  --ink-dim: #c9c0a8;
  --ink-mute: #8b8770;
  --gold: #c9a558;
  --gold-2: #e6c97a;
  --gold-deep: #8d6f2e;
  --green: #2d6a4f;
  --green-2: #1f4a37;
  --green-3: #4f9974;
  --line: rgba(201, 165, 88, 0.18);
  --line-2: rgba(243, 234, 214, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  background:
    radial-gradient(60% 50% at 80% -10%, rgba(201, 165, 88, 0.10), transparent 70%),
    radial-gradient(50% 40% at 0% 30%, rgba(47, 122, 92, 0.18), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(141, 111, 46, 0.10), transparent 70%),
    var(--bg);
}

h1, h2, h3, h4, .serif {
  font-family: "Cormorant Garamond", "Cormorant", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--gold);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }

.shell {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Page-wide noise + grain */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .35s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #e6c97a 0%, #c9a558 50%, #8d6f2e 100%);
  color: #1a1308;
  box-shadow: 0 12px 40px -10px rgba(201, 165, 88, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px -8px rgba(201, 165, 88, 0.7), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-ghost {
  background: rgba(243, 234, 214, 0.04);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(243, 234, 214, 0.08); border-color: var(--gold); }

.btn .arrow { width: 18px; height: 18px; transition: transform .35s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Section common */
section {
  position: relative;
  z-index: 2;
  padding: 140px 0;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.section-eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-size: clamp(40px, 5.2vw, 76px);
  margin-bottom: 28px;
  text-wrap: balance;
}
.section-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-dim);
  max-width: 820px;
  text-wrap: pretty;
}

/* Gold gradient text */
.gold-text {
  background: linear-gradient(135deg, #f0d99a 0%, #c9a558 50%, #8d6f2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.04em;
  margin: 0 -0.04em;
}

/* Italic accent */
.ital { font-style: italic; color: var(--gold-2); font-weight: 300; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* DNA helix shared */
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse-dot { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

/* Card */
.card {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(243, 234, 214, 0.025), rgba(243, 234, 214, 0.005));
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color .4s, transform .4s, background .4s;
}
.card:hover { border-color: rgba(201, 165, 88, 0.45); }

/* Number/marker style */
.num {
  font-family: "Cormorant Garamond", serif;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  font-weight: 300;
}

/* Top nav */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(180deg, rgba(11,22,18,0.85), rgba(11,22,18,0.0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .4s;
}
.topnav.solid { background: rgba(11,22,18,0.92); border-bottom: 1px solid var(--line); }
.topnav .brand {
  display: flex; align-items: center; gap: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 500;
}
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.nav-ctas { display: flex; gap: 10px; align-items: center; }
.nav-ctas .nav-cta { padding: 10px 18px; font-size: 12px; }
@media (max-width: 900px) {
  .nav-ctas .nav-cta:first-child { display: none; }
}
.footer-shell { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { height: 56px; width: auto; max-width: 180px; object-fit: contain; align-self: flex-start; display: block; }
.footer-h { color: var(--gold); font-size: 11px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.footer-links a { color: var(--ink-dim); font-size: 14px; transition: color .25s; }
.footer-links a:hover { color: var(--gold); }
.footer-req { color: var(--ink-mute); font-size: 12px; line-height: 1.6; font-family: "JetBrains Mono", monospace; }
@media (max-width: 800px) { .footer-shell { grid-template-columns: 1fr; } }
.topnav .links { display: flex; gap: 32px; font-size: 14px; color: var(--ink-dim); }
.topnav .links a { transition: color .25s; }
.topnav .links a:hover { color: var(--gold); }
.topnav .scroll-progress {
  position: absolute; left: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-deep));
  width: 0;
}

/* Footer */
footer {
  position: relative; z-index: 2;
  padding: 80px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 14px;
}

/* Image slot styling */
image-slot {
  --slot-bg: linear-gradient(135deg, rgba(47,122,92,0.18), rgba(141,111,46,0.18));
  --slot-border: 1px dashed rgba(201,165,88,0.3);
  --slot-color: var(--ink-mute);
}

/* Selection */
::selection { background: var(--gold); color: var(--bg); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* Smaller screens */
@media (max-width: 900px) {
  .shell { padding: 0 24px; }
  section { padding: 90px 0; }
  .topnav { padding: 16px 24px; }
  .topnav .links { display: none; }
}
