/* =====================================================
   CreativeMentor - Global Stylesheet (v2: editorial)
   ===================================================== */

:root {
  --bg: #f0e7d3;            /* warmer base cream, more saturated than f2ede2 */
  --bg-alt: #e3d6b8;        /* deeper sand for alt sections */
  --bg-warm: #d6bf94;       /* even warmer band variant */
  --bg-peach: #f9d4b8;      /* soft peach band for accent sections */
  --bg-dark: #0e0d0c;       /* near-black */
  --bg-dark-2: #1a1815;
  --ink: #0e0d0c;
  --ink-2: #2a2823;
  --muted: #6c655c;
  --line: rgba(14,13,12,.14);
  --line-soft: rgba(14,13,12,.07);
  --accent: #ff3a1f;        /* sharp editorial coral */
  --accent-2: #dfff4d;       /* lime / acid green for highlights */
  --accent-3: #6c5cff;
  --success: #1f8a5a;
  --shadow-sm: 0 1px 2px rgba(14,13,12,.06);
  --shadow: 0 8px 24px rgba(14,13,12,.08);
  --shadow-lg: 0 24px 60px rgba(14,13,12,.18);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --max: 1280px;
  --container-pad: 28px;
  --display: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--bg); }

img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 .35em;
}
h1 { font-size: clamp(3rem, 7.5vw, 6.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 500; }
h1 em, h2 em, .italic { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; color: var(--ink-2); font-size: 1.02rem; }
.muted { color: var(--muted); }
small { color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-soft { background: var(--bg-alt); }
.section-warm { background: var(--bg-warm); }
.section-peach { background: var(--bg-peach); }
.section-dark { background: var(--bg-dark); color: var(--bg); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--bg); }
.section-dark p { color: rgba(242,237,226,.78); }

/* Disciplines: confident dark band so it lands hard against the hero.
   Same boldness vocabulary as the .cta-banner: dark ink + coral radial glow + circle accent. */
.section-disciplines {
  background: var(--bg-dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.section-disciplines::before {
  /* coral radial glow, like .cta-banner::before */
  content: ""; position: absolute; pointer-events: none;
  width: 520px; height: 520px; right: -160px; top: -160px;
  background: radial-gradient(circle, rgba(255,58,31,.28), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.section-disciplines::after {
  /* faint outline circle, like .cta-banner::after */
  content: ""; position: absolute; pointer-events: none;
  width: 520px; height: 520px; right: -200px; top: -200px;
  border: 1px solid rgba(242,237,226,.1);
  border-radius: 50%;
  z-index: 0;
}
.section-disciplines > .container { position: relative; z-index: 1; }
.section-disciplines h1, .section-disciplines h2, .section-disciplines h3 { color: var(--bg); }
.section-disciplines h2 em { color: var(--accent-2); }
.section-disciplines .lede,
.section-disciplines .section-head .lede,
.section-disciplines p { color: rgba(242,237,226,.92); }
.section-disciplines .eyebrow { background: var(--accent-2); color: var(--ink); border-color: var(--accent-2); }
.section-disciplines .eyebrow.minimal { color: rgba(242,237,226,.7); border: 0; background: transparent; padding: 0; }
.section-disciplines .btn-ghost { color: var(--bg); border-color: rgba(242,237,226,.5); }
.section-disciplines .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.section-disciplines .cat-tile {
  background: rgba(242,237,226,.08);
  border-color: rgba(242,237,226,.18);
  color: var(--bg);
}
.section-disciplines .cat-tile h3 { color: var(--bg); }
.section-disciplines .cat-tile p { color: rgba(242,237,226,.82); }
.section-disciplines .cat-tile:hover {
  background: var(--accent-2); color: var(--ink); border-color: var(--accent-2);
  transform: translateY(-2px);
}
.section-disciplines .cat-tile:hover h3, .section-disciplines .cat-tile:hover p { color: var(--ink); }
.section-disciplines .cat-tile.session-tile.active {
  background: var(--accent-2); color: var(--ink); border-color: var(--accent-2);
}
.section-disciplines .cat-tile.session-tile.active h3 { color: var(--ink); }
.section-disciplines .cat-tile.session-tile.active p { color: var(--ink); }
/* hiw-step cards inside the dark disciplines section */
.section-disciplines .hiw-step {
  background: rgba(242,237,226,.08);
  border-color: rgba(242,237,226,.18);
}
.section-disciplines .hiw-step h3 { color: var(--bg); }
.section-disciplines .hiw-step p { color: rgba(242,237,226,.82); }
.section-disciplines .hiw-step .num { color: var(--accent-2); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.eyebrow.minimal {
  border: 0; padding: 0; color: var(--muted);
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #000; color: var(--bg); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e6321a; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-outline-light { background: transparent; color: var(--bg); border-color: rgba(242,237,226,.4); }
.btn-outline-light:hover { background: rgba(242,237,226,.1); color: var(--bg); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

/* =================== NAV =================== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 500; font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center; color: var(--bg);
  font-family: var(--display); font-weight: 500; font-size: .9rem;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: .92rem; color: var(--ink); font-weight: 400; letter-spacing: -0.005em; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .nav-link { font-size: .92rem; color: var(--ink); }
.nav-actions .nav-link:hover { color: var(--accent); }

/* Page switcher just below the nav */
.page-switcher {
  background: var(--bg);
  padding: 14px 0 18px;
  position: sticky; top: 76px; z-index: 49;
}
.ps-inner {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
}
.ps-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px;
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: all .15s ease;
}
.ps-pill:hover { border-color: var(--ink); color: var(--ink); }
.ps-pill-active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.ps-pill-active:hover { background: var(--bg-dark-2); color: var(--bg); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg); padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
}

/* =================== ASK BAND (homepage AI/router prompt) =================== */
.ask-band {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.ask-band::before {
  content: ""; position: absolute; pointer-events: none;
  width: 600px; height: 600px; right: -240px; top: -240px;
  background: radial-gradient(circle, rgba(223,255,77,.12), transparent 65%);
  border-radius: 50%;
}
.ask-band::after {
  content: ""; position: absolute; pointer-events: none;
  width: 480px; height: 480px; left: -180px; bottom: -200px;
  border: 1px solid rgba(242,237,226,.08);
  border-radius: 50%;
}
.ask-band-inner { position: relative; z-index: 1; }
.ask-band .eyebrow { color: var(--ink); }
.ask-copy { max-width: 760px; margin-bottom: 24px; }
.ask-title {
  color: var(--bg); font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.1;
  margin: 0;
}
.ask-title em { color: var(--accent-2); font-style: italic; }
.ask-form {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch;
  background: rgba(242,237,226,.05);
  border: 1px solid rgba(242,237,226,.2);
  padding: 8px;
  border-radius: 999px;
  max-width: 760px;
}
.ask-form input {
  flex: 1; min-width: 220px;
  background: transparent; border: 0; outline: 0;
  color: var(--bg); font: inherit; font-size: 1rem;
  padding: 12px 18px;
}
.ask-form input::placeholder { color: rgba(242,237,226,.5); }
.ask-form .btn-primary { background: var(--accent-2); color: var(--ink); border-color: var(--accent-2); }
.ask-form .btn-primary:hover { background: #d2f23a; color: var(--ink); }
@media (max-width: 640px) {
  .ask-form { border-radius: 14px; }
  .ask-form .btn { width: 100%; }
}
.ask-result { margin-top: 24px; opacity: 0; transition: opacity .3s ease; max-height: 0; overflow: hidden; }
.ask-result.show { opacity: 1; max-height: 2000px; }
.ask-result-head { margin-bottom: 14px; }
.ask-result-head .eyebrow { color: var(--bg); }
.ask-result-head p { color: rgba(242,237,226,.7); }
.ask-result-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .ask-result-grid { grid-template-columns: 1fr; } }
.ask-pick {
  display: flex; gap: 14px; align-items: center;
  padding: 14px;
  background: rgba(242,237,226,.05);
  border: 1px solid rgba(242,237,226,.15);
  border-radius: var(--radius);
  transition: all .2s ease;
}
.ask-pick:hover { background: rgba(242,237,226,.1); border-color: rgba(242,237,226,.3); }
.ask-pick-photo {
  width: 56px; height: 56px; border-radius: 8px;
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.ask-pick-name {
  font-family: var(--display); font-weight: 500; font-size: 1.1rem;
  color: var(--bg); letter-spacing: -0.01em;
}
.ask-pick-role { color: rgba(242,237,226,.7); font-size: .82rem; margin-top: 2px; }
.ask-pick-cta { color: var(--accent-2); font-size: .8rem; margin-top: 4px; }

/* =================== SESSION CARDS (browse) =================== */
.session-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 980px) { .session-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .session-grid { grid-template-columns: 1fr; } }
.session-card {
  display: flex; flex-direction: column;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .2s ease;
  min-height: 220px;
}
.session-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.session-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.session-tag {
  font-size: .7rem; padding: 3px 9px; border-radius: 999px;
  background: var(--bg-alt); color: var(--ink-2);
  border: 1px solid var(--line-soft);
  letter-spacing: .04em;
}
.session-tag-accent { background: var(--accent-2); color: var(--ink); border-color: var(--ink); }
.session-card h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 1.4rem; margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.session-card p { font-size: .92rem; color: var(--ink-2); margin: 0 0 16px; line-height: 1.4; }
.session-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.session-for { font-size: .78rem; color: var(--muted); flex: 1; }
.session-price { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }

/* =================== FAQ TABS =================== */
.faq-tabs {
  display: flex; gap: 0; padding: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.faq-tab {
  padding: 14px 22px;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; font-weight: 400; font-size: 1rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--display);
}
.faq-tab.active { color: var(--ink); border-bottom-color: var(--accent); }
.faq-q {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 10px;
}
.faq-q summary {
  font-weight: 500; cursor: pointer;
  font-family: var(--display); font-size: 1.1rem;
  color: var(--ink);
}
.faq-q p { margin: 12px 0 0; }

/* =================== HERO =================== */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 90px) 0 clamp(48px, 6vw, 90px);
  background: var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--accent); }
.hero .lede {
  font-family: var(--sans);
  font-size: 1.15rem;
  max-width: 540px;
  color: var(--ink-2);
  margin-bottom: 32px;
  line-height: 1.45;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Homepage variant: centred hero text stack (still allows side collage on wide screens) */
.hero-grid--centered .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-grid--centered .hero-copy .lede { margin-left: auto; margin-right: auto; }
.hero-grid--centered .hero-cta { justify-content: center; }

/* =================== HERO COLLAGE (cool, contained) =================== */
.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  margin-right: 0;
}
@media (max-width: 980px) {
  .hero-art { margin: 32px auto 0; max-width: 380px; }
}
.hero-art .frame {
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.hero-art .frame .img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  filter: contrast(1.05) saturate(1.05);
}
.hero-art .frame .label {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: .72rem;
  padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0;
}
.hero-art .frame-1 {
  width: 60%; height: 60%;
  top: 0; left: 0;
  transform: rotate(-3deg);
  z-index: 1;
}
.hero-art .frame-2 {
  width: 56%; height: 56%;
  top: 18%; right: 0;
  transform: rotate(2deg);
  z-index: 2;
}
.hero-art .frame-3 {
  width: 52%; height: 52%;
  bottom: 0; left: 12%;
  transform: rotate(-1deg);
  z-index: 3;
}
.hero-art .sticker {
  position: absolute;
  z-index: 4;
  background: var(--accent-2);
  color: var(--ink);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: .95rem;
  padding: 14px 18px;
  border-radius: 999px;
  bottom: 8%;
  right: 4%;
  transform: rotate(-6deg);
  border: 1px solid var(--ink);
}

/* =================== CATEGORIES =================== */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

.cat-tile {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 18px; min-height: 160px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg);
  transition: all .2s ease;
}
.cat-tile:hover {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.cat-tile:hover h3.cat-tile:hover p { color: var(--bg); }
.cat-tile .ico { font-size: 26px; margin-bottom: 12px; }
.cat-tile h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 1.4rem; margin: 0 0 4px; letter-spacing: -0.02em;
  line-height: 1;
}
.cat-tile p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.3; }

/* Compact variant: single line, icon + name only (used on mentors browse) */
.cat-grid--compact { margin-bottom: 28px; }
.cat-grid--compact .cat-tile {
  flex-direction: row; align-items: center; gap: 10px;
  min-height: 0; padding: 12px 16px;
  cursor: pointer;
}
.cat-grid--compact .cat-tile .ico { margin: 0; font-size: 20px; }
.cat-grid--compact .cat-tile h3 { font-size: 1rem; margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
.cat-grid--compact .cat-tile p { display: none; }
.cat-grid--compact .cat-tile.active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.cat-grid--compact .cat-tile.active h3 { color: var(--bg); }

/* Sessions page: active discipline tile */
.cat-tile.session-tile.active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.cat-tile.session-tile.active h3 { color: var(--bg); }
.cat-tile.session-tile.active p { color: rgba(242,237,226,.7); }

/* =================== MENTOR CARDS =================== */
.mentor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .mentor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .mentor-grid { grid-template-columns: 1fr; } }

.mentor-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 16px rgba(14,13,12,.05);
}
.mentor-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 24px 48px rgba(14,13,12,.14);
}
.mentor-card .photo {
  aspect-ratio: 4/3; background: var(--bg-alt);
  background-size: cover; background-position: center;
  position: relative;
  filter: contrast(1.05);
}
.mentor-card .photo .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg); color: var(--ink);
  font-size: .72rem; font-weight: 500;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--ink);
}
.mentor-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.mentor-card .name { font-family: var(--display); font-weight: 500; font-size: 1.4rem; margin-bottom: 2px; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.mentor-card .role { color: var(--muted); font-size: .9rem; margin: 6px 0 14px; }
.mentor-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag {
  font-size: .72rem; padding: 4px 10px; border-radius: 999px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.mentor-card .meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.mentor-card .price { font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.mentor-card .price small { color: var(--muted); font-weight: 400; font-family: var(--sans); font-size: .82rem; }
.mentor-card .rating { color: var(--ink-2); font-size: .85rem; }

.stars { color: var(--accent); letter-spacing: 1px; }

/* =================== HOW IT WORKS =================== */
.hiw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .hiw-grid { grid-template-columns: 1fr; } }
.hiw-step {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
}
.hiw-step .num {
  font-family: var(--display); font-style: italic;
  font-weight: 400; font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1;
}
.hiw-step h3 {
  font-family: var(--display); font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 10px;
}

/* =================== PRICING / PLAN CARDS =================== */
.plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 880px) { .plan-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column;
}
.plan.popular {
  border-color: var(--ink); position: relative;
  background: var(--ink); color: var(--bg);
}
.plan.popular h3 { color: var(--bg); }
.plan.popular p { color: rgba(242,237,226,.8); }
.plan.popular .price-big { color: var(--bg); }
.plan.popular .price-big small { color: rgba(242,237,226,.7); }
.plan.popular ul li { color: rgba(242,237,226,.85); }
.plan.popular ul li::before { border-color: var(--accent-2); }
.plan.popular .btn-ghost { background: transparent; color: var(--bg); border-color: var(--bg); }
.plan.popular .btn-ghost:hover { background: var(--bg); color: var(--ink); }
.plan.popular .pop-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--accent-2); color: var(--ink);
  padding: 5px 12px; font-size: .68rem; font-weight: 500;
  border-radius: 999px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--ink);
}
.plan h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.plan .price-big { font-family: var(--display); font-size: 3rem; font-weight: 400; line-height: 1; margin: 14px 0 4px; letter-spacing: -0.02em; }
.plan .price-big small { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; }
.plan li { padding: 7px 0; padding-left: 24px; position: relative; color: var(--ink-2); font-size: .94rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

/* =================== CTA BANNER =================== */
.cta-banner {
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 80px);
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--bg); }
.cta-banner h2 em { font-style: italic; color: var(--accent-2); }
.cta-banner p { color: rgba(242,237,226,.8); font-size: 1.05rem; max-width: 580px; margin: 0 0 28px; }
.cta-banner .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner::after {
  content: ""; position: absolute;
  width: 480px; height: 480px; right: -180px; top: -180px;
  border: 1px solid rgba(242,237,226,.1);
  border-radius: 50%;
}
.cta-banner::before {
  content: ""; position: absolute;
  width: 320px; height: 320px; right: -100px; top: -100px;
  background: radial-gradient(circle, rgba(255,58,31,.25), transparent 70%);
  border-radius: 50%;
}

/* =================== FOOTER (slim) =================== */
.site-foot {
  background: var(--bg-dark); color: var(--bg);
  padding: 56px 0 32px; margin-top: 0;
}
.site-foot a { color: rgba(242,237,226,.75); }
.site-foot a:hover { color: var(--bg); }
.foot-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(242,237,226,.1);
}
@media (max-width: 1100px) { .foot-inner { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px) { .foot-inner { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .foot-inner { grid-template-columns: 1fr; } }
.foot-inner h4 { color: var(--bg); font-family: var(--sans); font-size: .82rem; font-weight: 500; margin-bottom: 14px; letter-spacing: .12em; text-transform: uppercase; }
.foot-inner ul { list-style: none; padding: 0; margin: 0; }
.foot-inner li { padding: 5px 0; font-size: .92rem; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: .82rem; color: rgba(242,237,226,.55);
}
.foot-bottom .brand-logo { color: var(--bg); }
.foot-bottom .brand-mark { background: var(--bg); color: var(--ink); }
@media (max-width: 540px) { .foot-bottom { flex-direction: column; gap: 12px; } }

/* =================== FILTER BAR (browse) =================== */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 18px; border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--line); margin-bottom: 28px;
}
.filter-bar--bold {
  flex-direction: column; align-items: stretch; gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 0;
  box-shadow: 0 18px 48px rgba(14,13,12,.08);
}
.search-box {
  flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--bg-alt);
}
.search-box--bold {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 14px 22px;
  gap: 12px;
  transition: box-shadow .15s ease;
}
.search-box--bold:focus-within { box-shadow: 0 0 0 6px rgba(14,13,12,.06); }
.search-box--bold svg { color: var(--ink); }
.search-box input {
  flex: 1; border: 0; background: transparent; outline: none;
  font: inherit; padding: 4px 0; color: var(--ink);
}
.search-box--bold input { font-size: 1.05rem; }
.search-box--bold input::placeholder { color: var(--muted); }
.chip {
  font-size: .85rem; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); cursor: pointer;
  color: var(--ink); transition: all .15s ease; font: inherit;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* =================== MENTOR PROFILE =================== */
.profile-hero {
  background: var(--bg-dark);
  color: var(--bg);
  padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 10vw, 140px);
  position: relative; overflow: hidden;
}
.profile-hero::before {
  content: ""; position: absolute; pointer-events: none;
  width: 560px; height: 560px; right: -180px; top: -200px;
  background: radial-gradient(circle, rgba(255,58,31,.28), transparent 65%);
  border-radius: 50%;
}
.profile-hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 480px; height: 480px; right: -200px; top: -200px;
  border: 1px solid rgba(242,237,226,.12);
  border-radius: 50%;
}
.profile-hero > .container { position: relative; z-index: 1; }
.profile-hero a { color: rgba(242,237,226,.7); }
.profile-hero a:hover { color: var(--bg); }
.profile-hero h1 { color: var(--bg); }
.profile-hero .role { color: rgba(242,237,226,.7); }
.profile-hero .meta-row { color: rgba(242,237,226,.85); }
.profile-hero .meta-row span { color: rgba(242,237,226,.85); }
.profile-hero .stars { color: var(--accent-2); }
.profile-hero .btn-ghost { color: var(--bg); border-color: rgba(242,237,226,.5); }
.profile-hero .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
/* Photo overlaps the next section to lift the page */
.profile-hero .profile-head [data-pf-img] {
  width: 220px !important; height: 220px !important;
  margin-bottom: -100px; /* overlap into the next section */
  border: 4px solid var(--bg);
}
@media (max-width: 720px) {
  .profile-hero .profile-head [data-pf-img] {
    width: 160px !important; height: 160px !important;
    margin-bottom: -60px;
  }
}
/* Section right after the profile hero: lift it onto the dark hero a bit */
.profile-hero + .section { padding-top: clamp(40px, 5vw, 60px); background: var(--bg-alt); }
.profile-grid {
  display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start;
}
@media (max-width: 980px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-head { display: flex; gap: 28px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.profile-head img,
.profile-head [data-pf-img] { width: 180px !important; height: 180px !important; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow-lg); flex-shrink: 0; }
.profile-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 6px; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.profile-head .role { color: var(--muted); margin-bottom: 8px; }
.profile-head .meta-row { display: flex; gap: 20px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-2); }
.profile-head .meta-row span { display: inline-flex; align-items: center; gap: 6px; }

.tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--line);
  margin: 24px 0 28px;
}
.tab {
  padding: 12px 18px; cursor: pointer; border: 0; background: none;
  color: var(--muted); font-weight: 400; font: inherit;
  border-bottom: 2px solid transparent;
  font-size: .95rem;
}
.tab.active { color: var(--ink); border-bottom-color: var(--accent); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h3 { font-family: var(--display); font-size: 1.3rem; margin-top: 32px; margin-bottom: 8px; }
.tab-panel ul.bullets { padding-left: 18px; color: var(--ink-2); }
.tab-panel ul.bullets li { padding: 5px 0; }

.service-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--bg);
  gap: 16px;
}
.service-row .meta { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.service-row .price-tag { font-family: var(--display); font-size: 1.3rem; white-space: nowrap; }

/* sticky plan card - bolder, more dynamic */
.plan-side {
  position: sticky; top: 96px;
  background: linear-gradient(165deg, #ffefd9 0%, #ffd9b8 100%);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 24px 64px rgba(14,13,12,.22), 0 2px 6px rgba(14,13,12,.08);
  position: -webkit-sticky;
  position: sticky;
  overflow: hidden;
}
.plan-side::before {
  /* lime accent line above the toggle */
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 6px;
  background: var(--accent-2);
}
.plan-side::after {
  content: ""; position: absolute; pointer-events: none;
  width: 240px; height: 240px; right: -120px; bottom: -120px;
  background: radial-gradient(circle, rgba(255,58,31,.18), transparent 65%);
  border-radius: 50%;
}
.plan-side select, .plan-side .btn { width: 100%; }
.plan-side select {
  padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  font: inherit; margin-bottom: 14px; background: var(--bg);
  width: 100%;
}

/* plan / sessions tab toggle - punchier */
.ps-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(14,13,12,.06);
  border-radius: 999px;
  padding: 4px;
  margin: 6px 0 22px;
}
.ps-toggle-btn {
  background: transparent; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 999px;
  font: inherit; font-size: .88rem; font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  transition: all .15s ease;
}
.ps-toggle-btn:hover { color: var(--ink); }
.ps-toggle-btn.active {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(255,58,31,.3);
}
.ps-toggle-btn.active[data-pf-tab="sessions"] {
  background: var(--accent-2); color: var(--ink);
  box-shadow: 0 4px 14px rgba(223,255,77,.45);
}
.pf-tab-panel { animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* sessions list inside the sticky card */
.pf-sessions { display: flex; flex-direction: column; gap: 6px; }
.pf-session {
  text-align: left; cursor: pointer;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit; color: var(--ink);
  transition: all .15s ease;
}
.pf-session:hover { border-color: var(--ink); }
.pf-session.active { border-color: var(--ink); background: var(--bg-alt); }
.pf-session-name { font-weight: 500; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pf-session-meta { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.pf-session-live {
  display: inline-block;
  background: var(--accent-2);
  color: var(--ink);
  font-size: .65rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
}

/* Skills + similar mentors sections on profile */
.pf-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pf-skills .tag { font-size: .85rem; padding: 6px 13px; }
.pf-similar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 18px; }
@media (max-width: 980px) { .pf-similar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pf-similar { grid-template-columns: 1fr; } }

/* Modal (message mentor) */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(14,13,12,.55);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 28px; width: 100%; max-width: 520px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  position: relative;
}
.modal h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; margin-bottom: 6px; }
.modal .modal-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 0; font-size: 1.2rem; cursor: pointer;
  color: var(--muted); padding: 6px 10px; border-radius: 999px;
}
.modal .modal-close:hover { background: var(--bg-alt); color: var(--ink); }
.modal textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; min-height: 130px; resize: vertical;
  background: var(--bg);
}
.modal textarea:focus { outline: 0; border-color: var(--ink); }

/* =================== FORMS =================== */
.form {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 18px 40px rgba(14,13,12,.06), 0 1px 2px rgba(14,13,12,.04);
  position: relative;
}
.form::before {
  /* subtle lime accent rule across the top, like the .plan-side */
  content: ""; position: absolute;
  top: 0; left: clamp(28px, 4vw, 44px); right: clamp(28px, 4vw, 44px);
  height: 3px; background: var(--accent-2);
  border-radius: 0 0 4px 4px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:hover, .form-row textarea:hover, .form-row select:hover {
  border-color: rgba(14,13,12,.32);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: 0; border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(14,13,12,.06);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row.row-2 { grid-template-columns: 1fr; } }
.form .btn { margin-top: 8px; }
.form-help { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* Modern variant: lift the form on dark sections, full-width feel */
.form.form-modern {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  border: 0;
}
.form.form-modern::before { left: clamp(28px, 4vw, 40px); right: clamp(28px, 4vw, 40px); }
.form.form-modern .form-row textarea { min-height: 150px; }
.form.form-modern button[type="submit"] { width: 100%; padding: 16px; font-size: 1.05rem; }

/* =================== UTIL =================== */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 44px; flex-wrap: wrap;
}
.section-head .lede { color: var(--ink-2); max-width: 560px; margin: 8px 0 0; font-size: 1.05rem; }
.flex-col { display: flex; flex-direction: column; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }

.divider-line {
  border: 0; border-top: 1px solid var(--line);
  margin: 0;
}

.avatar-svg { width: 100%; height: 100%; display: block; }

/* details / accordion (used in footer FAQ) */
details { transition: background .15s ease; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* =================== ARTICLES / JOURNAL =================== */
.article-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }
.article-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: all .2s ease;
}
.article-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.article-cover {
  aspect-ratio: 4/3; background: var(--bg-alt);
  background-size: cover; background-position: center;
  filter: contrast(1.05);
}
.article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-cat {
  display: inline-block;
  font-family: var(--sans); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.article-card h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 1.25rem; line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.article-card p { font-size: .9rem; color: var(--ink-2); margin: 0 0 14px; }
.article-meta { font-size: .78rem; color: var(--muted); margin-top: auto; }

/* article detail page */
.article-page { padding: 0 0 80px; }
.article-hero {
  width: 100%; aspect-ratio: 16/6;
  background-size: cover; background-position: center;
  filter: contrast(1.05);
}
.article-container { max-width: 760px; padding-top: 48px; }
.article-container h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 12px 0 18px;
}
.article-meta-line { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }
.article-body-prose p {
  font-size: 1.08rem; line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 1.2em;
}
.article-body-prose strong { color: var(--ink); }
.article-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

/* =================== SITEMAP =================== */
.sitemap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
}
@media (max-width: 880px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sitemap-grid { grid-template-columns: 1fr; } }
.sitemap-grid h3 {
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; }
.sitemap-grid li { padding: 7px 0; font-size: .98rem; }
