/* v0.7 atmosphere system. Background environment only; no content-card layout. */
:root {
  --bg-base-a: #e8f5fb;
  --bg-base-b: #f2f8f3;
  --bg-base-c: #f4efe3;
  --bg-photo: url('/img/natural/hero-garden.webp');
  --bg-photo-opacity: .30;
  --bg-photo-filter: blur(30px) saturate(.98) brightness(1.06);
}

html[data-bg="sky"] {
  --bg-base-a: #e8f5fb;
  --bg-base-b: #f2f8f3;
  --bg-base-c: #f4efe3;
  --bg-photo: url('/img/natural/hero-garden.webp');
  --bg-photo-opacity: .30;
  --bg-photo-filter: blur(30px) saturate(.98) brightness(1.06);
}

html[data-bg="grove"] {
  --bg-base-a: #e8f1e7;
  --bg-base-b: #f3f1e3;
  --bg-base-c: #e1ece2;
  --bg-photo: url('/img/natural/photo-garden.webp');
  --bg-photo-opacity: .34;
  --bg-photo-filter: blur(34px) saturate(.94) brightness(1.05);
}

html[data-bg="mist"] {
  --bg-base-a: #e3eff5;
  --bg-base-b: #edf4f4;
  --bg-base-c: #e6ecee;
  --bg-photo: url('/img/natural/video-garden.webp');
  --bg-photo-opacity: .26;
  --bg-photo-filter: blur(40px) saturate(.76) brightness(1.09);
}

html[data-bg] #web_bg {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 25%, rgba(80,184,235,.38), transparent 30%),
    radial-gradient(ellipse at 100% 34%, rgba(148,214,176,.33), transparent 31%),
    radial-gradient(ellipse at 12% 86%, rgba(244,211,150,.22), transparent 27%),
    linear-gradient(145deg, var(--bg-base-a), var(--bg-base-b) 52%, var(--bg-base-c)) !important;
}

html[data-bg="grove"] #web_bg {
  background:
    radial-gradient(ellipse at 0% 32%, rgba(78,149,101,.38), transparent 31%),
    radial-gradient(ellipse at 100% 22%, rgba(205,181,114,.30), transparent 30%),
    radial-gradient(ellipse at 11% 90%, rgba(127,188,145,.31), transparent 28%),
    linear-gradient(145deg, var(--bg-base-a), var(--bg-base-b) 52%, var(--bg-base-c)) !important;
}

html[data-bg="mist"] #web_bg {
  background:
    radial-gradient(ellipse at 0% 24%, rgba(99,174,213,.34), transparent 33%),
    radial-gradient(ellipse at 100% 30%, rgba(176,207,222,.38), transparent 34%),
    radial-gradient(ellipse at 15% 90%, rgba(155,194,191,.24), transparent 29%),
    linear-gradient(145deg, var(--bg-base-a), var(--bg-base-b) 52%, var(--bg-base-c)) !important;
}

html[data-bg] #web_bg::before,
html[data-bg] #web_bg::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

html[data-bg] #web_bg::before {
  inset: -3%;
  background-image: var(--bg-photo);
  background-position: center;
  background-size: cover;
  opacity: var(--bg-photo-opacity);
  filter: var(--bg-photo-filter);
  transform: scale(1.035);
  -webkit-mask-image: linear-gradient(90deg,#000 0%,rgba(0,0,0,.98) 16%,rgba(0,0,0,.72) 31%,rgba(0,0,0,.16) 44%,transparent 48%,transparent 52%,rgba(0,0,0,.16) 56%,rgba(0,0,0,.72) 69%,rgba(0,0,0,.98) 84%,#000 100%);
  mask-image: linear-gradient(90deg,#000 0%,rgba(0,0,0,.98) 16%,rgba(0,0,0,.72) 31%,rgba(0,0,0,.16) 44%,transparent 48%,transparent 52%,rgba(0,0,0,.16) 56%,rgba(0,0,0,.72) 69%,rgba(0,0,0,.98) 84%,#000 100%);
}

html[data-bg] #web_bg::after {
  inset: 0;
  opacity: .28;
  background-image:
    radial-gradient(circle at 18% 64%, rgba(255,255,255,.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 76% 36%, rgba(255,255,255,.52) 0 1px, transparent 1.4px);
  background-size: 52px 52px, 70px 70px;
  mix-blend-mode: soft-light;
}

html[data-experience="home"] #page-header.full_page {
  background-image: url('/img/natural/hero-garden.webp') !important;
  background-position: center !important;
  background-size: cover !important;
}

html[data-bg="sky"] #page-header.full_page::before {
  background: linear-gradient(180deg, rgba(18,37,46,.05), rgba(18,34,28,.28)) !important;
}

html[data-bg="grove"] #page-header.full_page::before {
  background: linear-gradient(180deg, rgba(24,47,31,.08), rgba(21,41,29,.33)) !important;
}

html[data-bg="mist"] #page-header.full_page::before {
  background: linear-gradient(180deg, rgba(42,57,68,.08), rgba(34,48,56,.34)) !important;
}

html[data-experience="home"] #page-header.full_page::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 135px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--bg-base-a) 18%, transparent) 45%, color-mix(in srgb, var(--bg-base-a) 84%, transparent) 100%);
}

html[data-experience="home"] #page-header.full_page #site-info,
html[data-experience="home"] #page-header.full_page #nav,
html[data-experience="home"] #page-header.full_page .scroll-down-effects {
  z-index: 2;
}

html[data-skin="midnight"] #web_bg,
html[data-skin="neon"] #web_bg {
  filter: brightness(.66) saturate(.82);
}

html[data-skin="midnight"] #web_bg::after,
html[data-skin="neon"] #web_bg::after {
  opacity: .12;
}
