:root{
  --bg-deep:#040314;
  --pink:#DD40FF;
  --cyan:#35E2FF;
  --ink:#cfe6f0;
}

/* ===== HERO / SELECTOR ===== */
.journey{
  position: relative;
  padding: clamp(32px,6vw,64px) 0;
  background:
    radial-gradient(1000px 520px at 18% 10%, rgba(221,64,255,.12), transparent 60%),
    url("../../assets/backgrounds/teacher-toolkit-bg.png") center/cover no-repeat,
    var(--bg-deep);
}
.section-title{
  max-width:1200px; margin:0 auto;
  padding: 0 clamp(16px,6vw,28px) 10px;
}

.journey .selector-card{
  max-width: 1200px;
  margin: 8px auto 0;
  padding: clamp(18px,3vw,28px);
  display: grid;
  grid-template-columns: 64px minmax(200px,280px) 1fr 64px; /* prev | portrait | copy | next */
  align-items: center;
  gap: clamp(16px,3vw,28px);
  background: rgba(8,10,20,.70);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.journey .portrait-wrap{
  width: clamp(180px,26vw,320px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 60% at 50% 40%, rgba(53,226,255,.18), transparent 70%);
}
.journey .portrait-wrap img{
  width: 85%;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.45));
}

.journey .cs-nav{
  width: 48px; height: 48px; justify-self: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color:#cfe6f0;
  display:grid; place-items:center;
  cursor:pointer;
  transition: background .15s ease, transform .15s ease;
}
.journey .cs-nav:hover{ background: rgba(255,255,255,.15); transform: scale(1.05); }
.journey .cs-nav:active{ transform: scale(.95); }

.journey .selector-copy .eyebrow{
  color:#9bd8e6; font-weight:600; letter-spacing:.3px; margin-bottom:6px;
}
.journey .selector-copy h2{
  font-family:'Rajdhani', system-ui, sans-serif;
  color:#fff; font-weight:700; letter-spacing:.5px; margin:0 0 6px;
  font-size: clamp(28px,3.2vw,40px);
}
.journey .selector-copy p{ max-width:56ch; color:var(--ink); }
.journey .cs-dots{ display:flex; gap:8px; margin:14px 0 18px; }
.journey .cs-dots button{
  width:10px; height:10px; border-radius:999px; border:0; background:#244; opacity:.55;
}
.journey .cs-dots button[aria-selected="true"]{
  opacity:1; background:var(--cyan); box-shadow:0 0 0 4px rgba(53,226,255,.18);
}

/* Gradient button already present in site, but ensure here */
.btn--journey{ background: linear-gradient(90deg, #3EE5B5, #3F64F9); }

/* ---------- Mobile ---------- */
@media (max-width: 900px){
  .journey .selector-card{
    grid-template-columns: 44px 1fr 44px;
    grid-template-rows: auto auto;
    text-align: center;
    gap: clamp(14px,3vw,20px);
  }
  .journey .portrait-wrap{ grid-column: 2; grid-row: 1; margin: 6px auto 0; }
  .journey .cs-prev{ grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .journey .cs-next{ grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .journey .selector-copy{ grid-column: 2; grid-row: 2; }
}

/* ===== BIO HEADER ===== */
.bio-header{ background: var(--bg-deep); padding: 12px 0 0; }
.bio-wrap{
  max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px,6vw,28px) 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display:grid; gap:18px; grid-template-columns: 1.1fr 1fr; align-items:center;
}
.bio-left{ display:flex; gap:14px; align-items:center; }
.bio-portrait{ width:64px; height:64px; border-radius:999px; background:#122; object-fit:cover; }
.bio-left h2{
  font-family:'Rajdhani', system-ui, sans-serif; color:#fff; letter-spacing:.5px; margin:0 0 4px;
}
.bio-left p{ margin:0; color:var(--ink); }
.bio-right h3{ margin:0 0 6px; color:#9bd8e6; letter-spacing:.3px; }
.skill-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.skill-pills .pill{
  padding:6px 10px; border-radius:999px; background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08); font-size:13px; color:#dff7ff;
}

/* ===== JOURNEY CONTENT ===== */
.jy-section{ background: var(--bg-deep); padding: clamp(24px,6vw,56px) 0 80px; }
.jy-wrap{ max-width:1200px; margin:0 auto; padding:0 clamp(16px,6vw,28px); }
.jy-h2{
  margin:24px 0 12px; color:var(--pink);
  font-family:'Rajdhani', system-ui, sans-serif; font-weight:700; letter-spacing:.5px;
  font-size: clamp(22px,2.6vw,30px);
}
.jy-stats{ display:grid; gap:16px; grid-template-columns: repeat(4,1fr); }
.jy-tile{
  background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding:16px;
}
.jy-tile h3{ color:var(--cyan); margin:0 0 6px; font-size:18px; letter-spacing:.3px; }

.jy-grid{ margin-top:18px; display:grid; gap:16px; grid-template-columns: repeat(4,1fr); }
.jy-card{
  background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06);
  border-radius:16px; padding:16px;
}
.jy-card h4{ margin:0 0 6px; color:#fff; font-family:'Rajdhani', system-ui, sans-serif; letter-spacing:.3px; }
.jy-card .tag{ color:#9bd8e6; font-weight:600; font-size:13px; letter-spacing:.3px; }
.jy-card ul{ margin:8px 0 0 18px; }

.jy-resources{ display:grid; gap:16px; grid-template-columns: repeat(3,1fr); margin-top:18px; }
.jy-resources a{
  display:block; padding:12px 14px; border-radius:12px;
  background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06);
  color:#8fdcff; text-decoration:none;
}
.jy-resources a:hover{ color:#fff; border-color: rgba(255,255,255,.12); }

/* Responsive for cards/grid */
@media (max-width:1020px){
  .bio-wrap{ grid-template-columns: 1fr; text-align:center; }
  .bio-left{ justify-content:center; }
  .jy-stats{ grid-template-columns: 1fr 1fr; }
  .jy-grid{ grid-template-columns: 1fr 1fr; }
  .jy-resources{ grid-template-columns: 1fr 1fr; }
}
@media (max-width:620px){
  .jy-stats, .jy-grid, .jy-resources{ grid-template-columns: 1fr; }
}

/* Default smooth scroll */
html { scroll-behavior: smooth; }




/* --- Fix: keep the copy column wide enough & keep content inside card --- */
.journey .selector-card{
  /* prev | portrait | copy | next  */
  grid-template-columns:
    minmax(44px, 64px)
    minmax(220px, 320px)
    minmax(420px, 1fr)
    minmax(44px, 64px);
  overflow: hidden; /* keep CTA/dots inside the glass card */
}

/* Make sure the text block has breathing room */
.journey .selector-copy{
  min-width: 420px;
  max-width: 640px;
  justify-self: start;
  padding-inline: clamp(8px,1.2vw,16px);
}

/* Keep the portrait a sensible size so it doesn’t starve the copy column */
.journey .portrait-wrap{
  width: clamp(220px, 28vw, 320px);
}

/* Mobile keeps the current layout, just ensure copy uses full center column */
@media (max-width: 900px){
  .journey .selector-copy{
    min-width: 0;
    max-width: 56ch; /* match your text width preference */
    justify-self: center;
  }
}





/* === Center the selector card and keep copy inside the frame === */
.journey { 
  padding: clamp(28px, 6vw, 64px) 0;
  background:
    radial-gradient(1000px 520px at 18% 10%, rgba(221,64,255,.12), transparent 60%),
    url("../../assets/backgrounds/character-select-header-bg.png") center/cover no-repeat,
    var(--bg-deep);
}

.selector-card{
  /* keep the whole card centered */
  box-sizing: border-box;
  width: min(1120px, 100% - 48px);
  margin-inline: auto;

  display: grid;
  /* prev | portrait | copy | next */
  grid-template-columns: 80px minmax(260px, 360px) minmax(380px, 1fr) 80px;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);

  padding: clamp(18px, 3vw, 28px);
  background: rgba(8,10,20,.72);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  overflow: hidden;              /* prevent any bleed */
}

/* portrait column */
.portrait-wrap{
  grid-column: 2;
  width: clamp(200px, 26vw, 320px);
  aspect-ratio: 1/1;
  border-radius: 999px;
  display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 40%, rgba(53,226,255,.18), transparent 70%);
}
.portrait-wrap img{ width: 85%; height: auto; display: block; }

/* copy column (keeps it INSIDE the card) */
.selector-copy{
  grid-column: 3;
  justify-self: start;
  max-width: 52ch;               /* readable line length */
}
.selector-copy .eyebrow{ color:#9bd8e6; font-weight:600; letter-spacing:.3px; margin-bottom:6px; }
.selector-copy h2{
  font-family:'Rajdhani', system-ui, sans-serif;
  color:#fff; font-weight:700; letter-spacing:.5px; margin:0 0 6px;
  font-size: clamp(28px, 3.2vw, 40px);
}
.selector-copy p{ color: var(--ink); }

/* dots + CTA spacing */
.cs-dots{ display:flex; gap:8px; margin:14px 0 18px; }
.btn--journey{ background: linear-gradient(90deg, #3EE5B5, #3F64F9); }


/* spacing for skills row inside selector */
.selector-copy #csSkills{
  margin: 10px 0 14px;
}

/* dots are now under the button, give them a touch more top space */
.selector-copy .cs-dots{
  margin: 14px 0 0;   /* was 14px 0 18px earlier */
}





/* arrows */
.cs-nav{
  grid-row: 1;
  width: 48px; height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color:#cfe6f0;
  display:grid; place-items:center;
  justify-self:center;
}
.cs-prev{ grid-column: 1; }
.cs-next{ grid-column: 4; }

/* ------ Mobile: arrows flank the card, portrait on top, copy below ------ */
@media (max-width: 900px){
  .selector-card{
    grid-template-columns: 44px 1fr 44px;
    grid-template-rows: auto auto;
    text-align: center;
  }
  .portrait-wrap{ grid-column: 2; grid-row: 1; margin: 6px auto 0; }
  .cs-prev{ grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .cs-next{ grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .selector-copy{ grid-column: 2; grid-row: 2; justify-self: center; max-width: 60ch; }
}


/* --- Mobile arrow visibility fix --- */
@media (max-width: 900px){
  .cs-prev,
  .cs-next {
    z-index: 5;            /* bring both arrows above the portrait */
    opacity: 0.9;          /* make sure both are visible */
  }

  /* Optional: tweak position slightly for symmetry */
  .cs-prev { margin-left: -4px; }
  .cs-next { margin-right: -4px; }
}



/* --- Mobile arrow sizing fix --- */
@media (max-width: 900px){
  .selector-card {
    grid-template-columns: 36px 1fr 36px; /* narrower arrow columns */
    gap: 12px;
  }

  .cs-nav {
    width: 36px;
    height: 36px;
    min-width: unset; /* remove any inherited min-width */
  }

  .cs-prev,
  .cs-next {
    margin: 0;
  }
}


/* --- FINAL mobile arrow fix (specific overrides) --- */
@media (max-width: 900px){
  .journey .selector-card{
    /* tighter columns so arrows don't push the card */
    grid-template-columns: 36px 1fr 36px;
    gap: 12px;
    padding: clamp(16px,4vw,20px);
  }

  .journey .selector-card .cs-nav{
    width: 36px;
    height: 36px;
    min-width: 36px;   /* explicitly constrain */
    min-height: 36px;
    padding: 0;        /* remove any default padding */
    margin: 0;
    border-width: 1px; /* keep the circle tidy */
    justify-self: center;
    align-self: center;
  }
}




.jy-caption{ color:#9bd8e6; opacity:.85; font-size:13px; margin-top:8px }
.jy-notes{ width:100%; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); color:#dff7ff; border-radius:10px; padding:10px }
.jy-check{ display:inline-flex; gap:8px; align-items:center }
.jy-career input{ margin-right:8px }
.jy-pillrow .pill{ margin:2px 6px 0 0; display:inline-block }
.jy-meta{ color:#dff7ff; opacity:.9; margin:8px 0 2px }
.jy-source{ color:#9bd8e6; font-size:12px }
.jy-actions .btn{ background:linear-gradient(90deg,#3EE5B5,#3F64F9); border:0; color:#fff; padding:10px 14px; border-radius:12px; cursor:pointer }
.jy-future{ max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35); }




/* ===== Journey section background (new) ===== */
.jy-section{
  position: relative;
  padding: clamp(32px,6vw,72px) 0 96px;
  background:
    radial-gradient(1000px 520px at 18% 10%, rgba(221,64,255,.10), transparent 60%),
    url("../../assets/backgrounds/TechPathway-BG.jpg") center/cover no-repeat,
    var(--bg-deep);
}

/* Empty state wrapper */
.jy-empty {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px,6vw,28px);
}

/* Glass panel with backdrop blur */
.glass-blur {
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  background: rgba(8, 10, 20, 0.55);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 16px;
  padding: clamp(18px,3vw,28px);
}

/* Empty state headline + image */
.jy-empty h2 {
  color: var(--cyan);
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .4px;
  margin: 8px 0 18px;
  text-align: center;
}

.jy-empty-hero {
  display: grid;
  place-items: center;
  padding: clamp(16px,3vw,24px);
}

.jy-empty-hero img {
  width: min(520px, 80vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.35));
}

/* Optional caption style under the image */
.jy-empty .caption {
  text-align: center;
  color: var(--ink);
  opacity: .9;
  margin-top: 10px;
  font-size: 14px;
}

/* Keep it tidy on mobile */
@media (max-width: 720px){
  .glass-blur { border-style: solid; }
}




  

/* ---- Progressive steps / uploads (Leo) ---- */
.step-cta { margin: 14px 0 6px; display:flex; justify-content:center; }
.upload-wrap { display:grid; gap:10px; margin:10px 0; }
.upload-wrap .thumbs { display:flex; flex-wrap:wrap; gap:10px; }
.upload-wrap .thumb { position:relative; width:90px; height:90px; border-radius:12px; overflow:hidden; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03); }
.upload-wrap .thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.upload-wrap .thumb-x { position:absolute; top:4px; right:4px; width:22px; height:22px; border:0; border-radius:999px; background:rgba(0,0,0,.6); color:#fff; cursor:pointer; }
.btn--ghost { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); color:#dff7ff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }






/* Glass / blur panel used inside the journey body */
.jy-panel {
  background: rgba(10,12,22,.62);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: clamp(14px,1.8vw,18px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

/* Section title layout */
.jy-step h2 {
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  margin: 0 0 10px;
  font-size: clamp(22px,2.4vw,34px);
}
.jy-step .eyebrow { color:#9bd8e6; font-weight:600; letter-spacing:.3px; margin-bottom:6px; }

/* Notes inputs */
.jy-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #dff7ff;
  padding: 10px 12px;
}

/* Theory ribbon */
.jy-ribbon {
  margin-top: 10px;
  border-radius: 10px;
  background: rgba(221,64,255,.10);
  border: 1px solid rgba(221,64,255,.18);
  color: #e7d7f6;
  padding: 10px 12px;
  font-size: 13px;
}

/* Upload bay placeholder frame (keeps your look) */
.jy-upload {
  border: 2px dashed rgba(255,255,255,.20);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  place-items: center;
  min-height: 84px;
  background: rgba(255,255,255,.03);
}

/* Sunset CTA (white stroke + arrow) */
.btn-sunset {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  border: 3px solid rgba(255,255,255,.95);
  background: linear-gradient(90deg,#E0993C,#E65A88);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.btn-sunset .arrow {
  width: 18px; height: 18px; display:inline-block;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23000' d='M12 16l-6-6h12z'/></svg>") center/contain no-repeat;
  background:#fff;
}

/* Checkbox row used for “Mark Complete” */
.jy-check { display:inline-flex; gap:10px; align-items:center; }
.jy-check input { transform: translateY(1px); }



/* Space between revealed steps + a little breathing room above each CTA */
.jy-step + .jy-step { margin-top: 36px; }
.jy-step .btn-sunset { margin-top: 14px; }

/* Optional: inside a jy-panel, keep inner grid tidy */
.jy-panel .jy-grid { margin-top: 10px; }


/* Step-specific grid helpers */
.jy-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1020px){
  .jy-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .jy-grid-3 { grid-template-columns: 1fr; }
}


/* Two-column grid for learning pathways */
.jy-grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1020px){
  .jy-grid-2 { grid-template-columns: 1fr; }
}


.btn-sunset:disabled,
.btn.btn--journey:disabled {
  opacity: .5;
  cursor: not-allowed;
  filter: grayscale(.2);
}



/* Give all clickable buttons and labeled elements the proper hand cursor */
button,
[role="button"],
label.jy-check,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}


.btn,
.btn--journey,
.btn-sunset {
  cursor: pointer;
}




/* ========== Certificate Tracker ========== */
.cert-wrap {
  margin: 32px auto 48px;
  max-width: 1100px;
  padding: 28px 24px 32px;
  border-radius: 16px;
  background: radial-gradient(1200px 420px at 50% -10%, rgba(183,124,245,.12), rgba(0,0,0,.35)),
              linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
}

.cert-head {
  text-align: center;
  margin-bottom: 16px;
}
.cert-title { font-size: 1.25rem; font-weight: 700; }
.cert-sub   { font-size: .9rem; opacity: .85; margin-top: 4px; }

.badge-row {
  display: flex; gap: 28px; justify-content: center; align-items: center;
  flex-wrap: wrap; padding: 16px 0 10px;
}
.badge {
  width: 84px; height: 84px; display: grid; place-items: center;
  opacity: .65; transition: transform .15s, opacity .15s, filter .15s;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.badge.complete { opacity: 1; }
.badge img { width: 84px; height: 84px; object-fit: contain; }

.cert-cta {
  margin-top: 18px; display: flex; justify-content: center;
}
.cert-btn {
  appearance: none; border: 0; padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(90deg,#F6B76A,#B67CF5);
  color: #111; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.5);
  transition: transform .15s, opacity .2s, filter .2s;
}
.cert-btn[disabled] {
  opacity: .45; filter: grayscale(.2); cursor: not-allowed;
}
.cert-btn:not([disabled]):hover { transform: translateY(-1px); }

/* make all <button> look clickable */
button { cursor: pointer; }
button[disabled] { cursor: not-allowed; }




/* ===== Certificate Tracker (final polished gradient version) ===== */
#certificateTracker {
  position: relative;
  padding: 36px 0 48px;
  background:
    radial-gradient(900px 420px at 50% 40%, rgba(221,64,255,.12), transparent 60%),
    radial-gradient(1200px 480px at 20% 10%, rgba(53,226,255,.12), transparent 70%),
    var(--bg-deep);
}

/* Subtle glow layer to give depth without a visible box */
#certificateTracker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 280px at 50% 45%, rgba(221,64,255,.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Keep badge row nicely centered and visible above glow */
#certificateTracker .cert-wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Headings */
#certificateTracker .cert-head {
  margin-bottom: 8px;
}
#certificateTracker .cert-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
#certificateTracker .cert-sub {
  font-size: .95rem;
  color: var(--ink);
  opacity: .9;
  margin: 0 0 12px;
}

/* Badge row */
#certificateTracker .badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 42px;
  padding: 4px 0 8px;
}
#certificateTracker .badge {
  opacity: .8;
  transition: transform .15s, opacity .15s;
}
#certificateTracker .badge.complete {
  opacity: 1;
}
#certificateTracker .badge img {
  display: block;
  width: 96px; /* try 104px if you want bigger badges */
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}
#certificateTracker .badge:hover {
  transform: translateY(-1px);
}

/* CTA */
#certificateTracker .cert-cta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
#certificateTracker .cert-btn {
  appearance: none;
  border: 0;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #F6B76A, #B67CF5);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35),
              inset 0 0 0 1px rgba(255, 255, 255, .5);
  transition: transform .15s, opacity .2s;
}
#certificateTracker .cert-btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}
#certificateTracker .cert-btn:not([disabled]):hover {
  transform: translateY(-1px);
}







#certificateBtn {
  padding: 10px 24px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(90deg, #c471f5, #fa71cd);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#certificateBtn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}




/* ----- Carousel + Bio pills (no wrapper) ----- */
#csSkills,
#bioSkills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;           /* space between pills */
  align-items: center;
  max-width: 100%;
}

/* pill styling when there's no .pill-group wrapper */
#csSkills .pill,
#bioSkills .pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* keep each pill on one line */
  line-height: 1.2;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

/* optional: add the label without touching JS */
#csSkills::before,
#bioSkills::before {
  content: 'Hobbies & Strengths';
  flex-basis: 100%;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-subtle, #9ab);
  margin: 6px 0 2px;
}


.video-wrap.center {
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.video-wrap.center video {
  width: 75%;
  max-width: 720px;    /* controls width on large screens */
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  background: #000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 20px;
}

.video-wrap.center video:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}

.jy-caption { 
  display: grid;
  place-items: center;
  margin: 0 auto;
 }



.jy-grid.jy-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.jy-card ul {
  padding-left: 1.2rem;
}
.jy-card a {
  color: #8df;
  text-decoration: none;
}
.jy-card a:hover {
  text-decoration: underline;
}



/* --- Clickable video thumbnail with overlay --- */
.video-thumb {
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-thumb::after {
  /* center "play" button */
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.video-thumb::before {
  /* triangle play glyph */
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 18px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transform: translate(4px, 0);
}
.video-thumb .ext-icon {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 14px;
  line-height: 1;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.4);
  padding: 6px 7px;
  border-radius: 8px;
}
.video-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,.36);
}
.center { display: grid; place-items: center; }
.muted { color: var(--text-subtle, #9ab); }


.video-wrap.center {
  display: grid;
  place-items: center;
}

.video-wrap.center img {
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 12px;
}


.video-title {
  font-size: 1.30rem;     /* slightly larger than body text */
  font-weight: 600;
  text-align: center;
  margin: 12px 0 10px;
  color: var(--text-strong, #fff);
}

.jy-caption {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.9;
}




.col-left,.col-right{ min-width:0; }



/* Step 2 link hover polish */
.jy-check a {
  color: #84b9ff;              /* soft blue gradient-friendly tint */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  cursor: pointer;
}

.jy-check a:hover {
  color: #aee4ff;
  text-decoration: underline;
  text-decoration-color: #aee4ff;
}

.jy-check a:hover {
  color: #aee4ff;
  text-decoration: underline;
  text-decoration-color: #aee4ff;
  text-shadow: 0 0 6px rgba(150, 220, 255, 0.5);
}




/* Step 2 layout */
.jy-step2-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(320px, 520px);
  gap: 20px;
  align-items: start;
}

/* Put the image on the right, square, and contained */
.activity-art-box {
  aspect-ratio: 1 / 1;     /* force square */
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0b12;     /* fallback bg while loading */
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.activity-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Upload sits under the image nicely */
.step2-right .upload-wrap {
  margin-top: 12px;
}

/* Make the “Launch tool / View guide” links feel clickable */
.jy-check a,
.act-link {
  color: #84b9ff;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease, text-decoration-color .2s ease;
  cursor: pointer;
}
.jy-check a:hover,
.act-link:hover {
  color: #aee4ff;
  text-decoration: underline;
  text-decoration-color: #aee4ff;
}

/* Responsive: stack vertically on narrow screens and keep image first */
@media (max-width: 900px) {
  .jy-step2-grid { grid-template-columns: 1fr; }
  .step2-right { order: -1; }     /* show image above the text */
}





/* =========================
   Journey.css (clean)
   Safe, scoped rules for:
   - Step 1 video title
   - Step 2 grid, image, links, upload
   ========================= */

/* --- Utilities --- */
ul.tight { margin-top: 8px; }

/* --- Step 1: Video title --- */
.video-title {
  margin: 8px 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: .2px;
}

/* --- Link polish used in Step 1 & Step 2 --- */
.jy-check a,
.act-link {
  color: #84b9ff;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease, text-decoration-color .2s ease;
  cursor: pointer;
}
.jy-check a:hover,
.act-link:hover {
  color: #aee4ff;
  text-decoration: underline;
  text-decoration-color: #aee4ff;
  text-shadow: 0 0 6px rgba(150,220,255,.35);
}

/* --- Step 2 grid balance: give text more room, image ~30% smaller --- */
.jy-step2-grid{
  display:grid;
  grid-template-columns: minmax(420px, 1.2fr) minmax(280px, 0.8fr);
  gap:22px;
  align-items:start;
}
@media (max-width: 900px){
  .jy-step2-grid{ grid-template-columns:1fr; }
  .step2-right{ order:-1; }
}

/* --- Activity image: square, a bit smaller, no overflow weirdness --- */
.activity-art-box{
  aspect-ratio:1/1;
  width:100%;
  max-width:420px;        /* shrink image area */
  margin-left:auto;       /* align to the right column edge */
  border-radius:16px;
  overflow:hidden;
  background:#0a0b12;
  box-shadow:0 6px 24px rgba(0,0,0,.35);
}
.activity-art{ width:100%; height:100%; object-fit:cover; display:block; }

/* --- Task text spacing/format --- */
.step2-left .eyebrow{ margin-bottom:10px; }

.jy-check{ display:block; line-height:1.5; }
.task-title{ display:inline-block; margin-right:6px; }
.task-desc{ display:inline; }

/* Put action links on their own line under the description */
.act-links{
  margin-top:6px;
  font-weight:500;
}
.act-link{
  color:#84b9ff;
  text-decoration:none;
  transition:color .2s ease, text-decoration-color .2s ease;
  cursor:pointer;
}
.act-link:hover{
  color:#aee4ff;
  text-decoration:underline;
  text-decoration-color:#aee4ff;
}

/* Upload block spacing under image */
.step2-right .upload-wrap{ margin-top:12px; }



/* Show hand pointer when buttons are clickable */
button,
.btn,
.btn--journey,
.btn-sunset {
  cursor: pointer;
}

/* Disabled buttons look inactive and don’t click */
button[disabled],
.btn[disabled],
.btn--journey[disabled],
.btn-sunset[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}



.jy-storyRow{
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin:6px 0 12px;
}
.jy-activityImg{
  width:250px;           /* 300–400px works fine */
  max-width:40vw;
  height:auto;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}
.jy-storyText{ flex:1; min-width:0; }

@media (max-width: 720px){
  .jy-storyRow{ flex-direction:column; }
  .jy-activityImg{ width:100%; max-width:520px; }
}





/* ---------- Journey responsive fixes (Step 2 & Step 5) ---------- */

/* STEP 2: two-column on desktop; stack on mobile */
#step2 .jy-panel{
  display: grid !important;
  grid-template-columns: minmax(280px,520px) 1fr !important;
  gap: 24px !important;
  align-items: start !important;
}
#step2 .activity-art{          /* make the activity image fully responsive */
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
}
#step2 .activity-art-wrap{     /* center it nicely */
  margin: 0;
  justify-self: center;
}

/* STEP 5: text + future art; stack on mobile */
#step5 .jy-panel:first-of-type{
  display: grid !important;
  grid-template-columns: 1fr minmax(220px,320px) !important;
  gap: 16px !important;
  align-items: start !important;
}
#step5 .jy-panel > img{
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  justify-self: center;
}

/* ------- Breakpoint: stack both steps cleanly ------- */
@media (max-width: 860px){
  /* Step 2 stacks (image above the text) */
  #step2 .jy-panel{
    grid-template-columns: 1fr !important;
  }
  #step2 .activity-art-wrap{
    max-width: 420px;
    margin: 0 auto 12px;
  }

  /* Step 5 stacks; put the image FIRST (top). 
     If you prefer the image at the bottom, change order:-1 to order:2. */
  #step5 .jy-panel:first-of-type{
    grid-template-columns: 1fr !important;
  }
  #step5 .jy-panel > img{
    order: -1;               /* move image to the top on mobile */
    max-width: 440px;
    margin: 0 auto 12px;
  }
}


