/* ==========================================================================
   WIE Empower Mentorship Program — Cohort 1 | 2026
   Mobile-first stylesheet. Organized by:
   Reset > Tokens > Base > Utilities > Decorations > Components > Sections > Breakpoints
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #f5efff;
  --bg-panel: #ece0fb;
  --purple: #7b4fe0;
  --purple-deep: #5a30bd;
  --purple-soft: #cdb8f7;
  --ink: #1a1425;
  --white: #ffffff;
  --text-body: #453d59;
  --yellow: #ffd966;
  --pink: #ff9fc0;
  --mint: #8fe3c7;
  --success: #2f8f5b;

  --font-display: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1080px;
  --outline: 3px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --shadow: 6px 6px 0 var(--purple);
  --shadow-sm: 4px 4px 0 var(--purple);
  --shadow-pressed: 2px 2px 0 var(--purple);

  --ease: cubic-bezier(0.34, 1.2, 0.4, 1);
  --header-h: 68px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { color: var(--text-body); }

.lede {
  font-size: clamp(1rem, 3.6vw, 1.15rem);
  color: var(--text-body);
  max-width: 56ch;
  margin-inline: auto;
}

.lede a {
  color: var(--purple-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--purple-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: clamp(48px, 10vw, 96px);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 7vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-deep);
  background: var(--white);
  border: var(--outline) solid var(--ink);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.section-sub {
  color: var(--text-body);
  margin-top: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Registration honeypot: off-screen rather than display:none, which some bots skip. */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: var(--r-sm);
  border: var(--outline) solid var(--ink);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--purple);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-pressed);
}

.btn-ghost {
  background: var(--white);
  color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--purple);
}

.btn-ghost:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-pressed);
}

.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(245, 239, 255, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: var(--outline) solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--ink);
  background: rgba(245, 239, 255, 0.97);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.brand img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.brand img.brand-wie { height: 30px; }

.brand-text {
  min-width: 0;
  line-height: 1.05;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  display: block;
  font-size: 0.66rem;
  color: var(--purple-deep);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-cta {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 0.8rem;
}

/* ---------- Decorative elements ---------- */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
}

.deco--slow { animation-duration: 8s; }
.deco--fast { animation-duration: 4.5s; }
.deco--spin { animation: float-spin 10s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

@keyframes float-spin {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-10px) rotate(calc(var(--rot, 0deg) + 12deg)); }
}

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

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Card base (thick outline + offset shadow) ---------- */
.panel {
  background: var(--white);
  border: var(--outline) solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 12vw, 96px) clamp(56px, 12vw, 96px);
  text-align: center;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: var(--outline) solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-lockup img { height: 30px; width: auto; }

.hero-lockup span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink);
}

.hero h1 {
  margin-bottom: 14px;
}

.hero h1 .accent {
  color: var(--purple-deep);
}

.hero-cohort {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--mint);
  border: var(--outline) solid var(--ink);
  padding: 6px 18px;
  border-radius: 999px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-theme {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 5.5vw, 1.9rem);
  color: var(--white);
  background: var(--purple);
  border: var(--outline) solid var(--ink);
  padding: 8px 26px;
  border-radius: var(--r-sm);
  transform: rotate(1.5deg);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 4vw, 1.3rem);
  color: var(--purple-deep);
  margin-bottom: 16px;
}

.hero .lede { margin-bottom: 32px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Only shown on small phones, where the header drops its "About Mentors" button */
.hero-mentors-link { display: none; }

/* ---------- Program highlights ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.highlight-card {
  padding: 26px 22px;
  text-align: center;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.highlight-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--purple);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: var(--outline) solid var(--ink);
  margin-bottom: 16px;
}

.icon-badge svg { width: 26px; height: 26px; }

.highlight-card:nth-child(1) .icon-badge { background: var(--yellow); }
.highlight-card:nth-child(2) .icon-badge { background: var(--pink); }
.highlight-card:nth-child(3) .icon-badge { background: var(--mint); }
.highlight-card:nth-child(4) .icon-badge { background: var(--purple-soft); }

.highlight-card h3 { margin-bottom: 6px; }
.highlight-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Gains ---------- */
.gain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gain-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.gain-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--purple);
}

.gain-card .icon-badge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.gain-card .icon-badge svg { width: 20px; height: 20px; }

.gain-card h3 { font-size: 1rem; margin-bottom: 4px; }
.gain-card p { font-size: 0.88rem; margin: 0; }

.gain-card:nth-child(6n+1) .icon-badge { background: var(--yellow); }
.gain-card:nth-child(6n+2) .icon-badge { background: var(--pink); }
.gain-card:nth-child(6n+3) .icon-badge { background: var(--mint); }
.gain-card:nth-child(6n+4) .icon-badge { background: var(--purple-soft); }
.gain-card:nth-child(6n+5) .icon-badge { background: var(--yellow); }
.gain-card:nth-child(6n+6) .icon-badge { background: var(--pink); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
}

.step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: var(--outline) solid var(--ink);
  background: var(--purple);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

.step-card:nth-child(2n) .step-num { background: var(--pink); color: var(--ink); }
.step-card:nth-child(3n) .step-num { background: var(--yellow); color: var(--ink); }
.step-card:nth-child(4n) .step-num { background: var(--mint); color: var(--ink); }

.step-body h3 { margin-bottom: 4px; }
.step-body p { font-size: 0.9rem; margin: 0; }

.step-connector {
  display: none;
}

/* ---------- Registration ---------- */
.register-section { position: relative; }

.register-panel {
  position: relative;
  padding: clamp(28px, 6vw, 48px) clamp(18px, 5vw, 40px);
  text-align: center;
  z-index: 1;
}

.register-panel h2 { margin-bottom: 8px; }

.register-panel .section-sub {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-deep);
  font-size: 1.05rem;
}

.register-panel .lede { margin-top: 14px; margin-bottom: 28px; }

.reg-form {
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
}

.form-notice {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--yellow);
  border: var(--outline) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  color: var(--ink);
}

.form-notice strong { font-family: var(--font-display); font-weight: 800; }

.form-section {
  border: var(--outline) solid var(--ink);
  border-radius: var(--r-md);
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
  padding: 20px clamp(16px, 4vw, 28px) 24px;
  margin-bottom: 24px;
}

.form-section legend {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--purple-deep);
  background: var(--white);
  border: var(--outline) solid var(--ink);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 16px;
  margin-inline-start: -4px;
}

.form-field { margin-bottom: 18px; }
.form-field:last-child { margin-bottom: 0; }

.form-field label,
.form-field-label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.req { color: var(--purple-deep); }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--white);
  border: var(--outline) solid var(--ink);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  transition: box-shadow 160ms var(--ease), transform 160ms var(--ease);
}

.form-field textarea { resize: vertical; min-height: 90px; }

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  box-shadow: var(--shadow-sm);
  transform: translate(-1px, -1px);
}

.other-input { margin-top: 10px; }

.field-hint {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-top: 6px;
}

.field-hint a {
  color: var(--purple-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field-error {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c23a5e;
  margin-top: 8px;
}

.is-hidden { display: none !important; }

/* Chip-style checkboxes / radios */
.checkbox-grid,
.radio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: var(--outline) solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), background 140ms var(--ease), color 140ms var(--ease);
}

.chip input:checked + span {
  background: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-pressed);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--purple-deep);
  outline-offset: 2px;
}

.chip:hover span { transform: translate(-1px, -1px); }

.form-field input[type="file"] {
  font-size: 0.86rem;
  width: 100%;
}

.form-field input[type="file"]::file-selector-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink);
  background: var(--yellow);
  border: var(--outline) solid var(--ink);
  border-radius: var(--r-sm);
  padding: 9px 16px;
  margin-right: 12px;
  cursor: pointer;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease);
}

.form-field input[type="file"]::file-selector-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-sm);
}

.form-submit { margin-top: 8px; }

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  min-height: 1.2em;
}

.form-status.is-success { color: var(--success); }
.form-status.is-error { color: #c23a5e; }

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.form-help {
  margin-top: 16px;
  font-size: 0.88rem;
  text-align: center;
}

.form-help a {
  color: var(--purple-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Mentors page ---------- */
.mentors-hero {
  padding-block: clamp(40px, 9vw, 72px) clamp(24px, 6vw, 40px);
  text-align: center;
}

.mentor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .mentor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.mentor-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(123, 79, 224, 0.22);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.mentor-card:hover {
  border-color: var(--purple);
  background: #faf7ff;
}

.mentor-card:focus-visible {
  outline: 2px solid var(--purple-deep);
  outline-offset: 2px;
}

.mentor-card-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mentor-card-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: 0 0 0 3px rgba(205, 184, 247, 0.55);
  transition: box-shadow 160ms var(--ease);
}

.mentor-card:hover .mentor-card-avatar {
  box-shadow: 0 0 0 3px var(--purple-soft);
}

.mentor-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-card-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--purple-deep);
  background: var(--purple-soft);
}

.mentor-card-info { min-width: 0; }

.mentor-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mentor-card-role {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--purple-deep);
  margin-top: 3px;
}

.mentor-card-go {
  flex-shrink: 0;
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--purple-soft);
  transition: transform 160ms var(--ease), color 160ms var(--ease);
}

.mentor-card:hover .mentor-card-go {
  color: var(--purple);
  transform: translateX(3px);
}

.mentor-card-divider {
  border: none;
  border-top: 1px solid rgba(123, 79, 224, 0.16);
  margin: 0.9rem 0 0.8rem;
}

.mentor-card-areas-label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 9px;
}

.mentor-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mentor-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple-deep);
  background: #ede4fd;
  border-radius: 999px;
  padding: 4px 11px;
}

.mentor-pill--more {
  color: var(--text-body);
  background: rgba(26, 20, 37, 0.07);
}

/* ---------- Mentor detail page ---------- */
.mentor-profile {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: 20px;
}

.mentor-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 4px;
}

.mentor-detail-back:hover { color: var(--ink); }
.mentor-detail-back svg { width: 14px; height: 14px; }

/* Hero */
.mentor-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(123, 79, 224, 0.16);
}

.mentor-hero-avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: 0 0 0 3px rgba(205, 184, 247, 0.55);
}

.mentor-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-hero-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--purple-deep);
  background: var(--purple-soft);
}

.mentor-hero-info { min-width: 0; }

.mentor-hero-name {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.mentor-hero-role {
  font-size: 14px;
  color: var(--text-body);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Two-column body */
.mentor-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-top: 28px;
  align-items: start;
}

.mentor-section-heading {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-body);
  margin-bottom: 8px;
}

.mentor-about-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 14px;
}

.mentor-about-text:last-child { margin-bottom: 0; }

.mentor-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mentor-side-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-body);
  margin-bottom: 8px;
}

.mentor-side-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mentor-edu-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.mentor-edu-item:last-child { margin-bottom: 0; }

.mentor-edu-degree {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

.mentor-edu-school {
  font-size: 12px;
  color: var(--text-body);
  margin-top: 1px;
}

.mentor-glance-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 6px;
}

.mentor-glance-row:last-child { margin-bottom: 0; }

.mentor-glance-label { color: var(--text-body); }

.mentor-glance-value {
  color: var(--ink);
  text-align: right;
}

.mentor-not-found {
  text-align: center;
  padding-block: 24px;
}

@media (min-width: 768px) {
  .mentor-hero {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }

  .mentor-body {
    grid-template-columns: 2fr 1fr;
    gap: 44px;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: var(--outline) solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 200ms var(--ease);
}

.faq-item.is-open {
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}

.faq-question .plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--yellow);
  position: relative;
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.faq-question .plus::before,
.faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.faq-question .plus::before { width: 12px; height: 2px; }
.faq-question .plus::after { width: 2px; height: 12px; }

.faq-item.is-open .faq-question .plus {
  background: var(--purple);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-question .plus::after { opacity: 0; }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner { overflow: hidden; }

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 0.92rem;
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  background: var(--purple);
  border-block: var(--outline) solid var(--ink);
  text-align: center;
  overflow: hidden;
  padding-block: clamp(56px, 12vw, 96px);
}

.final-cta .container { position: relative; z-index: 1; }

.final-cta h2 {
  color: #fff;
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 44px 24px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-brand img { height: 34px; }

.footer-brand strong {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.95rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-contact a:hover { color: var(--yellow); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.footer-social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}

/* ==========================================================================
   Breakpoints (mobile-first — base styles above are the 360px baseline)
   ========================================================================== */

/* Small phones: the header buttons give way so the logos and name stay visible */
@media (max-width: 479px) {
  .header-cta--secondary { display: none; }
  .hero-mentors-link { display: inline-flex; }
}

@media (max-width: 359px) {
  .site-header .container { padding-inline: 12px; gap: 8px; }
  .brand { gap: 4px; }
  .brand img { height: 28px; }
  .brand img.brand-wie { height: 25px; }
  .brand-text strong { white-space: normal; }
  .brand-text span { display: none; }
  .header-cta { padding: 7px 10px; font-size: 0.76rem; }
}

@media (min-width: 480px) {
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
  .gain-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { gap: 16px; }
}

@media (min-width: 768px) {
  .brand-text strong { font-size: 0.92rem; }
  .brand-text span { font-size: 0.72rem; }
  .brand img { height: 40px; }
  .header-cta { padding: 12px 22px; font-size: 0.92rem; }
}

@media (min-width: 1024px) {
  .highlight-grid { grid-template-columns: repeat(4, 1fr); }
  .gain-grid { grid-template-columns: repeat(3, 1fr); }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .step-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .step-connector {
    display: block;
    position: absolute;
    top: 26px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background-image: repeating-linear-gradient(to right, var(--ink) 0 10px, transparent 10px 18px);
    z-index: 0;
  }
}

@media (min-width: 1180px) {
  .site-header .container { padding-inline: 0; }
}
