/* Lonestar Data — shared styles */
:root {
  --cream: #f3eee4;
  --cream-deep: #ebe4d6;
  --navy: #16314e;
  --navy-deep: #0f2338;
  --gold: #b08d3f;
  --gold-soft: #cdb27a;
  --ink: #24303d;
  --muted: #5d6673;
  --line: rgba(22, 49, 78, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; }
a { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
em.gold { font-style: italic; color: var(--gold); }

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

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy);
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  letter-spacing: 0.02em; white-space: nowrap;
}
.brand .star { color: var(--gold); font-size: 1.1rem; transform: translateY(-1px); }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--navy);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle { display: none; }

/* ---------- Eyebrow / divider ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.star-rule {
  display: flex; align-items: center; gap: 18px; color: var(--gold);
  margin: 0 auto; max-width: 260px; font-size: 0.9rem;
}
.star-rule::before, .star-rule::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .55; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 140px 0 150px;
}
.hero::after {
  content: "★"; position: absolute; right: -60px; top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  font-size: 620px; line-height: 1; color: var(--gold); opacity: 0.07;
  pointer-events: none;
}
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 56ch; margin-bottom: 2.2em; }

.page-hero { padding: 110px 0 60px; position: relative; overflow: hidden; }
.page-hero::after {
  content: "★"; position: absolute; right: 4%; top: 40px;
  font-size: 240px; line-height: 1; color: var(--gold); opacity: 0.08; pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); max-width: 18ch; }
.page-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 30px; border: 1px solid var(--navy);
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tight { padding: 40px 0 100px; }
.section-alt { background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose { max-width: 70ch; }
.prose p { color: var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fbf8f2; border: 1px solid var(--line);
  padding: 42px 34px; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(22, 49, 78, .35); }
.card .card-star { color: var(--gold); font-size: 1rem; margin-bottom: 18px; display: block; }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Stat cards */
.stat-card {
  background: var(--navy); color: var(--cream);
  padding: 48px 36px; position: relative; overflow: hidden;
}
.stat-card::after {
  content: "★"; position: absolute; right: -14px; bottom: -40px;
  font-size: 150px; color: var(--gold); opacity: .12; line-height: 1;
}
.stat-figure {
  font-family: var(--serif); font-weight: 500; color: var(--gold-soft);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; margin-bottom: 18px;
  white-space: nowrap;
}
.stat-label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); opacity: .85; margin-bottom: 10px; font-weight: 600;
}
.stat-card p { color: rgba(243, 238, 228, .82); margin: 0; font-size: 0.98rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 110px 1fr; gap: 30px;
  padding: 38px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--gold);
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { color: var(--muted); margin: 0; max-width: 62ch; }

.note {
  margin-top: 60px; padding: 40px 44px;
  background: var(--navy); color: var(--cream);
  border-left: 4px solid var(--gold);
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
}
.note .note-star { color: var(--gold); font-size: 2rem; line-height: 1; }
.note h3 { color: var(--cream); margin-bottom: .3em; }
.note p { margin: 0; color: rgba(243, 238, 228, .82); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--cream); padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--cream); margin: 22px auto 18px; max-width: 22ch; }
.cta-band p { color: rgba(243, 238, 228, .78); max-width: 54ch; margin: 0 auto 34px; }
.cta-band .btn-primary { background: var(--gold); border-color: var(--gold); color: #fff; }
.cta-band .btn-primary:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }

/* ---------- Contact ---------- */
.contact-panel {
  background: #fbf8f2; border: 1px solid var(--line);
  padding: 70px 60px; text-align: center; max-width: 760px; margin: 0 auto;
  position: relative;
}
.contact-panel::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(176, 141, 63, .35); pointer-events: none;
}
.contact-email {
  display: inline-block; margin: 14px 0 26px;
  font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold);
  word-break: break-word;
}
.contact-email:hover { color: var(--gold); }
.contact-panel .small { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(243, 238, 228, .7); padding: 44px 0; font-size: 0.85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .brand { color: var(--cream); font-size: 1.3rem; }
.site-footer a { color: rgba(243, 238, 228, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .nav-toggle {
    display: inline-flex; background: none; border: 1px solid var(--line);
    color: var(--navy); font-size: 1.1rem; padding: 6px 12px; cursor: pointer;
  }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 8px 28px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); }
  .hero { padding: 90px 0 100px; }
  .hero::after { font-size: 360px; right: -120px; }
  .steps li { grid-template-columns: 1fr; gap: 10px; }
  .note { grid-template-columns: 1fr; padding: 32px 28px; }
  .contact-panel { padding: 54px 28px; }
}
