/* Santry Development LLC — site stylesheet */

:root {
  --navy: #12233b;
  --navy-deep: #0a1626;
  --gold: #a9814f;
  --gold-light: #c9a876;
  --cream: #f6f3ee;
  --paper: #fbfaf8;
  --ink: #1c1c1c;
  --gray: #5b6472;
  --line: #e0dcd3;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em 0;
}

a { color: var(--navy); }

p { margin: 0 0 1.1em 0; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header / Nav ---------- */

header.site-header {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.brand .brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand .brand-sub {
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  color: #d9dde3;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

nav.primary-nav a:hover,
nav.primary-nav a.active {
  color: #fff;
  border-bottom-color: var(--gold);
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #1a3350 100%);
  color: #fff;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(201,168,118,0.25);
  border-radius: 50%;
}

.hero::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(201,168,118,0.15);
  border-radius: 50%;
}

.hero .eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: 2.7rem;
  max-width: 760px;
  margin-bottom: 22px;
}

.hero .lede {
  color: #cfd6e0;
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 34px;
}

.page-hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 64px 0 56px;
}

.page-hero .eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.page-hero h1 { color: #fff; font-size: 2.1rem; max-width: 720px; }
.page-hero .lede { color: #cfd6e0; max-width: 640px; font-size: 1.05rem; margin-bottom: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: #93704a; }

.btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section { padding: 72px 0; }
section.tight { padding: 52px 0; }
section.alt { background: var(--cream); }

.section-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--gray); font-size: 1.05rem; }

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}

/* ---------- Stat grid ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 26px 24px;
}

.stat-card .stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.stat-card .stat-label {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.stat-card .stat-source {
  font-size: 0.74rem;
  color: var(--gray);
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}

/* ---------- Cards / grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
}

.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { color: var(--gray); margin-bottom: 0; }

/* ---------- Placeholder blocks ---------- */

.placeholder {
  background: repeating-linear-gradient(135deg, #fbf6ec, #fbf6ec 10px, #f5ead5 10px, #f5ead5 20px);
  border: 1px dashed var(--gold);
  color: #7a5c2e;
  padding: 20px 22px;
  font-size: 0.9rem;
}

.placeholder strong { color: #5c4319; }

.placeholder-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 10px;
}

/* ---------- Tables ---------- */

table.criteria {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

table.criteria th, table.criteria td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}

table.criteria th {
  width: 30%;
  color: var(--navy);
  font-weight: 600;
  background: var(--cream);
}

table.criteria td em.ph {
  color: #8a6a2e;
  font-style: normal;
  background: #fbf1de;
  padding: 1px 6px;
  border-radius: 2px;
}

/* ---------- Two column ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Team ---------- */

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
}

@media (max-width: 700px) {
  .team-card { grid-template-columns: 1fr; }
}

.avatar-mono {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy) 0%, var(--gold) 130%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
}

.avatar-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.team-card h3 { margin-bottom: 4px; }
.team-role {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Sources list ---------- */

.sources { font-size: 0.85rem; color: var(--gray); }
.sources ol { padding-left: 20px; }
.sources li { margin-bottom: 6px; }

.bullet-list { padding-left: 20px; }
.bullet-list li { margin-bottom: 10px; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--navy-deep);
  color: #b7bec9;
  padding: 52px 0 30px;
  margin-top: 0;
}

footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

@media (max-width: 700px) {
  footer.site-footer .foot-grid { grid-template-columns: 1fr; }
}

footer.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a { color: #b7bec9; text-decoration: none; font-size: 0.9rem; }
footer.site-footer a:hover { color: #fff; }

footer.site-footer .brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: block;
}

.legal-note {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  font-size: 0.76rem;
  color: #7d8794;
  line-height: 1.7;
}

/* ---------- Mobile nav ---------- */

@media (max-width: 860px) {
  nav.primary-nav ul { gap: 18px; }
  .hero h1 { font-size: 2.1rem; }
}

@media (max-width: 680px) {
  nav.primary-nav { display: none; }
  .nav-toggle {
    display: inline-block;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
  }
  nav.primary-nav.open { display: block; }
  nav.primary-nav.open ul {
    flex-direction: column;
    gap: 14px;
    padding: 18px 0 6px;
  }
}
