/* A Saturday in Sharon in the Greater Boston Burbs look. Loaded after saturday.css and base.css.
   Nov 29: the dark night-blue page is gone. Every hour sits on the site's cream paper with ink type, the hours after
   dark on the site's oat paper so the evening still reads as evening, and the sun arc in each hour shows where the
   sun is. Type is Young Serif and Literata, the clock rail and the phone bar are oat with ink, controls keep the
   site's wobbly frames. The script still works out each hour's sky; this file just doesn't paint it. */
:root{
  --night:var(--gbb-lake-deep); --paper:var(--gbb-paper); --ink:var(--gbb-ink);
  --display:var(--gbb-display); --text:var(--gbb-text);
}
body{background-color:var(--gbb-paper);background-image:var(--gbb-grain);color:var(--gbb-ink);font-synthesis:none}
:focus-visible{outline-color:var(--focus,var(--gbb-cran))}

/* one set of inks for every hour, light or dark sky */
.tone-light,.tone-dark{--fg:var(--gbb-ink);--fg2:#4b4037;--rule:rgba(59,46,38,.3);--link:var(--gbb-lake);--mark:var(--gbb-cran-deep);--wash:rgba(251,246,234,.6);--field:var(--gbb-birch);--fieldink:var(--gbb-ink);--focus:var(--gbb-cran)}
.tone-dark :focus-visible,.tone-dark:focus-visible{--focus:var(--gbb-cran)}
a:hover,.tone-dark a:hover{color:var(--gbb-cran)}

/* the page: paper for daylight, oat after dark */
.sky,.scene.tone-light,.intro{background-color:var(--gbb-paper);background-image:var(--gbb-grain);background-blend-mode:normal}
.scene.tone-dark,.intro.tone-dark{background-color:var(--gbb-oat);background-image:var(--gbb-grain)}
.sky{color:var(--fg)}
.seam{background:none;border-top:2px dashed rgba(59,46,38,.22)}
.intro .seam{border-top:0}
/* the checked season and the pick ticks used the sky colour for their ink; they get the paper instead */
.seg input:checked+span{background:var(--gbb-ink);color:var(--gbb-birch)}
.pick input:checked::after{border-color:var(--gbb-birch)}

/* the tool's own masthead sits under the site bar, which already names the site: the wordmark goes, the crumbs stay */
.mast{font-size:14.5px}
.mast .wm{display:none}
.crumbs a:hover{color:var(--mark)}

/* type */
h1,h2,h3{font-weight:400;letter-spacing:-.01em}
h1{letter-spacing:-.018em;line-height:.96}
.stand{font-family:var(--gbb-text)}
blockquote.dn{border-left-width:5px;border-left-color:var(--gbb-squash)}
figcaption{font-family:var(--gbb-text)}
.when .h{letter-spacing:-.025em}
.only{font:700 1.55rem/1 var(--gbb-hand);letter-spacing:0;text-transform:none;transform:rotate(-1.4deg);transform-origin:left;margin-bottom:.35em}
.season legend{font:700 1.5rem/1 var(--gbb-hand);letter-spacing:0;text-transform:none;color:var(--mark);transform:rotate(-1.4deg);transform-origin:left;margin-bottom:.45em}
.light h2,.wheremap h2,.know h3{font-family:var(--gbb-text);font-weight:700;font-size:14px;letter-spacing:.09em}
.know{border-top:2px solid var(--fg)}

/* the season switch and the pick boxes: the site's hand-drawn frames */
.seg{border:2px solid var(--fg);border-radius:var(--gbb-wob)}
.seg span{border-radius:var(--gbb-wob);font-weight:600}
.pick{border:2px solid var(--fg);border-radius:var(--gbb-wob);font-family:var(--gbb-text);background:var(--gbb-birch)}
.pick input{border-radius:5px 7px 5px 6px}

/* the map in the site's colours */
.daymap{border:2px solid var(--gbb-line);border-radius:14px;background:#ece2cc}
.m-town{fill:var(--gbb-oat);stroke:#b9a88a}
.m-sharon{fill:var(--gbb-birch);stroke:var(--gbb-ink)}
.m-open path{fill:var(--gbb-sage)}
.m-water path{fill:#9db7c9;stroke:var(--gbb-lake-mid)}
.m-roads path{stroke:var(--gbb-birch)}
.m-roads .r-freeway{stroke:#ddb978}
.m-rail path{stroke:var(--gbb-ink)}
.m-lab{fill:var(--gbb-ink)}
.m-lab.t{fill:var(--gbb-ink-soft)}
.m-lab.w{fill:var(--gbb-lake)}
.m-lab.g{fill:var(--gbb-pine)}
.m-stop circle{fill:var(--gbb-cran);stroke:var(--gbb-birch)}
.m-stop text{fill:var(--gbb-ink);stroke:var(--gbb-birch)}
.m-scale{stroke:var(--gbb-ink)}

/* the clock rail and the phone bar: oat paper with ink */
.rail{background:var(--gbb-oat);color:var(--gbb-ink);border-right:2px solid var(--gbb-line)}
.rail .day{font-weight:700}
.rail a:hover{color:var(--gbb-cran)}
.rail a[aria-current]{color:var(--gbb-cran-deep)}
.bar{background:var(--gbb-oat);color:var(--gbb-ink);border-bottom:2px solid var(--gbb-line)}
.bar select{background:var(--gbb-birch);color:var(--gbb-ink);border:2px solid var(--gbb-line);border-radius:8px 10px 8px 9px}
.bar a.mine{color:var(--gbb-lake)}
.bar .prog{background:rgba(59,46,38,.15)}
.bar .prog i{background:var(--gbb-cran)}
/* desktop: the season switch lives in the clock rail, between 10 pm and "on my list", so it never sits over the page.
   The rail's hours end higher to make room; the sun marks follow the same line. */
@media (min-width:1100px){
  .rail .line,.rail ol{bottom:186px}
  .rail .sunmk{top:calc(44px + (100% - 230px) * var(--yn,0))}
  .seasonfix{left:0;right:auto;top:auto;bottom:84px;width:var(--rail);box-sizing:border-box;flex-direction:column;align-items:stretch;gap:3px;padding:0 9px;background:transparent;color:var(--gbb-ink);border:0;border-radius:0;font:600 13px/1.2 var(--gbb-text);text-align:center}
  .seasonfix select{width:100%;min-height:44px;padding:6px 4px;font:600 15px/1.2 var(--gbb-text);background:var(--gbb-birch);color:var(--gbb-ink);border:2px solid var(--gbb-line);border-radius:8px 10px 8px 9px}
  .seasonfix select:focus-visible{outline:3px solid var(--gbb-cran);outline-offset:2px}
  .mast{padding-right:var(--gut)}
}

/* scene parts */
.photo img{border-radius:0}
.postcard img{border-color:var(--gbb-birch)}
.dnote{border-left-color:var(--gbb-squash);border-left-width:5px}
.dnote strong{letter-spacing:.07em}
.facts-night .n{letter-spacing:-.01em}

/* your Saturday: the site's paper */
.yours{background-color:var(--gbb-paper);background-image:var(--gbb-grain);--fg:var(--gbb-ink);--fg2:var(--gbb-ink-soft);--rule:rgba(59,46,38,.28);--link:var(--gbb-lake);--mark:var(--gbb-cran);--sky:var(--gbb-paper)}
.slip{border-top:2px solid var(--gbb-line)}
.tot{border-bottom:2px solid var(--gbb-line)}
.slip .rm{color:var(--gbb-lake)}
.slip .rm:hover{color:var(--gbb-cran)}
.ctl input[type=number]{border:2px solid var(--gbb-line);border-radius:8px 10px 8px 9px;background:var(--gbb-birch);color:var(--gbb-ink)}
.ctl input[type=checkbox]{accent-color:var(--gbb-lake)}
.people-note{flex-basis:100%;font-size:15px;line-height:1.4;font-weight:600;color:var(--gbb-cran-deep)}
.btn{background:var(--gbb-lake);color:var(--gbb-birch);border:2px solid var(--gbb-line);border-radius:var(--gbb-wob);font-family:var(--gbb-text)}
.btn:hover{background:var(--gbb-lake-deep);color:var(--gbb-birch)}
.btn.ghost{background:transparent;color:var(--gbb-ink)}
.btn.ghost:hover{background:var(--gbb-birch);color:var(--gbb-cran)}
.fri input[type=email],.fri select{border:2px solid var(--gbb-line);border-radius:8px 10px 8px 9px;background:var(--gbb-birch);color:var(--gbb-ink)}
.fri .chk input{accent-color:var(--gbb-lake)}
.done{background:var(--gbb-birch);border:2px solid var(--gbb-line);border-radius:var(--gbb-wob2)}
.done pre{background:var(--gbb-oat);border-radius:8px}

/* after the day, sources and the tool's own footer */
.after{background-color:var(--gbb-oat);background-image:var(--gbb-grain);--fg:var(--gbb-ink);--fg2:var(--gbb-ink-soft);--rule:rgba(59,46,38,.28);--link:var(--gbb-lake);--mark:var(--gbb-cran)}
.poster{border:2px solid var(--gbb-line);border-radius:16px;background:linear-gradient(to bottom,#e3d5b5 0,var(--gbb-birch) 40%,#f1d19c 78%,#d9c49c 100%)}
.poster .tag{background:var(--gbb-ink);color:var(--gbb-birch);font-family:var(--gbb-text);border-radius:0 0 12px 0}
.poster .sub{color:var(--gbb-ink)}
.nb img{border:2px solid var(--gbb-line);border-radius:14px}
.sources{background-color:var(--gbb-paper);background-image:var(--gbb-grain);--fg:var(--gbb-ink);--fg2:var(--gbb-ink-soft);--rule:rgba(59,46,38,.28);--link:var(--gbb-lake)}
.sources li:target{background:#f1d590}
.sources h3{font-family:var(--gbb-text)}
/* the numbered source marks get a 44px tap area */
sup a{position:relative;padding:0 .15em}
sup a::after{content:"";position:absolute;inset:-12px -8px}
/* the tool's own footer sits above the site footer, so it goes quiet */
footer.site{background:transparent;color:var(--gbb-ink);border-top:2px solid var(--gbb-line);--link:var(--gbb-lake);--fg2:var(--gbb-ink-soft)}
footer.site a{color:var(--gbb-lake)}
footer.site a:hover{color:var(--gbb-cran)}
.proto{border-top-color:rgba(59,46,38,.25);color:var(--gbb-ink-soft)}
.proto button{border-color:var(--gbb-line);color:var(--gbb-ink);border-radius:var(--gbb-wob)}
