/* Catalyst Apex · style.css */

:root {
  --dark:       #1C2B3A;
  --gold:       #8B6914;
  --gold-light: #A07820;
  --warm-white: #F8F6F1;
  --white:      #FFFFFF;
  --text:       #2D2D2D;
  --muted:      #6B7280;
  --border:     #E2DDD6;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

/* ─── NAVIGATION ─────────────────────────────────── */

nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.nav-logo em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* ─── BUTTONS ─────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}

.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { opacity: 0.88; }

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

.page-hero {
  background: var(--dark);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: normal;
  color: #F0EDE8;
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero p {
  font-size: 1rem;
  color: rgba(240, 237, 232, 0.7);
  max-width: 560px;
  margin: 1.25rem auto 0;
  line-height: 1.8;
}

/* ─── SECTIONS ────────────────────────────────────── */

section { padding: 5.5rem 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-inner.narrow { max-width: 720px; }

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: normal;
  color: var(--dark);
  line-height: 1.25;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #444;
}

/* ─── BACKGROUND VARIANTS ─────────────────────────── */

.bg-warm  { background: var(--warm-white); }

.bg-dark  { background: var(--dark); }
.bg-dark h2, .bg-dark h3 { color: #F0EDE8; }
.bg-dark p, .bg-dark .lead { color: rgba(240, 237, 232, 0.78); }
.bg-dark .eyebrow { color: var(--gold); }

/* ─── GRIDS ───────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.card {
  border-top: 2px solid var(--gold);
  padding-top: 1.5rem;
}

.card h3 { margin-bottom: 0.75rem; }

/* ─── STATS ───────────────────────────────────────── */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.6);
}

/* ─── PROCESS LIST ────────────────────────────────── */

.process-list { list-style: none; margin-top: 2.5rem; }

.process-list li {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.process-list li:last-child { border-bottom: none; }

.process-num {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  color: var(--gold);
  min-width: 2.5rem;
  line-height: 1;
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.process-body h3 { margin-bottom: 0.4rem; }

/* ─── SPLIT LAYOUT ────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 3rem; }
}

/* ─── FORM ────────────────────────────────────────── */

.form-group { margin-bottom: 1.5rem; }

label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

input:focus, textarea:focus { border-color: var(--dark); }
textarea { min-height: 150px; resize: vertical; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.5;
}

#form-status {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  display: none;
}
#form-status.success { color: #2D6A4F; }
#form-status.error   { color: #9B1C1C; }

/* ─── PRINCIPAL BIO ───────────────────────────────── */

.bio-photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: var(--border);
}

.bio-photo-placeholder {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  background: var(--warm-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── DIVIDER ─────────────────────────────────────── */

hr.rule { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
hr.rule-dark { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 2.5rem 0; }

/* ─── ENGAGEMENT BOX ──────────────────────────────── */

.engagement-box {
  border: 1px solid var(--border);
  padding: 2.5rem;
  margin-top: 3rem;
}

.engagement-box h3 {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.engagement-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.engagement-row:last-child { border-bottom: none; }

.engagement-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 160px;
}

.engagement-value {
  font-family: Georgia, serif;
  color: var(--dark);
  text-align: right;
}

/* ─── CONTACT INFO BLOCK ──────────────────────────── */

.contact-info { margin-top: 2.5rem; }

.contact-info-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.contact-info-row:first-child { border-top: 1px solid var(--border); }

.ci-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 90px;
  flex-shrink: 0;
}

.ci-value { color: var(--text); }
.ci-value a { color: var(--dark); text-decoration: none; }
.ci-value a:hover { color: var(--gold); }

/* ─── LEGAL TEXT ──────────────────────────────────── */

.legal-body h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; }
.legal-body h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
.legal-body p  { margin-bottom: 1rem; }
.legal-body ul { margin: 0.75rem 0 1rem 1.5rem; }
.legal-body li { margin-bottom: 0.4rem; }

/* ─── FOOTER ──────────────────────────────────────── */

footer {
  background: var(--dark);
  padding: 3.5rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-name {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: #F0EDE8;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(240, 237, 232, 0.5);
  max-width: 300px;
  line-height: 1.6;
}

.footer-links-col { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links-col a {
  font-size: 0.82rem;
  color: rgba(240, 237, 232, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.78rem;
  color: rgba(240, 237, 232, 0.4);
  line-height: 1.6;
}

/* ─── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.72rem; }
  section { padding: 3.5rem 1.25rem; }
  .page-hero { padding: 3.5rem 1.25rem 3rem; }
  .grid-3, .grid-2 { gap: 2rem; }
  .process-list li { gap: 1.25rem; }
  .engagement-box { padding: 1.75rem; }
  .split { gap: 2rem; }
}
