/* =============================================
   MRA Theme - Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --nb: #1d1d1f;
  --mid: #6e6e73;
  --light: #aeaeb2;
  --pale: #d2d2d7;
  --bg: #f5f5f7;
  --w: #fff;
  --blue: #0057A8;
  --green: #00A651;
  --cyan: #00B5E2;
  --nh: 52px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-size: 18px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ---- Utility ---- */
.wrap  { max-width: 980px;  margin: 0 auto; padding: 0 1.5rem; }
.ww    { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.lbl {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
}

.hed {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--nb);
}

.sub {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mid);
}

/* ---- Buttons ---- */
.btn-green {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.15s;
}
.btn-green:hover { opacity: 0.88; color: white; }

.btn-blue {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.15s;
}
.btn-blue:hover { opacity: 0.88; color: white; }

.btn-text {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.btn-text::after { content: '›'; font-size: 1.1rem; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 24px;
  border: 1.5px solid var(--blue);
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
}
.btn-outline:hover { background: var(--blue); color: white; }

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  height: var(--nh);
}

.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

.nav-logo {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nb);
  text-decoration: none;
}
.nav-logo:hover { color: var(--nb); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--nb);
  padding: 0 0.85rem;
  opacity: 0.72;
  transition: opacity 0.15s;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.current-menu-item,
.nav-link.current_page_item { opacity: 1; font-weight: 500; color: var(--nb); }

.nav-cta {
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--blue);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; color: white; }
.nav-cta.current-menu-item,
.nav-cta.current_page_item { background: var(--nb); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nb);
  border-radius: 2px;
  transition: all 0.2s;
}

/* =============================================
   SITE FOOTER
   ============================================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.site-footer p {
  font-size: 0.68rem;
  color: var(--light);
  font-weight: 300;
}
.site-footer a { color: var(--blue); }

/* Page nav (prev/next between pages) */
.page-nav {
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-nav a {
  font-size: 0.78rem;
  color: var(--mid);
  text-decoration: none;
}
.page-nav a.next {
  color: var(--blue);
  font-weight: 500;
  margin-left: auto;
}
.page-nav a:only-child { margin-left: auto; }

/* Page offset for fixed nav */
.page-content { padding-top: var(--nh); }

/* =============================================
   TILE CARDS (shared)
   ============================================= */
.tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #111;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.tile:hover img { transform: scale(1.03); }
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}
.tile-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}
.tile-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.3rem;
}
.tile-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.tile-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}
.tile-link::after { content: '›'; font-size: 1rem; }
.tile-link:hover { color: white; }

/* =============================================
   HOME PAGE
   ============================================= */
.home-hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5.5rem;
  background: #111;
}
.home-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}
.home-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 3rem;
  max-width: 680px;
}
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}
.home-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.home-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: white;
  margin-bottom: 0.4rem;
}
.home-hero h1 em { font-style: italic; color: var(--cyan); }
.home-hero-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.75rem;
}
.home-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Tile grid on home */
.home-tiles {
  padding: 1.5rem;
  background: var(--bg);
}
.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.tile-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  height: 460px;
}
.tile-tall { height: 460px; }

/* 3-up tiles */
.tile-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.tile-short { height: 260px; }

/* Quote strip */
.quote-strip {
  padding: 5.5rem 1.5rem;
  background: white;
  text-align: center;
}
.quote-strip blockquote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--nb);
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 auto 2rem;
}
.quote-strip blockquote em { font-style: italic; font-weight: 600; }

/* =============================================
   WHY THE TRADES PAGE
   ============================================= */
.why-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  background: #111;
}
.why-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}
.why-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 5rem;
  max-width: 620px;
}
.why-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1rem;
}
.why-hero h1 em { font-style: italic; color: var(--cyan); }
.why-hero p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 480px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.reason-card {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.reason-card:nth-child(3n+2) {
  border-left: 1px solid rgba(0,0,0,0.08);
  border-right: 1px solid rgba(0,0,0,0.08);
}
.reason-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--nb);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.reason-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.65;
}

.stat-banner {
  padding: 5.5rem 1.5rem;
  background: #1d1d1f;
  text-align: center;
}
.stat-banner .stat-num {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.05em;
  line-height: 1;
  display: block;
}
.stat-banner p {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  margin: 1.25rem auto 2rem;
  line-height: 1.65;
}

.mosby-preview {
  padding: 5.5rem 1.5rem;
  background: white;
}
.mosby-preview-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.mosby-preview img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 14px;
}

/* =============================================
   PROGRAM PAGE
   ============================================= */
.program-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  background: #111;
}
.program-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.program-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}
.program-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 5rem;
  max-width: 640px;
}
.program-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1rem;
}
.program-hero h1 em { font-style: italic; color: var(--cyan); }
.program-hero p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2.5rem;
  grid-auto-rows: auto;
}
.skill-card {
  padding: 1.75rem;
  border-right: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: white;
}
.skill-card:nth-child(4n) { border-right: none; }
.skill-card:nth-child(9),
.skill-card:nth-child(10) { border-bottom: none; }
/* Program page: items 9 & 10 span 2 cols */
.skills-grid--10 .skill-card:nth-child(9)  { grid-column: span 2; }
.skills-grid--10 .skill-card:nth-child(10) { grid-column: span 2; border-right: none; }
/* Program page (9 items): item 9 spans full remaining row */
.skills-grid--9 .skill-card:nth-child(9)  { grid-column: span 4; border-right: none; border-bottom: none; }
/* Why the Trades: items 5 & 6 span 2 cols */
.skills-grid--6 .skill-card:nth-child(5) { grid-column: span 2; border-bottom: none; }
.skills-grid--6 .skill-card:nth-child(6) { grid-column: span 2; border-right: none; border-bottom: none; }
.skill-num {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--pale);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.skill-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nb);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.skill-card p {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.55;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.25rem;
}
.faq-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nb);
  margin-bottom: 4px;
}
.faq-item p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.6;
}

/* =============================================
   TUITION PAGE
   ============================================= */
.tuition-hero {
  padding: 7rem 1.5rem 5rem;
  background: white;
  text-align: center;
}
.price-display {
  font-size: clamp(6rem, 13vw, 11rem);
  font-weight: 800;
  color: var(--nb);
  letter-spacing: -0.05em;
  line-height: 1;
  display: block;
}

.how-it-works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
  align-items: start;
}
.step-item {
  display: flex;
  gap: 1.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--light);
  padding-top: 2px;
  flex-shrink: 0;
  width: 20px;
}
.step-item h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nb);
  margin-bottom: 3px;
}
.step-item p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.6;
}

.numbers-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.07);
}
.numbers-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nb);
  margin-bottom: 1.35rem;
}
.numbers-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.numbers-row:last-of-type { border-bottom: none; }
.numbers-label {
  font-size: 0.85rem;
  color: var(--mid);
  font-weight: 300;
}
.numbers-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nb);
}
.numbers-value.green { color: var(--green); }

.bonus-bar {
  margin-top: 1.1rem;
  background: var(--green);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.bonus-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.bonus-bar p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

.dark-bar {
  background: var(--nb);
  padding: 1rem 1.5rem;
  text-align: center;
}
.dark-bar p {
  font-size: 0.82rem;
  font-weight: 500;
  color: white;
}
.dark-bar span { color: var(--cyan); }

.deadline-strip {
  display: flex;
  align-items: center;
  max-width: 680px;
  margin: 2.5rem auto 0;
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}
.deadline-cell {
  flex: 1;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
}
.deadline-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(0,0,0,0.1);
}
.deadline-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--nb);
  display: block;
  letter-spacing: -0.02em;
  line-height: 1;
}
.deadline-label {
  font-size: 0.62rem;
  color: var(--mid);
  margin-top: 4px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   APPLY PAGE
   ============================================= */
.apply-hero {
  position: relative;
  height: 68vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  background: #111;
}
.apply-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.apply-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}
.apply-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 5rem;
  max-width: 620px;
}
.apply-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1rem;
}
.apply-hero h1 em { font-style: italic; color: var(--cyan); }
.apply-hero p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  max-width: 920px;
  margin: 2.5rem auto 0;
  align-items: start;
}

/* Form styles */
.form-wrap {
  background: var(--bg);
  border-radius: 16px;
  padding: 2.5rem;
}
.form-wrap h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nb);
  margin-bottom: 1.5rem;
}

/* Override WPForms/Gravity Forms styles to match design */
.form-wrap .wpforms-container input,
.form-wrap .wpforms-container select,
.form-wrap .wpforms-container textarea,
.form-wrap .gform_wrapper input,
.form-wrap .gform_wrapper select,
.form-wrap .gform_wrapper textarea {
  width: 100%;
  padding: 10px 14px;
  background: white;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 7px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: var(--nb);
  outline: none;
}

.apply-sidebar .callout-yellow {
  background: #fff8e1;
  border-radius: 10px;
  padding: 1.35rem;
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}
.apply-sidebar .callout-plain { margin-bottom: 1.5rem; }
.apply-sidebar h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nb);
  margin-bottom: 0.4rem;
}
.apply-sidebar p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.6;
}
.apply-sidebar a { color: var(--blue); font-weight: 500; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
}
.process-step { text-align: center; }
.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nb);
  margin-bottom: 0.35rem;
}
.process-step p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.6;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero {
  position: relative;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 5rem;
  background: #111;
}
.about-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.about-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.about-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 5rem;
  max-width: 680px;
}
.about-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1rem;
}
.about-hero h1 em { font-style: italic; color: var(--cyan); }
.about-hero p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 480px;
}

.about-what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
}
.service-tag {
  background: var(--bg);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}
.service-tag h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nb);
}

.dark-stats {
  padding: 5.5rem 1.5rem;
  background: #1d1d1f;
}
.stats-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-item { border-top: 2px solid var(--cyan); padding-top: 1.25rem; }
.stat-item .stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.values-card {
  background: white;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.07);
}
.values-card .card-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.75rem;
}
.values-card .mission-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nb);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.values-card .mission-sub {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.65;
}
.core-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.core-value:last-child { margin-bottom: 0; }
.value-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,87,168,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}
.core-value span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--nb);
}

/* Why work here grid */
.work-here-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.work-card {
  padding: 2.25rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.work-card:nth-child(3n+2) {
  border-left: 1px solid rgba(0,0,0,0.08);
  border-right: 1px solid rgba(0,0,0,0.08);
}
.work-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nb);
  margin-bottom: 0.5rem;
}
.work-card p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.65;
}

/* =============================================
   CTA SECTIONS (shared)
   ============================================= */
.cta-section {
  padding: 5.5rem 1.5rem;
  text-align: center;
  background: white;
}
.cta-section h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--nb);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nh); left: 0; right: 0; background: white; border-bottom: 1px solid rgba(0,0,0,0.08); padding: 1rem 1.5rem; gap: 0.5rem; }
  .nav-toggle { display: flex; }

  /* Hero padding */
  .home-hero-content, .why-hero-content, .program-hero-content,
  .apply-hero-content, .about-hero-content { padding: 0 1.5rem; }

  /* Hero headings */
  .home-hero h1 { font-size: 3rem; }
  .why-hero h1, .program-hero h1, .apply-hero h1, .about-hero h1 { font-size: 2.5rem; }
  .price-display { font-size: 6rem; }

  /* Home tiles — all same height, single column */
  .tile-grid { grid-template-columns: 1fr; }
  .tile-col { height: auto; grid-template-rows: unset; }
  .tile-tall, .tile-short, .tile-col .tile { height: 320px; }
  .tile-3 { grid-template-columns: 1fr; }

  /* General grid collapse */
  .faq-grid, .apply-grid, .process-steps, .values-grid,
  .work-here-grid, .how-it-works, .stats-4,
  .mosby-preview-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* About — services stack below text */
  .about-what-we-do-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Skills grid — single column, clean borders, reset all spans */
  .skills-grid { grid-template-columns: 1fr; border-radius: 0; }
  .skill-card { grid-column: span 1 !important; border-right: none !important; border-bottom: 1px solid rgba(0,0,0,0.08) !important; }
  .skill-card:last-child { border-bottom: none !important; }

  /* Reasons grid */
  .reason-card:nth-child(3n+2) { border-left: none; border-right: none; }

  /* Work cards */
  .work-card:nth-child(3n+2) { border-left: none; border-right: none; }

  /* Home hero — focus right side on mobile to keep person in frame */
  .home-hero img { object-position: right center; }

  /* Stat banner */
  .stat-banner .stat-num { font-size: clamp(3rem, 15vw, 5rem); letter-spacing: -0.03em; }
  .stat-banner p { font-size: 0.9rem; }

  /* Deadline strip */
  .deadline-strip { flex-direction: column; }
  .deadline-cell::after { display: none; }
}
