/* Edinara — shared brand styles */
:root {
  --navy: #01004c;
  --navy-deep: #000033;
  --cyan: #00bfff;
  --cyan-bright: #33ccff;
  --cyan-deep: #0090c7;
  --ink: #0a0b2e;
  --muted: #5b6478;
  --line: rgba(1, 0, 76, 0.1);
  --surface: #f0f7fc;
  --white: #ffffff;
  --danger: #e11d48;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(1, 0, 76, 0.12);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 12px 32px rgba(0, 191, 255, 0.35);
}

.btn-primary:hover {
  background: var(--cyan-bright);
  box-shadow: 0 16px 40px rgba(0, 191, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: #02006e;
}

.btn-block {
  width: 100%;
}

/* —— Site header —— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.25rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--navy) !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 0.35rem;
}

/* —— Hero (landing) —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 0 5.5rem;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 191, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(0, 144, 199, 0.25), transparent 50%),
    linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 45%, #003366 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/brand-pattern.svg");
  background-size: cover;
  background-position: right center;
  opacity: 0.22;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  mix-blend-mode: luminosity;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(1, 0, 76, 0.92) 0%,
    rgba(1, 0, 76, 0.75) 42%,
    rgba(1, 0, 76, 0.35) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  max-width: 640px;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-brand img {
  height: 52px;
  width: auto;
}

.hero-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.hero-brand .wordmark span {
  color: var(--cyan);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes draw-in {
  from {
    stroke-dashoffset: 400;
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 0.65rem;
}

/* Modes — no cards, editorial rows */
.modes {
  background: var(--surface);
}

.mode-list {
  display: grid;
  gap: 0;
}

.mode-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.mode-item.is-visible {
  opacity: 1;
  transform: none;
}

.mode-item:last-child {
  border-bottom: 1px solid var(--line);
}

.mode-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.mode-item h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.mode-item p {
  color: var(--muted);
  max-width: 48ch;
}

/* Courses strip */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course {
  position: relative;
  padding: 1.75rem 0 1.5rem;
  border-top: 3px solid var(--cyan);
  transition: transform 0.4s var(--ease);
}

.course:hover {
  transform: translateY(-4px);
}

.course h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.course p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.course a {
  font-weight: 600;
  color: var(--cyan-deep);
  font-size: 0.9rem;
}

.course a:hover {
  color: var(--navy);
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.split-visual {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 420px;
  background: var(--navy);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  opacity: 0.85;
}

.split-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(1, 0, 76, 0.7));
  pointer-events: none;
}

.split-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.split-copy p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2301004c' stroke-width='2.2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Results band */
.results {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.results::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 60px solid rgba(0, 191, 255, 0.12);
  border-radius: 50%;
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.results .section-head h2 {
  color: var(--white);
}

.results .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Testimonials — editorial quotes, not cards */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.quote footer {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.quote footer strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 5rem 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 191, 255, 0.2), transparent 40%),
    linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, #004080);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36ch;
  margin: 0 auto 1.75rem;
}

.cta-band .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  max-width: 28ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1rem;
}

.footer-col a {
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Pathfinder 2027 registration landing page */
.pathfinder-page {
  display: block;
  min-height: 100vh;
  background: #f4f9fd;
  color: #071a49;
  overflow-x: clip;
}
.pf-shell { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.pf-hero {
  position: relative;
  padding: 1.25rem 0 2.75rem;
  color: #fff;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 40%, #087ab7 0, transparent 37%), linear-gradient(125deg, #020b32, #06245a 58%, #003c79);
}
.pf-hero::before, .pf-hero::after { content: ""; position: absolute; pointer-events: none; border: 2px solid rgba(0, 215, 255, .75); border-radius: 50%; transform: rotate(-28deg); }
.pf-hero::before { width: 760px; height: 390px; right: -180px; top: 90px; box-shadow: 0 0 0 18px rgba(0,191,255,.07), 0 0 0 40px rgba(0,191,255,.035); }
.pf-hero::after { width: 620px; height: 280px; right: -230px; top: 150px; border-color: rgba(24,207,255,.4); }
.pf-nav, .pf-hero-grid, .pf-stats { position: relative; z-index: 1; }
.pf-nav { display: flex; align-items: center; justify-content: space-between; }
.pf-nav img { width: 178px; height: 56px; object-fit: contain; object-position: left center; }
.pf-nav .pf-logo { width: 184px; height: auto; max-height: 62px; object-position: left center; }
.pf-back { color: rgba(255,255,255,.8); font-size: .88rem; }
.pf-back:hover { color: #fff; }
.pf-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; min-height: 375px; align-items: center; }
.pf-intro { padding: 1.5rem 0 2.3rem; }
.pf-eyebrow { display: inline-flex; gap: .55rem; align-items: center; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; color: #6ceaff; }
.pf-eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: #00d5f2; box-shadow: 0 0 14px #00d5f2; }
.pf-intro h1 { font-size: clamp(3rem, 7vw, 6.1rem); font-style: italic; line-height: .91; letter-spacing: -.065em; margin: 1rem 0 .75rem; font-weight: 800; }
.pf-intro h1 em { display: block; color: #04d4ed; font-size: 1.13em; font-style: italic; }
.pf-audience { color: rgba(255,255,255,.82); font-size: clamp(.95rem, 2vw, 1.15rem); }
.pf-audience span { color: #00d3f2; }
.pf-manifesto { margin: 1.35rem 0 1.5rem; font-size: clamp(1.35rem, 3vw, 2.25rem); line-height: 1.12; font-weight: 700; font-style: italic; }
.pf-manifesto strong { color: #00d3f2; }
.pf-cta { display: inline-flex; align-items: center; gap: 1rem; padding: .8rem 1.25rem; background: #02cce9; color: #041a4d; border-radius: 999px; font-size: .9rem; font-weight: 800; box-shadow: 0 8px 25px rgba(0,201,237,.25); }
.pf-cta span { font-size: 1.2rem; }
.pf-mentor { position: relative; min-height: 360px; display: flex; align-items: end; justify-content: center; overflow: hidden; }
.pf-mentor-mark { position: absolute; top: 4%; right: 10%; width: min(80%, 310px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #27c1eb, #0b518d 63%, #062e67); border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.78); font: italic 900 clamp(9rem, 24vw, 18rem)/1 var(--font-display); text-shadow: 0 12px 30px rgba(0,0,0,.2); }
.pf-orbit { position: absolute; z-index: 1; border: 1px solid rgba(0,221,255,.6); border-radius: 50%; transform: rotate(-26deg); }
.pf-orbit-one { width: 125%; height: 36%; bottom: 11%; left: -12%; }
.pf-orbit-two { width: 118%; height: 31%; bottom: 15%; left: -8%; border-color: rgba(255,255,255,.35); }
.pf-mentor-caption { z-index: 2; position: relative; width: min(380px, 95%); margin-bottom: 1rem; padding: .75rem 1.2rem .8rem 1.6rem; border-left: 4px solid #00d6f4; border-radius: 4px 20px 20px 4px; background: linear-gradient(90deg, rgba(1,17,59,.96), rgba(1,29,85,.88)); box-shadow: 0 12px 32px rgba(0,0,0,.2); transform: skewX(-7deg); }
.pf-mentor-caption > * { display: block; transform: skewX(7deg); }
.pf-mentor-caption span, .pf-mentor-caption small { color: #a7eaff; }
.pf-mentor-caption strong { font-size: 1.5rem; line-height: 1.3; }
.pf-mentor-caption small { font-weight: 600; }
.pf-stats { display: flex; align-items: center; justify-content: space-around; gap: 1rem; border: 1px solid rgba(255,255,255,.56); background: linear-gradient(100deg, rgba(255,255,255,.96), rgba(212,244,255,.94)); color: #071a49; border-radius: 20px; padding: .8rem 1rem; box-shadow: 0 14px 35px rgba(0,13,57,.18); }
.pf-stats div { display: flex; align-items: baseline; gap: .6rem; }
.pf-stats b { color: #082259; font: 800 1.4rem var(--font-display); white-space: nowrap; }
.pf-stats span { font-size: .78rem; color: #324260; }
.pf-stats i { width: 1px; height: 35px; background: #0ca6d4; }
.pf-main { padding: 2.8rem 0 3.5rem; background: radial-gradient(ellipse at 10% 25%, #e0f6ff, transparent 38%), #f4f9fd; }
.pf-company-strip { margin: -2.8rem 0 2.4rem; padding: 1.15rem 0; background: rgba(255,255,255,.9); border-bottom: 1px solid #e0edf4; box-shadow: 0 8px 24px rgba(12,54,90,.05); }
.pf-company-strip > .pf-shell { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: center; }
.pf-company-heading { display: grid; gap: .2rem; }
.pf-company-heading span { color: #0886b4; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pf-company-heading strong { color: #102856; font: 700 1.05rem/1.25 var(--font-display); }
.pf-company-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; align-items: center; }
.pf-company-logos li { height: 76px; display: grid; place-items: center; padding: .5rem .8rem; border: 1px solid #e8eef3; border-radius: 12px; background: #fff; }
.pf-company-logos img { width: 100%; height: 58px; object-fit: contain; }
.pf-event { display: grid; grid-template-columns: 74px 1fr auto; gap: 1.25rem; align-items: center; }
.pf-date-icon { height: 74px; border: 3px solid #0b75ae; border-radius: 17px; display: grid; place-items: center; color: #0876ae; font: 800 1.8rem var(--font-display); position: relative; box-shadow: inset 0 14px #0876ae; padding-top: 12px; }
.pf-date-copy > span { text-transform: uppercase; color: #078ab9; font-size: .7rem; letter-spacing: .15em; font-weight: 800; }
.pf-date-copy h2 { margin: .1rem 0 .25rem; font-size: clamp(1.4rem, 3.4vw, 2.4rem); text-transform: uppercase; }
.pf-date-copy p { color: #384763; line-height: 1.45; }
.pf-date-copy p b { color: #082354; }
.pf-limited { border-left: 1px solid #19a7d0; padding-left: 1.5rem; color: #455574; display: flex; align-items: center; gap: .5rem; font-size: .8rem; line-height: 1.2; }
.pf-limited strong { color: #00a9d2; font: 800 2.3rem var(--font-display); }
.pf-banner { width: min(860px, calc(100% - 3rem)); margin: 1.5rem auto 2.1rem; background: linear-gradient(90deg, #05a9dc, #05215b 25%, #05215b 75%, #04b4df); border-radius: 999px; text-align: center; padding: .72rem 1rem; color: #fff; font-weight: 700; box-shadow: 0 8px 20px rgba(0,69,126,.12); }
.pf-banner span { color: #00d7ef; padding: 0 .35rem; }
.pf-details { display: grid; gap: 1rem; }
.pf-detail-card { display: grid; grid-template-columns: 82px 1fr; gap: 1.25rem; align-items: center; }
.pf-icon { width: 82px; height: 82px; border-radius: 22px; display: grid; place-items: center; background: #d9f3ff; color: #0874aa; font: 700 3rem var(--font-display); }
.pf-icon-stack { font-size: 2.8rem; }
.pf-detail-card > div:last-child { border-left: 2px solid #0d8dbd; padding-left: 1.25rem; }
.pf-detail-card h3 { font-size: 1.45rem; color: #071a49; }
.pf-detail-card p { color: #384763; font-size: .92rem; }
.pf-pills, .pf-programs { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.pf-pills span, .pf-programs span { background: #d8f2fc; color: #11284f; border-radius: 999px; padding: .24rem .72rem; font-size: .81rem; }
.pf-pills span { font-weight: 800; }
.pf-programs span { background: #e4f5fb; }
.pf-branch { width: fit-content; max-width: calc(100% - 2rem); margin: 2rem auto 0; padding: .65rem 1.45rem; border-radius: 999px; color: white; background: linear-gradient(90deg,#08b9e3,#05235f 22%,#05235f 80%,#04bde5); font-weight: 700; text-align: center; }
.pf-branch span { color: #12d8f3; font-size: 1.35rem; vertical-align: middle; padding-right: .35rem; }
.pf-branch strong { color: #00d7f0; }
.pf-register { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; padding-top: 4rem; }
.pf-register-copy { color: #fff; padding: 2rem; border-radius: 24px; background: radial-gradient(circle at 90% 10%, rgba(0,191,255,.28), transparent 45%), #031849; }
.pf-register-copy h2 { margin: 1rem 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.03; text-transform: uppercase; }
.pf-register-copy h2 strong { color: #05d1ee; }
.pf-register-copy > p { color: rgba(255,255,255,.74); }
.pf-contact { display: grid; gap: .45rem; margin-top: 1.5rem; font-size: .9rem; }
.pf-contact a:hover { color: #00dbf4; }
.pathfinder-page .reg-card { width: 100%; margin: 0; padding: 2rem; background: #fff; border: 1px solid #e2edf5; color: #071a49; border-radius: 24px; box-shadow: 0 22px 55px rgba(2,34,81,.12); }
.pathfinder-page .reg-card h2 { font-size: 1.6rem; }
.pathfinder-page .reg-card .hint { color: #69778e; }
.pathfinder-page .field label { color: #172c4d; }
.pathfinder-page .field input, .pathfinder-page .field select { color: #10284f; background-color: #f6f9fc; border-color: #d7e2ed; border-radius: 11px; }
.pathfinder-page .field select option { color: #10284f; background: white; }
.pathfinder-page .field input::placeholder { color: #97a4b5; }
.pathfinder-page .field-hint { color: #7b8797; }
.pathfinder-page .reg-card .btn-primary { color: #061941; background: linear-gradient(100deg, #06c8e7, #64e4f4); border-radius: 12px; }
.pf-privacy { margin-top: .85rem; color: #7c899c; text-align: center; font-size: .75rem; }
.pf-footer { border-top: 1px solid #dce8f0; padding: 1.25rem max(1.5rem, calc((100% - 1120px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #758198; font-size: .8rem; }
.pf-footer div { display: flex; align-items: center; gap: 1rem; }
.pf-footer img { width: 95px; height: 34px; object-fit: contain; }
.pf-footer img { width: 145px; height: auto; }
.pf-footer a { color: #0876aa; }
.pathfinder-page .reg-success { color: #071a49; }
.pathfinder-page .reg-success p { color: #69778e; }
@media (max-width: 760px) {
  .pf-shell { width: min(100% - 2rem, 560px); }
  .pf-hero { padding-top: .8rem; }
  .pf-nav img { width: 145px; height: 48px; }
  .pf-nav .pf-logo { width: 150px; height: auto; }
  .pf-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .pf-intro { padding: 2rem 0 0; text-align: center; }
  .pf-intro h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .pf-manifesto { margin: 1rem 0; }
  .pf-mentor { min-height: 285px; margin-top: -1rem; }
  .pf-mentor-mark { width: 250px; top: 0; }
  .pf-stats { gap: .45rem; padding: .7rem .55rem; border-radius: 15px; }
  .pf-stats div { flex-direction: column; align-items: center; gap: 0; text-align: center; }
  .pf-stats b { font-size: 1.05rem; }
  .pf-stats span { font-size: .65rem; }
  .pf-stats i { height: 32px; }
  .pf-main { padding-top: 2rem; }
  .pf-company-strip { margin: -2rem 0 1.75rem; padding: 1rem 0; }
  .pf-company-strip > .pf-shell { grid-template-columns: 1fr; gap: .7rem; }
  .pf-company-heading { text-align: center; }
  .pf-company-heading strong { font-size: .95rem; }
  .pf-company-logos { gap: .4rem; }
  .pf-company-logos li { height: 62px; padding: .35rem; border-radius: 9px; }
  .pf-company-logos img { height: 48px; }
  .pf-event { grid-template-columns: 58px 1fr; gap: .8rem; }
  .pf-date-icon { width: 58px; height: 62px; border-radius: 13px; font-size: 1.35rem; }
  .pf-date-copy h2 { font-size: 1.25rem; }
  .pf-date-copy p { font-size: .85rem; }
  .pf-limited { grid-column: 2; border-left: 0; border-top: 1px solid #c3dfea; padding: .5rem 0 0; }
  .pf-limited strong { font-size: 1.7rem; }
  .pf-banner { width: calc(100% - 2rem); font-size: .82rem; line-height: 1.4; }
  .pf-detail-card { grid-template-columns: 58px 1fr; gap: .8rem; align-items: start; }
  .pf-icon { width: 58px; height: 58px; border-radius: 16px; font-size: 2.1rem; }
  .pf-detail-card > div:last-child { padding-left: .8rem; }
  .pf-detail-card h3 { font-size: 1.2rem; }
  .pf-detail-card p { font-size: .82rem; }
  .pf-pills span, .pf-programs span { font-size: .72rem; }
  .pf-branch { font-size: .86rem; }
  .pf-register { grid-template-columns: 1fr; gap: 1rem; padding-top: 2.5rem; }
  .pf-register-copy { padding: 1.5rem; }
  .pathfinder-page .reg-card { padding: 1.4rem; }
  .pathfinder-page .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .pf-stats { gap: .25rem; }
  .pf-stats b { font-size: .92rem; }
  .pf-stats span { font-size: .58rem; }
  .pf-back { font-size: .75rem; }
  .pf-programs span { border-radius: 10px; }
}

/* Keep page-level overrides after the legacy registration styles below. */
.reg-page.pathfinder-page { display: block; min-height: 100vh; background: #f4f9fd; color: #071a49; }
.pf-optional { margin-left: .35rem; color: #7b8797; font-size: .74rem; font-weight: 500; }

/* —— Registration page —— */
.reg-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--navy-deep);
  color: var(--white);
}

.reg-hero {
  position: relative;
  padding: 1.5rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 80% at 85% 30%, rgba(0, 191, 255, 0.4), transparent 55%),
    linear-gradient(135deg, #003d6b 0%, var(--navy) 40%, #001a4d 100%);
  overflow: hidden;
}

.reg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/brand-pattern.svg");
  background-size: 70% auto;
  background-position: right -10% center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.reg-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.reg-top .brand img {
  height: 44px;
}

.reg-top a.back {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.reg-top a.back:hover {
  color: var(--white);
}

.reg-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.reg-copy h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
  max-width: 16ch;
}

.reg-copy .lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 42ch;
  margin: 0;
  font-size: 1.05rem;
}

.reg-art {
  justify-self: end;
  width: min(340px, 100%);
  animation: rise 0.9s var(--ease) 0.2s both;
}

.partner-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.partner-logos .partner {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.35s var(--ease);
}

.partner-logos .partner:hover {
  transform: translateY(-3px);
}

.partner--light {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem;
}

.partner--dark {
  background: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.12);
}

.partner--nesto {
  background: #e30613;
  border-color: rgba(227, 6, 19, 0.65);
  padding: 0.25rem;
}

.partner-logos img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  display: block;
}

.partner--light img {
  /* Fill the white column without letterboxing as a tiny badge */
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.08);
}

.partner--nesto img,
.partner--dark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reg-main {
  flex: 1;
  position: relative;
  margin-top: -3rem;
  padding: 0 0 3rem;
  z-index: 3;
}

.reg-card {
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto;
  background: #0c0e24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  animation: rise 0.8s var(--ease) 0.15s both;
}

.reg-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.reg-card .hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.field input,
.field select {
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%2399a' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field select option {
  background: #0c0e24;
  color: var(--white);
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field input:focus,
.field select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
  background: rgba(0, 191, 255, 0.06);
}

.field.has-error input,
.field.has-error select {
  border-color: var(--danger);
}

.field-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.field.has-error .field-hint {
  display: none;
}

.field .error {
  min-height: 1.1em;
  font-size: 0.78rem;
  color: var(--danger);
  opacity: 0;
  transition: opacity 0.2s;
}

.field.has-error .error {
  opacity: 1;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.reg-card .btn-primary {
  margin-top: 1.5rem;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: var(--navy);
}

.reg-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.reg-success.is-visible {
  display: block;
}

.reg-success svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
}

.reg-success h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.reg-success p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

.form-body.is-hidden {
  display: none;
}

.reg-footer {
  text-align: center;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(1, 0, 76, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.75rem;
  }

  .nav.is-open a {
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .courses-grid,
  .stat-row,
  .quotes,
  .footer-grid,
  .split,
  .reg-hero-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .reg-copy {
    text-align: center;
  }

  .reg-copy h1 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .reg-copy .lead {
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
  }

  .reg-art {
    justify-self: stretch;
    width: 100%;
    margin-top: 1rem;
  }

  .partner-logos {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .partner-logos .partner {
    aspect-ratio: 1 / 1;
    padding: 0.4rem;
    border-radius: 12px;
  }

  .partner--light {
    padding: 0.25rem;
  }

  .partner--light img {
    transform: scale(1.12);
  }



  .split-visual {
    min-height: 280px;
  }

  .split-visual img {
    min-height: 280px;
  }

  .hero {
    padding-top: 6.5rem;
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Page identity overrides the legacy shared registration shell. */
.reg-page.pathfinder-page { display: block; min-height: 100vh; background: #f4f9fd; color: #071a49; }
