/* ================================================================
   IRONMARGIN — Field Guide page (leaks.html) specific styles.
   Loaded after css/style.css; extends the same tokens and classes.
   ================================================================ */

/* ---------- Page header ---------- */
.guide-hero {
  padding-bottom: clamp(3.25rem, 8vh, 5.5rem);
}
.guide-hero .proof {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Leak section header ---------- */
.lk-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto 1.4rem;
}
.lk-head .leak-num {
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.lk-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.lk-nick {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.lk-what {
  max-width: 920px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ---------- Two-column card row (spot / measure) ---------- */
.lk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto 1.5rem;
}
@media (max-width: 820px) {
  .lk-grid { grid-template-columns: 1fr; }
}

.lk-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.9rem;
}
.lk-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

/* Checklists inside cards reuse .tier-list from style.css */

/* ---------- Metric rows (How to Measure It) ---------- */
.metrics { list-style: none; }
.metric {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}
.metric:first-child { padding-top: 0; }
.metric:last-child { padding-bottom: 0; border-bottom: none; }
.m-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
}
.m-formula {
  grid-column: 1;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.m-target {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 150px;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--green);
  line-height: 1.4;
}
@media (max-width: 480px) {
  .metric { grid-template-columns: 1fr; }
  .m-target { grid-column: 1; grid-row: auto; text-align: left; max-width: none; margin-top: 0.2rem; }
}

/* ---------- Typical impact band ---------- */
.lk-impact {
  max-width: 920px;
  margin: 0 auto 1.5rem;
  background: var(--orange-tint);
  border: 1px solid #f5d9c6;
  border-radius: var(--radius);
  padding: 1.5rem 1.9rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.lk-impact-fig { flex-shrink: 0; }
.lk-impact-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.lk-impact-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.15;
  color: var(--orange);
}
.lk-impact p {
  flex: 1;
  min-width: 240px;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ---------- The fix (full-width card, two-column list) ---------- */
.lk-fix {
  max-width: 920px;
  margin: 0 auto 1.5rem;
}
.lk-fix .tier-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2.25rem;
}
@media (max-width: 700px) {
  .lk-fix .tier-list { grid-template-columns: 1fr; }
}

/* ---------- IronMargin angle pull block ---------- */
.lk-angle {
  max-width: 920px;
  margin: 0 auto;
  font-size: 1rem;
}
.lk-angle strong { color: var(--navy-800); }

/* ---------- Mid-page CTA band ---------- */
.mid-cta-sec { padding: clamp(2.5rem, 6vh, 4rem) 0; }
.mid-cta-sec .leak-cta { margin-top: 0; }
.leak-cta h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

/* ---------- Curriculum table ---------- */
.curr-table-wrap {
  overflow-x: auto;
  max-width: 920px;
  margin: 0 auto 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.curr-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.curr-table th {
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 0.9rem 1.4rem;
  white-space: nowrap;
}
.curr-table td {
  padding: 0.85rem 1.4rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.curr-table tbody tr:nth-child(even) td { background: var(--bg-alt); }
.curr-table tbody tr:last-child td { border-bottom: none; }
.curr-table .week-num {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--orange);
}
.curr-table .curr-leak {
  font-weight: 700;
  color: var(--ink);
}

.curr-note {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
  font-size: 0.98rem;
}
.curr-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.curr-fine {
  margin-top: 1.4rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
