/* IKI | Atelier V5 — Natural Motion & Chromatic Clarity
 * Built from the v10 IKI art, the complete V3/V4 art direction and approved
 * values. Not a new logo or palette. Deliberate vibrant accents, not neon.
 */

:root {
  --iki-sun-gold:#cfa35a;
  --iki-orchid:#70418e;
  --iki-night:#142a41;
  --iki-flower-coral:#bc657a;
  --iki-leaf-green:#4d7852;
}

/* Photographic light made more vivid, while guaranteeing light copy areas. */
.v4-hero-stage {
  background:
    radial-gradient(ellipse 48% 56% at 78% 42%,
      rgba(255,232,169,.34) 0%,rgba(255,239,209,.17) 55%,transparent 87%),
    linear-gradient(112deg,#fcfaf6 0%,#fcfaf6 39%,#fffaf3 66%,#fff3d7 100%);
}
.v4-hero-light {filter:blur(17px);opacity:.94}
.v4-hero .v4-sun-art {
  filter:brightness(1.055) saturate(1.04);
  box-shadow:0 0 34px 6px rgba(254,203,112,.21);
}
.v4-hero .v4-sun-art .v3-sun-disc {
  filter:brightness(1.045) saturate(1.10);
}
/* Photo stays in the background: colored flowers begin where text stops. */
.v4-hero-flora-front {
  filter:saturate(1.27) contrast(1.08) brightness(1.035);
}
.v4-hero-flora-back {
  opacity:.58;
  filter:saturate(1.13) contrast(1.045) blur(2.5px);
}
.v4-hero-flora-front img,.v4-hero-flora-back img {
  image-rendering:auto;
}
.v4-hero-flora-front.v5-wind-ready>img,
.v4-hero-flora-back.v5-wind-ready>img {
  opacity:0;
}
.v4-hero-flora-front .v5-wind-canvas,
.v4-hero-flora-back .v5-wind-canvas {
  position:absolute;inset:0;width:100%;height:100%;z-index:2;
  pointer-events:none;will-change:contents;
}
.v4-sun-art>.v5-corona {
  position:absolute;inset:-26%;
  width:152%;height:152%;
  z-index:3;pointer-events:none;
  mix-blend-mode:screen;
}
.v5-corona[hidden]{display:none}
.v4-hero .v3-glitter-grain {
  filter:drop-shadow(0 0 2px rgba(148,110,38,.53));
}
.v4-hero .v3-glitter-grain:nth-child(4n){
  background:radial-gradient(circle,#ffeba8 15%,#bc892d 85%);
}
/* Accents are saturated in artwork, never on body text. */
.v4-hero-bottom p{color:#263f51!important}
.v4-hero-content h1{color:#102d52}
.v4-hero-content h1 em{color:#865024}
.v4-hero-ident{color:#6b5049}

/* Color intensity and light: large chapter scenes remain readable. */
.v4-story-gocce .v4-story-image img,
.v4-story-gocce .v4-story-image .v4-water-canvas {
  filter:saturate(1.21) contrast(1.045);
}
.v4-story-pivot .v4-story-image img {
  filter:saturate(1.27) contrast(1.035) brightness(.91);
}
.v4-story-dignity .v4-story-image img {
  filter:saturate(1.08) contrast(1.09) brightness(.91);
}
.v4-story-gocce .v4-story-screen {
  background:
    linear-gradient(90deg,rgba(16,25,42,.91) 0%,
      rgba(20,23,43,.74) 28%,rgba(23,21,39,.34) 57%,
      rgba(24,18,31,.10) 91%),
    linear-gradient(to top,rgba(17,16,32,.53),transparent 38%);
}
.v4-story-pivot .v4-story-screen {
  background:
    linear-gradient(90deg,rgba(34,26,47,.9) 0%,
      rgba(47,26,60,.68) 35%,rgba(36,23,48,.16) 91%),
    linear-gradient(to top,rgba(22,18,32,.42),transparent 33%);
}
.v4-story-dignity .v4-story-screen {
  background:linear-gradient(90deg,rgba(36,27,47,.9),
      rgba(45,34,55,.63) 38%,rgba(39,34,45,.1) 90%);
}
/* Organic visual energy in the colored water and flowers, not hard neon. */
.v4-essence-item:nth-child(1){background:#f7f0d8}
.v4-essence-item:nth-child(2){background:#f5e2ed}
.v4-essence-item:nth-child(3){background:#eee4f5}
.v4-essence-item img {
  filter:saturate(1.16) contrast(1.035);
  will-change:transform;
}
.v4-essence-item:nth-child(1) img{filter:saturate(1.18) contrast(1.04)}
.v4-essence-item:nth-child(2) img{filter:saturate(1.16)}
.v4-essence-item:nth-child(3) img{filter:saturate(1.22) contrast(1.055)}

/* Mission: each flower opens, rather than simply fading in. */
.v4-bloom-possibilita {background:#fff5e5}
.v4-bloom-dignita {background:#f7e9f1}
.v4-bloom-formazione {background:#f3edf7}
.iki-flower-paper .flower-paper-petal {
  transform-origin:center center;
  backface-visibility:visible;
}
.iki-flower-paper[data-active] .flower-paper-petal[data-side="top"] {animation-delay:0ms}
.iki-flower-paper[data-active] .flower-paper-petal[data-side="right"]{animation-delay:160ms}
.iki-flower-paper[data-active] .flower-paper-petal[data-side="bottom"]{animation-delay:320ms}
.iki-flower-paper[data-active] .flower-paper-petal[data-side="left"]{animation-delay:480ms}

/* The water's caustic is very soft; movement is mostly in the flower head. */
.iki-flower-lotus .flower-ripple{
  border:1.4px solid rgba(255,235,219,.65);
  box-shadow:0 0 11px 1px rgba(250,205,210,.12);
  filter:blur(.4px);
}
.iki-flower-lotus[data-active] img {
  animation:iki-v5-lotus 8.2s cubic-bezier(.45,.04,.55,.95) infinite alternate;
}
@keyframes iki-v5-lotus {
  0%{transform:translateY(1px) rotate(-.36deg) scale(1.002)}
  48%{transform:translateY(-2px) rotate(.24deg) scale(1.005)}
  100%{transform:translateY(.8px) rotate(-.15deg) scale(1.001)}
}

/* A non-linear petal-scale emergence replacing the flat image dissolve. */
.iki-flower-iris .flower-iris-open {
  clip-path:ellipse(19% 27% at 50% 74%);
  opacity:.08;
  transform:translateY(17px) scale(.65,.75) rotate(-2.3deg);
  transform-origin:50% 88%;
  filter:blur(1.6px);
  transition:
    clip-path 3.6s cubic-bezier(.24,.48,.35,1),
    transform 3.9s cubic-bezier(.19,.52,.24,1),
    opacity 1.8s ease-out,
    filter 2.6s ease-out;
}
.iki-flower-iris[data-active] .flower-iris-open {
  clip-path:ellipse(72% 67% at 50% 52%);
  opacity:1;
  transform:translateY(0) scale(1.02) rotate(0);
  filter:blur(0);
}
.iki-flower-iris .flower-iris-closed {
  transition:
    opacity 2.9s cubic-bezier(.45,0,.6,1),
    transform 3.6s cubic-bezier(.24,.48,.35,1);
}
.iki-flower-iris[data-active] .flower-iris-closed {
  opacity:0;
  transform:translateY(5px) scale(.97);
}
.v4-bloom-visual .iki-flower img{
  filter:saturate(1.23) contrast(1.06);
}

/* Keep body typography precisely within the brand's navy/cream palette. */
.v4-manifesto{background:#2a203b}
.v4-project-overture{background:#fbf6ed}
.v4-quote{background:#413252}
.v3-team-member .v3-team-emerald{color:#147955}
.v3-team-member .v3-team-golden{color:#be8b2b}
.v3-team-member .v3-team-coral{color:#b54758}

/* No movement on reduced-motion or paused, including new GPU layers. */
@media (prefers-reduced-motion:reduce) {
  .v4-hero-flora-front.v5-wind-ready>img,
  .v4-hero-flora-back.v5-wind-ready>img{opacity:1!important}
  .v5-wind-canvas,.v5-corona{display:none!important}
  .iki-flower-iris .flower-iris-open,
  .iki-flower-iris .flower-iris-closed {transition:none!important}
  .iki-flower-lotus img{animation:none!important}
}
html.iki-motion-paused .v4-hero-flora-front.v5-wind-ready>img,
html.iki-motion-paused .v4-hero-flora-back.v5-wind-ready>img{
  opacity:1!important;
}
html.iki-motion-paused .v5-wind-canvas,
html.iki-motion-paused .v5-corona{display:none!important}
html.iki-motion-paused .iki-flower-iris *{transition:none!important}
html.iki-motion-paused .iki-flower-lotus img{animation:none!important}

/* Performance: retain the photograph on mobile, reduce shader load. */
@media(max-width:759px){
  .v5-wind-canvas,.v5-corona{display:none!important}
  .v4-hero-flora-front,.v4-hero-flora-back{will-change:auto}
  .v4-story-image img{filter:saturate(1.17)}
}

/* Messaggio pubblico di trasparenza, nessun modulo di raccolta in questa fase. */
.v5-pending-badge {
  display:inline-flex;align-items:center;gap:8px;margin-top:30px;
  border:1px solid #cdb7a9;border-radius:40px;padding:12px 18px;
  color:#6c4e37;background:#f9f0e7;font-size:.83rem;font-weight:650;
}
.legal-copy h2{overflow-wrap:anywhere}
.legal-copy strong{font-weight:670}
