/* socialmatters.pro v8 kit. Tokens from the logo files (DESIGN-CONTRACT.md). Pages add their own page.css on top; they never edit this. */
@font-face { font-family: "SM Display"; src: url(/wp-content/plugins/sm-home-rebuild/v8/assets/fonts/SMDisplay-Black.woff2?v=423e0fa535) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "SM Text"; src: url(/wp-content/plugins/sm-home-rebuild/v8/assets/fonts/SMText-Medium.woff2?v=dc7ea31b2e) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "SM Text"; src: url(/wp-content/plugins/sm-home-rebuild/v8/assets/fonts/SMText-SemiBold.woff2?v=ebd5c994ae) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "SM Text"; src: url(/wp-content/plugins/sm-home-rebuild/v8/assets/fonts/SMText-ExtraBold.woff2?v=918b13b8d1) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* operator 2026-10-31: "less hard on the eyes". The logo files keep #00349B and #1298CF; the fields use the same hues, calmed down. */
  --navy: #0F2F73; --night: #081C49; --sky: #C4E2F3; --ink: #0B2559; --cyan: #1298CF; --white: #FFFFFF; --mist: #DCE6F7;
  --band: clamp(116px, 14vw, 280px);      /* the ribbon's width: every section is measured from it */
  --edge: clamp(14px, 2vw, 40px);         /* the strip of the other field outside each turn */
  --gut: max(clamp(20px, 4vw, 72px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));   /* viewport-fit=cover: a notched phone on its side keeps every edge clear */
  --air: clamp(40px, 6vw, 112px);
  --strip: clamp(136px, min(40vw, 42vh), 200px);   /* tall enough that a tile's words can be read on a phone, never most of a phone on its side */
  --t-hero: clamp(3.3rem, 8.75vw, 14rem);
  --t-h2: clamp(2.3rem, 6.1vw, 7.6rem);
  --t-h3: clamp(1.25rem, 1.9vw, 2rem);
  --t-line: clamp(1.06rem, 1.55vw, 1.6rem);
  --ease: cubic-bezier(.22,.8,.24,1);
  --bar-h: 64px;
}
@media (min-width: 1300px) { html:not(.gl) { --strip: max(200px, 15vw); } }   /* a touch screen or a no-JS window this wide: the band's height keeps pace, so the picture isn't cropped hard to reach the edge */
* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; -webkit-tap-highlight-color: transparent; }   /* on html too: body's own clip would pass to the viewport, and a phone would widen the page to fit an object's overscan canvas */
body { position: relative; background: var(--navy); color: var(--white); font: 500 1rem/1.5 "SM Text", system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
/* anchors and keyboard focus land below the fixed bar. Zero specificity: a page's own scroll-margin wins. */
:where([id], a, button, input, select, textarea, summary, [tabindex]) { scroll-margin-top: 84px; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
.skip { position: absolute; left: 8px; top: -60px; z-index: 20; background: var(--white); color: var(--navy); padding: 12px 16px; font-weight: 800; }
.skip:focus { top: 8px; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* default = the phone, tablet and no-JS page: real video bands between solid fields. html.gl = the WebGL ribbon on desktop. */
#fields, #gl { display: none; }
html.gl #fields { display: block; position: absolute; inset: 0 0 auto 0; width: 100%; z-index: 0; pointer-events: none; }
html.gl #fields path { fill: var(--sky); } html.gl #fields rect { fill: var(--navy); }
html.gl #gl { display: block; position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
.strip { position: relative; z-index: 2; overflow: hidden; background: var(--white); height: var(--strip); }
.strip video, .strip img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; animation: drift 46s cubic-bezier(.45,0,.55,1) infinite alternate; will-change: transform; }
@keyframes drift { to { transform: translateX(calc(-100% + 100vw)); } }
html.gl .strip { display: none; }

/* the bar */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); height: 64px; padding: 0 var(--gut); transition: background-color .24s var(--ease); }
.bar.is-solid { background: var(--navy); background: color-mix(in srgb, var(--navy) 99.9%, transparent); }   /* looks solid, doesn't count as opaque: Chrome's software compositor treats an opaque fixed bar as covering the ribbon's canvas and cuts the same 64 px off the canvas's bottom. Older browsers keep the first line */
.bar__logo { margin-right: auto; display: flex; align-items: center; min-height: 44px; }
.bar__logo img { height: clamp(36px, 3.4vw, 48px); width: auto; }
.bar__nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.bar__nav > a, .drop__link { font-weight: 600; font-size: 1rem; text-decoration: none; padding: 12px 2px; }
.drop__btn { display: grid; place-items: center; width: 24px; height: 44px; margin-left: 1px; }
.drop__btn::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s var(--ease), margin .2s var(--ease); }
.drop__btn[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(225deg); }
@media (pointer: coarse) { .drop__btn { width: 44px; margin-right: -12px; } }
.bar__nav > a[aria-current="page"], .drop__link[aria-current="page"], .drop__link.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (hover: hover) { .bar__nav > a:hover, .drop__link:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; } }
.drop { position: relative; display: flex; align-items: center; }
.drop__panel { position: absolute; top: 100%; left: -18px; width: min(420px, 80vw); display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; padding: 12px 18px; background: var(--white); color: var(--navy); border: 1px solid rgba(15,47,115,.2); border-radius: 12px; }
.drop__panel a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.drop__panel a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (hover: hover) { .drop__panel a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; } }
.drop__all { font-weight: 800 !important; }
.bar__menu { display: none; font-weight: 800; min-height: 44px; min-width: 64px; padding: 0 6px; text-align: center; }
html:not(.js) .bar__menu, html:not(.js) .drop__btn { display: none !important; }   /* with JS off these can't do anything, and every link is still in the footer */
#sheet { position: fixed; inset: 0; z-index: 4; background: var(--navy); padding: 76px var(--gut) max(20px, env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .18s var(--ease); }
#sheet.is-in { opacity: 1; }
#sheet nav { display: flex; flex-direction: column; min-height: 100%; }
.sheet__big { display: flex; align-items: center; min-height: clamp(44px, 7vh, 88px); font: 900 clamp(1.75rem, min(8.6vw, 8.4vh), 4rem)/1.06 "SM Display", sans-serif; text-transform: uppercase; text-decoration: none; padding: 3px 0; }
.sheet__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: auto; padding-top: 18px; }   /* the small links sit where a thumb is */
.sheet__row a { display: flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
#sheet a[aria-current="page"] { color: var(--sky); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sheet__big[aria-current="page"] { text-decoration-thickness: .07em; text-underline-offset: .1em; }
@media (min-width: 640px) { .sheet__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (min-height: 900px) { .sheet__big { font-size: clamp(4rem, 8.6vw, 5.25rem); } .sheet__row a { min-height: 56px; font-size: 1.25rem; } }   /* a tablet held upright: bigger words, and the small links under the thumb like on a phone */
/* the smallest phone: everything in the menu still fits on one screen */
@media (max-height: 600px) and (orientation: portrait) { #sheet { padding-top: 66px; padding-bottom: 8px; } .sheet__row { padding-top: 6px; } }
html.menu-open { overflow: hidden; }
html.menu-open .bar { padding-right: calc(var(--gut) + var(--sbw, 0px)); background: var(--navy) !important; }   /* a classic scrollbar going away must not nudge the bar */
@media (max-width: 1040px) { .bar__nav { display: none; } .bar__menu { display: block; } }
/* the smallest phones keep the page's left edge: everything in the bar gives up a little instead */
@media (max-width: 360px) { .bar { gap: 6px; } .bar__menu { min-width: 52px; padding: 0 4px; font-size: .94rem; } .bar .tag > span { padding: 0 10px 0 27px; font-size: .875rem; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); -webkit-mask: radial-gradient(circle 4px at 16px 50%, transparent calc(100% - 1px), #000 100%); mask: radial-gradient(circle 4px at 16px 50%, transparent calc(100% - 1px), #000 100%); } .bar__logo img { height: 32px; } }
/* a phone on its side: the bar gives height back, and the menu goes two across so all of it fits on one screen */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --bar-h: 52px; }
  .bar { height: var(--bar-h); } .bar__logo img { height: 32px; }
  #sheet { padding-top: 56px; padding-bottom: max(8px, env(safe-area-inset-bottom, 0px)); }
  #sheet nav { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-auto-rows: min-content; column-gap: clamp(24px, 6vw, 64px); align-content: start; min-height: 0; }
  .sheet__big { grid-column: 1; min-height: 44px; }
  .sheet__row { grid-column: 2; grid-row: 1 / span 5; grid-template-columns: 1fr 1fr; align-content: start; margin: 0; padding: 0; }
}

/* a box a page reserves for a shape made of the site's own dots (kit/sm-wall.js) */
.dot-art { position: relative; min-height: clamp(220px, 28vw, 620px); }
html:not(.js) .dot-art { display: none; }

/* sections */
main { position: static; }
.s > *, .strip { position: relative; z-index: 2; }
.s { position: static; padding: var(--air) var(--gut); background: var(--navy); }
.s.on-cyan { background: var(--sky); color: var(--ink); }
.s.on-white { background: var(--white); color: var(--night); }
.s.on-night { background: var(--night); }
html.gl .s { padding-block: calc(var(--band) / 2 + var(--air)); }
html.gl .s--open-r { padding-left: calc(var(--edge) + var(--band) + var(--gut)); padding-right: var(--gut); }
html.gl .s--open-l { padding-right: calc(var(--edge) + var(--band) + var(--gut)); padding-left: var(--gut); }
.s--first { padding-top: 96px; }
html.noribbon .s { padding-block: var(--air); }
html:not(.js) .strip[data-tiles] { display: none; }
.strip canvas { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; animation: drift 46s cubic-bezier(.45,0,.55,1) infinite alternate; will-change: transform; }
.strip.is-paused > *, html.is-still .strip > * { animation-play-state: paused; }
html:not(.gl) .strip { cursor: pointer; }   /* iOS only delivers a click from a plain box to a listener on the document if the box has this */
/* a film band shows a soft ground until its poster lands, not a white slab. The poster paints the moment it arrives: on a phone's first screen it's the page's largest paint, so nothing here may wait for script. */
.strip:has(> video) { background: var(--mist); }
.strip > video { aspect-ratio: 1538 / 230; min-width: 108%; object-fit: cover; }   /* the band's own shape from the first paint, before the poster or the film can say so (all five are this size), and always wider than the screen: a touch screen or a no-JS window past 1337 px would show the ground beside it */

/* type: SM Display in capitals so the logo's letters show in every line */
.d { font: 900 var(--t-h2)/.98 "SM Display", "SM Text", sans-serif; text-transform: uppercase; letter-spacing: -.012em; text-wrap: balance; }
.d--hero { font-size: var(--t-hero); line-height: .96; letter-spacing: -.016em; }
.d span { display: block; }
.d .nw { display: inline; white-space: nowrap; }   /* a span in a heading is a line by default; this one holds words together instead */
.on-cyan .d { color: var(--ink); }
.on-white .d { color: var(--navy); }
.h3 { font: 800 var(--t-h3)/1.15 "SM Text", sans-serif; letter-spacing: -.008em; }
.line { font-size: var(--t-line); line-height: 1.42; max-width: 36ch; color: var(--mist); text-wrap: pretty; }
.line--gap { margin-top: clamp(14px, 1.6vw, 22px); }
.on-cyan .line, .on-white .line { color: var(--ink); }
.small { font-size: .98rem; line-height: 1.4; }
.label-sample { display: inline-block; font-size: .86rem; font-weight: 600; opacity: .92; }
.quiet { margin-top: 14px; font-size: clamp(.92rem, .75vw, 1.25rem); font-weight: 500; opacity: .92; }

/* the tag: the logo's silhouette as the one button on the site */
.tag { display: inline-block; text-decoration: none; border-radius: 4px; flex: none; }
.tag > span { display: inline-flex; align-items: center; min-height: clamp(58px, 3.2vw, 84px); padding: 0 28px 0 46px; background: var(--white); color: var(--navy); font: 800 clamp(1rem, .9vw, 1.5rem)/1 "SM Text", sans-serif; letter-spacing: -.005em;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%);
  -webkit-mask: radial-gradient(circle 5.5px at 24px 50%, transparent calc(100% - 1px), #000 100%); mask: radial-gradient(circle 5.5px at 24px 50%, transparent calc(100% - 1px), #000 100%); transition: transform .24s var(--ease), background-color .12s linear; }
@media (hover: hover) { .tag:hover > span { transform: translateX(4px); } }
.tag:active > span { transform: translateX(2px); background: var(--mist); }
.bar .tag > span { min-height: 44px; font-size: clamp(1rem, .74vw, 1.18rem); padding: 0 18px 0 36px; clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); -webkit-mask: radial-gradient(circle 4.5px at 19px 50%, transparent calc(100% - 1px), #000 100%); mask: radial-gradient(circle 4.5px at 19px 50%, transparent calc(100% - 1px), #000 100%); }
.on-cyan .tag > span, .on-white .tag > span { background: var(--navy); color: var(--white); }
.on-cyan .tag:active > span, .on-white .tag:active > span { background: var(--night); }
.link { font-weight: 700; text-underline-offset: 6px; text-decoration-thickness: 2px; display: inline-flex; align-items: center; min-height: 44px; transition: text-underline-offset .2s var(--ease); }
@media (hover: hover) { .link:hover, .deck__ghost:hover { text-underline-offset: 3px; } }
/* pressed: one answer for every plain link and text button in the chrome */
.bar__nav > a:active, .drop__link:active, .drop__btn:active, .bar__menu:active, .bar__logo:active, .drop__panel a:active, #sheet a:active, .foot__cols a:active, .foot__legal a:active, .wedo__pay a:active, .link:active, .deck__ghost:active { opacity: .62; }

/* what we do: on every page, above the footer */
.wedo, .foot { position: static; }   /* painted under the dot field, like a section. Only their contents sit above it. */
.wedo > *, .foot > * { position: relative; z-index: 2; }
.wedo { background: var(--night); padding: clamp(48px, 7vw, 120px) var(--gut) clamp(32px, 4vw, 64px); }
.wedo__h { font: 800 var(--t-line)/1.1 "SM Text", sans-serif; color: var(--mist); }
.wedo__list { list-style: none; padding: 0; margin-top: clamp(14px, 2vw, 28px); }
.wedo__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 28px; padding: clamp(12px, 1.5vw, 22px) 0; text-decoration: none; border-top: 2px solid rgba(220,230,247,.28); }
.wedo__list li:last-child a { border-bottom: 2px solid rgba(220,230,247,.28); }
.wedo__list b { flex: none; font: 900 clamp(2.15rem, min(3.8vw, calc((100vw - 2 * var(--gut) - 28px - var(--t-line) * 15.9) / 9.8)), 10rem)/1 "SM Display", sans-serif; text-transform: uppercase; letter-spacing: -.012em; white-space: nowrap; transition: transform .24s var(--ease), color .24s var(--ease); }   /* the long row fits beside its line at every width, so the three rows always match */
@media (hover: hover) { .wedo__list a:hover b { transform: translateX(4px); color: var(--sky); } }   /* 4, not 14: the word's pocket in the dot field stays put, and this keeps the last letter's edge at .57 in the map at worst, against .33 at rest and .78 at 14 */
.wedo__list a:active b { transform: translateX(8px); color: var(--sky); }
.wedo__list a[aria-current="page"] b { color: var(--sky); }
.wedo__list span { flex: none; width: calc(var(--t-line) * 15.9); color: var(--mist); font-size: var(--t-line); line-height: 1.35; text-wrap: balance; }
@media (max-width: 760px) { .wedo__list a { display: block; } .wedo__list b { display: block; font-size: clamp(1.7rem, 8.4vw, 3rem); } .wedo__list span { display: block; width: auto; margin-top: 6px; } }
.wedo__pay { margin-top: clamp(20px, 2.6vw, 36px); color: var(--mist); font-size: clamp(1rem, .74vw, 1.35rem); line-height: 1.5; text-wrap: pretty; }
.wedo__pay a { padding-block: 13px; color: var(--white); font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; }   /* padding, not a taller box: the hit area grows and the line spacing doesn't */

/* footer */
.foot { background: var(--night); color: var(--mist); padding: 0 var(--gut) clamp(28px, 3vw, 44px); display: grid; gap: clamp(28px, 3vw, 48px); }
.foot__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: clamp(28px, 3vw, 44px); border-top: 2px solid rgba(220,230,247,.28); }
.foot__brand img { height: 56px; width: auto; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 24px; }
.foot__cols h3 { font: 800 clamp(1rem, .75vw, 1.25rem)/1.3 "SM Text", sans-serif; color: var(--white); margin-bottom: 8px; }
.foot__cols a { display: flex; align-items: center; min-height: 40px; padding: 4px 0; text-decoration: none; font-size: clamp(1rem, .7vw, 1.2rem); line-height: 1.25; }
.foot__cols h3 a { display: inline; min-height: 0; padding: 13px 0; font: inherit; }   /* padding, so a linked heading sits level with the plain ones */
.foot__cols a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (hover: hover) { .foot__cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; } }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; font-size: clamp(.875rem, .62vw, 1.1rem); line-height: 1.4; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.foot__place { white-space: nowrap; }
.foot__still { min-height: 44px; min-width: 44px; padding: 0; font-size: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .foot__still:hover { color: var(--white); } }
.foot__still:active { opacity: .62; }
@media (pointer: coarse) { .foot__cols a { min-height: 44px; padding-block: 12px; } }   /* 12 above and below any link, so a two-line link sits as far from its neighbors as a one-line one */
/* Services is the long list: it takes its column and the short lists stack beside it, so the footer stays short and nothing ends up alone */
@media (max-width: 1040px) { .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__cols > :first-child { grid-row: span 2; } .foot__cols a { min-height: 44px; padding-block: 12px; } }
@media (max-width: 640px) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; } .foot__cols > :first-child { grid-row: span 2; } .foot__pay { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; } .foot__pay h3 { grid-column: 1 / -1; } .foot__reach { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; } .foot__reach h3 { flex: 0 0 100%; } }
@media (prefers-reduced-motion: reduce) { .strip video, .strip img, .strip canvas { animation: none; } .tag > span, .wedo__list b, .bar, .link, .drop__btn::after { transition: none; } #sheet { transition: opacity .15s linear; } }

/* the ad deck: a long, calm ring. Depth comes from the ring itself; every card moves by transform and opacity only. */
.deck__stage { position: relative; height: clamp(300px, 44vw, 660px); perspective: 2800px; perspective-origin: 50% 46%; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: hidden; overflow: clip visible; cursor: grab; margin-top: clamp(18px, 2.4vw, 36px); margin-inline: calc(var(--gut) * -1); }   /* runs to the screen edge, or to the ribbon's inner edge, so no card is cut off in empty space */
.deck__stage:active { cursor: grabbing; }
.deck__ring { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }   /* the ring is a plane in front of the cards: left hittable, it takes every press */
.deck__card { position: absolute; left: 50%; top: 50%; padding: 0; border-radius: 14px; overflow: hidden; background: var(--night); will-change: transform, opacity; backface-visibility: hidden; outline: 1px solid transparent; }
.deck__card { pointer-events: auto; }
.deck__card.is-on { cursor: inherit; }
.deck__card { background: var(--night) center / cover no-repeat; }
.deck__card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; opacity: 0; transition: opacity .18s linear; }
.deck__card img.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .deck__card img { transition: none; } }
.deck__dim { position: absolute; inset: 0; background: var(--night); opacity: 0; pointer-events: none; will-change: opacity; }
.deck__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: clamp(14px, 1.8vw, 26px); }
.deck__ghost { font-weight: 700; font-size: clamp(1rem, .85vw, 1.35rem); min-height: 44px; padding: 0 8px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.deck__now { margin-left: auto; font-size: clamp(1rem, .85vw, 1.35rem); font-variant-numeric: tabular-nums; }
@media (max-width: 620px) { .deck__now { margin-left: 0; flex-basis: 100%; } }
.deck__now b { font-weight: 800; }
.deck__cycle { padding: 0; }
/* with JS on, what's in the deck's markup is for no-JS only: it never shows, and its lazy pictures never load (176 KB of a phone's first view). The box holds about the deck's height until it lands. */
html.js .deck:not(.no-deck):not(:has(> .deck__stage)) { min-height: min(calc(80vw + 104px), calc(73.44vh + 104px)); }
@media (min-width: 620px) { html.js .deck:not(.no-deck):not(:has(> .deck__stage)) { min-height: min(calc(43.2vw + 76px), calc(73.44vh + 76px)); } }
html.gl .deck:not(.no-deck):not(:has(> .deck__stage)) { min-height: min(calc((100vw - var(--edge) - var(--band)) * .432 + 84px), calc(73.44vh + 84px)); }
html.js .deck:not(.no-deck):not(:has(> .deck__stage)) > * { display: none; }
.deck__static { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
@media (max-width: 620px) { .deck__static { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.deck__static img { border-radius: 10px; width: 100%; height: auto; }

/* an object: poster until its sheet lands, then the sheet */
.turn { display: block; position: relative; aspect-ratio: 1; background-size: 400% 400%; background-repeat: no-repeat; background-position: 0 66.667%; }
.turn img { width: 100%; height: 100%; object-fit: contain; display: block; }
.turn.is-sprite img { opacity: 0; }
/* The poster stays solid under the canvas while it fades in, then goes at once: both layers fading together let the field show through. It comes back at once if the context is lost. */
.turn > img { transition: none !important; }
.turn > img[style*="opacity: 0"] { transition: opacity 0s linear .41s !important; }
