/* ============================================================
   Aurum Capital — stylesheet
   Palette: deep navy obsidian + warm restrained gold
   ============================================================ */

:root {
  --bg:         #0a0c14;
  --bg-deep:    #07080f;
  --bg-soft:    #111420;
  --surface:    #171a28;
  --surface-2:  #1f2333;
  --line:       rgba(201, 161, 77, 0.18);
  --line-soft:  rgba(232, 230, 221, 0.08);

  --text:        #e8e6dd;
  --text-strong: #f6f4ec;
  --text-muted:  #8e8b7e;
  --text-dim:    #5a5850;

  --gold:        #c9a14d;
  --gold-bright: #e4c27a;
  --gold-deep:   #8b6d2b;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --nav-h:     72px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(201, 161, 77, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(201, 161, 77, 0.04), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-bright); }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.8rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; }
h3 { font-size: 1.35rem; line-height: 1.25; font-weight: 500; }
h4 { font-size: 0.84rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

p { margin: 0 0 1em; color: var(--text); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* =============== TOP NAV =============== */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 20, 0.7);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}

.topnav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 8, 15, 0.92);
}

.topnav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
}

.brand .mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 1px rgba(228, 194, 122, 0.2), 0 6px 14px rgba(201, 161, 77, 0.2);
  align-self: center;
}

.brand small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  top: -3px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navlinks a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.navlinks a:hover, .navlinks a.active { color: var(--text-strong); }
.navlinks a.active { position: relative; }
.navlinks a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 1px;
  background: var(--gold);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  width: 40px; height: 40px;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 840px) {
  .navlinks { display: none; }
  .navlinks.open {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--bg-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px 32px;
    border-top: 1px solid var(--line);
  }
  .navlinks.open a {
    padding: 16px 0;
    width: 100%;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* =============== BUTTONS =============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}

.btn svg { width: 14px; height: 14px; }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1205;
  border-color: var(--gold);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #f0d38c, var(--gold-bright));
  color: #1a1205;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(201, 161, 77, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--text-strong);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* =============== HERO =============== */

.hero {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 20%; right: -15%;
  width: 55%; height: 80%;
  background: radial-gradient(ellipse, rgba(201, 161, 77, 0.09), transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-bright);
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  max-width: 60ch;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============== SECTIONS =============== */

.section {
  padding: 90px 0;
  border-top: 1px solid var(--line-soft);
}

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}

.sec-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 55ch;
}

.sec-head-single {
  max-width: 720px;
  margin-bottom: 64px;
}

.sec-head-single p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 20px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

@media (max-width: 780px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding: 72px 0 80px; }
  .section { padding: 64px 0; }
}

/* =============== PILLAR CARDS =============== */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.pillar {
  background: var(--bg-soft);
  padding: 40px 32px;
  position: relative;
  transition: background .25s ease;
}

.pillar:hover { background: var(--surface); }

.pillar .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--text-strong);
  margin-bottom: 14px;
  line-height: 1.2;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* =============== SPLIT =============== */

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-media {
  position: relative;
  padding: 48px;
  background: linear-gradient(135deg, var(--bg-soft), var(--surface));
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 360px;
  overflow: hidden;
}

.split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(228, 194, 122, 0.15), transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(201, 161, 77, 0.08), transparent 50%);
  pointer-events: none;
}

.split-media-inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media { padding: 32px; min-height: 280px; }
}

/* =============== STATS =============== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.stat {
  background: var(--bg);
  padding: 40px 32px;
}

.stat .n {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stat .n small {
  font-size: 1.2rem;
  color: var(--gold-bright);
  font-family: var(--font-display);
  margin-left: 4px;
}

.stat .l {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 28ch;
}

/* =============== TIMELINE / CYCLE =============== */

.cycle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}

.cycle-step {
  padding: 28px 28px 36px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--bg-soft);
  position: relative;
}

.cycle-step .step-n {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--bg);
  padding: 2px 10px;
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.cycle-step h3 {
  font-size: 1.25rem;
  color: var(--text-strong);
  margin-bottom: 10px;
  margin-top: 8px;
}

.cycle-step p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0;
}

/* =============== LIST =============== */

ul.features {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.features li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 0.98rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

ul.features li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}

/* =============== POSTS =============== */

.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.post {
  display: block;
  padding: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  color: var(--text);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.post:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.post .cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.post h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text-strong);
  margin-bottom: 12px;
  line-height: 1.2;
}

.post p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.post .meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

/* =============== FORM =============== */

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form .full { grid-column: span 2; }

.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 12px 14px;
  color: var(--text-strong);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color .2s ease, background .2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface);
}

.form textarea { min-height: 140px; resize: vertical; }

.form-status {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}
.form-status.is-ok { color: var(--gold-bright); }
.form-status.is-err { color: #e68a7a; }

.form .checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.form .checkbox input {
  width: auto;
  margin-top: 4px;
}
.form .checkbox label {
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 620px) {
  .form { grid-template-columns: 1fr; }
  .form .full { grid-column: auto; }
}

/* =============== CTA BAND =============== */

.cta-band {
  background: linear-gradient(135deg, var(--bg-soft), var(--surface));
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(201, 161, 77, 0.15), transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  max-width: 20ch;
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0;
}

@media (max-width: 780px) {
  .cta-band { padding: 40px 32px; grid-template-columns: 1fr; }
}

/* =============== PAGE HERO (inner pages) =============== */

.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.page-hero .crumb {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.page-hero .crumb span { color: var(--gold); }

.page-hero h1 {
  max-width: 20ch;
  margin-bottom: 24px;
}

.page-hero p {
  max-width: 60ch;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* =============== FOOTER =============== */

.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li { margin-bottom: 10px; }

.footer ul a {
  color: var(--text-muted);
  font-size: 0.94rem;
}
.footer ul a:hover { color: var(--text-strong); }

.footer .tagline {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 34ch;
  font-size: 0.94rem;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* =============== DISCLAIMER BAND =============== */

.disclaimer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  padding: 20px 0;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.02em;
}

.disclaimer .container { max-width: 900px; }

/* =============== REVEAL ANIM =============== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* =============== CALLOUT =============== */

.callout {
  padding: 32px;
  background: linear-gradient(135deg, rgba(201, 161, 77, 0.06), rgba(201, 161, 77, 0.02));
  border-left: 2px solid var(--gold);
  border-radius: 0 2px 2px 0;
  font-size: 1.05rem;
  color: var(--text);
  max-width: 780px;
  margin: 40px 0;
}

.callout em {
  color: var(--gold);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15em;
}
