:root {
  --navy: #13294b;
  --navy-deep: #0b1c35;
  --gold: #c9a227;
  --ink: #192332;
  --muted: #617083;
  --purple: #5d2b7a;
  --cream: #fff8df;
  --line: #dfe5ed;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: #f7f9fc;
  font-family: "Source Sans 3", "Noto Sans Sinhala", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.welcome { width: min(100% - 40px, var(--max)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.welcome-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.identity { display: flex; align-items: center; gap: 13px; }
.identity img { display: block; width: auto; height: 27px; padding: 10px 12px; box-sizing: content-box; background: var(--navy); border-radius: 11px; }
.identity span { display: flex; flex-direction: column; line-height: 1.15; }
.identity strong { color: var(--navy); font-size: 1.08rem; }
.identity small { color: var(--muted); margin-top: 4px; letter-spacing: .035em; }
.direct-contact { border: 1px solid var(--navy); border-radius: 999px; padding: .55em 1.15em; color: var(--navy); font-weight: 700; }

.welcome-intro { padding: clamp(42px, 7vh, 78px) 0 32px; }
.welcome-intro p { color: var(--gold); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 12px; }
.welcome-intro h1 { color: var(--navy); font-size: clamp(2.35rem, 5.4vw, 4.8rem); line-height: .98; letter-spacing: -.045em; margin: 0 0 18px; max-width: 760px; }
.welcome-intro span { color: var(--muted); font-family: "Noto Sans Sinhala", sans-serif; font-size: 1rem; }

.pathways { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pathway {
  min-height: 355px; border-radius: 24px; padding: clamp(26px, 3.5vw, 42px); display: flex; flex-direction: column;
  position: relative; overflow: hidden; box-shadow: 0 18px 48px rgba(19,41,75,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pathway:hover { transform: translateY(-5px); box-shadow: 0 24px 58px rgba(19,41,75,.19); }
.pathway-number { position: absolute; right: 28px; top: 20px; font-size: 4.8rem; font-weight: 700; line-height: 1; opacity: .07; }
.pathway-audience { font-size: .79rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; max-width: 75%; }
.pathway h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.04; margin: 28px 0 15px; }
.pathway p { font-size: 1.07rem; line-height: 1.6; max-width: 47ch; margin: 0; }
.pathway-action { margin-top: auto; padding-top: 26px; font-weight: 700; font-size: 1.03rem; }
.pathway-action b { display: inline-block; transition: transform .2s ease; }
.pathway:hover .pathway-action b { transform: translateX(5px); }

.consultancy-path { color: #fff; background: linear-gradient(145deg, var(--navy-deep), #1d416f); }
.consultancy-path .pathway-audience { color: #e5c85e; }
.consultancy-path p { color: #d2dceb; }
.learning-path { color: #432153; background: linear-gradient(145deg, var(--cream), #f4dcff 58%, #dfeeff); font-family: "Noto Sans Sinhala", sans-serif; }
.learning-path::after { content: "🌼   🔵   1  2  3"; position: absolute; right: -8px; bottom: 30px; font-size: 2.15rem; opacity: .11; transform: rotate(-8deg); }
.learning-path .pathway-audience { color: #874e27; }
.learning-path h2, .learning-path .pathway-action { color: var(--purple); }
.learning-path p { color: #62526a; }

.welcome-footer { margin-top: auto; min-height: 76px; display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: .88rem; }
.welcome-footer a { margin-left: auto; }

@media (max-width: 760px) {
  .welcome { width: min(100% - 28px, var(--max)); }
  .welcome-header { min-height: 76px; }
  .identity small { display: none; }
  .direct-contact { font-size: .9rem; }
  .welcome-intro { padding: 38px 2px 26px; }
  .welcome-intro h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); line-height: 1.02; }
  .pathways { grid-template-columns: 1fr; gap: 15px; }
  .pathway { min-height: 315px; border-radius: 19px; }
  .pathway h2 { font-size: 2.15rem; margin-top: 23px; }
  .welcome-footer { flex-wrap: wrap; gap: 8px 18px; padding: 24px 2px; }
  .welcome-footer a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pathway, .pathway-action b { transition: none; }
}
