/* Texas Readiness Partners — site styles */
:root {
  --bg: #000;
  --fg: #fff;
  --muted: #a3a8b3;
  --card: #0e0f12;
  --border: rgba(255,255,255,0.14);
  --primary: #0a0f1f;
  --gold: #e6b54a;
  --accent: #6ea8e6;
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.7);
  --gradient-hero: linear-gradient(135deg,#05060d 0%,#101633 60%,#1d3568 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(5,6,13,0.55), rgba(5,6,13,0.9));
  --font-display: "Sora", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }

.container { max-width: 78rem; margin-inline: auto; padding-inline: 1.5rem; }

.eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
}
.eyebrow.gold { color: var(--gold); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner { display: flex; height: 4rem; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 600; }
.brand-mark {
  display: grid; place-items: center;
  height: 2.5rem; width: 2.5rem;
  border-radius: 0.375rem;
  background: var(--gold);
  color: #0a0f1f;
  font-weight: 700;
}
.nav { display: none; gap: 1.75rem; align-items: center; font-size: 0.875rem; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.nav .cta {
  background: var(--fg); color: #000;
  padding: 0.5rem 1rem; border-radius: 9999px; font-weight: 500;
}
.nav .cta:hover { opacity: 0.9; }
@media (min-width: 768px) { .nav { display: flex; } .brand-text-full { display: inline; } }
.brand-text-full { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--gradient-overlay), url('https://images.unsplash.com/photo-1531297484001-80022131f5a1?auto=format&fit=crop&w=2400&q=80');
  background-size: cover; background-position: center;
}
.hero-inner { padding: 7rem 0; }
@media (min-width: 768px) { .hero-inner { padding: 10rem 0; } }
.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  max-width: 60rem;
}
.gold { color: var(--gold); }
.hero p {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
}
.btn-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600;
  transition: opacity .2s, background .2s;
}
.btn-gold { background: var(--gold); color: #0a0f1f; }
.btn-gold:hover { opacity: 0.9; }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--fg); font-weight: 500;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Stats */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2rem 1.5rem; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat:nth-child(2) { border-right: none; }
@media (min-width: 768px) { .stat:nth-child(2) { border-right: 1px solid var(--border); } }
.stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.stat .lbl { margin-top: 0.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); }

/* Section header */
.section { padding: 6rem 0; }
.section-head { max-width: 42rem; }
.section-head h2 { margin-top: 0.75rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.1; }
.section-head p { margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; }

/* Service cards */
.cards { margin-top: 3rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: rgba(230,181,74,0.6); box-shadow: var(--shadow); }
.icon-tile {
  display: grid; place-items: center;
  height: 3rem; width: 3rem;
  border-radius: 0.75rem;
  background: rgba(230,181,74,0.15);
  color: var(--gold);
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; }
.card h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 600; }
.card .desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.card ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.card li { display: flex; gap: 0.5rem; }
.card li::before {
  content: ""; flex-shrink: 0;
  margin-top: 0.5rem; height: 0.375rem; width: 0.375rem;
  border-radius: 9999px; background: var(--gold);
}
.learn {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; font-weight: 600; color: var(--gold);
}
.learn:hover { text-decoration: underline; }

/* Magazine feature */
.feature-grid { display: grid; gap: 3rem; align-items: end; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: 5fr 7fr; } }
.feature-grid .right { padding-left: 0; border-left: none; }
@media (min-width: 768px) {
  .feature-grid .right { padding-left: 3rem; border-left: 1px solid var(--border); }
}
.feature-grid h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.1; margin-top: 0.75rem; }
.feature-grid .right p { font-size: 1.125rem; color: var(--muted); line-height: 1.7; }
.feature-grid .right p + p { margin-top: 1.25rem; }

/* Pillars */
.pillars { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border: 1px solid var(--border); background: var(--card); border-radius: 0.75rem; padding: 2rem; }
.pillar .bar { height: 4px; width: 2.5rem; background: var(--gold); }
.pillar h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 600; }
.pillar p { margin-top: 0.75rem; color: var(--muted); line-height: 1.7; }

/* CTA */
.cta-block {
  position: relative; overflow: hidden;
  border-radius: 1rem;
  padding: 3rem 2rem;
  background: var(--gradient-hero);
}
@media (min-width: 768px) { .cta-block { padding: 4rem; } }
.cta-block h2 { margin-top: 0.75rem; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; line-height: 1.1; }
.cta-block p { margin-top: 1.25rem; color: rgba(255,255,255,0.8); max-width: 38rem; }
.cta-block .btn { margin-top: 2rem; }

/* Footer */
.footer {
  margin-top: 8rem;
  border-top: 1px solid var(--border);
  background: #06070d;
}
.footer-grid { display: grid; gap: 2.5rem; padding: 4rem 0; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.footer .tag { margin-top: 0.75rem; max-width: 28rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer ul { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer ul a:hover { color: var(--gold); }
.footer .small { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { padding: 1.25rem 0; font-size: 0.75rem; color: rgba(255,255,255,0.6); margin: 0; }

/* arrow icon */
.arrow { width: 1rem; height: 1rem; }
