/* =========================================
   LOCALPATH — Custom Landing Page Styles
   ========================================= */

:root {
  --navy: #1a2744;
  --navy-deep: #0f1a2e;
  --amber: #e8940f;
  --amber-light: #f5c842;
  --cream: #f6f2eb;
  --cream-deep: #eee9de;
  --charcoal: #2c2c2c;
  --muted: #6b6b6b;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 3rem;
}

/* === HEADER === */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1.5rem 3rem;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 22, 46, 0.92) 0%,
    rgba(10, 22, 46, 0.75) 50%,
    rgba(10, 22, 46, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 3rem 5rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 3.5rem;
  background: rgba(255,255,255,0.2);
}

/* === PROBLEM === */
.problem { padding: 7rem 3rem; background: var(--cream); }

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.75rem;
}

.problem-body {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.problem-body em { color: var(--navy); font-style: italic; font-weight: 500; }

.problem-image-wrap {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(26, 39, 68, 0.2);
}

.problem-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === FRAMEWORK === */
.framework { padding: 7rem 3rem; background: var(--navy); }

.framework-inner { max-width: 1200px; margin: 0 auto; }

.framework .section-label { color: var(--amber-light); }

.framework .section-headline { color: var(--white); }

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.criteria-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1.75rem 1.25rem;
  transition: border-color 0.2s;
}

.criteria-card:hover { border-color: var(--amber); }

.criteria-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 1rem;
}

.criteria-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.criteria-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  font-weight: 300;
}

/* === OPPORTUNITIES === */
.opportunities { padding: 7rem 3rem; background: var(--cream); }

.opportunities-inner { max-width: 1200px; margin: 0 auto; }

.opp-cards {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.opp-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem;
  border: 1px solid var(--cream-deep);
  box-shadow: 0 4px 20px rgba(26, 39, 68, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.opp-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26, 39, 68, 0.12); }

.opp-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  grid-row: span 1;
}

.opp-rank {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 1rem;
}

.opp-card--featured .opp-rank { color: var(--amber-light); }

.opp-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.opp-card--featured .opp-name { color: var(--white); }

.opp-one-liner {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.opp-card--featured .opp-one-liner { color: rgba(255,255,255,0.65); }

.opp-metrics { display: flex; flex-direction: column; gap: 0.6rem; }

.opp-metric { display: flex; justify-content: space-between; align-items: center; }

.opp-metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.opp-card--featured .opp-metric-label { color: rgba(255,255,255,0.5); }

.opp-metric-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.opp-card--featured .opp-metric-val { color: var(--amber-light); }

/* === HOW IT WORKS === */
.howitworks { padding: 7rem 3rem; background: var(--cream-deep); }

.hiw-inner { max-width: 900px; margin: 0 auto; }

.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(26, 39, 68, 0.1);
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  padding-top: 0.35rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* === CLOSING === */
.closing { padding: 8rem 3rem; background: var(--navy); }

.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.closing-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-weight: 300;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* === FOOTER === */
.site-footer { padding: 4rem 3rem; background: var(--navy-deep); }

.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.footer-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .criteria-grid { grid-template-columns: repeat(3, 1fr); }
  .opp-cards { grid-template-columns: 1fr 1fr; }
  .opp-card--featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  .site-header { padding: 1.25rem 1.5rem; }
  .tagline { display: none; }
  .hero-content { padding: 8rem 1.5rem 4rem; }
  .hero-headline { font-size: 3rem; }
  .problem-inner { grid-template-columns: 1fr; gap: 3rem; }
  .criteria-grid { grid-template-columns: 1fr 1fr; }
  .opp-cards { grid-template-columns: 1fr; }
  .opp-card--featured { grid-column: span 1; }
  .problem, .framework, .opportunities, .howitworks, .closing { padding: 5rem 1.5rem; }
  .step { grid-template-columns: 4rem 1fr; gap: 1rem; }
  .hero-stats { gap: 1.25rem; }
  .stat-divider { height: 2.5rem; }
}

@media (max-width: 480px) {
  .criteria-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.5rem; }
  .stat-num { font-size: 1.75rem; }
}