/* Big Things 2027: the shop's product layout from styles.css, plus the calendar's story sections.
   The artwork pictures are white paper squares; they sit on the site's paper colour with a hairline. */
.cal .pi__price{display:flex;align-items:baseline;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.cal-pi{font-size:.42em;letter-spacing:.02em;opacity:.7}
.cal-was{font-size:.62em;font-weight:400;opacity:.45;text-decoration:line-through;text-decoration-thickness:2px}
.cal-sub{margin:-12px 0 20px;font-size:15px;text-transform:uppercase;letter-spacing:.06em;opacity:.7}
.cal .pm__left{align-self:start;position:sticky;top:96px}
.cal .pm__left h1{position:static}
@media (max-width:1023px){.cal .pm__left{position:static}}
.cal-one .pp-one__tag{font-size:34px}
.cal .pg__item img{background:#fff}
/* the picture row is tall like the sticker pages' wall (owner, 2 Nov: "similar to stickers ... same size ... scrollable"): the sheet is
   about as big as a sticker sheet there (~390 x 570 px on a wide screen), on the same warm wall with the same soft shadow and tag */
.cal .pg{--pg-w:clamp(440px,52vw,720px)}
/* phones: tall tiles (like the sticker wall there), so the sheet is about as big as a sticker sheet, not a square's worth */
@media (max-width:639px){.cal .pg{--pg-w:86vw}.cal .pg__item{flex-basis:86vw}.cal .pp-wall,.cal .pg__item.cal-other{aspect-ratio:auto;height:140vw}
  .cal .pg__item.cal-other img{height:100%;object-fit:cover}}
/* the first picture: the 13 × 19 in sheet on a wall, with its measurements (like the City Map poster) */
.cal .pp-wall{position:relative;aspect-ratio:1/1;background:#ECE8DE;overflow:hidden}
.cal .pp-frame{aspect-ratio:13/19;height:79%}
.cal .pp-frame img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:fill;
  box-shadow:0 1px 1px rgba(0,0,0,.08),0 18px 30px -12px rgba(40,30,20,.35),0 40px 70px -30px rgba(40,30,20,.35)}
.cal .pp-size{left:clamp(16px,2.4vw,28px);top:clamp(16px,2.4vw,28px);padding:6px 10px 5px;border:1px solid var(--ink);background:var(--paper);color:var(--ink);
  font:600 11px/1 var(--body);letter-spacing:.12em;text-transform:uppercase}
/* the second picture: three tiles wide, the top of the sheet up close on the same wall, running off the bottom edge.
   It shows the other theme (dark sheet on the Light page, white sheet on the Dark page); it is already wide, so it never enlarges. */
.cal .pg__item.cal-wide,.cal .pg__item.cal-wide.is-big{flex-basis:calc(var(--pg-w) * 3 + 16px);aspect-ratio:auto;height:var(--pg-w);background:#ECE8DE;overflow:hidden;cursor:default}
.cal .pg__item.cal-wide img{position:absolute;left:8%;top:17%;width:84%;height:auto;aspect-ratio:2400/1333;background:#fff;
  box-shadow:0 1px 1px rgba(0,0,0,.08),0 18px 30px -12px rgba(40,30,20,.35),0 40px 70px -30px rgba(40,30,20,.35)}
@media (max-width:639px){.cal .pg__item.cal-wide,.cal .pg__item.cal-wide.is-big{flex-basis:calc(86vw * 2);height:140vw}}
/* the third picture: the sheet in the other theme, so it is plain the calendar comes in both */
.cal-other__d,.cal-dark .cal-other__l{display:none}
.cal-dark .cal-other__d{display:inline}

/* the choices under the title: Theme (Light / Dark) and Finish (Glossy), built like the City Map's (styles.css .pp-*, posters/paper.css) */
/* no Finish row any more (glossy is the only paper; owner, 17 Nov 2026): the paper picture lines up with the top of its text */
.cal-pick .ppr{margin-top:0}
.cal-pick{--pp:#fff;margin:0 0 22px}
.cal-pick .pp-opt{display:inline-flex;align-items:center;justify-content:center;gap:9px}
.cal-chip{flex:none;width:12px;height:12px;border:1px solid currentColor;background:#fff}
.cal-chip--dark{background:#000}
.pp-opt[aria-checked="true"] .cal-chip--dark{border-color:#5d5b57}
.cal-look,.cal-pick .pp-paper{margin:0;max-width:34em;font-size:14px;line-height:1.45;opacity:.8}
/* one column (tablets and phones): Theme and Finish run the full width, the buttons stretch, and the paper picture sits at the right edge */
@media (max-width:1023px){.cal-pick .pp-paperrow{grid-template-columns:minmax(0,1fr) 145px}.cal-pick .pp-seg{display:grid;justify-self:stretch;width:100%}.cal-look,.cal-pick .pp-paper{max-width:none}}
@media (max-width:560px){.cal-pick .pp-paperrow{grid-template-columns:minmax(0,1fr) 110px}}
@media (max-width:400px){.cal-pick .pp-paperrow{grid-template-columns:minmax(0,1fr) 92px}}

/* buttons and the four facts (square swatches, like the weekend blocks) */
.cal-buy{padding:clamp(20px,2.4vw,32px) var(--gx) 8px}
.cal-buy .buy{padding:0}
.cal-facts{list-style:none;margin:24px 0 28px;padding:0;display:grid;gap:12px}
.cal-facts li{position:relative;padding-left:24px;font-size:14px;line-height:1.5}
.cal-facts li::before{content:"";position:absolute;left:0;top:.38em;width:13px;height:13px;background:var(--dot,var(--pink))}
.cal-facts b{font-weight:700}

/* shared section headings */
.cal-line h2,.cal-months h2,.cal-read h2,.cal-live h2{font:700 clamp(28px,4vw,56px)/1 var(--display);font-stretch:112%;text-transform:uppercase;margin:0}

/* a year that reads like a sentence: the first rows of the calendar, edge to edge */
.cal-line{padding:clamp(40px,6vw,88px) 0 0;border-top:1px solid var(--ink)}
.cal-line__pic{margin:clamp(28px,4vw,56px) 0 0;border-top:1px solid var(--ink);background:#fff;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cal-line__pic::-webkit-scrollbar{display:none}
.cal-line__pic img{display:block;width:100%;height:auto}

/* how to read it: a yellow band with three small keys drawn like the calendar */
.cal-read{padding:clamp(40px,6vw,88px) var(--gx);border-top:1px solid var(--ink);background:#FFF70F}
.cal-read h2{margin-bottom:clamp(28px,3.6vw,52px)}
.cal-read__cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,48px)}
.cal-read__cols h3{margin:20px 0 8px;font:700 clamp(18px,1.6vw,24px)/1.15 var(--display);font-stretch:108%;text-transform:uppercase}
.cal-read__cols p{margin:0;font-size:clamp(15px,1.2vw,18px);line-height:1.55}
.cal-key{display:flex;align-items:center;height:48px;font:400 26px/1 var(--body);letter-spacing:-.01em}
.cal-key i,.cal-key b{font-style:normal;font-weight:400;padding:7px 6px}
.cal-key--blocks i:nth-of-type(-n+2){background:#d0ce06}
.cal-key--blocks i:nth-of-type(n+3){background:#fbc3da}
.cal-key--blocks b{padding:7px 10px}
.cal-key--mon{position:relative;padding-left:4px}
.cal-key--mon small{position:absolute;left:0;top:-4px;font:800 10px/1 var(--body);letter-spacing:.02em}
.cal-key--dots i{display:grid;place-items:center;width:40px;height:40px;margin-left:-7px;padding:0;border-radius:50%;background:#7fcaf7}
.cal-key--dots i:first-child{margin-left:0;background:#fb4203}
.cal-key--dots i:nth-child(3){background:#fbc3da}
.cal-key--dots i:nth-child(4){background:#fc8f09;position:relative}
.cal-key--dots i:nth-child(2n){position:relative}

/* twelve little moments */
.cal-months{padding:clamp(40px,6vw,88px) 0 clamp(40px,5vw,72px);border-top:1px solid var(--ink)}
.cal-grid{list-style:none;margin:clamp(28px,4vw,56px) 0 0;padding:0 var(--gx);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(28px,3vw,44px) clamp(14px,1.6vw,24px)}
.cal-grid li{display:grid;gap:8px;align-content:start;min-width:0}
/* absolute, not a grid item: percentage heights inside grid items resolve wrongly here */
.cal-tile{position:relative;display:block;width:100%;aspect-ratio:1/1;margin:0 0 6px;padding:0;border:1px solid var(--ink);background:#fff;overflow:hidden;cursor:zoom-in}
.cal-tile img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.cal-tile:hover img,.cal-tile:focus-visible img{transform:scale(1.07)}
.cal-tile:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.cal-grid h3{margin:0;font:600 clamp(17px,1.5vw,22px)/1.1 var(--display);font-stretch:108%;text-transform:uppercase}
.cal-grid p{margin:0;font-size:14px;line-height:1.5;color:#3a3a37}
.cal-lb img{max-height:min(86vh,1000px)}


/* made to be lived with */
.cal-live{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;padding:clamp(40px,6vw,88px) var(--gx);background:var(--ink);color:var(--paper)}
.cal-live h2{margin-bottom:20px}
.cal-live p{max-width:32em;font-size:clamp(16px,1.4vw,20px);line-height:1.5}
.cal-live__pics{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,1.6vw,20px)}
.cal-live__pics img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#fff}

/* good to know */
.cal-note{padding:clamp(32px,4vw,56px) var(--gx);background:#F1EEE6;border-top:1px solid var(--ink)}
.cal-note h2{font:700 clamp(18px,1.6vw,24px)/1.1 var(--display);font-stretch:112%;text-transform:uppercase;margin:0 0 12px}
.cal-note p{max-width:62em;margin:0 0 10px;font-size:14px;line-height:1.6}
.cal-note a{text-decoration:underline;text-underline-offset:3px}

@media (max-width:1023px){
  .cal-read__cols{grid-template-columns:1fr}
  .cal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cal-live{grid-template-columns:1fr}
}
@media (max-width:639px){
  .cal .pi__price{justify-content:flex-start}
  .cal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cal-grid p{font-size:13px}
  .cal-line__pic img{width:auto;max-width:none;height:200px}
}

/* ---- Dark: when Dark is picked, the whole page turns with the sheet (this page only; see calendar.js) ----
   The page swaps paper and ink. The black header and footer block, the 365 box and the dark band keep their light-mode
   colours by setting the old values back on themselves. */
html.cal-dark{--paper:#0B0B0A;--ink:#F2EFE8;color-scheme:dark}
.cal-dark .head,.cal-dark .drawer,.cal-dark .foot__last{--ink:#000;--paper:#F2EFE8}
.cal-dark .pp-one{--ink:#121212;--paper:#F2EFE8;box-shadow:inset 0 0 0 1px rgba(242,239,232,.22)}
.cal-dark .cal-live{--ink:#000;--paper:#F2EFE8;box-shadow:inset 0 1px 0 #F2EFE8}
.cal-dark .buy__btn--main,.cal-dark .buy__btn--now{color:#121212}
.cal-dark .buy__btn--main i,.cal-dark .buy__btn--now i{border-left-color:#121212}
.cal-dark .info>div{border-top-color:rgba(242,239,232,.18)}
.cal-dark .cal .pp-wall{background:#262421}
.cal-dark .cal .pg__item.cal-wide{background:#262421}
.cal-dark .cal .pg__item.cal-wide img{background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 14px 34px -10px rgba(0,0,0,.7)}
.cal-dark .cal .pp-frame img{box-shadow:0 0 0 1px rgba(255,255,255,.14),0 14px 34px -10px rgba(0,0,0,.7)}
.cal-dark .cal .pg__item img,.cal-dark .cal-tile,.cal-dark .cal-line__pic,.cal-dark .cal-live__pics img,.cal-dark .lb img{background:#000}
.cal-dark .cal-live__pics img{box-shadow:0 0 0 1px rgba(242,239,232,.28)}
.cal-dark .cal-read{background:#000}
.cal-dark .cal-read h2{color:#FFF70F}
.cal-dark .cal-key--blocks i,.cal-dark .cal-key--dots i{color:#121212}
.cal-dark .cal-grid p{color:rgba(242,239,232,.7)}
.cal-dark .cal-note{background:#151514}
.cal-dark .cal-pick{--pp:#000}
.cal-dark .ppr{background:radial-gradient(120% 90% at 20% 10%,#2E2C29 0%,#211F1D 55%,#171615 100%)}

/* the turn itself: a circle of the new theme grows from the button you pressed (View Transitions);
   browsers without them fade the colours instead */
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
.cal-fade,.cal-fade *{transition:background-color .5s ease,color .5s ease,border-color .5s ease,box-shadow .5s ease!important}

