/* Announcement billboards: live copy, useful artwork, one clear action. */
.hero.editorial-hero{position:relative;isolation:isolate;margin:24px 0;background:var(--paper);border-color:color-mix(in srgb,var(--ochre) 45%,var(--line));border-radius:16px;box-shadow:0 7px 28px color-mix(in srgb,var(--ochre) 10%,transparent);--hero-particle:#64838c;--hero-glow:#e2e9e4;--hero-sky:#eaf0ec;--hero-book:#657e6d;--banner-gold:#bd8b36;--banner-gold-soft:#f5dfad;--banner-coral:#b85b43;--banner-accent:#285342;--banner-frame:#fff9ed}
.editorial-main{position:relative;min-height:292px;touch-action:pan-y;background:radial-gradient(ellipse at 85% 32%,color-mix(in srgb,var(--banner-gold-soft) 75%,transparent),transparent 58%),linear-gradient(115deg,color-mix(in srgb,var(--banner-frame) 80%,var(--paper)),var(--paper))}
.editorial-panels{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr)}
/* Keep every slide in one grid cell so the tallest reserves the shared height. */
.editorial-panels>.editorial-slide{grid-area:1/1;min-width:0;align-self:stretch;opacity:1;visibility:visible;transition:opacity .32s ease,visibility 0s}
.hero.editorial-hero .editorial-slide[hidden]{display:grid!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .32s ease,visibility 0s .32s}
.editorial-slide{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;min-height:292px;padding:32px 40px 12px;gap:36px;overflow:hidden;background:radial-gradient(ellipse at 0 100%,color-mix(in srgb,var(--banner-coral) 8%,transparent),transparent 56%)}
.editorial-slide[data-type=announcement],.editorial-slide[data-type=event]{--banner-accent:#914832}
.editorial-slide[data-type=class],.editorial-slide[data-type=workshop]{--banner-accent:#654365}
.editorial-slide:after{content:'';position:absolute;inset:0 0 auto;height:3px;background:repeating-linear-gradient(90deg,var(--banner-gold) 0 42px,var(--banner-coral) 42px 84px,var(--banner-accent) 84px 126px);opacity:.75;pointer-events:none}
.editorial-festoon{position:absolute;right:5%;top:2px;display:flex;justify-content:space-around;gap:12px;width:34%;max-width:330px;height:44px;pointer-events:none}
.editorial-festoon:before{content:'';position:absolute;left:-10px;right:-10px;top:-28px;height:48px;border-bottom:1px solid var(--banner-gold);border-radius:0 0 50% 50%;opacity:.65}
.editorial-festoon>span{width:19px;height:23px;flex-shrink:0;background:var(--banner-gold);clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);transform:rotate(9deg);margin-top:9px;opacity:.8}
.editorial-festoon>span:nth-child(2n){background:var(--banner-coral);transform:rotate(-5deg);margin-top:15px}
.editorial-festoon>span:nth-child(3n){background:var(--banner-accent);transform:rotate(3deg);margin-top:18px}
.editorial-festoon>span:last-child{margin-top:8px;transform:rotate(-12deg)}
.editorial-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:7px 0}
.editorial-label{display:inline-flex;align-items:center;gap:8px;padding:4px 10px;border:1px solid color-mix(in srgb,var(--banner-gold) 40%,transparent);border-radius:999px;background:color-mix(in srgb,var(--banner-gold-soft) 45%,var(--paper));color:var(--banner-accent);font-size:10px;font-weight:500;line-height:1.8}
.editorial-label>.icon{width:15px;height:15px;stroke-width:1.6}
.editorial-copy h2{font:600 clamp(23px,2.3vw,32px)/1.65 var(--serif);color:var(--banner-accent);white-space:pre-line;overflow-wrap:anywhere;text-wrap:pretty;max-width:100%}
.editorial-description{font-size:12px;line-height:2;color:var(--muted);white-space:pre-line;max-width:46em;overflow-wrap:anywhere}
.editorial-details{display:flex;gap:7px;align-items:flex-start;color:var(--ink);font-size:11px;line-height:1.9;overflow-wrap:anywhere}
.editorial-details .icon{width:15px;height:15px;margin-top:3px}
.editorial-attribution{color:var(--muted);font-size:10px;line-height:1.9;overflow-wrap:anywhere}
.hero-feature-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 16px;border:1px solid color-mix(in srgb,var(--banner-accent) 75%,var(--banner-gold));border-radius:6px;background:var(--banner-accent);color:var(--banner-frame);box-shadow:0 3px 0 color-mix(in srgb,var(--banner-gold) 55%,transparent);font-size:11px;font-weight:500;margin-top:5px;line-height:1.8;text-decoration:none}
.hero-feature-link:hover{background:color-mix(in srgb,var(--banner-accent) 85%,#000);transform:translateY(-1px)}
.hero-feature-link>.icon{width:15px;height:15px}
.editorial-visual{position:relative;align-self:center;min-width:0;min-height:230px;display:grid;align-items:center;justify-items:center;isolation:isolate;padding:18px 12px 8px}
.editorial-visual:before{content:'';position:absolute;width:82%;aspect-ratio:1;border:1px solid color-mix(in srgb,var(--banner-gold) 45%,transparent);border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--banner-gold-soft) 60%,transparent) 60%,transparent 61%);box-shadow:0 0 0 9px color-mix(in srgb,var(--banner-gold) 7%,transparent),0 0 0 20px color-mix(in srgb,var(--banner-gold) 5%,transparent);z-index:-2;pointer-events:none}
.editorial-visual:after{content:'';position:absolute;inset:8% -4%;background-image:radial-gradient(var(--banner-gold) 1.3px,transparent 1.6px);background-size:19px 19px;mask-image:radial-gradient(ellipse,#000 20%,transparent 70%);opacity:.45;z-index:-1;pointer-events:none}
.editorial-visual-fallback{position:absolute;inset:0;z-index:-1;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,var(--soft-green),var(--paper));color:var(--green)}
.editorial-visual-fallback>.icon{width:90px;height:90px;stroke-width:1}
.editorial-visual:has(.editorial-image:not([hidden])) .editorial-visual-fallback{visibility:hidden}
.editorial-image{position:relative;width:100%;max-width:380px;margin:0;padding:7px;background:var(--banner-frame);border:1px solid color-mix(in srgb,var(--banner-gold) 55%,transparent);border-radius:9px;box-shadow:5px 8px 0 color-mix(in srgb,var(--banner-gold) 20%,transparent),0 12px 22px color-mix(in srgb,var(--banner-accent) 12%,transparent);transform:rotate(-2deg)}
.hero.editorial-hero .editorial-image[hidden]{display:block!important;visibility:hidden}
.editorial-image[data-ready=false]{visibility:hidden}
.editorial-slide .editorial-image img{width:100%;height:auto;aspect-ratio:3/2;max-height:240px;object-fit:contain;border-radius:4px;animation:none}
.editorial-slide .editorial-image[data-fit=cover] img{object-fit:cover}
.editorial-image figcaption{display:block;text-align:center;font-size:9px;color:var(--muted);line-height:1.7;padding:5px 8px}
.editorial-footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;padding:6px 18px 6px 34px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--white) 70%,var(--paper))}
.hero-weather-toggle{display:none}
.hero-weather-details{display:contents}
.ambient-control{display:flex;align-items:center;gap:3px;flex-shrink:0}
.editorial-footer>.ambient-control{order:1;margin-left:auto}
.ambient-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px;border:0;border-radius:0;background:transparent;color:var(--muted)}
.ambient-toggle>.icon{width:17px;height:17px;stroke-width:1.6}
.ambient-toggle:hover,.ambient-toggle[aria-pressed=true]{color:var(--green)}
.ambient-volume{display:flex;align-items:center;margin:0}
.ambient-volume[hidden],.ambient-dock[hidden]{display:none}
.ambient-volume input{appearance:none;-webkit-appearance:none;width:64px;height:36px;min-height:36px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer;--volume-track:color-mix(in srgb,var(--muted) 25%,transparent);--volume-thumb:color-mix(in srgb,var(--muted) 75%,var(--paper))}
.ambient-volume input:focus{outline:none;box-shadow:none;background:transparent}
.ambient-volume input::-webkit-slider-runnable-track{height:2px;border:0;border-radius:2px;background:var(--volume-track)}
.ambient-volume input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:8px;height:8px;margin-top:-3px;border:0;border-radius:50%;background:var(--volume-thumb);box-shadow:none}
.ambient-volume input::-moz-range-track{height:2px;border:0;border-radius:2px;background:var(--volume-track)}
.ambient-volume input::-moz-range-progress{height:2px;border:0;border-radius:2px;background:var(--volume-track)}
.ambient-volume input::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:50%;background:var(--volume-thumb);box-shadow:none}
.ambient-dock{position:fixed;right:20px;bottom:20px;z-index:35;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:5px 12px 5px 5px;border:1px solid var(--line);border-radius:28px;background:var(--paper);box-shadow:0 4px 18px var(--shadow-color);color:var(--green)}
.ambient-dock-label{font-size:10px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editorial-note{color:var(--muted);font-size:10px}
.hero-weather{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;min-width:0}
.hero-weather-locate{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:5px 0;border:0;border-radius:6px;background:transparent;color:var(--green);font-size:10px}
.hero-weather-locate .icon{width:14px;height:14px}
.hero-weather-status{font-size:9px;line-height:1.9;color:var(--muted)}
.hero-weather-source{font-size:8px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.hero-atmosphere-tools{display:flex;align-items:center;gap:14px;order:2}
.hero-atmosphere-tools label{display:flex;align-items:center;gap:5px;color:var(--muted);margin:0}
.hero-atmosphere-tools label>.icon{width:14px;height:14px}
.hero-atmosphere-tools select{width:auto;min-height:34px;max-width:130px;margin:0;font-size:10px;line-height:1.8;padding:3px 5px;border:0;background:transparent;color:var(--green);cursor:pointer}
.hero-atmosphere-tools select:focus{outline:none;background:transparent}
.hero-atmosphere-tools select:focus-visible{text-decoration:underline;text-underline-offset:4px}
.hero-atmosphere-tools option{background:var(--paper);color:var(--ink)}
.site-atmosphere{position:fixed;inset:0;z-index:30;overflow:hidden;pointer-events:none;--hero-particle:#64838c}
.site-snow-caps,.site-rain-edges{position:absolute;top:0;left:0;width:100%;height:0;z-index:29;pointer-events:none}
.site-snow-caps[hidden],.site-rain-edges[hidden]{display:none!important}
.site-snow-caps canvas,.site-rain-edges canvas{position:absolute;pointer-events:none}
.site-atmosphere[hidden]{display:none!important}
.site-atmosphere .atmosphere-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.site-atmosphere[data-atmosphere=rain]{--hero-particle:#517c92}
.site-atmosphere[data-atmosphere=snow]{--hero-particle:#6997b2}
.site-atmosphere[data-atmosphere=autumn]{--hero-particle:#ac7039}
.site-atmosphere[data-atmosphere=summer]{--hero-particle:#ba913d}
.site-atmosphere[data-atmosphere=winter]{--hero-particle:#86a3b1}
:root[data-theme=dark] .site-atmosphere{--hero-particle:#b6c9cc}
:root[data-theme=dark] .site-atmosphere[data-atmosphere=rain]{--hero-particle:#b5cfdc}
:root[data-theme=dark] .site-atmosphere[data-atmosphere=snow]{--hero-particle:#eef7ff}
:root[data-theme=dark] .site-atmosphere[data-atmosphere=autumn]{--hero-particle:#d6ac76}
:root[data-theme=dark] .site-atmosphere[data-atmosphere=summer]{--hero-particle:#e3cd94}
:root[data-theme=dark] .site-atmosphere[data-atmosphere=winter]{--hero-particle:#c9e0e9}
.hero-atmosphere{position:absolute;inset:0;width:100%;overflow:hidden;pointer-events:none;border-radius:15px 15px 0 0;background:radial-gradient(ellipse at 92% 35%,var(--hero-sky),transparent 75%);mask-image:linear-gradient(90deg,transparent 28%,#000 84%)}
.hero-atmosphere canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2}
.hero-daylight{position:absolute;inset:-25% -15% -20% 20%;background:radial-gradient(ellipse at 90% 28%,color-mix(in srgb,var(--hero-glow) 60%,transparent),transparent 65%);opacity:.65}
.hero-books{position:absolute;bottom:56px;left:auto;right:6%;width:26%;max-width:290px;height:46px;transform:rotate(-3deg);z-index:3;filter:drop-shadow(0 7px 8px color-mix(in srgb,var(--ink) 9%,transparent))}
.hero-books>span{position:absolute;bottom:0;left:7%;width:85%;height:12px;border-radius:2px;background:var(--hero-book);border-left:6px solid color-mix(in srgb,var(--hero-book) 70%,var(--ink));box-shadow:0 3px 0 color-mix(in srgb,var(--hero-book) 10%,transparent)}
.hero-books>span:nth-child(2){bottom:14px;left:0;width:78%;background:var(--ochre);opacity:.85}
.hero-books>span:nth-child(3){bottom:28px;left:13%;width:77%;background:color-mix(in srgb,var(--hero-book) 40%,var(--paper))}
.editorial-hero[data-atmosphere=rain]{--hero-particle:#517c92;--hero-sky:#e5edef;--hero-glow:#d3e1e6}
.editorial-hero[data-atmosphere=snow]{--hero-particle:#6997b2;--hero-sky:#e9f1f5;--hero-glow:#f7fbfd;--hero-book:#708b9c}
.editorial-hero[data-atmosphere=autumn]{--hero-particle:#ac7039;--hero-sky:#f2e8d9;--hero-glow:#ecdbbe;--hero-book:#8d7556}
.editorial-hero[data-atmosphere=summer]{--hero-particle:#ba913d;--hero-sky:#f4eedc;--hero-glow:#ecdb9f}
.editorial-hero[data-atmosphere=winter]{--hero-particle:#86a3b1;--hero-sky:#e5edef;--hero-glow:#d7e4e8;--hero-book:#66818c}
:root[data-theme=dark] .editorial-hero{--hero-particle:#b6c9cc;--hero-sky:#283b43;--hero-glow:#354c54;--hero-book:#8fa99b;--banner-gold:#e0b366;--banner-gold-soft:#56452c;--banner-coral:#dc967e;--banner-accent:#e5c789;--banner-frame:#282d32}
:root[data-theme=dark] .editorial-slide[data-type=announcement],:root[data-theme=dark] .editorial-slide[data-type=event]{--banner-accent:#ecb49c}
:root[data-theme=dark] .editorial-slide[data-type=class],:root[data-theme=dark] .editorial-slide[data-type=workshop]{--banner-accent:#dcb8df}
:root[data-theme=dark] .hero-feature-link:hover{background:color-mix(in srgb,var(--banner-accent) 85%,#fff)}
:root[data-theme=dark] .editorial-hero[data-atmosphere=rain]{--hero-particle:#b5cfdc;--hero-sky:#263e4b;--hero-glow:#354c59}
:root[data-theme=dark] .editorial-hero[data-atmosphere=snow]{--hero-particle:#eef7ff;--hero-sky:#2b3e50;--hero-glow:#3f596b}
:root[data-theme=dark] .editorial-hero[data-atmosphere=autumn]{--hero-particle:#d6ac76;--hero-sky:#41372b;--hero-glow:#5b4b33;--hero-book:#a8916e}
:root[data-theme=dark] .editorial-hero[data-atmosphere=summer]{--hero-particle:#e3cd94;--hero-sky:#3b392b;--hero-glow:#5e5331}
:root[data-theme=dark] .editorial-hero[data-atmosphere=winter]{--hero-particle:#c9e0e9;--hero-sky:#2b3c48;--hero-glow:#3c5363}
@media(max-width:1000px) and (min-width:761px){.editorial-slide{padding:24px 24px 8px;gap:20px}.editorial-copy h2{font-size:23px}.editorial-footer{padding-left:24px}.hero-weather-status{font-size:8px}}
@media(max-width:760px){
  #home-hero:has(.editorial-hero){display:block}
  .hero.editorial-hero{margin:16px 0 6px;border-radius:12px}
  .editorial-main{min-height:220px}
  .editorial-slide{position:relative;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);min-height:220px;padding:24px 14px 10px;gap:12px}
  .editorial-festoon{right:4%;width:34%;height:32px;gap:3px}
  .editorial-festoon:before{top:-32px}
  .editorial-festoon>span{width:9px;height:13px;margin-top:6px}
  .editorial-festoon>span:nth-child(2n){margin-top:10px}
  .editorial-festoon>span:nth-child(3n){margin-top:12px}
  .editorial-festoon>span:last-child{margin-top:5px}
  .editorial-copy{gap:7px;padding:0}
  .editorial-label{font-size:9px;padding:2px 6px;gap:4px}
  .editorial-label>.icon{width:13px;height:13px}
  .editorial-copy h2{font-size:clamp(17px,3.5vw,23px);line-height:1.65}
  .editorial-description{font-size:11px;line-height:1.85}
  .hero-feature-link{min-height:44px;gap:7px;font-size:10px;line-height:1.8;padding:8px 10px}
  .hero-feature-link>.icon{width:13px;height:13px}
  .editorial-details,.editorial-attribution{font-size:10px;line-height:1.8}
  .editorial-visual{min-height:145px;padding:12px 0}
  .editorial-visual-fallback>.icon{width:54px;height:54px}
  .editorial-image{padding:4px;border-radius:6px;box-shadow:3px 5px 0 color-mix(in srgb,var(--banner-gold) 20%,transparent),0 6px 12px color-mix(in srgb,var(--banner-accent) 12%,transparent)}
  .editorial-slide .editorial-image img{height:auto;max-height:210px}
  .editorial-image figcaption{font-size:8px;line-height:1.5}
  .hero-atmosphere{border-radius:11px 11px 0 0;opacity:.65}
  .hero-books{bottom:48px;right:3%;width:22%;opacity:.7;transform:none}
  .editorial-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:0 12px;gap:0 5px}
  .editorial-footer>.ambient-control{order:initial;grid-column:2;grid-row:1;margin-left:0}
  .ambient-toggle{min-width:44px;min-height:44px}
  .ambient-volume input{width:48px;min-height:44px}
  .ambient-dock{right:12px;bottom:calc(80px + env(safe-area-inset-bottom))}
  .ambient-dock-label{max-width:105px;font-size:9px}
  .hero-weather-toggle{display:flex;align-items:center;gap:7px;width:100%;min-height:44px;padding:0;border:0;background:transparent;color:var(--muted);font-size:10px;text-align:left}
  .hero-weather-toggle>.icon{width:14px;height:14px;flex-shrink:0}
  .hero-weather-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hero-weather-chevron{margin-left:auto}
  .hero-weather-details{display:none}
  .editorial-footer[data-weather-expanded=true] .hero-weather-details{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;padding:3px 0;border-top:1px solid var(--line)}
  .editorial-footer[data-weather-expanded=true] .hero-weather-chevron{transform:rotate(180deg)}
  .hero-weather{display:contents}
  .hero-weather-locate{grid-column:1;grid-row:1;justify-self:start;min-height:44px;font-size:10px}
  .hero-weather-status{grid-column:1/-1;grid-row:2;font-size:9px;padding-bottom:5px}
  .hero-weather-source{grid-column:1/-1;grid-row:3;font-size:8px;justify-self:start;padding-bottom:5px}
  .editorial-hero[data-weather-state=idle] .hero-weather-status{display:none}
  .hero-atmosphere-tools{grid-column:2;grid-row:1;margin:0;width:auto;gap:6px}
  .hero-atmosphere-tools label>.icon{display:none}
  .hero-atmosphere-tools select{max-width:105px;padding:3px 0}
  .hero-atmosphere-tools select{min-height:44px;font-size:9px}
  .hero-atmosphere-tools .weather-scope-select{max-width:130px}
}
@media(max-width:360px){.hero-weather-status{font-size:8px;grid-row:3}.hero-atmosphere-tools{grid-column:1/-1;grid-row:2;justify-content:space-between;border-top:1px solid var(--line)}.hero-weather-source{grid-row:4}.hero-atmosphere-tools select{max-width:140px}}
@media(prefers-reduced-motion:reduce){.editorial-hero *{animation:none!important;transition:none!important}}
