/* Theme layer. Brand assets and the original #70d549 remain unchanged. */
:root{color-scheme:light;--theme-bg:#fff;--theme-surface:#fff;--theme-soft:#fafafa;--theme-text:#1d1d1d;--theme-muted:#5e685a;--theme-border:#e1e8dd;--dock-line:#dce4d8}
:root[data-theme=dark]{color-scheme:dark;--green:#70d549;--paper:#111612;--white:#1b241d;--soft:#19211a;--ink:#eff4ec;--body:#c6d0c2;--line:#344335;--muted:#afbdab;--lime:#263a20;--theme-bg:#111612;--theme-surface:#19221a;--theme-soft:#151d16;--theme-text:#eff4ec;--theme-muted:#afbdab;--theme-border:#344335;--dock-line:#3b4939}
body{background-color:var(--theme-bg);transition:background-color .22s ease,color .22s ease}
.site-header .header-inner{gap:16px}
.theme-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#263423;cursor:pointer;transition:background .2s,color .2s;color-scheme:light}
.brand-logo-dark{display:none}
:root[data-theme=dark] .brand-logo-default{display:none}
:root[data-theme=dark] .brand-logo-dark{display:block}
.theme-toggle svg{width:20px;height:20px;display:block;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle:hover{background:#f0f6ed;color:#263423}
.theme-toggle:focus-visible{outline:3px solid #70d549;outline-offset:4px}
.theme-toggle .theme-sun{display:none}
:root[data-theme=dark] .theme-toggle{background:transparent;color:#eff4ec;border:0;box-shadow:none}
:root[data-theme=dark] .theme-toggle:hover{background:#70d54912;color:#70d549}
:root[data-theme=dark] .theme-toggle .theme-moon{display:none}
:root[data-theme=dark] .theme-toggle .theme-sun{display:block}
:root[data-theme=dark] :focus-visible{outline-color:#70d549}
:root[data-theme=dark] ::selection{background:#70d549;color:#10200b}
:root[data-theme=dark] .topbar{background:var(--theme-bg);color:var(--theme-muted);border-bottom-color:var(--theme-border)}
:root[data-theme=dark] .topbar a{color:var(--theme-text)}
:root[data-theme=dark] .site-header{background:#111612f5;border-bottom-color:#344335;box-shadow:0 6px 24px #00000020}
:root[data-theme=dark] .brand{background:transparent;border-radius:0;padding:0}
:root[data-theme=dark] .site-header nav{background:var(--theme-bg);border-color:var(--theme-border)}
:root[data-theme=dark] .site-header nav a{color:var(--theme-text);border-color:var(--theme-border)}
:root[data-theme=dark] .site-header nav a:hover{color:#70d549}
:root[data-theme=dark] .site-header nav .nav-contact,:root[data-theme=dark] .site-header nav .nav-contact:hover{background:#70d549;color:#10200b}
:root[data-theme=dark] .menu-toggle{color:var(--theme-text)}
:root[data-theme=dark] .menu-lines,:root[data-theme=dark] .menu-lines:before{border-color:var(--theme-text)}
:root[data-theme=dark] .stoll-motion-hero,:root[data-theme=dark] .camp-services,:root[data-theme=dark] .stoll-people,:root[data-theme=dark] .stoll-visit,:root[data-theme=dark] .site-footer{background:var(--theme-bg);color:var(--theme-text)}
:root[data-theme=dark] .news-section,:root[data-theme=dark] .brands-section,:root[data-theme=dark] .page-intro,:root[data-theme=dark] .print-feature{background:var(--theme-soft);border-color:var(--theme-border)}
:root[data-theme=dark] .stoll-motion-hero .stoll-stage:after{background:linear-gradient(90deg,#11161200 0%,#11161244 33%,#111612ed 70%,#111612 100%)}
:root[data-theme=dark] .hero-title-line,:root[data-theme=dark] .hero-title-emphasis,:root[data-theme=dark] .stoll-motion-hero .opening-aside p{color:var(--theme-text)}
:root[data-theme=dark] .stoll-motion-hero .hero-primary-action,:root[data-theme=dark] .stoll-motion-hero .hero-primary-action:hover{background:#70d549!important;color:#10200b}
:root[data-theme=dark] .button,:root[data-theme=dark] .button:hover{background:#70d549;color:#10200b;border-color:#70d549}
:root[data-theme=dark] .text-link,:root[data-theme=dark] .site-footer .text-link{color:var(--theme-text)}
:root[data-theme=dark] .camp-service-card,:root[data-theme=dark] .job-card,:root[data-theme=dark] .network-card,:root[data-theme=dark] .certificate-card,:root[data-theme=dark] .opening-card,:root[data-theme=dark] .location-panel{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border);box-shadow:0 9px 35px #00000020}
:root[data-theme=dark] .opening-card{border-top-color:#70d549}
:root[data-theme=dark] .certificate-card{border-bottom-color:#70d549}
:root[data-theme=dark] .camp-service-photo{background:#101811}
:root[data-theme=dark] .camp-service-caption>span{color:#10200b}
:root[data-theme=dark] .camp-service-card:hover .camp-service-caption>span{background:#70d549;color:#10200b}
:root[data-theme=dark] .people-years,:root[data-theme=dark] .people-photo>span,:root[data-theme=dark] .service-detail,:root[data-theme=dark] .contact-links>a,:root[data-theme=dark] .opening-card dl>div,:root[data-theme=dark] .certificate-card>span{border-color:var(--theme-border)}
:root[data-theme=dark] .detail-number,:root[data-theme=dark] .breadcrumb,:root[data-theme=dark] .contact-links small,:root[data-theme=dark] .gallery-hint,:root[data-theme=dark] .image-caption,:root[data-theme=dark] .story-images figcaption,:root[data-theme=dark] .location-panel small{color:var(--theme-muted)}
:root[data-theme=dark] .breadcrumb span,:root[data-theme=dark] .network-card>span>span,:root[data-theme=dark] .certificate-card>span>span{color:var(--theme-text)}
:root[data-theme=dark] .detail-plus{border-color:#667b5f;color:var(--theme-text)}
:root[data-theme=dark] .service-detail[open] .detail-plus,:root[data-theme=dark] .service-detail summary:hover .detail-plus{background:#70d549;color:#10200b;border-color:#70d549}
:root[data-theme=dark] .service-detail-image{background:#fff;border-radius:7px}
:root[data-theme=dark] .network-card>img,:root[data-theme=dark] .certificate-card>img{background:#fff;border-radius:7px;padding:8px;box-sizing:border-box}
:root[data-theme=dark] .network-card.hogwerk-partner>.hogwerk-full-logo{padding:10px}
:root[data-theme=dark] .brand-strip>a{background:#fff;border-radius:6px;padding:8px 10px}
:root[data-theme=dark] .story-stamp{background:#70d549;color:#10200b}
:root[data-theme=dark] .story-stamp>span,:root[data-theme=dark] .story-stamp strong{color:#10200b}
:root[data-theme=dark] .location-panel p,:root[data-theme=dark] .location-panel .eyebrow,:root[data-theme=dark] .stoll-visit p{color:var(--body)}
:root[data-theme=dark] .site-footer h3,:root[data-theme=dark] .site-footer a{color:var(--theme-text)}
:root[data-theme=dark] .site-footer p,:root[data-theme=dark] .site-footer address,:root[data-theme=dark] .site-footer .hours,:root[data-theme=dark] .site-footer .footer-brand p{color:var(--body)}
:root[data-theme=dark] .footer-brand>a{background:transparent;border-radius:0;padding:0}
:root[data-theme=dark] .footer-bottom{background:#70d549;color:#10200b}
:root[data-theme=dark] .site-footer .footer-bottom a,:root[data-theme=dark] .site-footer .footer-bottom button,:root[data-theme=dark] .footer-bottom>span{color:#10200b}
:root[data-theme=dark] .site-footer a:not(.footer-brand>a,.footer-bottom a):hover{color:#70d549}
:root[data-theme=dark] .site-footer .footer-bottom a:hover{color:#10200b;text-decoration:underline}
:root[data-theme=dark] .hogwerk-credit{background:#fff;border-radius:7px;padding:12px;display:inline-flex}
:root[data-theme=dark] .print-visual[data-print-explorer]{background:var(--theme-surface);border-color:var(--theme-border);box-shadow:0 20px 60px #00000020}
:root[data-theme=dark] .print-product-stage{background:radial-gradient(ellipse at 48% 65%,#2b3a28 0%,#19221a 70%)}
:root[data-theme=dark] .print-info{border-color:var(--theme-border)}
:root[data-theme=dark] .print-feature .print-info-title{color:var(--theme-text)}
:root[data-theme=dark] .print-feature .print-info-panel>p:last-child,:root[data-theme=dark] .print-visual[data-print-explorer] figcaption{color:var(--body)}
:root[data-theme=dark] .print-hotspot-label{background:#243020;border-color:#40513a;color:var(--theme-text)}
:root[data-theme=dark] .detail-text .print-sources{color:var(--theme-muted)}
:root[data-theme=dark] .privacy-rights{background:var(--theme-surface)}
:root[data-theme=dark] dialog,:root[data-theme=dark] .lightbox,:root[data-theme=dark] .privacy-dialog{background:var(--theme-surface);color:var(--theme-text);box-shadow:0 20px 100px #00000080}
:root[data-theme=dark] .dialog-close,:root[data-theme=dark] .lightbox-controls button,:root[data-theme=dark] .gallery-buttons button{background:#253221;border-color:#45563e;color:var(--theme-text)}
:root[data-theme=dark] .lightbox-controls button:hover,:root[data-theme=dark] .gallery-buttons button:hover{background:#70d549;color:#10200b}
:root[data-theme=dark] .back-top{background:#1b271c;border-color:#40543b;color:var(--theme-text);box-shadow:0 8px 28px #00000045}
:root[data-theme=dark] .back-top:hover{background:#70d549;color:#10200b}
:root[data-theme=dark] .progress-track{stroke:#42513e}
@media(min-width:1251px){.site-header .header-inner{gap:14px}.theme-toggle{margin-left:0}.site-header nav{margin-left:auto}}
@media(max-width:1250px){.site-header .header-inner{gap:10px}.header-inner>.menu-toggle{margin-left:auto}.theme-toggle{margin-left:0}}
@media(max-width:700px){
 .site-header .brand,.site-header.is-scrolled .brand{width:176px}
 .site-header .header-inner{gap:8px}
 .theme-toggle{width:44px;height:44px;flex-basis:44px}
 .menu-toggle{min-height:44px;padding-block:8px}
 .mobile-dock{display:grid;grid-template-columns:1fr 1fr;left:50%;right:auto;bottom:calc(10px + env(safe-area-inset-bottom));width:min(360px,calc(100% - 32px));translate:-50% 0;padding:4px 8px;gap:0;border:1px solid #dce4d8;border-radius:999px;background:#fffffff5;box-shadow:0 5px 22px #14210d16;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
 .mobile-dock>a,.mobile-dock>a:last-child{position:relative;min-height:44px;height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 4px;border:0;border-radius:999px;background:transparent;color:#253321;font-size:15px;font-weight:600;line-height:1.2;white-space:nowrap}
 .mobile-dock>a:first-child:after{content:'';position:absolute;right:0;top:11px;bottom:11px;width:1px;background:var(--dock-line)}
 .mobile-dock>a:hover,.mobile-dock>a:last-child:hover{background:#edf5e8;color:#1d3116}
 .mobile-dock svg{width:18px;height:18px;flex:none}
 .mobile-dock>a:last-child>svg{color:#70d549}
 .mobile-dock>a:last-child>span[aria-hidden]{display:none}
 .back-top{bottom:calc(78px + env(safe-area-inset-bottom))}
 :root[data-theme=dark] .stoll-motion-hero .stoll-stage:after{background:linear-gradient(0deg,#1116128c,transparent 42%)}
 :root[data-theme=dark] .mobile-dock{background:#18221af2;border-color:#40513a;box-shadow:0 5px 22px #00000035}
 :root[data-theme=dark] .mobile-dock>a,:root[data-theme=dark] .mobile-dock>a:last-child{color:#e6f0e1;background:transparent}
 :root[data-theme=dark] .mobile-dock>a:last-child>svg{color:#70d549}
 :root[data-theme=dark] .mobile-dock>a:hover,:root[data-theme=dark] .mobile-dock>a:last-child:hover{background:#2a3b25}
}
@media(max-width:374px){.site-header .brand,.site-header.is-scrolled .brand{width:154px}.site-header .header-inner{gap:7px}.site-header .menu-toggle{width:44px;min-width:44px;padding:0;justify-content:center}.menu-toggle>span:first-child{display:none}.mobile-dock{width:calc(100% - 28px)}}
@media(prefers-reduced-motion:reduce){body,.theme-toggle{transition:none}}
@media print{.theme-toggle,.mobile-dock{display:none!important}:root[data-theme=dark]{--paper:#fff;--ink:#000;--body:#222;--line:#ccc;--theme-bg:#fff;--theme-surface:#fff;--theme-soft:#fff;--theme-text:#000;--theme-muted:#444;--theme-border:#ccc;color-scheme:light}body{background:#fff!important;color:#000!important}}

/* A lit studio surface keeps the black 3D product legible at night. */
:root[data-theme=dark] .print-product-stage.has-3d{background:radial-gradient(ellipse at 50% 40%,#344136 0%,#26332a 56%,#19221a 100%)}

/* Compact contact actions in the original Stoll green in both themes. */
@media(max-width:700px){
.mobile-dock,:root[data-theme=dark] .mobile-dock{background:#70d549;border-color:#70d549}
.mobile-dock>a,.mobile-dock>a:last-child,:root[data-theme=dark] .mobile-dock>a,:root[data-theme=dark] .mobile-dock>a:last-child{background:transparent;color:#10200b}
.mobile-dock>a:first-child:after{background:#10200b33}
.mobile-dock>a:last-child>svg,:root[data-theme=dark] .mobile-dock>a:last-child>svg{color:#10200b}
.mobile-dock>a:hover,.mobile-dock>a:last-child:hover,:root[data-theme=dark] .mobile-dock>a:hover,:root[data-theme=dark] .mobile-dock>a:last-child:hover{background:#10200b0d;color:#10200b}
}

/* Contact actions never cover the home introduction or a primary action. */
@media(max-width:700px){
 .mobile-dock{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease}
 .mobile-dock.is-visible{opacity:1;visibility:visible;pointer-events:auto}
 html{scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom))}
 main .button,main .hero-primary-action,main .text-link{scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.mobile-dock{transition:none}}

/* Solid brand header with a fine, document-wide reading progress line. */
.topbar{border-top:0}
.site-header,.site-header.is-scrolled{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom-color:#e6ebe3}
.site-header.is-scrolled{box-shadow:0 5px 20px #1720110a}
:root[data-theme=dark] .site-header,:root[data-theme=dark] .site-header.is-scrolled{background:#111612;border-bottom-color:#344335;box-shadow:0 5px 20px #00000024}
.header-progress{position:absolute;left:0;right:0;top:0;height:5px;overflow:hidden;background:#70d54914;pointer-events:none;z-index:2}
.header-progress-fill{display:block;width:0;height:100%;background:#70d549}
/* The ring now belongs to the menu; keep the return action quiet and touchable. */
.back-top{width:44px;height:44px;min-width:44px;min-height:44px;right:20px;bottom:20px;box-shadow:0 4px 16px #17201118;border-color:#dfe6db}
.back-top>.ui-icon{width:19px;height:19px;stroke-width:1.8}
.back-top:hover{transform:translateY(-2px)}
.mobile-dock{backdrop-filter:none;-webkit-backdrop-filter:none}
@media(max-width:700px){.back-top{right:16px;bottom:calc(78px + env(safe-area-inset-bottom));width:44px;height:44px;min-width:44px;min-height:44px}}
@media print{.header-progress{display:none}}

/* Matching compact progress ring around the 44px return action. */
.back-top .back-top-progress{width:42px;height:42px;inset:0;margin:auto}
.back-top .progress-track{stroke:#e5ebdf;stroke-width:1.6}
.back-top .progress-value{stroke:#70d549;stroke-width:2.4;stroke-dasharray:150.8;stroke-linecap:round}
:root[data-theme=dark] .back-top .progress-track{stroke:#40513a}

/* Decorative dark-mode snow: never intercept controls. */
.stoll-snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none!important;z-index:45;contain:strict}
.stoll-snow[hidden],html:not([data-theme="dark"]) .stoll-snow{display:none}
@media(prefers-reduced-motion:reduce){.stoll-snow{display:none!important}}

/* Keep the original logo in a stable, uncropped box in the sticky header. */
.site-header .brand { aspect-ratio: 19 / 7; }
.site-header .brand > img { width: 100%; height: auto; object-fit: contain; }
.site-header .brand-logo-default { display: block; }
:root[data-theme=dark] .site-header .brand-logo-default { display: none; }

@media (max-width: 1250px) {
  .site-header {
    --compact-header-height: 96px;
    --compact-logo-width: 225px;
    top: env(safe-area-inset-top, 0px);
    overflow: visible;
    transition: none;
  }
  .topbar { padding-top: env(safe-area-inset-top, 0px); }
  .site-header .header-inner,
  .site-header.is-scrolled .header-inner { height: var(--compact-header-height); transition: none; }
  .site-header .brand,
  .site-header.is-scrolled .brand { width: var(--compact-logo-width); transition: none; }
}
@media (max-width: 700px) {
  .site-header { --compact-header-height: 82px; --compact-logo-width: 176px; }
}
@media (max-width: 374px) {
  .site-header { --compact-logo-width: 154px; }
}
