/* ---- Fonts: Fredoka (headings, buttons) + Andika (body), self-hosted ----
   Both OFL. Subsets latin + latin-ext, pulled from Google Fonts. */
@font-face{font-family:'Fredoka';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/fredoka-400_700-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/fredoka-400_700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Andika';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/andika-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Andika';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/andika-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Andika';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/andika-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Andika';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/andika-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  /* Brand, from the Take Charge! logo */
  --brand-blue:#0061AA;
  --brand-blue-dark:#004c86;
  --navy:#1F2A44;
  --ink:#3A4459;
  --muted:#5b657a;

  /* Journey stages */
  --stage-understand:#F0846E;
  --stage-recognise:#F3A17B;
  --stage-action:#FCCC61;
  --stage-picture:#A3C88A;
  --stage-share:#8FB8DA;
  --stage-powerbank:#0061AA;

  /* Surfaces */
  --paper:#ffffff;
  --white:#ffffff;
  --cream:#FEF3D6;
  --cream-2:#f6e3b4;
  --tint-blue:#eaf2f9;
  --on-blue:#ffffff;   /* text on logo blue (buttons, blue band, Power Bank card) */
  --line:#dde3ec;

  /* Legacy aliases, retargeted onto the palette above so older rules
     pick up the new look without being rewritten one by one. */
  --terracotta:var(--brand-blue);
  --terracotta-2:var(--stage-picture);
  --sage:var(--brand-blue);
  --sage-2:var(--tint-blue);
  --blue:var(--tint-blue);
  --gold:var(--cream);
  --plum:var(--muted);

  --focus:#1F2A44;
  --shadow:0 18px 50px rgba(31,42,68,.08);
  --radius:22px;
  --radius-sm:14px;
  --max:1180px;
  --font-head:'Fredoka',ui-rounded,'Trebuchet MS',system-ui,sans-serif;
  --font-body:'Andika',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  background:#ffffff;
  color:var(--ink);
  line-height:1.58;
  -webkit-font-smoothing:antialiased;
}
button,a,input,textarea,select{font:inherit}
button,a{touch-action:manipulation}
a{color:inherit}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;box-shadow:0 0 0 6px rgba(252,204,97,.55)}
.skip-link{position:absolute;left:-9999px;top:8px;background:var(--navy);color:#fff;padding:.7rem 1rem;border-radius:10px;z-index:9999}
.skip-link:focus{left:8px}
.shell{min-height:100vh;display:flex;flex-direction:column}
.site-header{
  position:sticky;top:0;z-index:40;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(216,208,196,.8);
}
.header-inner{max-width:var(--max);margin:0 auto;padding:.9rem 1.25rem;display:flex;align-items:center;gap:1rem}
.brand{display:inline-flex;align-items:center;gap:.7rem;text-decoration:none;font-family:var(--font-head);font-weight:600;letter-spacing:-.01em;font-size:1.25rem;white-space:nowrap;color:var(--brand-blue)}

.top-nav{display:flex;align-items:center;gap:.25rem;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.top-nav a,.top-nav button{border:0;background:transparent;padding:.65rem .75rem;border-radius:10px;text-decoration:none;color:var(--ink);font-weight:400;cursor:pointer}
.top-nav a:hover,.top-nav button:hover{background:rgba(255,255,255,.65);color:var(--ink)}
.header-actions{display:flex;gap:.55rem;margin-left:.5rem}
.btn{border:1px solid var(--brand-blue);background:var(--brand-blue);color:var(--on-blue);font-family:var(--font-head);border-radius:999px;padding:.78rem 1.05rem;font-weight:500;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:44px}
.btn:hover{background:var(--brand-blue-dark);border-color:var(--brand-blue-dark)}
.btn.secondary{background:transparent;color:var(--brand-blue);border-color:var(--brand-blue)}
.btn.secondary:hover{background:var(--tint-blue);border-color:var(--brand-blue-dark)}
.btn.soft{background:var(--white);color:var(--brand-blue);border-color:var(--white)}
.btn.soft:hover{background:#fff;border-color:#fff}
.btn.small{padding:.55rem .8rem;min-height:38px;font-size:.9rem}
.menu-btn{display:none}
.page{display:none;flex:1}
.page.active{display:block}
.wrap{max-width:var(--max);margin:0 auto;padding:4.5rem 1.25rem}
.wrap.tight{max-width:920px}
.section>.wrap{padding-top:0;padding-bottom:0}
.hero{padding-top:5.2rem;padding-bottom:4.5rem}
.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:3rem;align-items:center}
h1,h2,h3,h4{font-family:var(--font-head);line-height:1.16;margin:0;color:var(--brand-blue);letter-spacing:-.01em}
h1{font-size:clamp(2.1rem,4.6vw,3.3rem);font-weight:600}
h2{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:600}
h3{font-size:1.2rem;font-weight:600}
h4{font-size:1rem;font-weight:600}
.hero p.lead,.lead{font-size:clamp(1.05rem,1.7vw,1.32rem);max-width:67ch;color:var(--muted);margin:1.4rem 0 0}
.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.7rem}
.micro{font-size:.88rem;color:var(--muted)}
.hero-art{background:var(--paper);border:1px solid var(--line);border-radius:32px;min-height:480px;box-shadow:var(--shadow);position:relative;overflow:hidden;padding:1.35rem}
.hero-art .scene{height:100%;min-height:445px;background:linear-gradient(155deg,#efe2d4 0%,#dce8ea 58%,#dfe6db 100%);border-radius:24px;position:relative;overflow:hidden}
.scene .window{position:absolute;right:9%;top:8%;width:54%;height:53%;background:#fdfcf7;border:8px solid rgba(255,255,255,.45);border-radius:22px;box-shadow:0 18px 30px rgba(0,0,0,.08);transform:rotate(4deg)}
.scene .window:before{content:"My Power Bank";position:absolute;left:22px;top:18px;font-weight:900;font-size:.8rem;letter-spacing:.08em;color:var(--terracotta)}
.scene .window:after{content:"What fatigue is like for me\A When it shows up\A What helps\A What I want you to know";white-space:pre;position:absolute;left:22px;top:62px;right:22px;font-family:var(--font-head);font-size:1.08rem;line-height:2.05;color:var(--ink)}
.scene .person{position:absolute;left:12%;bottom:10%;width:120px;height:170px}
.scene .head{width:56px;height:56px;border-radius:50%;background:#c48765;position:absolute;left:32px;top:0}
.scene .body{width:96px;height:112px;border-radius:45px 45px 20px 20px;background:var(--terracotta);position:absolute;left:10px;top:48px;transform:rotate(-3deg)}
.scene .arm{width:92px;height:24px;border-radius:20px;background:#c48765;position:absolute;left:60px;top:92px;transform:rotate(-24deg)}
.scene .tablet{width:100px;height:70px;background:var(--ink);border-radius:10px;position:absolute;left:112px;bottom:56px;transform:rotate(4deg)}
.scene .tablet:after{content:"Take Charge!";position:absolute;inset:5px;background:var(--paper);border-radius:7px;display:grid;place-items:center;font-size:.62rem;font-weight:900;color:var(--terracotta)}
.tag{display:inline-flex;gap:.4rem;align-items:center;border-radius:999px;padding:.35rem .65rem;font-size:.78rem;font-weight:700;background:var(--tint-blue);color:var(--navy)}
.tag.orange{background:var(--cream);color:var(--navy)}
.tag.blue{background:var(--tint-blue);color:var(--navy)}
.section{padding:5rem 0}
.section.white{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section.dark{background:var(--navy);color:#fff}
.section.dark h2,.section.dark h3,.section.dark h4{color:#fff}
.section.dark p{color:#d8d6d0}
.section-head{display:flex;justify-content:space-between;gap:2rem;align-items:end;margin-bottom:2.1rem}
.section-head p{max-width:600px;color:var(--muted);margin:.7rem 0 0}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.cards.five{grid-template-columns:repeat(5,1fr)}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.35rem;min-height:190px}
.card h3{margin:.5rem 0 .55rem}
.card p{color:var(--muted);margin:0}
.card .num{font-weight:900;color:var(--terracotta);font-size:.8rem;letter-spacing:.1em}
.iconbox{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:var(--sage-2);font-size:1.5rem}
.story-strip{display:grid;grid-template-columns:1.1fr .9fr;gap:1.2rem;align-items:stretch}
.story-photo{background:linear-gradient(135deg,#23374f,#8fbe38);min-height:340px;border-radius:var(--radius);position:relative;overflow:hidden}
.story-photo:after{content:"Co-design\A workshop photography";white-space:pre;position:absolute;left:24px;bottom:22px;color:#fff;font-weight:850;letter-spacing:.08em;font-size:.78rem}
.story-copy{background:var(--brand-blue);color:#fff;border-radius:var(--radius);padding:2rem;display:flex;flex-direction:column;justify-content:center}
.story-copy h2{color:#fff}
.story-copy p{color:#ddd9d2}
.journey{display:grid;grid-template-columns:repeat(6,1fr);gap:.65rem;margin-top:1.7rem}
.journey-step{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:1rem;min-height:138px;position:relative}
.journey-step strong{display:block;font-size:.76rem;letter-spacing:.02em;color:var(--terracotta);margin-bottom:.35rem}
.journey-step span{font-family:var(--font-head);font-size:1.1rem;font-weight:650}
.video-feature{display:grid;grid-template-columns:1.2fr .8fr;gap:1rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1rem}
.video-thumb{border-radius:18px;min-height:310px;background:linear-gradient(145deg,#23374f,#9dbb73);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.video-thumb.alt{background:linear-gradient(145deg,#314f70,#dbe8ef)}
.video-thumb.sage{background:linear-gradient(145deg,#5f7d35,#dfecc8)}
.video-thumb.plum{background:linear-gradient(145deg,#63758a,#d9e1e8)}
.video-thumb.gold{background:linear-gradient(145deg,#6f942c,#e7f2cf)}
.play{width:72px;height:72px;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center;font-size:1.5rem;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.video-label{position:absolute;left:16px;right:16px;bottom:14px;background:rgba(255,255,255,.93);border-radius:14px;padding:.8rem 1rem;font-weight:800}
.video-meta{padding:1rem 1rem 1rem .3rem;display:flex;flex-direction:column;justify-content:center}
.video-meta p{color:var(--muted)}
.quote{font-family:var(--font-body);font-style:italic;font-size:1.12rem;line-height:1.5;margin:1rem 0;color:var(--ink)}
.asset-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.asset-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.asset-thumb{height:150px;background:linear-gradient(145deg,#d6b29a,#efe2d4);display:grid;place-items:center;position:relative}
.asset-thumb .play{width:52px;height:52px;font-size:1.05rem}
.asset-card .body{padding:1rem}
.asset-card h3{font-size:1.12rem;margin:.25rem 0 .4rem}
.asset-card p{margin:0;color:var(--muted);font-size:.9rem}
.asset-status{font-size:.75rem;font-weight:800;letter-spacing:.01em;color:var(--sage)}
.resource-audience-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin:1.5rem 0 2.25rem}
.resource-audience-card{position:relative;display:flex;flex-direction:column;min-height:285px;padding:1.35rem;border:1px solid var(--line);border-radius:22px;background:#fff;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;overflow:hidden}
.resource-audience-card:hover{transform:translateY(-3px);border-color:#a6b8c8;box-shadow:var(--shadow)}
.resource-audience-card.active{border-color:var(--brand-blue);box-shadow:0 0 0 2px rgba(0,97,170,.14)}
.resource-audience-card .audience-icon{width:74px;height:74px;border-radius:20px;background:var(--sage-2);display:grid;place-items:center;margin-bottom:1rem;overflow:hidden}
.resource-audience-card .audience-icon.blue{background:var(--blue)}
.resource-audience-card .audience-icon img{max-width:72%;max-height:72%;object-fit:contain}
.resource-audience-card .audience-icon svg{width:42px;height:42px;stroke:var(--ink);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.resource-audience-card h3{font-size:1.42rem;margin:0 0 .55rem}
.resource-audience-card p{margin:0 0 1rem;color:var(--muted);font-size:.94rem;line-height:1.52}
.resource-audience-card .resource-link{margin-top:auto;font-weight:800;color:var(--sage);font-size:.9rem}
.resource-library-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:2rem 0 1rem}
.resource-library-head p{margin:.4rem 0 0;color:var(--muted)}
.resource-count{font-size:.9rem;font-weight:750;color:var(--muted);white-space:nowrap}
.asset-card.resource-item{display:flex;flex-direction:column;min-width:0}
.asset-card.resource-item .asset-thumb{background:linear-gradient(145deg,#e8f0f6,#eef6df);color:var(--ink)}
.asset-card.resource-item .body{display:flex;flex-direction:column;flex:1;min-width:0}
.asset-card.resource-item h3,.asset-card.resource-item p{overflow-wrap:anywhere}
.resource-card-icon{width:56px;height:56px;border-radius:16px;background:#fff;display:grid;place-items:center;border:1px solid rgba(35,55,79,.12);font-weight:900;font-size:1.1rem}
.clinician-resource-card{min-height:260px;display:flex;flex-direction:column}
.clinician-resource-card .resource-card-icon{margin-bottom:.9rem}
.clinician-resource-card .btn{margin-top:auto;align-self:flex-start}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.four-col{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem}
.panel p{color:var(--muted)}
.callout{background:var(--cream);border:1px solid var(--cream-2);border-radius:var(--radius);padding:1.5rem}
.callout.orange{background:var(--tint-blue);border-color:#c9dcec}
.callout.blue{background:var(--tint-blue);border-color:#c9dcec}
.callout.gold{background:var(--cream);border-color:var(--cream-2)}
.pill-list{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.8rem}
.pill{border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:.55rem .8rem;font-size:.9rem}
.timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.7rem;margin-top:1.2rem}
.timeline .item{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:1rem;min-height:130px}
.timeline .item strong{color:var(--terracotta);display:block;margin-bottom:.35rem}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.person-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:1rem}
.avatar{height:170px;border-radius:14px;background:linear-gradient(155deg,#ddc7b6,#c7d5cf);position:relative;overflow:hidden;margin-bottom:.8rem}
.avatar:before{content:"";position:absolute;width:65px;height:65px;border-radius:50%;background:#bd8367;left:50%;top:28px;transform:translateX(-50%)}
.avatar:after{content:"";position:absolute;width:115px;height:95px;border-radius:52px 52px 18px 18px;background:var(--terracotta);left:50%;bottom:0;transform:translateX(-50%)}
.access-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1.4rem}
.age-card{background:var(--paper);border:2px solid transparent;border-radius:20px;padding:1.3rem;cursor:pointer;min-height:200px;text-align:left}
.age-card:hover,.age-card.selected{border-color:var(--terracotta);box-shadow:var(--shadow)}
.age-card .age{font-family:var(--font-head);font-size:2rem;font-weight:700}
.age-card p{color:var(--muted)}
.signup-panel{display:none;margin-top:1rem}
.signup-panel.visible{display:block}
.field{margin-bottom:1rem}
label{font-weight:700;display:block;margin-bottom:.4rem}
input[type=text],input[type=email],input[type=number],textarea,select{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:.78rem .85rem;color:var(--ink)}
textarea{min-height:90px;resize:vertical}
.check-row{display:flex;gap:.7rem;align-items:flex-start;margin:.8rem 0}
.check-row input{margin-top:.25rem}
.check-row label{font-weight:500;margin:0;color:var(--muted)}
.page-title{padding-top:4.7rem;padding-bottom:2.5rem}
.page-title h1{font-size:clamp(2rem,4.4vw,3rem)}
.page-title .lead{max-width:760px}
.faq details{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:1rem 1.1rem;margin-bottom:.65rem}
.faq summary{font-weight:800;cursor:pointer}
.faq details p{color:var(--muted)}
.research-ref{font-size:.88rem;color:var(--muted);border-top:1px solid var(--line);padding-top:.8rem;margin-top:.8rem}
.footer{margin-top:auto;background:var(--navy);color:#eee;padding:3rem 1.25rem}
.footer-inner{max-width:var(--max);margin:auto;display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:2rem}
.footer a{color:#ddd;text-decoration:none;display:block;margin:.35rem 0}
.footer .disclaimer{color:#c8c8c3;max-width:620px}
.footer h4{color:#fff}

.brand-logo{display:block;height:56px;width:auto}
.brand-mark{width:74px;height:42px;border-radius:0;background:transparent;color:inherit;display:grid;place-items:center;flex:0 0 74px;overflow:visible}
.brand-logo-image{display:block;width:68px;height:auto;max-width:68px;object-fit:contain}
.journey-step,.card,.panel,.module-card,.power-intro{min-width:0;overflow-wrap:break-word}
.journey-step{min-height:168px;overflow:hidden;display:flex;flex-direction:column}
.journey-step .micro{margin:.5rem 0 0}
.product-hero{display:flex;align-items:center;justify-content:center;background:#fff;padding:1.5rem;min-height:480px}
.hero-product-stack{text-align:center;width:100%}
.hero-product-image{display:block;max-width:430px;width:88%;height:auto;margin:0 auto}
.hero-product-caption{max-width:420px;margin:1rem auto 0;padding:1rem 1.15rem;border:1px solid var(--line);border-radius:16px;background:#f7faf4;text-align:left}
.hero-product-caption strong{display:block;margin-top:.2rem;font-family:var(--font-head);font-size:1.1rem;line-height:1.25}
.power-intro-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:2rem;align-items:start}
.power-bank-picture{border:1px solid var(--line);border-radius:22px;background:#f7faf4;padding:1.2rem;display:flex;align-items:center;justify-content:center;min-height:360px}
.power-bank-picture img{display:block;width:100%;max-width:390px;height:auto}

/* App */
.app-page{background:#ffffff;min-height:calc(100vh - 68px)}
.app-top{position:sticky;top:67px;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.app-top-inner{max-width:1100px;margin:auto;padding:.75rem 1.25rem;display:flex;align-items:center;gap:1rem;min-width:0}
.app-progress{display:flex;gap:.35rem;overflow:auto;scrollbar-width:none;flex:1;min-width:0}
.app-progress a{white-space:nowrap;text-decoration:none;border-radius:999px;border:1px solid var(--line);padding:.5rem .72rem;font-size:.76rem;font-weight:800;color:var(--muted);background:#fff;flex:0 0 auto;max-width:100%}
.app-progress a.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.app-wrap{max-width:980px;margin:0 auto;padding:3.4rem 1.25rem 5rem}
.app-hero{text-align:center;max-width:780px;margin:0 auto 2rem}
.app-hero h1{font-size:clamp(2.8rem,7vw,5.1rem)}
.app-hero p{font-size:1.12rem;color:var(--muted)}
.module-index{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.module-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:1.4rem;min-height:210px;cursor:pointer}
.module-card:hover{border-color:var(--terracotta);box-shadow:var(--shadow)}
.module-card .label{font-size:.78rem;letter-spacing:.01em;font-weight:850;color:var(--terracotta)}
.module-card p{color:var(--muted)}
.lesson{background:#fff;border:1px solid var(--line);border-radius:26px;padding:1.6rem;margin:1rem 0 1.25rem}
.lesson h2{font-size:2.15rem}
.lesson p{color:var(--muted)}
.lesson-nav{display:flex;justify-content:space-between;gap:1rem;margin-top:1.6rem}
.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.7rem;margin:1rem 0}
.choice-grid.three{grid-template-columns:repeat(3,1fr)}
.choice{border:1px solid var(--line);background:#fff;border-radius:16px;padding:.95rem 1rem;text-align:left;cursor:pointer;min-height:58px;color:var(--ink);font-weight:700}
.choice:hover{border-color:var(--terracotta-2)}
.choice.selected{background:var(--ink);color:#fff;border-color:var(--ink)}
.remember{display:none;margin:.85rem 0;background:var(--sage-2);border-radius:14px;padding:.7rem .9rem;color:#3c4738;font-weight:700}
.remember.show{display:block}
.dimension-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.7rem}
.dimension-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1rem;cursor:pointer;min-height:170px}
.dimension-card.selected{border-color:var(--terracotta);box-shadow:inset 0 0 0 1px var(--terracotta)}
.dimension-card .dim-icon{width:46px;height:46px;border-radius:15px;background:var(--sage-2);display:grid;place-items:center;font-size:1.35rem;margin-bottom:.65rem}
.dimension-card p{font-size:.86rem;color:var(--muted)}
.strategy-section{margin-top:1.2rem}
.strategy-section h3{margin-bottom:.8rem}
.metaphor-feature{display:grid;grid-template-columns:.9fr 1.1fr;gap:1rem;margin:1.1rem 0}
.metaphor-art{background:#fff;border:1px solid var(--line);border-radius:20px;padding:1.1rem;min-height:280px;display:grid;place-items:center}
.metaphor-copy{background:#fff;border:1px solid var(--line);border-radius:20px;padding:1.4rem}
.metaphor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}
.metaphor-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1rem;cursor:pointer;text-align:left}
.metaphor-card.selected{border-color:var(--terracotta);box-shadow:inset 0 0 0 1px var(--terracotta)}
.metaphor-card p{font-size:.86rem;color:var(--muted)}
.metaphor-mini{height:120px;display:grid;place-items:center;background:var(--cream);border-radius:14px;margin-bottom:.7rem;overflow:hidden}
.metaphor-mini svg{max-width:100%;max-height:110px}
.power-intro{background:#fff;border:1px solid var(--line);border-radius:28px;padding:2rem}
.power-intro ul{columns:2;padding-left:1.25rem}
.status-list{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem;margin:1rem 0}
.status-item{display:flex;justify-content:space-between;gap:1rem;background:var(--cream);border-radius:14px;padding:.75rem .9rem}
.status-item strong{font-size:.92rem}
.builder{display:grid;grid-template-columns:230px 1fr;gap:1.2rem;align-items:start}
.builder-nav{position:sticky;top:145px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:.7rem}
.builder-nav button{width:100%;text-align:left;border:0;background:transparent;border-radius:11px;padding:.68rem .7rem;font-weight:750;color:var(--muted);cursor:pointer}
.builder-nav button.active{background:var(--ink);color:#fff}
.builder-step{display:none;background:#fff;border:1px solid var(--line);border-radius:22px;padding:1.5rem}
.builder-step.active{display:block}
.builder-step h2{font-size:2rem;margin-bottom:.55rem}
.builder-step .intro{color:var(--muted)}
.radio-pills,.check-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0 1rem}
.radio-pills label,.check-pills label{display:flex;align-items:center;gap:.4rem;border:1px solid var(--line);border-radius:999px;padding:.55rem .8rem;cursor:pointer;font-weight:650;margin:0;background:#fff}
.radio-pills label.selected,.check-pills label.selected{background:var(--ink);color:#fff;border-color:var(--ink)}
.radio-pills input,.check-pills input{position:absolute;opacity:0;pointer-events:none}
.pb-dimension{border:1px solid var(--line);border-radius:16px;padding:1rem;margin:.8rem 0}
.pb-dimension-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.example-box{background:var(--cream);border-radius:14px;padding:.8rem;margin-top:.8rem}
.example-btn{display:block;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:10px;padding:.55rem .7rem;margin:.4rem 0;cursor:pointer}
.output{background:#fff;border:1px solid var(--line);border-radius:24px;padding:2rem;box-shadow:var(--shadow)}
.output h1{font-size:2.8rem}
.output-section{margin-top:1.5rem;border-top:1px solid var(--line);padding-top:1.2rem}
.output-section h3{color:var(--terracotta)}
.output ul{padding-left:1.2rem}
.output .two{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.metaphor-output{margin-top:1.6rem;background:var(--cream);border-radius:18px;padding:1.2rem;display:grid;grid-template-columns:180px 1fr;gap:1rem;align-items:center}
.metaphor-output svg{width:100%}
.developer-note{background:#fff4c7;border:1px solid #ead58a;border-radius:12px;padding:.7rem .85rem;font-size:.85rem;color:#665214;margin:1rem 0}
.modal{display:none;position:fixed;inset:0;background:rgba(18,20,18,.68);z-index:100;align-items:center;justify-content:center;padding:1rem}
.modal.open{display:flex}
.modal-card{max-width:720px;width:100%;background:#fff;border-radius:24px;padding:1.4rem;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.modal-card .close{float:right;border:0;background:var(--cream);border-radius:999px;width:42px;height:42px;cursor:pointer}
.modal-card .prototype-video{height:340px;border-radius:18px;background:#242824;color:#fff;display:grid;place-items:center;text-align:center;padding:2rem;margin-top:1rem}
.modal-card .prototype-video strong{font-family:var(--font-head);font-size:1.6rem}
.transcript{background:var(--cream);border-radius:14px;padding:1rem;margin-top:1rem;color:var(--muted)}

.message-options{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-top:1rem}
.message-card{display:block;border:1px solid var(--line);border-radius:16px;padding:1rem;background:#fff;cursor:pointer}
.message-card.selected{border-color:var(--sage);box-shadow:inset 0 0 0 1px var(--sage);background:var(--sage-2)}
.message-card input{position:absolute;opacity:0;pointer-events:none}
.message-card strong{display:block;margin-bottom:.35rem}
.message-card p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.5}
.output-main-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem;align-items:start}
.output-main-grid .output-section{margin-top:.85rem;padding-top:.7rem}
.output-main-grid .metaphor-output{grid-template-columns:105px 1fr;margin-top:.85rem;padding:.8rem}
.output-main-grid .metaphor-output svg{max-height:105px}
.publication-card{margin-top:1rem;background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.2rem}
.publication-card h3{margin:.25rem 0 .5rem}
.publication-card .plain-summary{background:var(--cream);border-radius:14px;padding:.9rem;margin:.9rem 0}
.publication-card a{font-weight:700;color:var(--brand-blue)}
@media print{
  @page{size:A4 portrait;margin:7mm}
  .site-header,.app-top,.output-actions,.footer,.builder-nav{display:none!important}
  html,body{background:#fff!important;margin:0!important;padding:0!important}
  .page{display:none!important}
  #page-powerbank-output{display:block!important}
  .app-wrap{padding:0!important;max-width:none!important;margin:0!important}
  #powerbankOutput{width:100%!important}
  .output{border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;width:196mm!important;max-width:196mm!important;font-size:7.8pt!important;line-height:1.22!important;color:#111!important}
  .output .eyebrow{font-size:7pt!important;margin:0!important}
  .output h1{font-size:16.5pt!important;line-height:1.05!important;margin:.6mm 0 1.5mm!important}
  .output .lead{font-size:8pt!important;line-height:1.22!important;margin:1.2mm 0 1.5mm!important}
  .output .callout{padding:1.4mm 2mm!important;margin:1.2mm 0!important;border-radius:2mm!important;font-size:7.5pt!important;line-height:1.22!important}
  .output-main-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4mm!important;align-items:start!important}
  .output-section{margin-top:1.6mm!important;padding-top:1.2mm!important;border-top:.3mm solid #ddd!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .output-section h3{font-size:9.2pt!important;line-height:1.1!important;margin:0 0 .7mm!important}
  .output-section h4{font-size:8pt!important;margin:0 0 .6mm!important}
  .output-section p{margin:.45mm 0!important}
  .output ul{padding-left:4mm!important;margin:.5mm 0!important}
  .output li{margin:.25mm 0!important}
  .output .two{gap:3mm!important}
  .metaphor-output{margin-top:1.6mm!important;padding:1.6mm!important;border-radius:2mm!important;grid-template-columns:25mm 1fr!important;gap:2mm!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .metaphor-output svg{width:24mm!important;max-height:22mm!important}
  .metaphor-output h3{font-size:9pt!important;margin:0 0 .5mm!important}
  .metaphor-output p{font-size:7.4pt!important;line-height:1.18!important;margin:0!important}
  .output-signoff{margin-top:1.4mm!important;font-size:7.5pt!important}
}
@media (max-width:980px){
  .top-nav{display:none}
  .menu-btn{display:inline-flex;margin-left:auto}
  .header-actions{display:none}
  .hero-grid,.story-strip,.video-feature,.two-col,.metaphor-feature{grid-template-columns:1fr}
  .cards,.cards.five,.asset-grid,.four-col,.team-grid,.access-grid{grid-template-columns:repeat(2,1fr)}
  .journey,.timeline{grid-template-columns:repeat(3,1fr)}
  .dimension-grid{grid-template-columns:repeat(2,1fr)}
  .builder{grid-template-columns:1fr}
  .builder-nav{position:static;display:flex;overflow:auto;gap:.35rem}
  .builder-nav button{min-width:max-content}
}
@media (max-width:640px){
  .wrap{padding:3rem 1rem}
  .hero{padding:3rem 0}
  .hero-art{min-height:380px}
  .hero-art .scene{min-height:350px}
  .cards,.cards.five,.asset-grid,.three-col,.four-col,.team-grid,.access-grid,.module-index,.choice-grid,.choice-grid.three,.dimension-grid,.metaphor-grid,.status-list{grid-template-columns:1fr}
  .journey,.timeline{grid-template-columns:1fr 1fr}
  .footer-inner{grid-template-columns:1fr}
  .power-intro ul{columns:1}
  .output .two,.metaphor-output,.power-intro-grid,.output-main-grid,.message-options{grid-template-columns:1fr}
  .power-bank-picture{min-height:260px}
  .brand-logo-image{width:58px;height:auto;max-width:58px}.brand-mark{width:62px;flex-basis:62px}
  .app-progress a{font-size:.72rem}
  .lesson-nav{flex-direction:column-reverse}
  .lesson-nav .btn{width:100%}
}



/* ---- Home page, laid out to the 29/09 mock-up ---- */
.hero-placeholder{min-height:320px}
.help-grid{margin:1.6rem 0}
.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.2rem;align-items:center}
.stack{display:grid;gap:1rem}
.nowrap-head{white-space:nowrap}
.video-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;
  width:100%;min-height:320px;padding:1.5rem;border:0;border-radius:var(--radius);
  background:var(--tint-blue);color:var(--brand-blue);cursor:pointer}
.video-tile .play{box-shadow:0 8px 20px rgba(31,42,68,.16)}
.video-tile-label{font-family:var(--font-head);font-weight:600;font-size:.95rem}
.fatigue-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem;align-items:start}
.fatigue-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:.9rem;min-width:0}
.fatigue-card h3{font-size:1rem;margin:0 0 .2rem;color:var(--navy)}
.fatigue-card p{margin:0 0 .6rem;color:var(--muted);font-size:.86rem;line-height:1.4}
.fatigue-card img{display:block;width:100%;max-width:92px;height:auto;margin:auto}
.fatigue-grid>.fatigue-card:last-child{grid-column:1 / 2}
.band{border-radius:var(--radius);padding:2.4rem}
.band.cream{background:var(--cream)}
/* .blue, not .brand: .brand is the header logo link (inline-flex, nowrap) */
.band.blue{background:var(--brand-blue);color:var(--on-blue)}
.band.blue h2,.band.blue h3{color:var(--on-blue)}
.band.blue p{color:rgba(255,255,255,.93)}
.placeholder.on-brand{border-color:rgba(255,255,255,.85);background:rgba(255,255,255,.12);color:#fff}

/* ---- Resource library: still-frame thumbnails and locked teasers ---- */
.asset-thumb{overflow:hidden}
.thumb-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.asset-thumb .play,.asset-thumb .lock{position:relative;z-index:1}
.lock{width:52px;height:52px;border-radius:50%;background:#fff;color:var(--navy);
  display:grid;place-items:center;font-size:1.2rem;box-shadow:0 8px 20px rgba(31,42,68,.18)}
.asset-card.locked .asset-thumb{background:var(--tint-blue)}
.asset-card.locked .thumb-still{opacity:.45}
.asset-card.locked h3{color:var(--muted)}
.locked-link{display:inline-block;margin-top:.6rem;font-weight:700;color:var(--brand-blue);font-size:.9rem;text-decoration:none}
.resource-audience-card .audience-art{width:100%;min-height:92px;margin-bottom:1rem}
.person-card .placeholder{min-height:150px;margin-bottom:.7rem}
.person-card h3{font-size:1.05rem}

/* ---- "Three ways to use Take Charge!" (How it works) ---- */
.way{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.8rem;margin-bottom:1.2rem}
.way>h3{font-size:1.35rem;color:var(--navy);margin-bottom:.4rem}
.way>p{color:var(--muted);margin:0}
.way-num{width:36px;height:36px;border-radius:50%;background:var(--brand-blue);color:#fff;
  display:grid;place-items:center;font-family:var(--font-head);font-weight:600;margin-bottom:.9rem}
.way .stage-grid{margin:1.4rem 0}
.way .pill-list{margin:1.1rem 0 0}
.stage-grid .stage-card h3{color:var(--stage-text,var(--navy))}
.video-tile.wide{min-height:420px;margin-top:1.8rem}
.save-band{display:flex;align-items:center;justify-content:space-between;gap:1.6rem;flex-wrap:wrap}
.save-band h3{color:var(--navy)}
.save-band p{margin:.3rem 0 0;max-width:62ch}

/* ---- Journey stages (Understand it -> My Power Bank) ---- */
.stage-understand{--stage:var(--stage-understand)}
.stage-recognise{--stage:var(--stage-recognise)}
.stage-action{--stage:var(--stage-action)}
.stage-picture{--stage:var(--stage-picture)}
.stage-share{--stage:var(--stage-share)}
.stage-powerbank{--stage:var(--stage-powerbank);--stage-text:var(--on-blue)}
.stage-card{background:var(--stage);color:var(--stage-text,var(--navy));border:0;border-radius:var(--radius);padding:1.35rem;display:flex;flex-direction:column;gap:.6rem;min-width:0}
.stage-card h3,.stage-card h4{color:var(--stage-text,var(--navy))}
.stage-card p{color:var(--stage-text,var(--navy));margin:0}
.stage-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.4rem .9rem;background:var(--stage);color:var(--stage-text,var(--navy));font-family:var(--font-head);font-weight:600;font-size:.92rem;text-decoration:none}

/* ---- Placeholder for artwork Debbie has not supplied yet ----
   Dashed blue box, as drawn in the 29/09 mock-up. Every one of these is a
   content gap tracked in the supply checklist, not a design choice. */
.placeholder{display:grid;place-items:center;text-align:center;gap:.2rem;min-height:130px;padding:1rem;
  border:2px dashed var(--brand-blue);border-radius:16px;background:rgba(255,255,255,.55);
  color:var(--brand-blue);font-family:var(--font-head);font-weight:600;font-size:.82rem;line-height:1.35}
.placeholder.media{min-height:280px;background:var(--tint-blue)}
.placeholder.inline{min-height:86px;font-size:.76rem}
.stage-card .placeholder{background:rgba(255,255,255,.45);margin-top:auto}
/* the icon slot is a small square at the foot of the card, as drawn */
.stage-card .placeholder.inline{align-self:flex-end;width:96px;min-height:96px;margin-top:auto}

/* ---- Website additions (not in the prototype) ---- */
.mobile-menu{display:none;border-top:1px solid var(--line);padding:.7rem 1rem;background:var(--paper)}
.mobile-menu.open{display:block}
.mobile-menu-inner{display:grid;gap:.25rem}
.mobile-menu .btn{text-align:left}
.top-nav a.active{color:var(--brand-blue);font-weight:700;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
.video-embed{position:relative;width:100%;aspect-ratio:16/9;border-radius:var(--radius-sm);overflow:hidden;background:#111}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.contact-form{display:grid;gap:1rem;max-width:560px}
.contact-form label{display:grid;gap:.35rem;font-weight:700}
.contact-form input,.contact-form select,.contact-form textarea{padding:.75rem .9rem;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;font-weight:400}
.contact-form .trap{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form-msg{display:none;padding:.8rem 1rem;border-radius:var(--radius-sm);margin:0 0 1rem}
.form-msg.success{display:block;background:var(--sage-2);color:var(--sage)}
.form-msg.error{display:block;background:#fbe9e7;color:#8a2b1d}
.resource-item.hidden{display:none}

/* ---- Responsive layer (website) ----
   The prototype only breaks at 980px and 640px and leaves several grids
   unhandled. Rules below fix those gaps and add a tablet step. */
img,svg,video,iframe{max-width:100%}
img{height:auto}
a.resource-audience-card,a.asset-thumb{text-decoration:none;color:inherit}
.resource-audience-card{text-align:left}
.journey.three{grid-template-columns:repeat(3,1fr)}
.modal-card{max-height:calc(100vh - 2rem);overflow:auto;-webkit-overflow-scrolling:touch}

/* Tablet (portrait) and below */
@media (max-width:980px){
  .section-head,.resource-library-head{flex-direction:column;align-items:flex-start;gap:.6rem}
  .section-head p{margin-top:.4rem}
  .resource-audience-grid{grid-template-columns:repeat(2,1fr)}
  .resource-audience-card{min-height:0}
  .footer-inner{grid-template-columns:1fr 1fr}
  .footer-inner>div:first-child{grid-column:1 / -1}
  .hero-art{min-height:0;padding:1rem}
  .split-grid{grid-template-columns:1fr;gap:1.6rem}
  .four-col{grid-template-columns:repeat(2,1fr)}
  .hero-placeholder{min-height:220px}
  .video-tile{min-height:240px}
  .video-tile.wide{min-height:260px}
  .way{padding:1.25rem}
  .band{padding:1.8rem}
  .hero{padding-top:3.6rem;padding-bottom:3rem}
  .page-title{padding-top:3.6rem;padding-bottom:2rem}
  .section{padding:3.6rem 0}
}

/* Large phones / small tablets */
@media (max-width:760px){
  .three-col,.cards{grid-template-columns:1fr}
  .journey,.timeline,.journey.three{grid-template-columns:repeat(2,1fr)}
  .story-photo{min-height:220px}
  .nowrap-head{white-space:normal}
  .fatigue-grid{grid-template-columns:repeat(2,1fr)}
  .fatigue-grid>.fatigue-card:last-child{grid-column:auto}
  .video-thumb{min-height:220px}
  .avatar{height:140px}
  .modal-card{padding:1rem;border-radius:18px}
  .modal-card .prototype-video{height:220px;padding:1.2rem}
  .modal-card .prototype-video strong{font-size:1.2rem}
}

/* Phones */
@media (max-width:640px){
  h1,.page-title h1,.hero h1{font-size:clamp(2.35rem,10.5vw,3rem);letter-spacing:-.035em}
  h2{font-size:clamp(1.7rem,7.5vw,2.3rem)}
  h3{font-size:1.3rem}
  .lead,.hero p.lead{font-size:1.05rem}
  .resource-audience-grid{grid-template-columns:1fr;gap:.8rem;margin:1rem 0 1.6rem}
  .resource-audience-card{padding:1.1rem}
  .resource-audience-card .audience-icon{width:58px;height:58px;border-radius:16px}
  .resource-library-head{margin-top:1rem}
  .resource-count{white-space:normal}
  .footer-inner{grid-template-columns:1fr}
  .footer-inner>div:first-child{grid-column:auto}
  .footer{padding:2.4rem 1rem}
  .hero-actions .btn,.page-title .hero-actions .btn{width:100%;justify-content:center;text-align:center}
  .hero-product-image{width:76%}
  .hero-product-caption{margin-top:.8rem;padding:.85rem 1rem}
  .card,.panel,.callout{padding:1.15rem}
  .journey-step,.timeline .item{min-height:0;padding:.85rem}
  .journey-step span{font-size:1rem}
  .story-copy{padding:1.4rem}
  .section.dark .three-col .panel{padding:1.15rem}
  .header-inner{padding:.7rem .9rem;gap:.6rem}
  .brand{font-size:1.1rem}
  .top-nav a{padding:.55rem .6rem}
  .cards.five{grid-template-columns:1fr 1fr}
  .cards.five .card{min-height:0;padding:1rem}
  .cards.five .card:last-child{grid-column:1 / -1}
  .four-col{grid-template-columns:1fr}
  .band{padding:1.25rem}
  .video-tile{min-height:200px}
  .team-grid{grid-template-columns:1fr 1fr}
  .person-card{padding:.8rem}
  .contact-form{max-width:none}
}

/* Small phones */
@media (max-width:400px){
  .team-grid,.cards.five{grid-template-columns:1fr}
  .cards.five .card:last-child{grid-column:auto}
  .wrap{padding:2.4rem .9rem}
  .btn{padding:.7rem .9rem}
}
