/* skillsmappeddegrees.com — shared styles */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,400&display=swap");

:root {
  --navy: #0b1f3a;
  --teal: #1a7a8a;
  --teal-lt: #e8f4f6;
  --gold: #c8902a;
  --gold-lt: #fdf5e6;
  --slate: #4a5568;
  --mist: #f4f7fa;
  --white: #ffffff;
  --border: #d1dce5;
  --text: #1a202c;
  --text-sm: #6b7280;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ── HEADER: Two-part editorial masthead ── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  padding: 0;
}
.site-masthead {
  padding: 14px 24px;
}
.site-masthead .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.site-name span {
  color: var(--teal);
  font-weight: 400;
}
.nav-strip {
  background: var(--navy);
  padding: 0;
}
.nav-strip .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 0;
}
.nav-strip nav {
  display: flex;
  gap: 0;
}
.nav-strip nav a {
  font-family: "Outfit", sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  color: #a8c4cc;
  padding: 0 16px;
  height: 42px;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  border-radius: 0;
}
.nav-strip nav a:hover {
  color: var(--white);
  text-decoration: none;
}
.nav-strip nav a.active {
  color: var(--white);
  background: var(--teal);
  border-radius: 3px;
}

/* ── HERO: Light background, 2-column on home; editorial on inner pages ── */
.hero {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
}
.hero .inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Home hero: 3-row stacked layout */
.hero-stacked {
  display: flex;
  flex-direction: column;
  padding: 56px 24px 48px;
}
.hero-stacked .hero-text {
  margin-bottom: 16px;
}
.hero-stacked .hero-lead {
  margin-bottom: 32px;
  max-width: 680px;
}
.hero-stacked .hero-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-eyebrow {
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.9;
}
.hero h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 20px;
}
.hero-lead {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 540px;
}
.stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 22px 20px;
}
.stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #7ec8d8;
  line-height: 1;
}
.stat-desc {
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  color: #c5d8e0;
  margin-top: 8px;
  line-height: 1.5;
}
.stat-source {
  font-size: 0.7rem;
  color: #7ec8d8;
  margin-top: 6px;
  opacity: 0.75;
}

/* Inner page hero: light bg with navy left accent */
.hero-page {
  background: var(--mist);
  padding: 48px 24px 40px;
  border-bottom: 1px solid var(--border);
}
.hero-page .inner {
  max-width: 780px;
  margin: 0 auto;
}
.hero-page .hero-eyebrow {
  color: var(--teal);
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-page h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero-page .hero-lead {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.65;
  max-width: 620px;
}

@media (max-width: 760px) {
  .hero-stacked .hero-data {
    grid-template-columns: 1fr;
  }
}

/* ── MAIN CONTENT ── */
.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px;
}
h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin: 52px 0 18px;
  line-height: 1.25;
}
h2:first-child {
  margin-top: 0;
}
h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 32px 0 12px;
}
p {
  margin-bottom: 1.2em;
  font-size: 1.01rem;
}
ul,
ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
  font-size: 1.01rem;
}

/* CALLOUT BOXES */
.callout {
  border-left: 3px solid var(--teal);
  background: var(--teal-lt);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}
.callout.gold {
  border-color: var(--gold);
  background: var(--gold-lt);
}
.callout.green {
  border-color: #16a34a;
  background: #f0fdf4;
}
.callout-label {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.callout.gold .callout-label {
  color: var(--gold);
}
.callout.green .callout-label {
  color: #16a34a;
}
.callout p {
  margin: 0;
  font-size: 0.95rem;
}

/* STAT INLINE */
.stat-inline {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--teal);
}

/* DATA TABLE */
.data-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
thead tr {
  background: var(--navy);
  color: var(--white);
}
thead th {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
tbody tr:nth-child(odd) {
  background: var(--mist);
}
tbody tr:hover {
  background: var(--teal-lt);
}
tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tbody td:first-child {
  font-weight: 600;
}
.growth-badge {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.growth-much {
  background: #d1fae5;
  color: #065f46;
}
.growth-fast {
  background: #dbeafe;
  color: #1e40af;
}
.growth-avg {
  background: #fef3c7;
  color: #92400e;
}
.growth-slow {
  background: #fee2e2;
  color: #991b1b;
}

/* TABLE SECTION HEADERS */
.tbl-section {
  background: var(--teal) !important;
}
.tbl-section td {
  color: var(--white) !important;
  font-family: "Outfit", sans-serif;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em;
  padding: 10px 14px !important;
}

/* FAQ */
.faq-list {
  margin-top: 8px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.faq-a {
  font-size: 0.97rem;
  color: var(--slate);
}

/* STEP LAYOUT */
.steps {
  margin-top: 8px;
}
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 20px;
  margin-bottom: 36px;
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-body h3 {
  margin-top: 0;
}
.step-body p {
  font-size: 0.97rem;
}

/* DISTINCTION BOX */
.distinction {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.distinction-label {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7ec8d8;
  white-space: nowrap;
  padding-top: 2px;
}
.distinction p {
  margin: 0;
  font-size: 0.95rem;
  color: #e2edf0;
}

/* MILESTONE TABLE */
.milestone-table {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
}
.milestone-table .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border);
}
.milestone-table .row:last-child {
  border-bottom: none;
}
.milestone-table .label {
  background: var(--navy);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 14px 16px;
  display: flex;
  align-items: center;
}
.milestone-table .value {
  padding: 14px 16px;
  font-size: 0.92rem;
}
@media (max-width: 550px) {
  .milestone-table .row {
    grid-template-columns: 1fr;
  }
  .milestone-table .label {
    font-size: 0.78rem;
  }
}

/* BADGE STAGE TABLE */
.badge-stages {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
}
.badge-stages .stage-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--border);
}
.badge-stages .stage-row:last-child {
  border-bottom: none;
}
.badge-stages .stage-label {
  background: var(--teal);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 16px;
  display: flex;
  align-items: center;
}
.badge-stages .stage-content {
  padding: 16px;
  font-size: 0.92rem;
}
@media (max-width: 550px) {
  .badge-stages .stage-row {
    grid-template-columns: 1fr;
  }
}

/* SOURCE NOTES */
.source-note {
  font-size: 0.78rem;
  color: var(--text-sm);
  font-style: italic;
  margin-top: 4px;
}
.verify-note {
  font-size: 0.78rem;
  color: var(--gold);
  background: var(--gold-lt);
  border-radius: 4px;
  padding: 4px 10px;
  display: inline-block;
  margin-top: 6px;
}

/* WIDE LAYOUT */
.page-content.wide {
  max-width: 1060px;
}

/* ABOUT */
.about-section p {
  font-size: 1rem;
  margin-bottom: 1.4em;
  max-width: 680px;
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: #7b96a8;
  padding: 36px 24px;
  margin-top: 80px;
}
.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.footer-nav a {
  color: #7b96a8;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-disclosure {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  color: #7b96a8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  line-height: 1.6;
}
.disclosure-statement {
  font-size: 16px;
  font-weight: 500;
  color: var(--footer-text-strong, #c8d4da);
  line-height: 1.5;
  margin-bottom: 6px;
}
.disclosure-sources {
  font-size: 16px;
  color: var(--footer-text, #97a3a9);
  line-height: 1.6;
}
.disclosure-banner {
  background: #f5f0e8;
  border-bottom: 2px solid #c8a84b;
  padding: 12px 24px;
  text-align: center;
}
.disclosure-banner p {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #3a2e00;
  margin: 0;
}

/* ── SKILLS BLOCK ── */
.skills-block {
  margin: 0 0 24px;
}
.skills-block .block-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--almost-black-l40);
  margin-bottom: 10px;
}
.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.skill-pill {
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  color: var(--almost-black);
  background: var(--almost-black-l90);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 11px;
  white-space: nowrap;
}
.skills-source {
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
  color: var(--almost-black-l40);
  line-height: 1.4;
}
/* ── RESPONSIVE: Scale up for wide screens ── */
@media (min-width: 1280px) {
  .site-masthead .inner,
  .nav-strip .inner,
  .site-footer .inner,
  .hero .inner {
    max-width: 1100px;
  }

  .page-content {
    max-width: 900px;
  }
  .page-content.wide {
    max-width: 1100px;
  }
}
@media (min-width: 1600px) {
  .site-masthead .inner,
  .nav-strip .inner,
  .site-footer .inner,
  .hero .inner {
    max-width: 1300px;
  }

  .page-content {
    max-width: 1040px;
  }
  .page-content.wide {
    max-width: 1300px;
  }
}
@media (min-width: 1920px) {
  .site-masthead .inner,
  .nav-strip .inner,
  .site-footer .inner,
  .hero .inner {
    max-width: 1440px;
  }

  .page-content {
    max-width: 1160px;
  }
  .page-content.wide {
    max-width: 1440px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-lead {
    font-size: 1.15rem;
  }
}
@media (max-width: 760px) {
  .hero-text {
    padding: 48px 24px 36px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .hero-data {
    padding: 36px 24px;
  }
  .hero-page {
    padding: 40px 24px 32px;
  }
}

/* Cookie consent banner */
#cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 -2px 12px rgba(11, 31, 58, 0.25);
}
.cookie-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-consent-text {
  margin: 0;
  flex: 1 1 300px;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-consent-text a {
  color: var(--white);
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  padding: 10px 22px;
  cursor: pointer;
  border: 1px solid transparent;
}
.cookie-btn-accept {
  background: var(--gold);
  color: var(--navy);
}
.cookie-btn-accept:hover {
  background: #b07d20;
}
.cookie-btn-reject {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.cookie-btn-reject:hover {
  border-color: var(--white);
}
.cookie-prefs-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 600px) {
  .cookie-consent-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1 1 auto;
  }
}

/* ── Mobile hamburger menu (no-JS, checkbox toggle) ── */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-burger { display: none; }

@media (max-width: 768px) {
  .site-masthead .inner { justify-content: space-between; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
  }
  .nav-toggle:focus-visible ~ .site-masthead .nav-burger { outline: 2px solid var(--teal); }

  /* hide the navy nav bar until the burger is tapped */
  .nav-strip { display: none; }
  .nav-toggle:checked ~ .nav-strip { display: block; }
  .nav-strip .inner { padding: 0; display: block; }
  .nav-strip nav { flex-direction: column; gap: 0; }
  .nav-strip nav a {
    height: 48px;
    width: 100%;
    padding: 0 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  /* burger -> X */
  .nav-toggle:checked ~ .site-masthead .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .site-masthead .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .site-masthead .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
