/* Phase-led anatomical schematic. The illustration describes a rhythm, not a live brain scan. */
.brain-timer-block{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin:24px auto 0;gap:5px;width:100%}.brain-timer-eyebrow{font:500 8px var(--body);letter-spacing:.2em;color:var(--muted);text-transform:uppercase}.brain-timer-block>#demo-timer{display:block;width:100%;text-align:center;font:400 clamp(40px,4.1vw,57px)/1.13 var(--latin);font-variant-numeric:tabular-nums;letter-spacing:-.055em;color:var(--ink)}.brain-timer-controls{display:flex;align-items:center;justify-content:center;gap:9px;min-height:28px}.brain-timer-controls .demo-toggle{font-size:10px;color:var(--muted)}.brain-timer-controls .icon-button{font-size:18px;width:25px;height:25px;opacity:.72}.brain-timer-controls .play-small{width:18px;height:18px;font-size:11px}.plan-track .stage{padding:0 5px 5px;background:transparent;font-family:var(--body);border-radius:4px}.plan-track .stage:hover{color:var(--ink)}.plan-track .stage i{flex:none}.plan-track .stage[aria-pressed=true] span{font-weight:600}.brain-stage.brain-flow{--bf-outline:#bdcedf;--bf-fold:#8198b3;--bf-shine:#fff;--bf-text:#8391a6;--bf-guide:#ccd6e3;--bf-region-line:#9eb9d9;--bf-node:#7baaf1;position:relative;display:block;width:min(680px,100%);height:auto;max-width:100%;margin:0 auto 22px;perspective:none;isolation:isolate}.bf-aura{position:absolute;inset:20% 15% 13%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse at 28% 35%,#f5c7e01a,transparent 70%),radial-gradient(ellipse at 75% 65%,#b2d8ff24,transparent 65%);filter:blur(20px);pointer-events:none;transition:opacity .7s}.bf-svg{display:block;width:100%;height:350px;overflow:visible}.bf-ground{fill:#b9cde2;opacity:.06;filter:blur(6px)}.bf-shell{fill:var(--bf-glass,url(#bf-glass));stroke:var(--bf-outline);stroke-width:1.1;filter:drop-shadow(0 7px 12px #a2b4ce12)}.bf-region{stroke:var(--bf-region-line);stroke-width:.65;opacity:.13;transition:opacity .65s,fill .65s;transform-box:fill-box;transform-origin:center}.bf-frontal{fill:url(#bf-pink)}.bf-parietal{fill:url(#bf-blue)}.bf-central{fill:url(#bf-lateral)}.bf-temporal{fill:url(#bf-pink)}.bf-occipital{fill:url(#bf-blue)}.bf-fold-shadow,.bf-fold-light{fill:none;stroke-linecap:round;stroke-linejoin:round}.bf-fold-shadow{stroke:var(--bf-fold);stroke-width:3;opacity:.25}.bf-fold-light{stroke:var(--bf-shine);stroke-width:1.8;opacity:.8}.bf-midline{stroke:var(--bf-outline);stroke-width:1;fill:none;opacity:.75}.bf-flow-haze,.bf-flow-line,.bf-flow-travel{fill:none;stroke:url(#bf-signal);stroke-linecap:round}.bf-flow-haze{stroke-width:13;filter:url(#bf-soft-glow);opacity:.28}.bf-flow-line{stroke-width:1.4;opacity:.55}.bf-flow-travel{stroke-width:2.8;stroke-dasharray:3 34;animation:bf-travel 4s linear infinite}.bf-front-parietal-flow,.bf-temporal-central-flow{opacity:0;transition:opacity .65s}.bf-temporal-central-flow path{stroke:url(#bf-lateral)}.bf-temporal-central-flow .bf-flow-travel{animation-duration:3s}.bf-nodes{fill:var(--bf-node);opacity:.13;transition:opacity .65s}.bf-node-frontal,.bf-node-temporal{fill:#e6a0c6}.bf-node-halo{opacity:.12;filter:url(#bf-soft-glow)}.bf-annotations{fill:var(--bf-text);font:400 14px var(--body);letter-spacing:.02em}.bf-annotations path{stroke:var(--bf-guide);stroke-width:.7;fill:none}.bf-orientation{font-size:10px;letter-spacing:.2em;opacity:.7}.bf-caption{text-align:center;margin:-2px auto 0;min-height:44px}.bf-caption-label{display:inline-flex;align-items:center;gap:6px;font:500 8px var(--body);color:var(--muted);letter-spacing:.12em}.bf-caption-label i{width:5px;height:5px;border-radius:50%;background:linear-gradient(135deg,#e6a5ca,#7faff0)}.bf-caption p{font:400 11px/1.65 var(--body);color:var(--muted);margin:7px 12px 0;min-height:18px;letter-spacing:-.015em}
/* Entry alternates the frontal and parietal emphasis. */
.brain-flow[data-phase="0"] .bf-frontal,.brain-flow[data-phase="0"] .bf-node-frontal{animation:bf-entry-frontal 3.2s ease-in-out infinite}.brain-flow[data-phase="0"] .bf-parietal,.brain-flow[data-phase="0"] .bf-node-parietal{animation:bf-entry-parietal 3.2s ease-in-out infinite}
/* Maintenance connects the same regions with a travelling front-to-back signal. */
.brain-flow[data-phase="1"] .bf-frontal,.brain-flow[data-phase="1"] .bf-parietal,.brain-flow[data-phase="1"] .bf-node-frontal,.brain-flow[data-phase="1"] .bf-node-parietal{animation:bf-together 3.6s ease-in-out infinite}.brain-flow[data-phase="1"] .bf-front-parietal-flow{opacity:1}
/* Enhancement emphasizes the temporal and central regions together. */
.brain-flow[data-phase="2"] .bf-temporal,.brain-flow[data-phase="2"] .bf-central,.brain-flow[data-phase="2"] .bf-node-temporal,.brain-flow[data-phase="2"] .bf-node-central{animation:bf-together 2.7s ease-in-out infinite}.brain-flow[data-phase="2"] .bf-temporal-central-flow{opacity:1}
/* Rest broadens to all regions and slows the movement. */
.brain-flow[data-phase="3"] .bf-region,.brain-flow[data-phase="3"] .bf-nodes{animation:bf-rest 5.5s ease-in-out infinite}.brain-flow[data-phase="3"] .bf-front-parietal-flow,.brain-flow[data-phase="3"] .bf-temporal-central-flow{opacity:.55}.brain-flow[data-phase="3"] .bf-flow-travel{animation-duration:7s;stroke-dasharray:2 52}.hero.completed .brain-flow .bf-flow-travel{animation-play-state:paused}.hero.completed .brain-flow .bf-region,.hero.completed .brain-flow .bf-nodes{animation:bf-rest 7s ease-in-out infinite}.brain-flow[data-paused="true"] .bf-flow-travel,.brain-flow[data-paused="true"] .bf-region,.brain-flow[data-paused="true"] .bf-nodes{animation-play-state:paused}
html[data-theme="dark"] .brain-flow{--bf-glass:#202e43;--bf-outline:#53667f;--bf-fold:#9bb1ca;--bf-shine:#bdcde1;--bf-text:#9caec6;--bf-guide:#465870;--bf-region-line:#637b99;--bf-node:#8cbaf9}html[data-theme="dark"] .bf-shell{filter:drop-shadow(0 8px 20px #0003)}html[data-theme="dark"] .bf-fold-shadow{opacity:.26}html[data-theme="dark"] .bf-fold-light{opacity:.14}html[data-theme="dark"] .bf-aura{background:radial-gradient(ellipse at 28% 35%,#df8ab31c,transparent 65%),radial-gradient(ellipse at 75% 65%,#659fe924,transparent 65%)}html[data-theme="dark"] .bf-ground{opacity:.02}html[data-theme="dark"] .bf-flow-haze{opacity:.4}
@keyframes bf-entry-frontal{0%,100%{opacity:.18}20%,40%{opacity:.9}60%,85%{opacity:.18}}@keyframes bf-entry-parietal{0%,40%,100%{opacity:.18}60%,85%{opacity:.9}}@keyframes bf-together{0%,100%{opacity:.5}50%{opacity:.95}}@keyframes bf-rest{0%,100%{opacity:.28}50%{opacity:.7}}@keyframes bf-travel{to{stroke-dashoffset:-222}}
@media(min-width:1500px){.bf-svg{height:380px}.brain-timer-block{margin-top:28px}}
@media(max-width:700px){.brain-timer-block{margin-top:21px;gap:5px}.brain-timer-eyebrow{font-size:7px}.brain-timer-block>#demo-timer{font-size:43px}.brain-timer-controls .demo-toggle{font-size:9px}.brain-stage.brain-flow{width:100%;margin:0 auto 18px}.bf-svg{height:auto;aspect-ratio:640/490;max-height:330px}.bf-annotations{font-size:19px}.bf-annotations .bf-orientation{font-size:12px}.bf-caption{margin-top:0;min-height:47px}.bf-caption-label{font-size:7px}.bf-caption p{font-size:10px;margin-top:6px}.plan-track .stage{padding:0 2px 6px;gap:11px}.studio-caption h2{margin-top:0}}
/* Follow OS by default; an explicit full-motion choice takes precedence. */
@media(prefers-reduced-motion:reduce){html:not([data-motion="full"]) .brain-flow *{animation:none!important;transition:none!important}html:not([data-motion="full"]) .brain-flow[data-phase="0"] .bf-frontal,html:not([data-motion="full"]) .brain-flow[data-phase="0"] .bf-parietal,html:not([data-motion="full"]) .brain-flow[data-phase="0"] .bf-node-frontal,html:not([data-motion="full"]) .brain-flow[data-phase="0"] .bf-node-parietal,html:not([data-motion="full"]) .brain-flow[data-phase="1"] .bf-frontal,html:not([data-motion="full"]) .brain-flow[data-phase="1"] .bf-parietal,html:not([data-motion="full"]) .brain-flow[data-phase="1"] .bf-node-frontal,html:not([data-motion="full"]) .brain-flow[data-phase="1"] .bf-node-parietal,html:not([data-motion="full"]) .brain-flow[data-phase="2"] .bf-temporal,html:not([data-motion="full"]) .brain-flow[data-phase="2"] .bf-central,html:not([data-motion="full"]) .brain-flow[data-phase="2"] .bf-node-temporal,html:not([data-motion="full"]) .brain-flow[data-phase="2"] .bf-node-central,html:not([data-motion="full"]) .brain-flow[data-phase="3"] .bf-region,html:not([data-motion="full"]) .brain-flow[data-phase="3"] .bf-nodes{opacity:.75}html:not([data-motion="full"]) .bf-flow-travel{stroke-dasharray:3 18}}
html[data-motion="reduced"] .brain-flow *{animation:none!important;transition:none!important}html[data-motion="reduced"] .brain-flow[data-phase="0"] .bf-frontal,html[data-motion="reduced"] .brain-flow[data-phase="0"] .bf-parietal,html[data-motion="reduced"] .brain-flow[data-phase="0"] .bf-node-frontal,html[data-motion="reduced"] .brain-flow[data-phase="0"] .bf-node-parietal,html[data-motion="reduced"] .brain-flow[data-phase="1"] .bf-frontal,html[data-motion="reduced"] .brain-flow[data-phase="1"] .bf-parietal,html[data-motion="reduced"] .brain-flow[data-phase="1"] .bf-node-frontal,html[data-motion="reduced"] .brain-flow[data-phase="1"] .bf-node-parietal,html[data-motion="reduced"] .brain-flow[data-phase="2"] .bf-temporal,html[data-motion="reduced"] .brain-flow[data-phase="2"] .bf-central,html[data-motion="reduced"] .brain-flow[data-phase="2"] .bf-node-temporal,html[data-motion="reduced"] .brain-flow[data-phase="2"] .bf-node-central,html[data-motion="reduced"] .brain-flow[data-phase="3"] .bf-region,html[data-motion="reduced"] .brain-flow[data-phase="3"] .bf-nodes{opacity:.75}html[data-motion="reduced"] .bf-flow-travel{stroke-dasharray:3 18}
