/* ═══════════════════════════════════════════════════
   The Radius Agency — shared stylesheet
   ═══════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --deep:   #1A2818;
  --forest: #2D5040;
  --gold:   #C9A040;
  --sage:   #7A9E85;
  --parch:  #F5EFE0;
  --off:    #FDFAF5;
  --border: #E0D8C0;
  --muted:  #556A55;
  --serif:  Georgia, serif;
  --sans:   Inter, system-ui, sans-serif;
  --mono:   'Courier New', monospace;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --px:     clamp(80px, 8vw, 120px);
  --nav-h:  68px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--deep);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ── LAYOUT WRAPPER ── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; color: var(--deep); }
h1 { font-size: clamp(38px, 5.5vw, 72px); }
h2 { font-size: clamp(26px, 3.5vw, 48px); }
h3 { font-size: clamp(18px, 2vw, 24px); }
p  { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 72ch; }

.lbl {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 20px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  border: none;
  line-height: 1;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-gold    { background: var(--gold); color: var(--deep); }
.btn-outline { background: transparent; border: 1.5px solid var(--deep); color: var(--deep); }
.btn-dark    { background: var(--deep); color: #fff; }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  height: var(--nav-h);
  gap: 24px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo svg { height: 36px; width: auto; }

.nav-tabs {
  display: flex;
  align-items: stretch;
  height: 100%;
  flex: 1;
  justify-content: center;
}

.nav-tab {
  display: flex;
  align-items: center;
  padding: 0 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-tab:hover { color: var(--forest); }
.nav-tab.is-active {
  background: var(--deep);
  color: #fff;
  border-bottom-color: var(--gold);
}
.nav-tab.is-ai { color: var(--gold); }
.nav-tab.is-ai:hover { color: var(--deep); }
.nav-tab.is-ai.is-active { background: var(--deep); color: var(--gold); }

.nav-audit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  background: var(--gold);
  color: var(--deep);
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.nav-audit:hover { opacity: 0.85; }

@media (max-width: 860px) {
  .nav-tabs { display: none; }
  .site-nav { padding: 0 24px; }
}

/* ── GOLD RULE DIVIDER ── */
.gold-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── PAGE HEADER (inner pages) ── */
.page-hd {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 88px;
}
.page-hd .lbl { margin-bottom: 18px; }
.page-hd h1  { margin-bottom: 24px; max-width: 840px; }
.page-hd .sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--deep);
  color: var(--parch);
  padding: 64px 0 40px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: rgba(201,160,64,0.09);
  border: 0.5px solid rgba(201,160,64,0.22);
  border-radius: 4px;
  margin-bottom: 56px;
}
.footer-cta p { font-size: 17px; color: var(--parch); max-width: none; line-height: 1.5; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(245,239,224,0.12);
  margin-bottom: 32px;
}
.footer-brand-desc {
  font-size: 15px;
  color: var(--sage);
  line-height: 1.75;
  margin-top: 18px;
  max-width: 280px;
}
.footer-col-hd {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 10px; }
.footer-col a {
  font-size: 15px;
  color: rgba(245,239,224,0.72);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--parch); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--sage);
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 860px) {
  .footer-cta { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
