/*
Theme Name: Winter Windowland – Lewiston (Divi 5 Child)
Theme URI: https://winterwindowland.com/
Description: A festive full-screen coming soon front page for the Village of Lewiston, New York. Requires Divi (including Divi 5).
Author: Winter Windowland
Version: 1.0.1
Template: Divi
Text Domain: winter-windowland
License: GPL-2.0-or-later
*/

/* All page rules are scoped to the Winter Windowland landing page to
   preserve Divi styling elsewhere on the website. */
html {scroll-behavior:smooth;}
body.wwl-landing {
  margin:0; min-width:320px; min-height:100vh; color:#fff6e6;
  background:#07111a; font-family:'DM Sans',Arial,sans-serif; font-weight:400;
  -webkit-font-smoothing:antialiased;
}
body.wwl-landing *, body.wwl-landing *::before, body.wwl-landing *::after {box-sizing:border-box;}
body.wwl-landing button {font:inherit;}
body.wwl-landing a {color:inherit;}
body.wwl-landing .wwl-root {isolation:isolate;min-height:100svh;min-height:100vh;position:relative;overflow:hidden;display:flex;flex-direction:column;}
body.wwl-landing .wwl-backdrop,
body.wwl-landing .wwl-veil,
body.wwl-landing .wwl-stars,
body.wwl-landing .wwl-snow {position:fixed;inset:0;pointer-events:none;}
body.wwl-landing .wwl-backdrop {
  z-index:-4;inset:-3.2%;background: center 48% / cover no-repeat url('assets/images/lewiston-winter-night.png');
  filter:blur(7px) brightness(.77) saturate(.94);transform:scale(1.025);
}
body.wwl-landing .wwl-veil {
  z-index:-3;
  background:linear-gradient(90deg,rgba(7,13,19,.5) 0%,rgba(7,13,19,.15) 42%,rgba(7,13,19,.45) 100%),
    linear-gradient(180deg,rgba(3,12,22,.68) 0%,rgba(7,17,26,.12) 24%,rgba(4,13,20,.28) 62%,rgba(4,11,18,.82) 100%);
}
body.wwl-landing .wwl-stars {z-index:-1;opacity:.37;background-image:radial-gradient(circle,rgba(255,243,211,.92) 1px,transparent 1.6px),radial-gradient(circle,rgba(255,243,211,.65) 1px,transparent 1.5px);background-size:145px 147px,207px 181px;background-position:22px 38px,109px 73px;}
body.wwl-landing .wwl-snow {z-index:3;overflow:hidden;}
body.wwl-landing .wwl-snowflake {position:absolute;top:-20px;border-radius:50%;background:rgba(255,255,255,.8);box-shadow:0 0 7px rgba(255,255,255,.46);animation:wwl-fall linear infinite;will-change:transform;}
@keyframes wwl-fall {from{transform:translate3d(0,-8vh,0)}to{transform:translate3d(var(--wwl-drift,40px),110vh,0)}}
body.wwl-landing .wwl-header {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:clamp(22px,3.5vw,44px) clamp(25px,5.1vw,78px) 0;position:relative;z-index:5;}
body.wwl-landing .wwl-brand {display:flex;align-items:center;gap:12px;text-decoration:none;}
body.wwl-landing .wwl-brand-icon {width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,232,187,.68);border-radius:50%;color:#f1d8ab;position:relative;flex:none;}
body.wwl-landing .wwl-brand-icon svg {width:22px;height:22px;}
body.wwl-landing .wwl-brand-type {font-size:11px;line-height:1.32;font-weight:750;letter-spacing:.24em;text-transform:uppercase;}
body.wwl-landing .wwl-brand-type span {display:block;}
body.wwl-landing .wwl-top-location {color:rgba(255,246,224,.82);font-size:10px;font-weight:700;letter-spacing:.25em;text-transform:uppercase;text-align:right;}
body.wwl-landing .wwl-top-location span {color:#ebcf95;}
body.wwl-landing .wwl-center {display:flex;align-items:center;justify-content:center;flex:1;padding:35px 24px 70px;position:relative;z-index:4;}
body.wwl-landing .wwl-panel {
  width:min(840px,100%);text-align:center;padding:clamp(30px,4.5vw,55px) clamp(25px,5.4vw,76px) clamp(30px,4.4vw,52px);
  position:relative;border:1px solid rgba(239,213,164,.38);
  background:linear-gradient(145deg,rgba(5,19,30,.69),rgba(14,28,34,.50) 54%,rgba(5,18,29,.67));
  box-shadow:0 24px 70px rgba(2,6,10,.29),inset 0 1px 0 rgba(255,255,255,.07);
  border-radius:2px;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
}
body.wwl-landing .wwl-panel::before,
body.wwl-landing .wwl-panel::after {content:'';position:absolute;width:26px;height:26px;pointer-events:none;}
body.wwl-landing .wwl-panel::before {top:11px;left:11px;border-top:1px solid #e8c892;border-left:1px solid #e8c892;}
body.wwl-landing .wwl-panel::after {bottom:11px;right:11px;border-bottom:1px solid #e8c892;border-right:1px solid #e8c892;}
body.wwl-landing .wwl-kicker {display:flex;align-items:center;justify-content:center;gap:16px;color:#f1d8a9;letter-spacing:.26em;text-transform:uppercase;font-size:10px;font-weight:700;margin-bottom:17px;}
body.wwl-landing .wwl-kicker::before,body.wwl-landing .wwl-kicker::after {content:'';width:44px;height:1px;background:linear-gradient(90deg,transparent,rgba(237,204,149,.7));}
body.wwl-landing .wwl-kicker::after {transform:rotate(180deg);}
body.wwl-landing .wwl-opening {margin:0;color:#fff3dd;font:italic 500 clamp(23px,3.35vw,37px)/1.12 'Cormorant Garamond',Georgia,serif;letter-spacing:.02em;}
body.wwl-landing h1.wwl-title {padding:0;margin:0 0 5px;font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;line-height:.84;text-wrap:balance;text-shadow:0 3px 16px rgba(0,0,0,.16);}
body.wwl-landing .wwl-title-winter {display:block;color:#fff7e9;font-size:clamp(80px,11.2vw,137px);letter-spacing:-.045em;}
body.wwl-landing .wwl-title-windowland {display:block;color:#f1d59d;font-size:clamp(65px,9.8vw,119px);letter-spacing:-.047em;}
body.wwl-landing .wwl-decor {display:flex;align-items:center;justify-content:center;gap:15px;margin:29px auto 16px;color:#e8c990;}
body.wwl-landing .wwl-decor i {display:block;width:88px;height:1px;background:linear-gradient(90deg,transparent,#dfbd84);}
body.wwl-landing .wwl-decor i:last-child {transform:rotate(180deg);}
body.wwl-landing .wwl-decor svg {width:22px;height:22px;}
body.wwl-landing .wwl-coming {margin:0;color:#f7e1b3;text-transform:uppercase;letter-spacing:.31em;font-size:13px;font-weight:800;}
body.wwl-landing .wwl-intro {max-width:550px;font-size:clamp(14px,1.55vw,17px);line-height:1.74;letter-spacing:.005em;margin:15px auto 0;color:rgba(255,248,236,.9);}
body.wwl-landing .wwl-bottomline {margin:27px 0 0;color:#e6cca5;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(20px,2.3vw,27px);font-style:italic;line-height:1.25;}
body.wwl-landing .wwl-footer {display:flex;align-items:center;justify-content:space-between;gap:14px;z-index:5;position:relative;color:rgba(255,244,224,.76);padding:0 clamp(25px,5.1vw,78px) 24px;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.19em;}
body.wwl-landing .wwl-footer a {text-decoration:none;}
body.wwl-landing .wwl-footer a:hover,body.wwl-landing .wwl-footer a:focus-visible {color:#f9e0ab;}
body.wwl-landing .wwl-audio-toggle {
  position:fixed;bottom:60px;right:clamp(22px,5.1vw,75px);z-index:12;display:inline-flex;align-items:center;gap:12px;
  padding:12px 17px;color:#fff4df;background:rgba(9,27,37,.86);border:1px solid rgba(236,204,149,.5);
  border-radius:50px;cursor:pointer;box-shadow:0 8px 25px rgba(0,0,0,.2);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:background .2s,border-color .2s,transform .2s;
}
body.wwl-landing .wwl-audio-toggle:hover {background:rgba(29,48,55,.93);border-color:#f3d7a2;transform:translateY(-2px);}
body.wwl-landing .wwl-audio-toggle:focus-visible {outline:3px solid #f6dfb0;outline-offset:4px;}
body.wwl-landing .wwl-audio-toggle svg {width:18px;height:18px;flex:none;}
body.wwl-landing .wwl-audio-label {font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap;}
body.wwl-landing .wwl-equalizer {display:flex;align-items:end;gap:3px;height:15px;width:16px;}
body.wwl-landing .wwl-equalizer span {width:3px;height:4px;background:#e8c990;border-radius:2px;}
body.wwl-landing .wwl-audio-toggle.is-playing .wwl-equalizer span {animation:wwl-eq 1s ease-in-out infinite alternate;}
body.wwl-landing .wwl-audio-toggle.is-playing .wwl-equalizer span:nth-child(2) {animation-delay:.3s;}
body.wwl-landing .wwl-audio-toggle.is-playing .wwl-equalizer span:nth-child(3) {animation-delay:.15s;}
@keyframes wwl-eq {0%{height:3px}100%{height:15px}}
body.wwl-landing .wwl-sr-only {clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;position:absolute;white-space:nowrap;}
@media (max-width:700px) {
  body.wwl-landing .wwl-header {padding:20px 20px 0;}
  body.wwl-landing .wwl-brand-type {font-size:9px;letter-spacing:.16em;}
  body.wwl-landing .wwl-brand-icon {width:35px;height:35px;}
  body.wwl-landing .wwl-top-location {font-size:9px;letter-spacing:.1em;max-width:120px;}
  body.wwl-landing .wwl-center {padding:43px 18px 104px;}
  body.wwl-landing .wwl-panel {padding:42px 21px 43px;}
  body.wwl-landing .wwl-title-winter {font-size:clamp(66px,18vw,94px);}
  body.wwl-landing .wwl-title-windowland {font-size:clamp(56px,14.6vw,80px);}
  body.wwl-landing .wwl-kicker {font-size:9px;letter-spacing:.18em;gap:10px;}
  body.wwl-landing .wwl-kicker::before,body.wwl-landing .wwl-kicker::after {width:18px;}
  body.wwl-landing .wwl-coming {font-size:12px;letter-spacing:.22em;}
  body.wwl-landing .wwl-intro {line-height:1.6;}
  body.wwl-landing .wwl-footer {padding:0 18px 16px;flex-wrap:wrap;justify-content:center;text-align:center;font-size:9px;}
  body.wwl-landing .wwl-audio-toggle {bottom:58px;right:50%;transform:translateX(50%);padding:11px 16px;}
  body.wwl-landing .wwl-audio-toggle:hover {transform:translateX(50%);}
}
@media (max-width:380px) {
  body.wwl-landing .wwl-panel {padding-left:14px;padding-right:14px;}
  body.wwl-landing .wwl-title-winter {font-size:66px;}
  body.wwl-landing .wwl-title-windowland {font-size:51px;}
  body.wwl-landing .wwl-opening {font-size:25px;}
  body.wwl-landing .wwl-brand-icon {display:none;}
}
@media (prefers-reduced-motion:reduce) {
  body.wwl-landing .wwl-snow {display:none;}
  body.wwl-landing .wwl-equalizer span {animation:none!important;}
  body.wwl-landing .wwl-audio-toggle {transition:none;}
}
