/* ══════════════════════════════════════════════════════════════
   AgentJoust — Design System
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink:        #1a2740;
  --ink-soft:   #4a5568;
  --cream:      #faf6ee;
  --cream-warm: #f5f0e6;
  --gold:       #b08d3a;
  --gold-soft:  #d4b56a;
  --red:        #c0392b;
  --green:      #2e7d52;
  --rule:       #e8e2d8;
  --white:      #ffffff;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: 'Fraunces', serif;
  font-style: italic;
  letter-spacing: -0.02em;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.2; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.6; }

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
.nav-cta:hover { background: #243558 !important; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  letter-spacing: -0.01em;
}
.btn-primary:hover { background: #243558; }
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  letter-spacing: -0.01em;
}
.btn-gold:hover { opacity: 0.88; }
.btn-cream {
  display: inline-block;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  letter-spacing: -0.01em;
}
.btn-cream:hover { opacity: 0.88; }

/* ── FORM ELEMENTS ── */
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.field-input:focus { outline: none; border-color: var(--gold); }
.field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a2740' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.foot-about p {
  font-size: 14px;
  color: rgba(250,246,238,0.6);
  line-height: 1.65;
  max-width: 280px;
  margin-top: 8px;
}
.foot-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,246,238,0.45);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: rgba(250,246,238,0.75);
  margin-bottom: 10px;
  transition: color 0.12s;
}
.foot-col a:hover { color: var(--cream); }
.foot-bottom {
  border-top: 1px solid rgba(250,246,238,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(250,246,238,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── HERO (dark) ── */
.hero-dark {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 88px;
  border-bottom: 3px solid var(--gold);
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 760px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(250,246,238,0.72);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ── INTAKE (CTA) ── */
.intake {
  background: var(--ink);
  padding: 80px 0;
}

/* ── GEO BADGE ── */
.geo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 7px 12px;
  background: rgba(176,141,58,0.10);
  border: 1px solid rgba(176,141,58,0.25);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink);
}
.geo-badge button {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
}
