#primary.kedo-coast .amber-cover {position:relative}
#primary.kedo-coast .amber-feature {
  position:relative; isolation:isolate; display:grid; justify-items:center; gap:14px;
  padding:28px 16px 16px; overflow:hidden; color:#fff6dd; background:#513925;
}
#primary.kedo-coast .amber-feature::before {
  content:""; position:absolute; inset:-1px 0 0; z-index:-1;
  background:radial-gradient(ellipse 50% 26% at 50% 29%,#28160d68,transparent),var(--path-ground) center top / 100% 100% no-repeat;
}
#primary.kedo-coast .amber-caption {text-align:center;text-shadow:0 2px 8px #132018;z-index:1}
#primary.kedo-coast .amber-caption h2 {font-size:clamp(34px,5.6vw,52px);margin:3px 0 10px}
#primary.kedo-coast .amber-context {font:600 12px/1.4 Inter,sans-serif}
#primary.kedo-coast button.amber-switch {
  display:inline-flex; align-items:center; gap:.55em; justify-content:center; min-height:44px;
  padding:8px 16px; border:1px solid #b9af90; border-radius:24px;
  font:600 14px/1.2 Inter,system-ui,sans-serif; background:#20392f; color:#fff5d9;
}
#primary.kedo-coast button.amber-switch::before {content:"";display:block;width:12px;height:12px;border-radius:50%;box-shadow:inset -4px -2px #efd6a1;transform:rotate(-16deg)}
#primary.kedo-coast[data-amber-light="evening"] button.amber-switch::before {background:#f9d899;box-shadow:0 0 5px #e8b758}
#primary.kedo-coast .amber-map-control {margin:-4px 0 14px}
#primary.kedo-coast .amber-on-stage {width:min(88%,390px);position:relative;pointer-events:none}
#primary.kedo-coast .amber-tableau {position:relative;display:block;width:100%;aspect-ratio:2 / 1;isolation:isolate;pointer-events:none}
#primary.kedo-coast .amber-tableau::before {
  content:"";position:absolute;inset:0;
  background:radial-gradient(ellipse 40% 8% at 49% 91%,#201309b8 7%,transparent 99%),
             radial-gradient(ellipse 8% 3% at 7% 94%,#201709a8,transparent),
             radial-gradient(ellipse 7% 3% at 91% 73%,#2017099c,transparent);
}
#primary.kedo-coast .amber-boulder {
  display:block;position:absolute;left:17%;width:66%;bottom:8%;aspect-ratio:1000 / 678;
  background:url(stone.webp) center / 100% 100% no-repeat;
}
#primary.kedo-coast .amber-boulder::before, #primary.kedo-coast .amber-boulder::after {
  content:"";position:absolute;inset:0;pointer-events:none;
}
#primary.kedo-coast .amber-boulder::before {
  background:radial-gradient(ellipse 21% 16% at 41% 33%,#fff9bd6b,transparent);mix-blend-mode:soft-light;
}
#primary.kedo-coast .amber-boulder::after {
  opacity:0;
  background:radial-gradient(ellipse 23% 28% at 44% 39%,#fff8d5f5 0%,#ffdb89c7 20%,#ffb03a70 55%,transparent 100%),
             radial-gradient(ellipse 13% 20% at 80% 51%,#fff2cbd9,#ffca78a3 31%,#ffe5a000 98%);
}
#primary.kedo-coast .amber-emitter {
  position:absolute;display:block;transform-origin:0 50%;
  transform:translateY(-50%) rotate(var(--aim));z-index:1;
}
#primary.kedo-coast .amber-left {--aim:-30deg;left:9%;top:88%;width:44%;height:14%}
#primary.kedo-coast .amber-right {--aim:202deg;left:91%;top:68%;width:23%;height:18%}
#primary.kedo-coast .amber-emitter::before {
  content:"";position:absolute;right:100%;top:15%;height:70%;width:15%;border-radius:26% 10% 10% 26%;
  background:linear-gradient(#72756b 0%,#42483f 24%,#262d26 69%,#5c6154 79%,#252821 98%);
  box-shadow:0 1px 2px #17190e99;
}
#primary.kedo-coast .amber-emitter::after {
  content:"";position:absolute;left:0;top:13%;height:74%;width:3.5%;transform:translateX(-50%);border-radius:50%;
  background:linear-gradient(90deg,#4d554b,#a4a290 55%,#656a60);
}
#primary.kedo-coast .amber-beam {
  display:block;position:absolute;inset:0;opacity:0;
  clip-path:polygon(0 46%,96% 0,100% 16%,100% 84%,96% 100%,0 54%);
  background:linear-gradient(90deg,#fff2bcda,#ffdc83b3 25%,#ffc65a73 67%,#ffd1841a);
  -webkit-mask-image:linear-gradient(transparent,#000 33%,#000 67%,transparent);
  mask-image:linear-gradient(transparent,#000 33%,#000 67%,transparent);
}
#primary.kedo-coast .amber-right .amber-beam {background:linear-gradient(90deg,#fff3d7e8,#ffe5b5a3 33%,#ffd6954a 79%,#ffe4a618)}
#primary.kedo-coast[data-amber-light="evening"] .amber-beam,
#primary.kedo-coast[data-amber-light="evening"] .amber-boulder::after {opacity:1}
#primary.kedo-coast[data-amber-light="evening"] .amber-boulder {filter:brightness(.86) saturate(1.08)}
#primary.kedo-coast[data-amber-light="evening"] .amber-boulder::before {opacity:0}
#primary.kedo-coast[data-amber-light="evening"] .amber-emitter::after {background:#fff4c8;box-shadow:0 0 4px #ffd77c,0 0 9px #ffb647}
#primary.kedo-coast[data-amber-light="evening"] .atlas-art {filter:brightness(.52) saturate(.68)}
#primary.kedo-coast[data-amber-light="evening"] .park-wind .hero-art::after {background-color:#121c30a8}
#primary.kedo-coast[data-amber-light="evening"] .mob-hero > :is(img,video) {filter:brightness(.67) saturate(.77)}
#primary.kedo-coast .atlas-scene::before {
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;opacity:0;
  background:radial-gradient(ellipse 26% 31% at 78% 64%,#ffe4a144,transparent 100%);
}
#primary.kedo-coast[data-amber-light="day"] .atlas-scene::before {opacity:.55}
#primary.kedo-coast[data-amber-light="evening"] .park-wind .art-links a:first-child {background:#d5ad78e8;border-radius:2px}
#primary.kedo-coast .atlas-pins .amber-map-pin {
  left:83%;top:77%;width:clamp(53px,13cqw,114px);display:flex;flex-direction:column;align-items:center;
}
#primary.kedo-coast .atlas-pins .amber-map-pin::after {display:none}
#primary.kedo-coast .amber-map-pin b {
  font:600 clamp(10px,1.65cqw,14px)/1.25 Inter,system-ui,sans-serif;color:#35250e;
  background:#fff6d8;border:1px solid #76643e;border-radius:10px;padding:3px 6px;white-space:nowrap;
}
#primary.kedo-coast .amber-map-pin[aria-current] b {background:#273e2d;color:#fff0c1;border-color:#e5bc67}
@media(max-width:959px){
  #primary.kedo-coast .amber-cover {--path-ground:url(path-phone.webp);--cover-poster:url(../assets/park-mobile.webp)}
  #primary.kedo-coast .park-wind .mob-hero {max-width:none}
  #primary.kedo-coast .park-wind .mob-hero img {display:block}
  /* Keep the lower edge of the moving cover registered with the painted foreground. */
  #primary.kedo-coast .park-wind::after {
    content:"";position:absolute;bottom:0;left:0;right:0;height:min(4vw,32px);pointer-events:none;z-index:1;
    background:var(--cover-poster) center bottom / 100% auto no-repeat;
    -webkit-mask-image:linear-gradient(transparent,#000 90%);mask-image:linear-gradient(transparent,#000 90%);
  }
  #primary.kedo-coast[data-amber-light="evening"] .park-wind::after,
  #primary.kedo-coast[data-amber-light="evening"] .amber-feature::before {filter:brightness(.67) saturate(.77)}
}
@media(min-width:740px) and (max-width:959px){
  #primary.kedo-coast .amber-cover {--path-ground:url(path-wide.webp);--cover-poster:url(../assets/stage.webp)}
}
@media(min-width:960px){
  #primary.kedo-coast .park-wind .desktop-hero {align-items:flex-start;padding-top:clamp(38px,8vw,170px)}
  #primary.kedo-coast .amber-feature {
    position:absolute;left:max(5%,calc((100% - 1160px) / 2));bottom:2%;width:min(45%,660px);
    display:flex;align-items:flex-end;gap:3%;padding:0;overflow:visible;background:none;pointer-events:none;
  }
  #primary.kedo-coast .amber-feature::before {display:none}
  #primary.kedo-coast .amber-caption {flex:1 0 28%;margin-bottom:4%;text-align:left}
  #primary.kedo-coast .amber-caption h2 {font-size:clamp(22px,1.95vw,36px);white-space:nowrap}
  #primary.kedo-coast .amber-on-stage {flex:0 1 71%;width:71%}
  #primary.kedo-coast .amber-caption button {pointer-events:auto}
}
@media(prefers-reduced-motion:no-preference){
  #primary.kedo-coast .amber-boulder::before, #primary.kedo-coast .amber-boulder::after,
  #primary.kedo-coast .amber-beam {transition:opacity .55s ease}
  #primary.kedo-coast .park-wind::after, #primary.kedo-coast .amber-feature::before, #primary.kedo-coast .atlas-art,
  #primary.kedo-coast .mob-hero > :is(img,video) {transition:filter .55s ease}
  #primary.kedo-coast .park-wind .hero-art::after {transition:background-color .55s ease}
  #primary.kedo-coast[data-amber-light="day"] .atlas-scene.is-moving .amber-boulder::before,
  #primary.kedo-coast[data-amber-light="day"] .amber-cover:has(.shore-toggle[aria-label^="Приостановить"]) .amber-boulder::before {
    animation:amber-sun 8s ease-in-out infinite alternate;
  }
  #primary.kedo-coast[data-amber-light="day"] .atlas-scene.is-moving::before {animation:amber-canopy 9s ease-in-out infinite alternate}
  @keyframes amber-canopy {from{opacity:.35;transform:translate(-2%,-1%)}to{opacity:.85;transform:translate(1%,1%)}}
  @keyframes amber-sun {from{opacity:.3}to{opacity:1}}
}
