/* From the design preview, preview/notices.css (tools/theme-sync.mjs). */
/* The announcement bar and the seasonal banner (notices.js, 27 October). Both are staff settings
   (site-settings.js); the design-review bar's "Show" switches turn them on and off in the preview. */

/* The announcement bar: one line of the shop's news over the header, on every page. Deep rose, the
   footer's own accent, with the paper's ivory on it (6.0 to 1). Its link is an inline one, so
   link-breeze.js sets it in the italic serif; here it takes the bar's ivory, not the rose. */
.announce-bar{position:relative;z-index:46;display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px max(16px,4%);box-sizing:border-box;background:#8c4f59;color:#fffaf4;font:500 12.5px/1.5 'Lovento Sans',Arial,sans-serif;letter-spacing:.02em;text-align:center}
.announce-bar[hidden]{display:none}
.announce-bar p{max-width:980px;margin:0;text-wrap:balance}
body[data-direction] .announce-bar a[href],body[data-direction] .announce-bar a[href][data-link]{margin-left:.35em;color:inherit;white-space:nowrap}
body[data-direction] .announce-bar a[href]:is(:hover,:focus-visible){color:#f6d9dd}
.announce-bar a:focus-visible{outline:2px solid #fffaf4;outline-offset:3px}
/* Over the 3D story the review bar is lifted out of the page (story.css), and this bar sits under it
   until both scroll away; the header follows them up (story.js and header-nav.js count this bar).
   It shows at once with the header (until 10 November both came in once the loader had finished). */
body[data-story="on"]:not([data-story-phase="static"]) .announce-bar{position:absolute;top:var(--lv-review-h,46px);left:0;right:0;z-index:45}

/* The seasonal banner: the paper's first postcard, wide, the season's gift on the left with its
   collection's stamp. Under it, the little shop on its lawn. */
.lv-season{position:relative;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:clamp(24px,3.6vw,54px);width:min(1080px,calc(100% - 2 * clamp(18px,3.6vw,44px)));margin:0 auto clamp(64px,7.5vw,104px);padding:clamp(11px,1.1vw,15px);box-sizing:border-box;background:var(--surface);border:1px solid var(--line);border-radius:6px;box-shadow:5px 6px 0 var(--soft);transform:rotate(-.35deg)}
.lv-season[hidden]{display:none}
.lv-season-photo{position:relative;margin:0;aspect-ratio:5/4}
.lv-season-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:58% 46%;border-radius:3px;background:#fff}
.lv-season-stamp{position:absolute;z-index:2;top:-9px;right:-11px;display:grid;place-items:center;min-width:34%;min-height:54px;padding:9px 13px;box-sizing:border-box;background:var(--surface);color:var(--accent);font:italic 18px/1.05 var(--serif);text-align:center;outline:1.5px dashed var(--petal-line);outline-offset:-6px;box-shadow:0 8px 14px -9px rgba(80,40,45,.6),0 0 0 1px var(--line);transform:rotate(5deg)}
.lv-season-body{min-width:0;padding:clamp(6px,1vw,14px) clamp(10px,2.4vw,34px) clamp(6px,1vw,14px) 0}
.story-home .lv-season-eyebrow{margin-bottom:14px;font-size:11px;font-weight:600;letter-spacing:2.6px;color:var(--accent)}
.story-home .lv-season h2{font-size:clamp(36px,4vw,60px);line-height:.95;letter-spacing:-.03em;overflow-wrap:anywhere}
/* The lawn's deeper grey-rose (tones.css): 6.1 to 1 on the card, where the paper's own is 4.2. */
.lv-season-text{max-width:440px;margin-top:18px;font-size:15px;line-height:1.62;color:#75585c}
.lv-season-action{margin-top:26px}
.story-home .lv-season-button{min-height:50px;padding:13px 28px;gap:12px;border-radius:999px;font-size:12.5px;letter-spacing:.6px;color:#fff;white-space:nowrap}
.story-home .lv-season-button lv-icon{width:15px;height:15px}

/* Phones: the photo above the words, nothing tilted (as the little shop's postcards there). */
@media (max-width:620px){
  .announce-bar{min-height:0;padding-block:8px;font-size:12px}
  .lv-season{grid-template-columns:1fr;gap:20px;width:calc(100% - 36px);margin-bottom:56px;padding:11px;transform:none}
  .lv-season-photo{aspect-ratio:4/3}
  .lv-season-body{padding:0 8px 12px}
  .story-home .lv-season h2{font-size:clamp(32px,9.4vw,42px)}
  .lv-season-text{margin-top:14px;font-size:14.5px}
  .lv-season-action{margin-top:20px}
}

/* The design-review bar's switches. */
.review-toggles{display:inline-flex;align-items:center;gap:14px;white-space:nowrap}
.review-toggles-label{color:#dfd6c8}
.review-toggles label{display:inline-flex;align-items:center;gap:7px;cursor:pointer}
.review-toggles input{appearance:none;-webkit-appearance:none;position:relative;flex-shrink:0;width:26px;height:15px;margin:0;border-radius:99px;background:#5b5247;cursor:pointer;transition:background-color .2s ease}
.review-toggles input::after{content:'';position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#fff;transition:translate .2s ease}
.review-toggles input:checked{background:#c58b93}
.review-toggles input:checked::after{translate:11px 0}
.review-toggles input:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* At 700 px wide and narrower (phones, upright or on their side, and narrow windows) the switches
   take short names and share one row with Email designs, the "LOVENTO / Design studies" label left
   out (styles.css). Wider, the bar is the same at every width: the label, Email designs and the
   switches. (27 October, Jin Hao, once the Direction menu, the Photo selections link and the note
   had gone. Until then the switches took a row of their own on upright phones, and short names from
   701 to 1200 px, where the label gave way to them, and on every phone on its side.) */
@media (max-width:700px){
  .review-toggles{gap:12px}
  .review-toggles-label{display:none}
  .review-toggles label span{font-size:0}
  .review-toggles label span::after{content:attr(data-short);font-size:11px}
}
@media (prefers-reduced-motion:reduce){
  .review-toggles input,.review-toggles input::after{transition:none}
}
