/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ── */
:root {
  --bg:          #080a07;
  --bg2:         #0d1009;
  --bg3:         #111609;
  --gold:        #c8a446;
  --gold-light:  #e0be6e;
  --gold-dim:    rgba(200,164,70,0.18);
  --gold-border: rgba(200,164,70,0.28);
  --text:        #d4c89a;
  --text-bright: #f5eedb;
  --text-muted:  #7a7060;
  --serif:       'EB Garamond', 'Times New Roman', Georgia, serif;
  --sans:        system-ui, -apple-system, sans-serif;
  --nav-h:       68px;
}

/* ── Base ── */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--text-bright); line-height: 1.2; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

/* ── Navbar ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(8,10,7,0.96);
  border-bottom: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1160px; width: 100%; margin: 0 auto;
  padding: 0 clamp(16px,5vw,48px);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: clamp(34px,4.5vw,46px); width: auto; }
.nav-links { display: flex; gap: clamp(16px,2.5vw,36px); align-items: center; }
.nav-links a {
  font-family: var(--sans); font-size: clamp(11px,1.1vw,13px);
  letter-spacing: 0.07em; color: var(--text); transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--gold); transition: all 0.25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(8,10,7,0.98); border-bottom: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--sans); font-size: 14px; letter-spacing: 0.08em;
  color: var(--text); padding: 14px clamp(16px,5vw,48px);
  border-bottom: 1px solid rgba(200,164,70,0.07); transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--gold); background: rgba(200,164,70,0.04); }

/* ── Page wrapper (pushes content below fixed nav) ── */
.page { padding-top: var(--nav-h); }

/* ── Container ── */
.container {
  max-width: 1160px; width: 100%; margin: 0 auto;
  padding: 0 clamp(16px,5vw,48px);
}

/* ── Section ── */
section { padding: clamp(56px,7vw,96px) 0; }

/* ── Typography helpers ── */
.label {
  font-family: var(--sans); font-size: clamp(9px,1vw,11px); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(1.6rem,3.2vw,3rem);
  color: var(--text-bright); margin-bottom: 20px;
}
.divider { width: 48px; height: 2px; background: var(--gold); margin-bottom: clamp(20px,3vw,32px); }

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,80px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(20px,3vw,40px); }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: clamp(16px,2vw,28px); }
.grid-strategy { display: grid; grid-template-columns: clamp(180px,24vw,340px) 1fr; gap: clamp(24px,5vw,80px); align-items: start; }
.grid-footer { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(24px,4vw,64px); }

/* ── Buttons ── */
.btn-gold {
  display: inline-block; padding: clamp(10px,1.5vw,14px) clamp(22px,3vw,36px);
  background: var(--gold); color: #080a07;
  font-family: var(--sans); font-size: clamp(11px,1.1vw,13px); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: background 0.2s; white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-light); color: #080a07; }

.btn-outline {
  display: inline-block; padding: clamp(10px,1.5vw,14px) clamp(22px,3vw,36px);
  border: 1px solid var(--gold-border); color: var(--gold);
  font-family: var(--sans); font-size: clamp(11px,1.1vw,13px); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: all 0.2s; white-space: nowrap;
}
.btn-outline:hover { background: var(--gold-dim); color: var(--gold-light); }

.btn-row { display: flex; gap: clamp(10px,2vw,16px); flex-wrap: wrap; }

/* ── Cards ── */
.card {
  border: 1px solid var(--gold-border); background: var(--bg2);
  padding: clamp(20px,3vw,36px) clamp(18px,2.5vw,32px);
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--gold); }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: radial-gradient(ellipse at 50% 0%, #161a09 0%, #080a07 70%);
  padding: clamp(56px,8vw,96px) 0 clamp(40px,6vw,72px);
  border-bottom: 1px solid var(--gold-border);
  text-align: center;
}
.page-hero .label { justify-content: center; display: block; }
.page-hero h1 { font-size: clamp(2rem,5vw,3.8rem); margin-bottom: 16px; }
.page-hero p { font-size: clamp(14px,1.5vw,17px); color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* ── Stat blocks ── */
.stat-value { font-family: var(--serif); font-size: clamp(22px,3vw,32px); color: var(--gold); font-weight: 600; }
.stat-label { font-family: var(--sans); font-size: clamp(9px,0.9vw,11px); letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; margin-top: 4px; }

/* ── Step rows ── */
.step { display: flex; gap: clamp(16px,2vw,28px); padding: clamp(16px,2vw,24px) 0; border-bottom: 1px solid var(--gold-border); }
.step:last-child { border-bottom: none; }
.step-num { font-family: var(--serif); font-size: clamp(24px,3vw,36px); color: var(--gold-border); flex-shrink: 0; width: clamp(32px,4vw,48px); line-height: 1; }
.step-title { font-family: var(--serif); font-size: clamp(15px,1.7vw,19px); color: var(--text-bright); margin-bottom: 6px; }
.step-body  { font-size: clamp(12px,1.2vw,14px); color: var(--text-muted); line-height: 1.65; }

/* ── Tag chips ── */
.tag {
  display: inline-block; font-size: clamp(9px,0.9vw,11px); letter-spacing: 0.08em;
  padding: 4px 10px; border: 1px solid var(--gold-border);
  color: var(--text-muted); text-transform: uppercase;
}

/* ── Footer ── */
.footer {
  background: #040603; border-top: 1px solid var(--gold-border);
  padding: clamp(40px,6vw,72px) 0 clamp(24px,3vw,40px);
}
.footer-brand-name { font-family: var(--serif); font-size: clamp(12px,1.3vw,14px); color: var(--text-bright); letter-spacing: 0.14em; }
.footer-brand-sub  { font-family: var(--sans); font-size: clamp(8px,0.85vw,9px); letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--gold-border); padding-top: 24px; margin-top: clamp(28px,4vw,48px);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: clamp(10px,1vw,12px); color: var(--text-muted); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 3px; }

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── Breakpoints ── */
@media (max-width: 900px) {
  .grid-strategy { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: clamp(32px,5vw,48px); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-footer { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 540px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
