/* PrimeWave frequency accents — scoped to home, technology and the existing demo.
   Static decorative contours only: no added motion, claims, scripts or imagery. */
body:is([data-route="home"],[data-route="technology"],[data-route="future"]){
  --fq-red:#9c3c35;
  --fq-ember:#a45322;
  --fq-green:#1c6652;
  --fq-ink:#183a4c;
  --fq-line:#d8dfdd;
  background:#fbfcfb;
}
body:is([data-route="home"],[data-route="technology"],[data-route="future"]) header{
  border-top:3px solid #b86d3b;
  border-image:linear-gradient(90deg,#a4433b 0 34%,#c58b3e 34% 67%,#397a64 67%) 1;
}
body:is([data-route="home"],[data-route="technology"],[data-route="future"]) #main :is(a,button):focus-visible{
  outline:3px solid #a45322;
  outline-offset:4px;
}

/* Warm mineral contours around the homepage copy; the hero artwork is untouched. */
body[data-route="home"] .pw-home-refresh .steel-hero{
  border-color:#cad8d4;
  background:#f8fbfa;
  box-shadow:inset 0 1px #fff,0 20px 55px #183d4512;
}
body[data-route="home"] .pw-home-refresh .steel-copy{
  background:
    repeating-radial-gradient(ellipse at 120% 110%,transparent 0 30px,#a4532209 31px 32px,transparent 34px 62px),
    radial-gradient(ellipse at 100% 100%,#e8f2ed 0,transparent 60%),
    linear-gradient(145deg,#fff 35%,#fbf5ef);
}
body[data-route="home"] .pw-home-refresh .steel-copy h1 em{color:var(--fq-red)}
body[data-route="home"] .pw-home-refresh .pw-therapy-line{color:var(--fq-green)}
body[data-route="home"] .pw-home-refresh .steel-copy .kicker{color:var(--fq-ember)}
body[data-route="home"] .pw-home-refresh .steel-copy .btn:not(.light){
  background:linear-gradient(145deg,#276e5a,#1b4e43);
  border-color:#1b5144;
  color:#fff;
}
body[data-route="home"] .pw-home-refresh .steel-copy .btn.light{
  background:#fffaf5;
  color:#77421f;
  border-color:#c6ac96;
}
body[data-route="home"] .pw-equipment-hero figcaption{background:#f5faf7;border-color:#ceddd4;color:#2b5144}
body[data-route="home"] .trustline{border-color:#d4dfd9}
body[data-route="home"] .trustline span:nth-child(1) i{color:var(--fq-red)}
body[data-route="home"] .trustline span:nth-child(2) i{color:var(--fq-ember)}
body[data-route="home"] .trustline span:nth-child(3) i{color:var(--fq-green)}
body[data-route="home"] .pw-home-film{
  background:
    radial-gradient(ellipse at 100% 5%,#dcece540,transparent 52%),
    linear-gradient(180deg,#fff,#fcfbf8);
}
body[data-route="home"] .pw-home-film .kicker{color:var(--fq-ember)}
body[data-route="home"] .pw-home-film h2 em{color:var(--fq-green)}
body[data-route="home"] .steel-band{
  background:
    repeating-radial-gradient(ellipse at 0 100%,transparent 0 58px,#236c5206 60px 61px,transparent 63px 112px),
    linear-gradient(110deg,#f1f7f3,#fffaf4 55%,#f8f1ed);
  border-color:#d9e2dc;
}

/* The existing teaser is a contained field of light, with three distinct waves. */
body[data-route="home"] .frequency-teaser{
  background:
    radial-gradient(ellipse at 80% 15%,#33785980,transparent 55%),
    radial-gradient(ellipse at 15% 100%,#8d403c66,transparent 58%),
    linear-gradient(120deg,#142e37,#173946 60%,#172d32);
  border-color:#56756f;
  box-shadow:0 20px 48px #173b351c;
}
body[data-route="home"] .frequency-teaser .kicker{color:#e6c99d}
body[data-route="home"] .frequency-teaser h2 em{color:#dbb78a}
body[data-route="home"] .frequency-teaser p{color:#ecf4ef}
body[data-route="home"] .teaser-waves svg path:nth-child(1){stroke:#e39080}
body[data-route="home"] .teaser-waves svg path:nth-child(2){stroke:#e9ba70}
body[data-route="home"] .teaser-waves svg path:nth-child(3){stroke:#83c4a8}

/* Acoustic Wave Intelligence: mineral edges around clear, light reading space. */
body[data-route="technology"] .poster-title{
  background:
    repeating-radial-gradient(ellipse at 110% 135%,transparent 0 44px,#a4532208 45px 46px,transparent 48px 87px),
    linear-gradient(105deg,#fff 20%,#f4f8f5 72%,#fbf4ee);
  border-bottom:1px solid #d6dfd9;
}
body[data-route="technology"] .article-head .kicker{color:var(--fq-ember)}
body[data-route="technology"] .article-head h1{color:#244b48}
body[data-route="technology"] .article-art{border-color:#c2d6cc;background:#f7fbf9}
body[data-route="technology"] .motion-lab{border-color:#b9cec5;box-shadow:0 14px 40px #173b3510}
body[data-route="technology"] .wave-stage{
  background:
    repeating-radial-gradient(ellipse at 50% 105%,transparent 0 62px,#dfb0730d 64px 65px,transparent 67px 122px),
    radial-gradient(ellipse at 18% 30%,#883f4066,transparent 60%),
    radial-gradient(ellipse at 88% 85%,#2d785c88,transparent 65%),
    linear-gradient(115deg,#192d38,#173b40 55%,#142b34);
}
body[data-route="technology"] #wavecolor stop:nth-child(1){stop-color:#ef9a86}
body[data-route="technology"] #wavecolor stop:nth-child(2){stop-color:#f2ce8a}
body[data-route="technology"] #wavecolor stop:nth-child(3){stop-color:#8cdbb2}
body[data-route="technology"] .wave-counter{color:#fbf0db;background:#17323bd9;border-color:#9cb6aa}
body[data-route="technology"] .lab-controls{background:#f2f7f4;border-block:1px solid #d7e2dc}
body[data-route="technology"] .lab-controls button{font-size:1rem;color:#214f42;border-color:#9db8ac;background:#fff}
body[data-route="technology"] .lab-controls button[aria-pressed="true"]{color:#fff;background:#245e4d;border-color:#245e4d}
body[data-route="technology"] .lab-copy{background:#fff}
body[data-route="technology"] .lab-copy p{font-size:1rem}
body[data-route="technology"] .prose-section{border-color:#d7e1dc}
body[data-route="technology"] .prose-section h2{border-left:3px solid #b9774c;padding-left:16px}
body[data-route="technology"] .prose-section:nth-of-type(3n+2) h2{border-left-color:#50866f}
body[data-route="technology"] .prose-section:nth-of-type(3n) h2{border-left-color:#ad615a}
body[data-route="technology"] .side-note{
  background:linear-gradient(150deg,#f4f8f4,#fbf5ec);
  border-color:#cfddd3;
  border-top:3px solid #a45322;
}
body[data-route="technology"] .side-note .btn:not(.light){background:#255f4d;border-color:#255f4d;color:#fff}

/* Frequency demonstration: dark light-field above controls on a clear surface. */
body[data-route="future"] .frequency-page{
  background:
    radial-gradient(ellipse at 100% 0,#f4e5db70,transparent 36%),
    radial-gradient(ellipse at 0 35%,#dcece440,transparent 36%),#fbfcfb;
}
body[data-route="future"] .frequency-page>.wrap>.kicker{color:var(--fq-ember)}
body[data-route="future"] .frequency-page h1 em{color:var(--fq-green)}
body[data-route="future"] .frequency-console{background:#193b39;border-color:#52796b;box-shadow:0 20px 58px #1b4a3b1f}
body[data-route="future"] .frequency-stage{
  background:
    radial-gradient(ellipse at 18% 22%,#853e4666,transparent 48%),
    radial-gradient(ellipse at 84% 75%,#28745a99,transparent 52%),
    radial-gradient(ellipse at 52% 100%,#a2642d66,transparent 43%),
    linear-gradient(135deg,#152b36,#183c40 50%,#112b32);
}
body[data-route="future"] .frequency-grid{
  background-image:
    repeating-radial-gradient(ellipse at 50% 100%,transparent 0 54px,#dac58c13 56px 57px,transparent 59px 108px),
    linear-gradient(#b7d6c70b 1px,transparent 1px),
    linear-gradient(90deg,#b7d6c70b 1px,transparent 1px);
  background-size:100% 100%,48px 48px,48px 48px;
}
body[data-route="future"] .frequency-stamp{color:#ead8ba}
body[data-route="future"] .frequency-hud{border-color:#b5c7ba66}
body[data-route="future"] .frequency-hud span{color:#d1e3d7}
body[data-route="future"] .floating-name{background:#183e40c9;border-color:#8aaea0;color:#fff}
body[data-route="future"] .floating-name.selected{border-color:#e1bd7c;box-shadow:0 0 32px #c7953d24}
body[data-route="future"] .frequency-controls{background:#f7faf7;color:#213e3a}
body[data-route="future"] .frequency-controls h2{color:#234c43}
body[data-route="future"] .frequency-controls :is(.small,.frequency-status){font-size:1rem;color:#3b554c}
body[data-route="future"] :is(.sample-names,.frequency-rates,.frequency-height) button{background:#fff;border-color:#a5bcb0;color:#315647;font-size:1rem}
body[data-route="future"] :is(.sample-names,.frequency-rates,.frequency-height) button[aria-pressed="true"]{background:#265f4d;border-color:#265f4d;color:#fff}
body[data-route="future"] .frequency-controls .btn.silver{background:linear-gradient(130deg,#a15137,#813d30);border-color:#813d30;color:#fff}
body[data-route="future"] .frequency-controls .btn.light{background:#fff;color:#315447;border-color:#9fb7aa}
body[data-route="future"] .frequency-height>span{font-size:.875rem;color:#3f5a4d}
body[data-route="future"] .frequency-learning{background:#edf5ef;border-left-color:#438368}
body[data-route="future"] .frequency-learning .kicker{color:#38604b}
body[data-route="future"] .frequency-page .care-card{background:#fff;border-color:#d0ded5;border-top:3px solid #ad6950}
body[data-route="future"] .frequency-page .care-card:nth-child(2){border-top-color:#b78943}
body[data-route="future"] .frequency-page .care-card:nth-child(3){border-top-color:#4a8169}
body[data-route="future"] .steel-callout{background:#fbf5ed;border-color:#dfc9b3}

/* Preserve the existing accessibility modes without adding animated effects. */
body.high-contrast:is([data-route="home"],[data-route="technology"],[data-route="future"]) #main :is(.steel-copy,.poster-title,.frequency-page,.steel-band,.side-note){background:#fff;color:#142c38}
body.high-contrast[data-route="future"] :is(.frequency-controls,.frequency-learning){background:#fff;color:#142c38}
@media(prefers-reduced-motion:reduce){
  body:is([data-route="home"],[data-route="technology"],[data-route="future"]) :is(.frequency-grid,.teaser-waves)::before,
  body:is([data-route="home"],[data-route="technology"],[data-route="future"]) :is(.frequency-grid,.teaser-waves)::after{animation:none;transition:none}
}
@media print{
  body:is([data-route="home"],[data-route="technology"],[data-route="future"]) #main :is(.steel-copy,.poster-title,.frequency-page,.steel-band,.side-note,.frequency-controls,.frequency-learning){background:#fff;box-shadow:none}
}
