/* ═══════════════════════════════════════════════════════════════
   ROOMAN PATHWAY — SHARED STYLESHEET FOR ALL 5 JOURNEY PAGES
   ═══════════════════════════════════════════════════════════════ */
:root {
  --primary: #004d40;
  --primary-light: #00695c;
  --primary-dark: #00332b;
  --primary-soft: #e0f2f1;
  --accent: #f57c00;
  --accent-light: #ffb74d;
  --accent-soft: #fff3e0;
  --yellow: #ffd54f;
  --dark: #121826;
  --ink: #1f2937;
  --body: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f9f8;
  --bg-tint: #eaf4f1;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(17,24,39,0.06);
  --shadow-md: 0 8px 30px rgba(17,24,39,0.08);
  --shadow-lg: 0 20px 50px rgba(17,24,39,0.12);
  --maxw: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* TOP BAR */
.topbar {
  background: var(--primary-dark);
  color: #e6fffb;
  font-size: 13px;
  padding: 10px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; margin-left: 16px; }
.topbar .badge { background: var(--accent); color: #fff; padding: 2px 10px; border-radius: 20px; font-weight: 700; font-size: 11px; margin-right: 8px; letter-spacing: 0.4px; }

/* NAV */
nav.primary {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
nav.primary .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 20px;
  box-shadow: 0 6px 16px rgba(0,77,64,0.25);
}
.logo-text { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
.logo-tag { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links > li > a {
  display: inline-flex; align-items: center;
  padding: 10px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.nav-links > li > a:hover, .nav-links > li > a.current { background: var(--bg-tint); color: var(--primary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer; border: none;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245,124,0,0.35); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,77,64,0.3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }

/* MOBILE NAV TOGGLE */
.menu-toggle {
  display: none;
  background: transparent; border: none;
  font-size: 26px; color: var(--ink); cursor: pointer;
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open > li > a { width: 100%; display: block; }
  .menu-toggle { display: block; }
}

/* BREADCRUMB HERO */
.hero-pathway {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: #fff;
  padding: 56px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-pathway::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,124,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-pathway .crumbs {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.hero-pathway .crumbs a { color: var(--yellow); }
.hero-pathway .crumbs span { margin: 0 8px; color: rgba(255,255,255,0.5); }
.step-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-pathway h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero-pathway h1 .accent { color: var(--yellow); }
.hero-pathway .lede {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin-bottom: 28px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 36px;
  max-width: 820px;
}
.hero-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 18px;
}
.hero-stat .num {
  font-size: 24px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 5px;
}

/* SECTION STYLING */
section.block {
  padding: 70px 0;
}
section.block.soft { background: var(--bg-soft); }
section.block.dark { background: var(--dark); color: rgba(255,255,255,0.8); }
section.block.dark h2, section.block.dark h3 { color: #fff; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head.left { text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
h2.section-title {
  font-size: 36px; font-weight: 800;
  color: var(--ink); line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
h2.section-title .grad {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
p.section-lede {
  font-size: 17px; color: var(--muted); max-width: 720px; margin: 0 auto;
}
section.block.dark p.section-lede { color: rgba(255,255,255,0.65); }

/* CARD GRIDS */
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card.accent-top { border-top: 5px solid var(--accent); }
.card.primary-top { border-top: 5px solid var(--primary); }
.card .ico {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.card.accent-top .ico { background: var(--accent-soft); color: var(--accent); }
.card h3 { font-size: 20px; color: var(--ink); margin-bottom: 10px; font-weight: 800; }
.card h4 { font-size: 17px; color: var(--ink); margin-bottom: 8px; font-weight: 800; }
.card p { font-size: 14.5px; color: var(--body); }

/* MODULE LIST */
.module-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 20px;
}
@media (max-width: 700px) { .module-list { grid-template-columns: 1fr; } }
.module-list .mrow {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.module-list .mnum {
  font-weight: 800;
  color: var(--accent);
  font-size: 13.5px;
}
.module-list .mtxt {
  color: var(--body);
  font-size: 14.5px;
}

/* PHASE TABS */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .phase-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .phase-grid { grid-template-columns: 1fr; } }
.phase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.phase-head {
  background: var(--primary);
  color: #fff;
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.phase-head .pname { font-weight: 800; letter-spacing: 0.5px; font-size: 14.5px; }
.phase-head .phours {
  font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 3px 10px; border-radius: 20px;
}
.phase-body { padding: 14px 18px; }
.phase-body .m {
  display: grid; grid-template-columns: 42px 1fr;
  padding: 6px 0;
  font-size: 14px;
  color: var(--body);
}
.phase-body .m .n { font-weight: 800; color: var(--accent); }

/* NEXT STEP CTA BAND */
.next-band {
  background: linear-gradient(135deg, var(--accent) 0%, #ef6c00 100%);
  color: #fff;
  padding: 54px 0;
  text-align: center;
}
.next-band h2 { color: #fff; font-size: 32px; margin-bottom: 12px; font-weight: 800; letter-spacing: -0.4px; }
.next-band p { font-size: 17px; color: rgba(255,255,255,0.9); margin-bottom: 24px; max-width: 620px; margin-left: auto; margin-right: auto; }
.next-band .arrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  color: var(--accent);
  padding: 14px 30px; border-radius: 30px;
  font-weight: 800; font-size: 15px;
  transition: transform 0.2s;
}
.next-band .arrow:hover { transform: translateX(6px); }

/* JOURNEY STRIP */
.journey-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.journey-strip .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; flex-wrap: wrap;
}
.journey-strip .j-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.journey-strip .j-steps {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}
.journey-strip .j-step {
  padding: 7px 14px; border-radius: 18px;
  font-size: 13px; font-weight: 600;
  background: var(--bg-tint); color: var(--primary);
  text-decoration: none;
}
.journey-strip .j-step.current {
  background: var(--primary); color: #fff;
}
.journey-strip .j-step:hover { background: var(--primary-light); color: #fff; }
.journey-strip .j-arrow { color: var(--muted); font-weight: 700; }

/* FOOTER */
footer.site {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 56px 0 28px; font-size: 14.5px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
footer.site h5 {
  color: #fff; font-size: 15px; font-weight: 800;
  margin-bottom: 14px; letter-spacing: 0.3px;
}
footer.site a { color: rgba(255,255,255,0.7); display: block; padding: 5px 0; font-size: 14px; }
footer.site a:hover { color: #fff; }
.foot-about .logo { margin-bottom: 16px; }
.foot-about .logo-text { color: #fff; }
.foot-about .logo-tag { color: rgba(255,255,255,0.5); }
.foot-about p { font-size: 13.5px; line-height: 1.6; max-width: 320px; margin-bottom: 14px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px; padding-top: 20px;
  display: flex; justify-content: space-between; font-size: 12.5px;
  color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px;
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-pathway h1 { font-size: 36px; }
  .hero-pathway .lede { font-size: 16px; }
  h2.section-title { font-size: 28px; }
}

/* UTILITY */
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.pill-accent { background: var(--accent-soft); color: var(--accent); }
.pill-primary { background: var(--primary-soft); color: var(--primary); }
.pill-yellow { background: #fff8d1; color: #f57f17; }

.tools-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.tool-chip {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 22px;
  font-weight: 700;
  color: var(--primary);
  font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
}
