.home-screen.journey-cards-home { display:flex; flex-direction:column; gap:clamp(12px,2.2vh,22px); max-width:1500px; margin-inline:auto; }
.journey-home-heading h1 { margin:3px 0 5px; font:var(--heading-weight) clamp(2rem,3.2vw,3.15rem)/1.08 var(--font-editorial); letter-spacing:var(--title-spacing); }
.journey-home-heading p { color:var(--muted); font-size:clamp(.82rem,1vw,1rem); line-height:1.35; }
.journey-stage-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(10px,1.2vw,18px); flex:1; min-height:0; }
.journey-stage-card { display:flex; flex-direction:column; min-width:0; min-height:620px; padding:clamp(18px,1.7vw,30px); border:1px solid var(--line); border-radius:var(--radius); background:var(--white); }
.journey-stage-card-active { background:var(--green); border-color:var(--green); color:white; }
.journey-stage-book.journey-book-illustrated { position:relative; display:flex; min-height:620px; overflow:hidden; border-color:#ced8d0; background:#f8f7f2 url('/home-book-inactive.png') center/cover no-repeat; color:var(--green); }
.journey-stage-book.journey-stage-card-active { border-color:#10392f; background:#10392f url('/home-book-active.png') center/cover no-repeat; color:var(--paper); }
.journey-stage-book .journey-card-head { position:relative; z-index:1; border-color:currentColor; }
.journey-stage-book .journey-card-head::after { content:""; position:absolute; bottom:-2px; left:0; width:38px; height:3px; background:var(--terra); }
.journey-stage-book .journey-book-spacer { flex:1 1 auto; min-height:240px; }
.journey-stage-book .journey-book-footer { position:relative; z-index:1; }
.journey-book-footer h3 { margin:0 0 8px; font:var(--heading-weight) clamp(1.55rem,2vw,2.3rem)/1.08 var(--font-editorial); overflow-wrap:anywhere; }
.journey-book-footer h3 em { color:var(--terra); font-weight:inherit; }
.journey-book-footer p { margin:0; font-size:.83rem; line-height:1.4; }
.journey-stage-book.journey-stage-card-active .journey-book-footer p { color:#f6f3e9; }
.journey-stage-book .journey-card-action { position:relative; z-index:1; flex:none; }
.journey-stage-book:not(.journey-stage-card-active) .journey-card-number:not(.is-complete) { background:#f3e2d9; border-color:#edd5c9; color:#945d4d; }
.journey-stage-book:not(.journey-stage-card-active) .journey-card-action { background:transparent; border-color:var(--line); color:var(--green); }
.journey-cards-home.journey-stage-diagnosis .journey-stage-book.journey-book-illustrated { background-color:#fff; background-position:center 40%; background-size:85% auto; }
.journey-cards-home.journey-stage-creer .journey-stage-book.journey-book-illustrated { background-color:#fff; background-position:center 16%; background-size:82% auto; }
.journey-cards-home.journey-stage-diagnosis .journey-book-illustrated,
.journey-cards-home:is(.journey-stage-diagnosis,.journey-stage-reading) .journey-creer-illustrated { opacity:.55; transition:opacity .2s ease; }
.journey-cards-home.journey-stage-diagnosis .journey-book-illustrated:is(:hover,:focus-within),
.journey-cards-home:is(.journey-stage-diagnosis,.journey-stage-reading) .journey-creer-illustrated:is(:hover,:focus-within) { opacity:.82; }
.journey-cards-home.journey-stage-diagnosis .journey-book-illustrated::before,
.journey-cards-home:is(.journey-stage-diagnosis,.journey-stage-reading) .journey-creer-illustrated::before { content:""; position:absolute; inset:0; z-index:0; background:rgba(255,255,255,.34); pointer-events:none; }
.journey-stage-card.journey-stage-creer:not(.journey-stage-card-active):not(.journey-creer-illustrated) { background:#fbf7f1; }
.journey-stage-diagnosis .journey-stage-creer { background:var(--white); border-color:var(--line); color:#626d75; }
.journey-stage-diagnosis .journey-stage-creer .journey-card-head p,
.journey-stage-diagnosis .journey-stage-creer .journey-card-body p { color:#7c9295; }
.journey-stage-diagnosis .journey-stage-creer .journey-card-action { background:transparent; border-color:var(--line); color:var(--green); }
.journey-card-head { padding-bottom:16px; border-bottom:1px solid var(--line); }
.journey-stage-card-active .journey-card-head { border-color:#ffffff35; }
.journey-card-number { display:grid; place-items:center; width:44px; height:44px; margin-bottom:12px; border:1px solid #afbeb4; border-radius:50%; color:var(--green); font-size:1rem; font-weight:650; }
.journey-card-number.is-complete { background:var(--green); border-color:var(--green); color:white; }
.journey-card-number.is-current { background:var(--terra); border-color:var(--terra); color:white; }
.journey-card-head h2 { margin:0; font:var(--heading-weight) clamp(1.6rem,2vw,2.25rem)/1.12 var(--font-editorial); }
.journey-card-head p { color:var(--muted); font-size:.76rem; }
.journey-stage-card-active .journey-card-head p { color:#e1eae1; }
.journey-card-body { display:flex; flex-direction:column; flex:1; min-height:0; padding-top:18px; }
.journey-card-body .section-kicker { font-size:.58rem; line-height:1.4; }
.journey-stage-card-active .section-kicker { color:#d7e9dc; }
.journey-card-body h3 { margin:8px 0 10px; font:var(--heading-weight) clamp(1.55rem,2vw,2.3rem)/1.12 var(--font-editorial); overflow-wrap:anywhere; }
.journey-card-body p { color:var(--muted); font-size:.83rem; line-height:1.45; }
.journey-stage-card-active .journey-card-body p { color:#ecf3ea; }
.journey-scores { display:grid; gap:9px; margin-top:20px; }
.journey-score { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:3px 8px; padding:4px 5px; border-radius:7px; }
.journey-score.is-work-area { background:var(--peach); }
.journey-score span { grid-column:1/-1; font-size:.68rem; line-height:1.25; }
.journey-score progress { width:100%; height:7px; accent-color:#80a58b; }
.journey-score strong { font-size:.63rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.journey-card-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:18px; }
.journey-card-actions .button { display:grid; place-items:center; min-height:44px; padding:8px; font-size:.71rem; line-height:1.25; text-align:center; }
.journey-card-action { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:49px; margin-top:18px; padding:10px; font-size:.83rem; text-align:center; }
.journey-stage-card-active .journey-card-action { background:var(--paper); border-color:var(--paper); color:var(--green); }
.journey-stage-card-active .journey-card-action:hover { background:white; }
.journey-stage-card.journey-stage-creer:not(.journey-stage-card-active) .journey-card-action { background:transparent; border-color:#ddc7b8; color:var(--green); }
.journey-cards-home.journey-stage-diagnosis .journey-stage-card { min-height:clamp(630px, calc(100dvh - 180px), 760px); }
.journey-stage-card.journey-diagnosis-illustrated { overflow:hidden; background:#0b4034 url('/home-diagnosis-start.png') center 20%/cover no-repeat; color:var(--paper); }
.journey-stage-card.journey-diagnosis-pending { position:relative; border-color:#ced8d0; color:var(--green); }
.journey-diagnosis-pending::before { content:""; position:absolute; inset:0; background:rgba(255,255,255,.7); pointer-events:none; }
.journey-diagnosis-pending .journey-card-head p,
.journey-diagnosis-pending .journey-card-body p { color:var(--green); }
.journey-diagnosis-illustrated .journey-card-head { position:relative; z-index:1; }
.journey-diagnosis-spacer, .journey-creer-spacer { flex:1 1 auto; min-height:180px; }
.journey-diagnosis-illustrated .journey-card-body { position:relative; z-index:1; flex:none; padding-top:0; }
.journey-diagnosis-illustrated .journey-card-body h3 { margin-top:0; }
.journey-diagnosis-illustrated .journey-card-action { position:relative; z-index:1; }
.journey-stage-card.journey-creer-illustrated { position:relative; display:flex; overflow:hidden; background:#fff url('/home-workbook-inactive.png?v=2') center 30%/90% auto no-repeat; color:var(--green); }
.journey-stage-card.journey-creer-illustrated.journey-stage-card-active { border-color:#10392f; background:#10392f url('/home-workbook-active.png?v=1') center 30%/90% auto no-repeat; color:var(--paper); }
.journey-creer-illustrated .journey-card-head { position:relative; z-index:1; }
.journey-creer-footer { position:relative; z-index:1; }
.journey-creer-footer h3 { margin:0 0 8px; font:var(--heading-weight) clamp(1.55rem,2vw,2.3rem)/1.1 var(--font-editorial); overflow-wrap:anywhere; }
.journey-cards-home.journey-stage-diagnosis .journey-diagnosis-illustrated .journey-card-body h3,
.journey-cards-home.journey-stage-diagnosis .journey-book-footer h3,
.journey-cards-home.journey-stage-diagnosis .journey-creer-footer h3 { font-size:clamp(1.3rem,1.7vw,1.9rem); }
.journey-creer-footer p { margin:0; color:var(--muted); font-size:.83rem; line-height:1.45; }
.journey-creer-illustrated.journey-stage-card-active .journey-creer-footer p { color:#ecf3ea; }
.journey-cards-home.journey-stage-diagnosis .journey-creer-illustrated .journey-card-action { border-color:var(--terra); color:#a74630; }
.journey-creer-illustrated .journey-card-action { position:relative; z-index:1; }
@media(max-height:820px) and (min-width:981px) {
  .journey-stage-card { min-height:560px; }
  .journey-stage-book.journey-book-illustrated { min-height:560px; }
  .journey-stage-book .journey-book-spacer { min-height:190px; }
  .journey-scores { gap:4px; margin-top:12px; }
}
@media(max-width:1100px) {
  .journey-stage-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .journey-stage-card { min-height:470px; }
  .journey-stage-creer { grid-column:1/-1; min-height:280px; }
  .journey-stage-card.journey-creer-illustrated { grid-column:1/-1; min-height:500px; background-image:linear-gradient(to right,#fff 52%,transparent 68%),url('/home-workbook-inactive.png?v=2'); background-position:center,right center; background-size:100% 100%,auto 100%; }
  .journey-stage-card.journey-creer-illustrated.journey-stage-card-active { background-image:linear-gradient(to right,#10392f 52%,transparent 68%),url('/home-workbook-active.png?v=1'); background-position:center,right center; background-size:100% 100%,auto 100%; }
  .journey-creer-illustrated .journey-creer-footer { max-width:52%; }
}
@media(max-width:760px) {
  .home-screen.journey-cards-home { gap:12px; padding-bottom:12px; }
  .journey-home-heading h1 { font-size:clamp(1.7rem,6vw,2.2rem); }
  .journey-home-heading p { font-size:.77rem; }
  .journey-stage-grid { display:flex; flex-direction:column; gap:10px; }
  .journey-stage-card, .journey-stage-creer { flex:none; min-height:0; padding:17px; }
  .journey-stage-book.journey-book-illustrated { min-height:560px; }
  .journey-cards-home.journey-stage-diagnosis .journey-stage-book.journey-book-illustrated { min-height:680px; background-position:center 20%; background-size:100% auto; }
  .journey-stage-book .journey-book-spacer { min-height:240px; }
  .journey-book-footer h3 { font-size:1.8rem; }
  .journey-book-footer p { font-size:.78rem; }
  .journey-card-head { display:grid; grid-template-columns:34px 1fr; align-items:center; column-gap:10px; padding-bottom:10px; }
  .journey-stage-book .journey-card-head::after { display:none; }
  .journey-card-number { grid-row:1/3; width:32px; height:32px; margin:0; font-size:.8rem; }
  .journey-card-head h2 { font-size:1.45rem; }
  .journey-card-head p { font-size:.7rem; }
  .journey-card-body { padding-top:11px; }
  .journey-card-body h3 { font-size:1.5rem; margin:5px 0; }
  .journey-card-body p { font-size:.74rem; }
  .journey-scores { gap:3px; margin-top:10px; }
  .journey-score { grid-template-columns:minmax(96px,1fr) minmax(70px,1.2fr) auto; gap:5px; padding:3px; }
  .journey-score span { grid-column:auto; font-size:.63rem; }
  .journey-score strong { font-size:.58rem; }
  .journey-card-actions { margin-top:11px; }
  .journey-card-action { min-height:44px; margin-top:13px; }
  .journey-cards-home.journey-stage-diagnosis .journey-stage-card.journey-diagnosis-illustrated { min-height:680px; }
  .journey-diagnosis-spacer { min-height:230px; }
  .journey-stage-card.journey-creer-illustrated { min-height:660px; background-image:url('/home-workbook-inactive.png?v=2'); background-position:center 20%; background-size:cover; }
  .journey-stage-card.journey-creer-illustrated.journey-stage-card-active { background-image:url('/home-workbook-active.png?v=1'); background-position:center 20%; background-size:cover; }
  .journey-creer-illustrated .journey-creer-footer { max-width:none; }
  .journey-creer-spacer { min-height:260px; }
  .journey-creer-footer h3 { font-size:1.5rem; }
  .journey-creer-footer p { font-size:.74rem; }
}
@media(max-width:370px) { .journey-card-actions { grid-template-columns:1fr; }.journey-score { grid-template-columns:minmax(82px,1fr) minmax(55px,1fr) auto; } }
