/* ═══════════════════════════════════════════════════════════════
   EQUIP THE FUTURE — own visual identity (separate from the UHN pages)
   Everything is scoped to body.etf and driven by the variables below,
   so the real brand colours / fonts can be dropped in when they arrive.
   ═══════════════════════════════════════════════════════════════ */
.etf {
  --etf-ink: #1b2a4a; /* headings, dark buttons */
  --etf-text: #4a5568; /* body copy */
  --etf-muted: #64748b;
  --etf-line: #e3e7ee;
  --etf-bg: #f6f7f9; /* page background */
  --etf-card: #ffffff;
  --etf-accent: #2c4a7c; /* lighter tint of the logo navy */
  --etf-accent-soft: #e8edf5;
  --etf-font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif; /* body + H2: Urbanist */
  --etf-font-display: "Cormorant SC", Georgia, "Times New Roman", serif; /* H1 */

  font-family: var(--etf-font);
  font-weight: 200; /* body: Urbanist ExtraLight */
  color: var(--etf-ink);
  background: var(--etf-bg);
}
.etf h1,
.etf h2,
.etf h3,
.etf h4 {
  font-family: var(--etf-font);
  font-weight: 500; /* H2 and below: Urbanist Medium */
  letter-spacing: -0.01em;
  color: var(--etf-ink);
}
.etf h1 {
  font-family: var(--etf-font-display); /* H1: Cormorant SC */
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── buttons (small, 8px radius, like the reference) ── */
.etf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--etf-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.etf-btn:hover {
  transform: translateY(-1px);
}
.etf-btn-light {
  background: #fff;
  color: var(--etf-ink);
}
.etf-btn-light:hover {
  background: #eef1f5;
}
.etf-btn-ghost {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.etf-btn-ghost:hover {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.6);
}
.etf-btn-dark {
  background: var(--etf-ink);
  color: #fff;
}
.etf-btn-dark:hover {
  background: #26385f;
}
.etf-btn-outline {
  background: transparent;
  border-color: #cbd2de;
  color: var(--etf-ink);
}
.etf-btn-outline:hover {
  background: #eef1f5;
  border-color: var(--etf-ink);
}

/* ── hero: photo on the right, soft neutral fade from the left, light type ── */
.etf-hero {
  position: relative;
  margin: 0;
  min-height: 560px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #2a2c31;
}
.etf-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/programs/equip-the-future/civil-mechanical.jpg") 65% center / cover no-repeat;
  will-change: transform;
}
.etf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(26, 27, 31, 0.78) 0%, rgba(26, 27, 31, 0.55) 38%, rgba(26, 27, 31, 0.08) 72%, rgba(26, 27, 31, 0) 100%),
    linear-gradient(180deg, rgba(26, 27, 31, 0.38) 0%, rgba(26, 27, 31, 0) 26%);
  animation: anim-fade-in 0.7s ease 0.65s both;
}
.etf-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 24px 56px;
}
.etf-eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
}
.etf .etf-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  max-width: 560px;
  margin-bottom: 16px;
}
.etf-hero-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.65;
  max-width: 470px;
  margin-bottom: 26px;
}
.etf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.etf-actions-center {
  justify-content: center;
  margin-top: 44px;
}

/* ── nav (plain, on the photo): logo left, links centred, two buttons right ── */
.etf-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.etf-nav {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.etf-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
/* the logo files carry transparent padding, so pull them in to sit on the grid */
.etf-logo img {
  display: block;
  height: 78px;
  width: auto;
  margin: -17px 0 -17px -11px;
}
.etf-nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.etf-nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s;
}
.etf-nav-links a:hover,
.etf-nav-links a.active {
  color: #fff;
}
.etf-nav-links a.active {
  font-weight: 500;
}
.etf-nav-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.etf-nav-actions .etf-btn {
  padding: 9px 20px;
  font-size: 13px;
}
.etf-burger {
  color: #fff;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  line-height: 0;
}
.etf-mobile {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(24, 25, 29, 0.94);
  backdrop-filter: blur(10px);
  flex-direction: column;
  gap: 2px;
}
.etf-mobile:not(.hidden) {
  display: flex;
}
.etf-mobile a:not(.etf-btn) {
  padding: 11px 6px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}
.etf-mobile .etf-btn {
  margin-top: 8px;
}
@media (min-width: 1024px) {
  .etf-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 10px 40px;
  }
  .etf-nav-links,
  .etf-nav-actions {
    display: flex;
  }
  .etf-burger {
    display: none;
  }
  .etf-hero {
    min-height: 640px;
  }
  .etf-hero-content {
    padding: 130px 40px 70px;
  }
}

/* ── layout helpers ── */
.etf-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .etf-wrap {
    padding: 0 40px;
  }
}
.etf-section {
  padding: 84px 0 56px;
}
.etf-section-tight {
  padding: 56px 0 84px;
}
.etf-section-white {
  background: #fff;
  border-top: 1px solid var(--etf-line);
  padding: 84px 0 96px;
}
.etf .etf-h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  line-height: 1.15;
}
.etf-h2-center {
  text-align: center;
  margin-bottom: 48px;
}
.etf-head {
  margin-bottom: 40px;
}
.etf-lead {
  margin-top: 14px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: #38424f;
}

/* ── what support may include ── */
.etf-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.etf-support {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.etf-support li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--etf-card);
  border: 1px solid var(--etf-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--etf-ink);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.etf-support li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.etf-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--etf-accent-soft);
  color: var(--etf-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.etf-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
@media (min-width: 900px) {
  .etf-split {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
  .etf-support {
    grid-template-columns: 1fr 1fr;
  }
  .etf-support-wide {
    grid-column: span 2;
  }
}

/* ── who it is for ── */
.etf-who {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.etf-card {
  background: var(--etf-card);
  border: 1px solid var(--etf-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.etf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}
.etf-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.etf .etf-card h3 {
  padding: 18px 20px 22px;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.etf-note {
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--etf-accent-soft);
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #1b2a4a;
}
.etf-note svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--etf-accent);
}
@media (min-width: 640px) {
  .etf-who {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .etf-who {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ── how it works ── */
.etf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: none;
}
.etf-steps li {
  padding: 26px 24px 28px;
  background: var(--etf-bg);
  border: 1px solid var(--etf-line);
  border-radius: 14px;
}
.etf-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--etf-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.etf-steps p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--etf-ink);
}
@media (min-width: 640px) {
  .etf-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .etf-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ── footer (light, high-contrast) ── */
.etf-footer {
  background: #fff;
  border-top: 1px solid var(--etf-line);
  padding: 64px 0 32px;
}
.etf-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--etf-line);
}
.etf-footer-muted {
  margin: 14px 0 6px;
  font-size: 14px;
  color: var(--etf-text);
}
.etf-footer-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--etf-accent);
}
.etf-footer h4 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--etf-ink);
}
.etf-footer-grid a:not(.etf-logo):not(.etf-footer-link),
.etf-footer-grid button {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--etf-font);
  font-size: 14px;
  color: var(--etf-text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.etf-footer-grid a:not(.etf-logo):not(.etf-footer-link):hover,
.etf-footer-grid button:hover {
  color: var(--etf-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.etf-footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--etf-muted);
}
@media (min-width: 768px) {
  .etf-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
  }
  .etf-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .etf-hero::before {
    animation: none;
  }
}

/* ── navbar states ── */
.etf-logo-on-light {
  display: none !important;
}
.etf-navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(27, 42, 74, 0.1);
  box-shadow: 0 6px 24px rgba(27, 42, 74, 0.06);
}
.etf-navbar.is-scrolled .etf-logo-on-photo {
  display: none !important;
}
.etf-navbar.is-scrolled .etf-logo-on-light {
  display: block !important;
}
.etf-navbar.is-scrolled .etf-nav-links a {
  color: rgba(27, 42, 74, 0.62);
}
.etf-navbar.is-scrolled .etf-nav-links a:hover,
.etf-navbar.is-scrolled .etf-nav-links a.active {
  color: var(--etf-ink);
}
.etf-navbar.is-scrolled .etf-btn-ghost {
  background: transparent;
  border-color: rgba(27, 42, 74, 0.28);
  color: var(--etf-ink);
}
.etf-navbar.is-scrolled .etf-btn-ghost:hover {
  background: rgba(27, 42, 74, 0.06);
  border-color: var(--etf-ink);
}
.etf-navbar.is-scrolled .etf-btn-light {
  background: var(--etf-ink);
  color: #fff;
}
.etf-navbar.is-scrolled .etf-btn-light:hover {
  background: #26385f;
}
.etf-navbar.is-scrolled .etf-burger {
  color: var(--etf-ink);
  background: rgba(27, 42, 74, 0.08);
}
.etf section[id] {
  scroll-margin-top: 72px;
}
