/* ==========================================================================
   Liberty Point Development — Site Stylesheet
   ========================================================================== */

:root {
  --navy-950: #0a1220;
  --navy-900: #0f1b2e;
  --navy-800: #16273f;
  --navy-700: #1f3555;
  --navy-600: #2c4a75;
  --steel-500: #5b7a9e;
  --steel-300: #9fb4cc;
  --steel-100: #dbe4ee;
  --sand-100: #f4f1ea;
  --sand-50: #faf9f6;
  --gold-500: #a9873f;
  --gold-400: #c4a05e;
  --ink-900: #16191d;
  --ink-600: #4a5158;
  --white: #ffffff;

  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max-width: 1160px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-950);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-600); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.9em;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-600);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

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

.btn-outline {
  background: transparent;
  border-color: var(--steel-300);
  color: var(--navy-950);
}
.btn-outline:hover { border-color: var(--navy-700); background: var(--sand-50); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 18, 32, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--gold-400);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--gold-400);
  flex-shrink: 0;
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--steel-100);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--white); border-color: var(--gold-400); }

.nav-cta {
  padding: 9px 20px !important;
  border: 1px solid var(--gold-400) !important;
  border-radius: var(--radius);
  color: var(--white) !important;
}
.nav-cta:hover { background: var(--gold-500); border-color: var(--gold-500) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  width: 40px;
  height: 36px;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .nav-cta { margin-top: 8px; display: inline-block !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 720px; }

.hero h1 { color: var(--white); }
.hero p.lede { color: var(--steel-100); }

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.page-hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 90px 0 64px;
}
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero p.lede { color: var(--steel-100); max-width: 680px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.bg-sand { background: var(--sand-50); }
.bg-navy { background: var(--navy-950); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: var(--steel-100); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grid / Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--sand-100);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.card p { color: var(--ink-900); }

.card-number {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--gold-500);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--gold-400);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-500);
}
.pillar-icon svg { width: 22px; height: 22px; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.stat {
  padding: 30px 24px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold-400);
  display: block;
  margin-bottom: 4px;
}
.stat .label {
  font-size: 0.8rem;
  color: var(--steel-300);
  letter-spacing: 0.03em;
}
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
}

/* ---------- Lists ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--sand-100);
  color: var(--ink-600);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--gold-500);
  transform: rotate(45deg);
}

.process-list { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.process-list li {
  counter-increment: step;
  position: relative;
  padding: 8px 0 28px 54px;
  border-left: 1px solid var(--sand-100);
  margin-left: 17px;
}
.process-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -18px;
  top: 0;
  width: 34px;
  height: 34px;
  background: var(--navy-950);
  color: var(--gold-400);
  font-family: var(--font-head);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.process-list h4 { margin-bottom: 4px; }

/* ---------- Table ---------- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--sand-100);
  font-size: 0.93rem;
}
.data-table th {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-500);
  font-weight: 600;
}
.data-table td { color: var(--ink-600); }
.table-wrap { overflow-x: auto; }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--sand-100);
  color: var(--navy-700);
}
.tag-gold { background: rgba(169,135,63,0.14); color: var(--gold-500); }

/* ---------- Quote / principle ---------- */
.principle {
  border-left: 3px solid var(--gold-400);
  padding-left: 28px;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--navy-950);
  font-style: italic;
  max-width: 780px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--steel-100); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}
textarea { resize: vertical; min-height: 120px; }

.contact-info-list { list-style: none; margin: 0; padding: 0; }
.contact-info-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-list .k {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: 4px;
}
.contact-info-list .v { color: var(--white); font-size: 1.02rem; }
.contact-info-list a.v { text-decoration: none; }
.contact-info-list a.v:hover { color: var(--gold-400); }

.form-note {
  font-size: 0.82rem;
  color: var(--ink-600);
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-300);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: var(--steel-300); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { color: var(--steel-300); max-width: 320px; font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--steel-500);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.small { font-size: 0.85rem; }
.muted { color: var(--steel-500); }
