@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@300;400;500&display=swap');

/* ===========================
   DESIGN TOKENS — Tether Gold
=========================== */
:root {
  /* Backgrounds — very dark warm browns */
  --c-bg:        #0a0807;
  --c-bg2:       #0e0b09;
  --c-surface:   #131008;
  --c-surface2:  #1a1509;
  --c-surface3:  #221b0c;

  /* Borders — subtle warm glow */
  --c-border:    rgba(201,168,76,0.10);
  --c-border2:   rgba(201,168,76,0.18);
  --c-border3:   rgba(201,168,76,0.28);

  /* Text — warm whites, never cold */
  --c-text:      #f0e8d8;
  --c-muted:     #8a7a60;
  --c-mid:       #c4b090;

  /* Gold palette */
  --c-gold:      #c9a84c;
  --c-gold2:     #a8852e;
  --c-gold3:     #e8c96a;          /* highlight */
  --c-gold-dim:  rgba(201,168,76,0.10);
  --c-gold-glow: rgba(201,168,76,0.22);

  /* Aliases — keeps all existing HTML working */
  --c-green:      #c9a84c;
  --c-green2:     #a8852e;
  --c-green-dim:  rgba(201,168,76,0.08);
  --c-green-light:rgba(201,168,76,0.14);
  --c-green-glow: rgba(201,168,76,0.22);
  --c-accent:     #c9a84c;
  --c-accent2:    #a8852e;
  --c-accent-dim: rgba(201,168,76,0.10);

  /* Status */
  --c-red:       #e05252;
  --c-amber:     #c9a84c;
  --c-amber-bg:  rgba(201,168,76,0.10);

  /* Fonts — serif display + clean sans body */
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-sans:    'DM Sans', sans-serif;
  --f-mono:    'DM Mono', monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;

  --transition: 0.20s cubic-bezier(0.4,0,0.2,1);

  --shadow-sm: 0 1px 6px rgba(0,0,0,0.50);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.55);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.65);
  --shadow-gold: 0 0 40px rgba(201,168,76,0.10);
}

/* ===========================
   RESET
=========================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ===========================
   BACKGROUND — deep gold glow
=========================== */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.page-bg::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(201,168,76,0.055) 0%, transparent 60%);
  top: -320px; left: 50%;
  transform: translateX(-50%);
}
.page-bg::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(160,100,30,0.04) 0%, transparent 65%);
  bottom: -200px; right: -80px;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 56px;
  background: rgba(10,8,7,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-border2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--c-text);
}
.nav-logo img { width: 28px; height: 28px; }
.nav-logo-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 8px var(--c-gold);
  animation: blink 3s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity:1; }
  50%      { opacity:0.2; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 6px 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-muted);
  border-radius: var(--r-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.03em;
}
.nav-links a:hover {
  color: var(--c-text);
  background: var(--c-surface2);
}
.nav-links a.active {
  color: var(--c-gold);
  background: var(--c-gold-dim);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--c-gold-dim);
  border: 1px solid var(--c-border2);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--c-gold);
  letter-spacing: 0.06em;
}
.nav-pill::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 6px var(--c-gold);
  animation: blink 3s ease-in-out infinite;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--c-muted);
  border-radius: 2px;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--c-border);
  padding: 56px 48px 36px;
  background: var(--c-bg2);
  position: relative;
  z-index: 1;
}
/* subtle gold line at top */
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold-glow), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 44px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 220px;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-gold);
  margin-bottom: 16px;
  display: block;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: var(--c-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--c-gold3); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
  font-size: 11px;
  color: var(--c-muted);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

/* ===========================
   GENERIC PAGE WRAPPER
=========================== */
.page-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.page-hero { margin-bottom: 52px; }

.page-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--c-gold);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--c-gold-dim);
  border-radius: 2px;
  border: 1px solid var(--c-border2);
}

.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.page-hero p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 520px;
}

/* ===========================
   PROSE
=========================== */
.prose {
  background: var(--c-surface);
  border: 1px solid var(--c-border2);
  border-radius: var(--r-xl);
  padding: 44px 52px;
  box-shadow: var(--shadow-gold);
}
.prose h2 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--c-text);
  margin: 40px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
  letter-spacing: 0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-size: 14px;
  color: var(--c-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}
.prose ul, .prose ol { margin: 0 0 16px 20px; }
.prose li {
  font-size: 14px;
  color: var(--c-mid);
  line-height: 1.8;
  margin-bottom: 7px;
}
.prose strong { color: var(--c-text); font-weight: 600; }
.prose a { color: var(--c-gold); }
.prose a:hover { color: var(--c-gold3); text-decoration: underline; }

/* ===========================
   CONTACT CARDS
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border2);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  border-color: var(--c-border3);
  box-shadow: 0 4px 24px rgba(201,168,76,0.08);
}
.contact-card-icon { font-size: 24px; margin-bottom: 14px; }
.contact-card h3 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.contact-card p { font-size: 13px; color: var(--c-muted); line-height: 1.65; margin-bottom: 14px; }
.contact-card a.link-green { font-family: var(--f-mono); font-size: 12px; color: var(--c-gold); }
.contact-card a.link-green:hover { color: var(--c-gold3); text-decoration: underline; }

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--c-gold);
  color: #0a0807;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--f-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary:hover {
  background: var(--c-gold3);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(201,168,76,0.30);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-pill { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 40px 20px 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .prose { padding: 28px 22px; }
}
