/* Static artwork first. Only two small compositor animations, controlled by visibility. */
.hero-copy{position:relative;isolation:isolate}
.hero-atmosphere{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 98% 18%,rgba(120,144,123,.24),transparent 64%),radial-gradient(ellipse at 82% 88%,rgba(191,123,93,.23),transparent 68%)}
.ambient-flow{position:absolute;left:-10%;top:-10%;width:120%;height:120%;transform-origin:65% 48%;opacity:.9;--ambient-x:22px;--ambient-y:-24px;--ambient-turn:3deg;--ambient-scale:1.055}
.ambient-flow-primary g{stroke-width:1.3;stroke-opacity:.34}
.ambient-flow-secondary g{stroke-width:1.2;stroke-opacity:.29}
.ambient-veil{position:absolute;inset:0;background:linear-gradient(90deg,rgba(245,241,233,.60),rgba(245,241,233,.16) 56%,transparent 90%)}
.hero-ambient-toggle{position:absolute;bottom:8px;right:10px;z-index:3;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid rgba(110,107,98,.22);border-radius:50%;color:var(--muted);background:rgba(245,241,233,.7);cursor:pointer}
.hero-ambient-toggle[hidden]{display:none}
.hero-ambient-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ambient-play-icon{display:none}
.hero-ambient-toggle[data-paused="true"] .ambient-pause-icon{display:none}
.hero-ambient-toggle[data-paused="true"] .ambient-play-icon{display:block}
.hero-ambient-toggle:hover{color:var(--clay);border-color:var(--clay)}
@media(prefers-reduced-motion:no-preference){
  .ambient-flow-primary{animation:ambient-breathe 12s ease-in-out infinite alternate paused}
  .ambient-flow-secondary{animation:ambient-release 17s ease-in-out infinite alternate paused}
  .hero-atmosphere.is-running .ambient-flow{animation-play-state:running}
}
@keyframes ambient-breathe{from{transform:translate3d(-8px,6px,0) rotate(-2deg) scale(1);opacity:.82}to{transform:translate3d(var(--ambient-x),var(--ambient-y),0) rotate(var(--ambient-turn)) scale(var(--ambient-scale));opacity:1}}
@keyframes ambient-release{from{transform:translate3d(6px,-4px,0) rotate(2deg);opacity:.76}to{transform:translate3d(-19px,16px,0) rotate(-2deg);opacity:.94}}
@media(max-width:600px),(pointer:coarse){
  .hero-copy{padding-bottom:42px}
  .ambient-flow{left:-10%;width:125%;opacity:.85;--ambient-x:12px;--ambient-y:-14px;--ambient-turn:1.5deg;--ambient-scale:1.035}
  .ambient-flow-secondary{animation:none;opacity:.7}
  .ambient-flow-primary{animation-duration:18s}
  .ambient-veil{background:linear-gradient(90deg,rgba(245,241,233,.66),rgba(245,241,233,.20) 65%,rgba(245,241,233,.04))}
  .hero-ambient-toggle{bottom:3px;right:6px;width:30px;height:30px}
}
@media(prefers-reduced-motion:reduce){.ambient-flow{animation:none!important}.hero-ambient-toggle{display:none}}
