/*
Theme Name: Restarting The Heart 2026
Theme URI: https://restartingtheheart.com/
Author: L. Terry
Description: Private custom WordPress/WooCommerce theme for the Restarting The Heart ecosystem.
Version: 1.15.2
Text Domain: rth-2026
Requires at least: 6.5
Requires PHP: 8.1
*/

:root {
  --rth-navy: #081a33;
  --rth-deep: #061122;
  --rth-blue: #1d75d8;
  --rth-red: #c72934;
  --rth-gold: #c7a24a;
  --rth-white: #ffffff;
  --rth-ink: #17243a;
  --rth-muted: #637083;
  --rth-surface: #f5f7fa;
  --rth-border: #dce2e9;
  --rth-radius: 18px;
  --rth-shadow: 0 12px 40px rgba(8,26,51,.10);
  --rth-max: 1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--rth-ink);background:var(--rth-white);line-height:1.65}
a{color:var(--rth-blue);text-decoration-thickness:.08em;text-underline-offset:.15em}
a:hover,a:focus{color:var(--rth-red)}
img{max-width:100%;height:auto}
.container{width:min(calc(100% - 2rem),var(--rth-max));margin-inline:auto}.narrow{width:min(calc(100% - 2rem),820px);margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--rth-border);backdrop-filter:blur(12px)}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.site-branding{display:flex;align-items:center;gap:.75rem;font-weight:800;color:var(--rth-navy);text-decoration:none}.custom-logo{max-height:52px;width:auto}.site-nav ul{display:flex;gap:1rem;align-items:center;list-style:none;margin:0;padding:0}.site-nav a{color:var(--rth-navy);font-weight:650;text-decoration:none}.menu-toggle{display:none;border:1px solid var(--rth-border);background:#fff;border-radius:10px;padding:.65rem .8rem}
.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:1rem;top:1rem;z-index:999;background:#fff;padding:.7rem 1rem;border:2px solid var(--rth-blue)}
.page-hero,.youth-hero{padding:clamp(4rem,8vw,7rem) 0;background:linear-gradient(135deg,var(--rth-deep),var(--rth-navy));color:#fff}.page-hero h1,.youth-hero h1{max-width:900px;font-size:clamp(2.4rem,5vw,4.7rem);line-height:1.04;margin:.4rem 0 1rem}.hero-copy{font-size:clamp(1.05rem,1.7vw,1.35rem);max-width:780px;color:rgba(255,255,255,.86)}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:800;font-size:.78rem;color:var(--rth-blue)}.page-hero .eyebrow,.youth-hero .eyebrow{color:#8dc4ff}
.section{padding:clamp(3.5rem,7vw,6rem) 0;background:var(--rth-surface)}.section-white{background:#fff}.section-dark{background:var(--rth-navy);color:#fff}.section-heading{max-width:800px;margin-bottom:2rem}.section-heading h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.1;margin:.3rem 0 .8rem}.grid-3,.character-grid,.book-series-grid,.ecosystem-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.two-column,.educator-grid,.youth-hero-grid,.animation-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;align-items:center}.card,.ecosystem-node,.book-feature,.teacher-toolkit,.heart-hero-board{background:#fff;border:1px solid var(--rth-border);border-radius:var(--rth-radius);padding:1.5rem;box-shadow:var(--rth-shadow)}.section-dark .teacher-toolkit{color:var(--rth-ink)}.primary-node{background:var(--rth-navy);color:#fff;margin-bottom:1.25rem}.character-grid article{background:#fff;border:1px solid var(--rth-border);border-radius:var(--rth-radius);padding:1.35rem}.character-grid article>span{display:inline-grid;place-items:center;min-width:2.5rem;height:2.5rem;border-radius:999px;background:var(--rth-navy);color:#fff;font-weight:800;padding:0 .6rem}
.button{display:inline-block;border-radius:999px;padding:.8rem 1.15rem;font-weight:750;text-decoration:none;border:1px solid transparent}.button-primary{background:var(--rth-blue);color:#fff}.button-secondary{background:transparent;border-color:var(--rth-blue);color:var(--rth-blue)}.button-light{background:#fff;color:var(--rth-navy)}.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.4rem}
.status-badge,.rth-status{display:inline-flex;border-radius:999px;padding:.3rem .65rem;font-size:.78rem;font-weight:800;background:#e9eef5;color:var(--rth-navy)}.status-development,.rth-status--development{background:#fff1c9;color:#6f4d00}.status-research,.rth-status--research{background:#e8f1ff;color:#164f90}.status-active,.rth-status--active{background:#e7f7ec;color:#186536}.status-conceptual{background:#f0eafd;color:#5a3b8c}.status-legacy{background:#eee;color:#555}
.rth-interest-form input,.rth-interest-form select,.rth-interest-form textarea{width:100%;padding:.8rem;border:1px solid var(--rth-border);border-radius:10px;font:inherit}.rth-interest-form textarea{min-height:140px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.hp-field{position:absolute;left:-9999px}.form-success,.form-error{padding:1rem;border-radius:10px;margin-bottom:1rem}.form-success{background:#e7f7ec}.form-error{background:#fde9ea}
.site-footer{background:var(--rth-deep);color:rgba(255,255,255,.8);padding:3rem 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}.site-footer a{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:2rem;padding-top:1rem;font-size:.9rem}
.entry-content{padding:3rem 0}.archive-list{display:grid;gap:1rem}.archive-card{border:1px solid var(--rth-border);border-radius:var(--rth-radius);padding:1.3rem;background:#fff}.pagination{margin-top:2rem}
@media(max-width:900px){.grid-3,.character-grid,.book-series-grid,.ecosystem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-column,.educator-grid,.youth-hero-grid,.animation-panel,.footer-grid{grid-template-columns:1fr}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;border-bottom:1px solid var(--rth-border);padding:1rem}.site-nav.is-open{display:block}.site-nav ul{flex-direction:column;align-items:flex-start}}
@media(max-width:620px){.grid-3,.character-grid,.book-series-grid,.ecosystem-grid,.form-grid{grid-template-columns:1fr}.page-hero,.youth-hero{padding:4rem 0}.site-title{font-size:.9rem}}

/* v1.4 visual system: approved RTH rendering direction */
:root{--rth-red:#d7192d;--rth-gold:#f5a623;--rth-electric:#22a7ff;--rth-cream:#f8f6f1;--rth-deep:#031a39;--rth-navy:#062a59;--rth-ink:#0b2347;--rth-border:#ccd8e8;--rth-shadow:0 12px 30px rgba(3,26,57,.10);--rth-radius:16px}
body{background:#fff;color:var(--rth-ink)}h1,h2,h3{font-family:Georgia,'Times New Roman',serif}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);border-bottom:1px solid #d7e0ec;box-shadow:0 2px 12px rgba(3,26,57,.06)}.header-inner{min-height:84px}.site-title{letter-spacing:.08em;text-transform:uppercase}.site-nav a{font-size:.92rem}.site-nav .current-menu-item>a{color:var(--rth-red);border-bottom:2px solid var(--rth-red);padding-bottom:.55rem}.button{border-radius:8px;padding:.82rem 1.3rem}.button-primary{background:var(--rth-red);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}.button-primary:hover{background:#b80f20}.button-outline-light{border-color:rgba(255,255,255,.7);color:#fff}.text-link{font-weight:800;color:#075ab1;text-decoration:none}.eyebrow{color:var(--rth-red)}
.header-donate{border-radius:999px;padding:.65rem 1.3rem;color:#fff;white-space:nowrap}
.rth-visual-hero{overflow:hidden;background:radial-gradient(circle at 68% 42%,rgba(28,129,255,.28),transparent 25%),radial-gradient(circle at 78% 56%,rgba(255,49,32,.24),transparent 24%),linear-gradient(115deg,#062a59,#03162f 66%,#051f45);color:#fff}.rth-hero-grid{min-height:520px;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.95fr);align-items:center;gap:2rem;padding-top:4rem;padding-bottom:3.5rem}.rth-hero-copy{position:relative;z-index:2}.rth-hero-copy h1{font-size:clamp(3.5rem,6vw,6.4rem);line-height:.93;margin:.2rem 0 1.3rem;max-width:680px}.rth-hero-copy h1::first-line{color:#fff}.rth-hero-copy>p:not(.eyebrow){max-width:670px;font-size:1.2rem;line-height:1.65;color:#eef6ff}.rth-hero-copy .eyebrow{color:#79caff}.hero-proof{display:flex;gap:2rem;list-style:none;margin:2.2rem 0 0;padding:0}.hero-proof li{display:grid;grid-template-columns:36px auto;column-gap:.55rem}.hero-proof li>span{grid-row:1/3;font-size:2rem;color:#fff}.hero-proof strong{text-transform:uppercase;font-size:.72rem}.hero-proof small{color:#bed2e9}.brain-heart-visual{position:relative;width:min(520px,45vw);aspect-ratio:1;margin:auto;border-radius:50%;filter:drop-shadow(0 0 30px rgba(31,130,255,.4))}.brain-heart-visual::before,.brain-heart-visual::after{content:'';position:absolute;inset:16%;border-radius:48% 52% 44% 56%;border:7px solid}.brain-heart-visual::before{right:49%;border-color:#32aaff;background:radial-gradient(circle,#1b70c2 0 4%,transparent 5%),repeating-radial-gradient(circle at 60% 50%,transparent 0 15px,rgba(74,178,255,.5) 16px 18px)}.brain-heart-visual::after{left:51%;border-color:#ff4a32;background:radial-gradient(circle at 50% 55%,#f44336,#6e0f18 58%,transparent 60%);clip-path:polygon(50% 96%,6% 45%,15% 16%,42% 12%,50% 30%,58% 12%,85% 16%,94% 45%)}.orbit{position:absolute;inset:4%;border:2px solid rgba(255,255,255,.25);border-radius:50%}.orbit-two{inset:0;transform:rotate(35deg);border-color:rgba(245,166,35,.45)}.brain-symbol,.heart-symbol{position:absolute;top:46%;font-weight:900;letter-spacing:.15em;font-size:.8rem}.brain-symbol{left:15%;color:#91d6ff}.heart-symbol{right:14%;color:#ff9c8f}.pulse-line{position:absolute;left:14%;right:14%;top:52%;height:3px;background:linear-gradient(90deg,#32aaff,#fff,#ff4a32);z-index:3;box-shadow:0 0 12px #fff}
.home-dashboard{padding:2.2rem 0 3.5rem}.dashboard-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:1.5rem;align-items:start}.compact-heading{display:flex;align-items:center;gap:.8rem;justify-content:center;margin-bottom:1.25rem}.compact-heading span{width:38px;height:1px;background:#9fb1c8}.compact-heading h2{font-size:1.45rem;text-transform:uppercase;margin:0}.ecosystem-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.ecosystem-tile{min-height:230px;border:1px solid var(--rth-border);border-radius:12px;background:#fff;padding:1.15rem;box-shadow:var(--rth-shadow)}.ecosystem-tile h3{font-family:inherit;font-size:1rem}.ecosystem-tile p{font-size:.82rem;line-height:1.5}.ecosystem-tile a{font-size:.8rem;font-weight:800;text-decoration:none}.tile-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#075ab1;color:#fff;font-weight:900}.ecosystem-tile:nth-child(2) .tile-icon{background:var(--rth-red)}.ecosystem-tile:nth-child(3) .tile-icon{background:#1193d1}.ecosystem-tile:nth-child(4) .tile-icon{background:#f08a12}.ecosystem-tile:nth-child(5) .tile-icon{background:#138b58}.ecosystem-tile:nth-child(6) .tile-icon{background:#6837a0}.model-feature{border:1px solid var(--rth-border);border-radius:16px;background:linear-gradient(150deg,#f8fbff,#fff);padding:1.4rem;box-shadow:var(--rth-shadow)}.model-feature h2{text-align:center;font-size:1.4rem}.model-feature>.eyebrow{text-align:center}.model-wheel{padding:1rem;border-radius:50%;background:conic-gradient(#1176bd 0 20%,#f5a623 20% 40%,#e94136 40% 60%,#168959 60% 80%,#6a3aa5 80%);max-width:430px;margin:1rem auto}.model-wheel ol{background:#fff;border-radius:50%;margin:0;padding:3rem 4rem;list-style-position:inside;box-shadow:inset 0 0 30px #dbe8f6}.model-wheel li{padding:.35rem 0;font-weight:700;font-size:.84rem}.framework-note{text-align:center;font-size:.78rem;font-style:italic}.model-feature>.text-link{display:block;text-align:center}
.home-story{background:#f5f7fa}.story-publications-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:1rem}.founder-panel,.publication-panel{min-height:320px;border-radius:15px;border:1px solid var(--rth-border);padding:2rem}.founder-panel{background:linear-gradient(100deg,rgba(255,255,255,.98),rgba(255,255,255,.68)),radial-gradient(circle at 85% 50%,#e5a954,transparent 45%)}.founder-panel h2,.publication-panel h2{font-size:2.1rem}.publication-panel{background:#fff}.publication-shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin:1rem 0}.publication-shelf article{border-left:1px solid var(--rth-border);padding:0 .75rem}.publication-shelf span{display:grid;place-items:center;aspect-ratio:3/4;border-radius:5px;background:linear-gradient(145deg,#0a3971,#102042);color:#fff;font-size:1.4rem;font-weight:900;box-shadow:0 8px 18px rgba(3,26,57,.18)}.publication-shelf h3{font-family:inherit;font-size:.82rem}.heart-heroes-strip{background:linear-gradient(100deg,#dff5ff,#fff5ce);padding:2.3rem 0;overflow:hidden}.heart-heroes-strip>.container{display:grid;grid-template-columns:1fr 1fr;align-items:center}.heart-heroes-strip h2{font-size:2.8rem;margin:.15rem 0}.hero-kids{display:flex;align-items:flex-end;justify-content:center}.hero-kids span{display:grid;place-items:center;width:84px;height:84px;border-radius:50% 50% 42% 42%;background:#0a5aa7;color:#fff;font-size:2rem;font-weight:900;border:7px solid #fff;margin-left:-8px;box-shadow:var(--rth-shadow)}.hero-kids span:nth-child(2){background:#e84b25;transform:translateY(-12px)}.hero-kids span:nth-child(3){background:#f5a623}.hero-kids span:nth-child(4){background:#15925e;transform:translateY(-8px)}.hero-kids span:nth-child(5){background:var(--rth-red);width:100px;height:100px}.commitment-strip{background:linear-gradient(120deg,#06326a,#03172f);color:#fff;padding:2rem 0}.commitment-strip h2{text-align:center;text-transform:uppercase;font-family:inherit;font-size:1.15rem;letter-spacing:.08em}.commitment-grid{display:grid;grid-template-columns:repeat(5,1fr)}.commitment-grid div{text-align:center;padding:1rem;border-right:1px solid rgba(255,255,255,.24)}.commitment-grid div:last-child{border-right:0}.commitment-grid strong{display:block;color:#f6ba43;text-transform:uppercase;font-size:.8rem}.commitment-grid span{display:block;font-size:.77rem;color:#fff;margin-top:.35rem}
.page-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 72% 45%,rgba(30,139,255,.34),transparent 30%),linear-gradient(120deg,#062a59,#03172f);min-height:400px;display:flex;align-items:center}.page-hero::after{content:'';position:absolute;width:360px;height:360px;border-radius:50%;right:8%;top:5%;border:3px solid rgba(57,164,255,.45);box-shadow:0 0 55px rgba(236,54,45,.28),inset 0 0 50px rgba(57,164,255,.2)}.page-hero>.container{position:relative;z-index:1}.page-hero h1{max-width:760px}.ecosystem-map{position:relative}.ecosystem-node{transition:transform .2s,border-color .2s}.ecosystem-node:hover{transform:translateY(-3px);border-color:#87acd5}.primary-node{background:linear-gradient(120deg,#073a77,#041f43)}.status-badge{border-radius:5px;text-transform:uppercase;letter-spacing:.05em}.youth-hero{background:linear-gradient(115deg,#e8f8ff,#fff0c7);color:var(--rth-ink)}.youth-hero .eyebrow{color:var(--rth-red)}.youth-hero .hero-copy{color:var(--rth-ink)}.heart-hero-board,.book-feature,.teacher-toolkit{border-color:#b9cce2}.animation-panel{background:linear-gradient(120deg,#eaf7ff,#fff1c7);border-radius:18px;padding:2rem}.site-footer{background:linear-gradient(120deg,#052c5d,#02152d);padding:3.2rem 0 1.2rem}.footer-grid{grid-template-columns:1.4fr 1fr 1fr}.site-footer ul{list-style:none;padding:0}.site-footer li{margin:.35rem 0}.site-footer strong{color:#fff;text-transform:uppercase;letter-spacing:.05em}.footer-bottom{font-size:.78rem}
@media(max-width:1000px){.rth-hero-grid,.dashboard-grid,.story-publications-grid{grid-template-columns:1fr}.brain-heart-visual{width:min(520px,86vw)}.ecosystem-tiles{grid-template-columns:repeat(3,1fr)}.hero-proof{flex-wrap:wrap}.heart-heroes-strip>.container{grid-template-columns:1fr}.hero-kids{margin-top:2rem}}
@media(max-width:720px){.rth-hero-grid{min-height:auto;padding-top:3rem}.rth-hero-copy h1{font-size:3.7rem}.brain-heart-visual{width:92vw}.ecosystem-tiles,.publication-shelf{grid-template-columns:1fr 1fr}.commitment-grid{grid-template-columns:1fr 1fr}.commitment-grid div{border-bottom:1px solid rgba(255,255,255,.2)}.hero-proof{display:grid}.heart-heroes-strip h2{font-size:2.25rem}.hero-kids span{width:62px;height:62px;border-width:4px}.site-nav .current-menu-item>a{padding-bottom:.2rem}}
@media(max-width:480px){.ecosystem-tiles,.publication-shelf{grid-template-columns:1fr}.rth-hero-copy h1{font-size:3rem}.model-wheel ol{padding:2rem}.hero-kids span{width:50px;height:50px;font-size:1.2rem}.commitment-grid{grid-template-columns:1fr}}

/* Rendering-specific page identities */
.superstariq-page .page-hero{background:radial-gradient(circle at 76% 45%,rgba(245,166,35,.35),transparent 22%),radial-gradient(circle at 70% 40%,rgba(37,148,255,.28),transparent 35%),linear-gradient(115deg,#062c61,#02142c)}.superstariq-page .page-hero::after{border-color:#f5a623;box-shadow:0 0 70px rgba(245,166,35,.25),inset 0 0 50px rgba(40,155,255,.25)}.superstariq-page .page-hero .eyebrow{font-family:Georgia,'Times New Roman',serif;text-transform:none;font-size:clamp(3rem,7vw,6rem);letter-spacing:0;color:#fff}.superstariq-page .page-hero .eyebrow::first-letter{color:#fff}.superstariq-page .page-hero h1{font-family:inherit;font-size:clamp(2rem,3vw,3.2rem);color:#8ad6ff}.superstariq-page .grid-3 .card{position:relative;border-top:5px solid #1688df;min-height:190px}.superstariq-page .grid-3 .card:nth-child(2){border-color:#f5a623}.superstariq-page .grid-3 .card:nth-child(3){border-color:#28a06a}.superstariq-page .grid-3 .card:nth-child(4){border-color:#7b4bb7}.superstariq-page .grid-3 .card:nth-child(5){border-color:#df3143}.superstariq-page .grid-3 .card:nth-child(6){border-color:#0b3c78}.superstariq-page .grid-3 .card h3{font-family:inherit;color:#0a3971}.superstariq-page .rth-interest-form{border:0;background:linear-gradient(120deg,#072f62,#03172f);color:#fff;box-shadow:var(--rth-shadow)}
.neurocardiac-page .page-hero{background:radial-gradient(circle at 68% 48%,rgba(22,142,255,.35),transparent 25%),radial-gradient(circle at 78% 52%,rgba(255,52,30,.35),transparent 25%),linear-gradient(120deg,#03172f,#052c5e)}.neurocardiac-page .page-hero::after{border:5px solid transparent;border-left-color:#38a9ff;border-right-color:#ff4936;box-shadow:0 0 70px rgba(52,155,255,.35),inset 0 0 60px rgba(255,52,30,.28)}.neurocardiac-page .model-flow{display:grid;grid-template-columns:repeat(5,1fr);gap:0;border:1px solid var(--rth-border);border-radius:14px;overflow:hidden;box-shadow:var(--rth-shadow)}.neurocardiac-page .model-step{padding:1.4rem;background:#eef7ff;border-right:1px solid #b8cee6}.neurocardiac-page .model-step:nth-child(2){background:#f0ebfb}.neurocardiac-page .model-step:nth-child(3){background:#edf8ed}.neurocardiac-page .model-step:nth-child(4){background:#fff7e6}.neurocardiac-page .model-step:nth-child(5){background:#fff0ef;border-right:0}.neurocardiac-page .model-step>strong{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#0b66b2;color:#fff;font-size:1.2rem}.neurocardiac-page .model-step:nth-child(3)>strong{background:#248e45}.neurocardiac-page .model-step:nth-child(4)>strong{background:#c27412}.neurocardiac-page .model-step:nth-child(5)>strong{background:#cc2534}.neurocardiac-page .model-step h3{font-family:inherit;font-size:1rem;color:#073b75}.neurocardiac-page .emphasis-step{box-shadow:inset 0 -5px #2b9c51}
.children-page .youth-hero{min-height:500px;position:relative;overflow:hidden;background:radial-gradient(circle at 74% 44%,#fff 0 7%,rgba(255,212,73,.65) 8%,transparent 25%),linear-gradient(145deg,#dcf5ff,#fff3c7 68%,#d9f0c6)}.children-page .youth-hero::after{content:'♥';position:absolute;right:8%;top:15%;display:grid;place-items:center;width:270px;height:270px;border-radius:45% 55% 50% 50%;background:linear-gradient(145deg,#ff4b45,#c80f25);color:#fff;font-size:8rem;font-weight:900;box-shadow:0 18px 50px rgba(196,18,37,.3);transform:rotate(-5deg)}.children-page .youth-hero-grid{position:relative;z-index:2}.children-page .youth-hero-grid>div{max-width:620px}.children-page .heart-hero-board{background:rgba(255,255,255,.9);transform:translateY(190px);max-width:430px}.children-page .book-feature{border-top:5px solid #0a66b6;min-height:150px}.children-page .book-feature:nth-child(2n){border-top-color:#e6353f}.children-page .book-feature:nth-child(3n){border-top-color:#f0a326}.children-page .book-number{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#075ab1;color:#fff;font-weight:900}.children-page .character-grid article{border-top:5px solid #1e91d0;background:linear-gradient(150deg,#fff,#f5fbff)}.children-page .character-grid article:nth-child(2n){border-color:#ef4c3c}.children-page .character-grid article:nth-child(3n){border-color:#f4ac2f}.children-page .section-dark{background:linear-gradient(115deg,#063469,#02162f)}
.ecosystem-hero{background:radial-gradient(circle at 70% 48%,rgba(28,145,255,.38),transparent 24%),radial-gradient(circle at 80% 48%,rgba(255,56,38,.34),transparent 24%),linear-gradient(115deg,#052b5d,#03162f)}.ecosystem-hero h1{font-size:clamp(3rem,6vw,5.7rem)}.ecosystem-grid{position:relative}.ecosystem-grid::before{content:'';position:absolute;left:7%;right:7%;top:-16px;height:2px;background:linear-gradient(90deg,#158de3,#e12c3a,#158de3)}.ecosystem-node h3{color:#093b75}.ecosystem-node a{font-weight:800;text-decoration:none}.audience-grid .card{border-left:5px solid #0b70c3}.audience-grid .card:nth-child(2n){border-left-color:#df3143}.audience-grid .card:nth-child(3n){border-left-color:#ed9b20}
@media(max-width:900px){.neurocardiac-page .model-flow{grid-template-columns:1fr}.neurocardiac-page .model-step{border-right:0;border-bottom:1px solid #b8cee6}.children-page .youth-hero::after{opacity:.18;right:-80px}.children-page .heart-hero-board{transform:none}}

/* Production artwork pass: approved composition with live, governed HTML copy. */
.rth-visual-hero{background:#03162f url('assets/images/rth-neurocardiac-hero-v1.png') center/cover no-repeat}
.rth-visual-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,22,47,.98) 0%,rgba(3,22,47,.88) 39%,rgba(3,22,47,.18) 66%,rgba(3,22,47,.08) 100%)}
.rth-visual-hero{position:relative}.rth-visual-hero>.container{position:relative;z-index:1}
.brain-heart-visual{visibility:hidden}
.founder-panel{position:relative;overflow:hidden;background:#f7f4ec url('assets/images/rth-founder-story-v1.png') center/cover no-repeat}
.founder-panel::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.92) 47%,rgba(255,255,255,.12) 78%)}
.founder-panel>*{position:relative;z-index:1;max-width:56%}
.heart-heroes-strip{background:#dff5ff url('assets/images/rth-heart-heroes-v1.png') center/cover no-repeat;min-height:330px;display:flex;align-items:center}
.heart-heroes-strip::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(223,245,255,.98),rgba(223,245,255,.92) 42%,rgba(223,245,255,.08) 69%)}
.heart-heroes-strip{position:relative}.heart-heroes-strip>.container{position:relative;z-index:1}.heart-heroes-strip>.container>div:first-child{max-width:48%}.hero-kids{display:none}
.children-page .youth-hero{background:#dff5ff url('assets/images/rth-heart-heroes-v1.png') center/cover no-repeat}
.children-page .youth-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(231,249,255,.99),rgba(231,249,255,.94) 43%,rgba(231,249,255,.12) 70%)}
.children-page .youth-hero::after{display:none}.children-page .heart-hero-board{background:rgba(255,255,255,.94);backdrop-filter:blur(8px)}
@media(max-width:1000px){.rth-visual-hero{background-position:62% center}.rth-visual-hero::before{background:rgba(3,22,47,.72)}.brain-heart-visual{display:none}.founder-panel>*{max-width:70%}.heart-heroes-strip>.container>div:first-child{max-width:62%}}
@media(max-width:720px){.rth-visual-hero{background-position:68% center}.rth-visual-hero::before{background:linear-gradient(180deg,rgba(3,22,47,.94),rgba(3,22,47,.76))}.founder-panel::before,.heart-heroes-strip::before,.children-page .youth-hero::before{background:rgba(255,255,255,.84)}.founder-panel>*,.heart-heroes-strip>.container>div:first-child{max-width:100%}.heart-heroes-strip{background-position:65% center}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* v1.4.7 commerce QA: entity separation and WooCommerce alignment */
.rth-commerce-boundary{margin:0 0 1.25rem;padding:1rem 1.15rem;border:1px solid #b9cce2;border-left:5px solid var(--rth-red);border-radius:10px;background:#f7fbff;color:var(--rth-ink);box-shadow:0 6px 18px rgba(3,26,57,.06)}
.rth-commerce-boundary strong{display:block;margin-bottom:.2rem;color:var(--rth-navy);text-transform:uppercase;letter-spacing:.05em}
.woocommerce .button,.woocommerce button.button,.woocommerce input.button{border-radius:8px!important;font-weight:750!important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{padding:.75rem;border:1px solid var(--rth-border);border-radius:8px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:10px}

/* v1.4.3 staging QA hardening: approved navigation and dropdown behavior */
.site-nav>ul{display:flex;gap:1rem;align-items:center;list-style:none;margin:0;padding:0}
.site-nav li{position:relative}
.site-nav .sub-menu{display:none;position:absolute;top:100%;left:-.75rem;z-index:110;min-width:245px;flex-direction:column;align-items:stretch;gap:0;background:#fff;border:1px solid var(--rth-border);border-radius:12px;padding:.55rem;box-shadow:var(--rth-shadow)}
.site-nav li:hover>.sub-menu,.site-nav li:focus-within>.sub-menu{display:flex}
.site-nav .sub-menu li{width:100%}
.site-nav .sub-menu a{display:block;width:100%;padding:.62rem .75rem;border-radius:8px;white-space:nowrap}
.site-nav .sub-menu a:hover,.site-nav .sub-menu a:focus{background:var(--rth-surface)}
.site-footer .rth-footer-fallback{list-style:none;margin:0;padding:0}
.site-footer .rth-footer-fallback li{margin:.35rem 0}
@media(max-width:900px){
  .site-nav>ul{flex-direction:column;align-items:flex-start}
  .site-nav li{width:100%}
  .site-nav .sub-menu{display:flex;position:static;min-width:0;width:100%;margin:.2rem 0 .35rem .8rem;padding:.25rem 0 .25rem .75rem;border:0;border-left:2px solid var(--rth-border);border-radius:0;box-shadow:none;background:transparent}
  .site-nav .sub-menu a{white-space:normal;padding:.42rem .55rem}
}
