/*
 * Poster: the public page (landing page, cards, Coming Soon) on one big field of color.
 * Colors, fonts and radii come only from tokens.css (--po-*); tints are color-mix() of a token.
 * Mobile first: one column, max 480px, centered on the field at every width.
 *
 * Text on the field is always --po-ink (tokens.css keeps the field light enough for it). Buttons,
 * cards and dialogs are paper with ink text, a thick ink border and a hard offset shadow that
 * presses in when tapped. Nothing rotated sits inside a box that clips it.
 *
 * No JavaScript: every card is a <dialog> that shows through :target (html:not(.js) …).
 * With JavaScript (site.js adds html.js): real modal dialogs, carousels with dots and buttons.
 */

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; background: var(--po-field); }
html.is-locked { overflow: hidden; }
html { --fine: 1; }
html[data-text="larger"] { --fine: 1.1; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--po-field); color: var(--po-ink); font-family: var(--po-font-body); font-size: 16px; line-height: 1.5; font-weight: 500; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--po-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (hover: hover) {
  a:hover { text-decoration-thickness: 3px; }
}
:focus-visible { outline: 3px solid var(--po-ink); outline-offset: 3px; }
.carousel__track:focus-visible, .modal__scroll:focus-visible { outline-offset: -4px; }
@supports selector(:has(*)) {
  .carousel__track:focus-visible, .modal__scroll:focus-visible { outline: none; }
  .carousel:has(> .carousel__track:focus-visible), .modal__panel:has(> .modal__scroll:focus-visible) { outline: 3px solid var(--po-ink); outline-offset: 3px; }
}
::selection { background: var(--po-ink); color: var(--po-paper); }
svg[hidden] { display: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: block; overflow: visible; }
/* The accent word on paper: ink on a swipe of the field color. */
.accent { padding: 0 .12em; border-radius: 4px; background: var(--po-field); color: var(--po-ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rule { display: block; width: 64px; height: 10px; border: var(--po-border-thin) solid var(--po-line); border-radius: 5px; background: var(--po-field); }

/* ── The field ───────────────────────────────────────────────────────────────────────── */

.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--po-field); }
.backdrop__sun { position: absolute; top: -18vmax; right: -22vmax; width: 52vmax; height: 52vmax; border-radius: 50%; background: color-mix(in srgb, var(--po-paper) 16%, transparent); }
.backdrop__dots { position: absolute; width: 40vmax; height: 40vmax; background: radial-gradient(circle, color-mix(in srgb, var(--po-paper) 42%, transparent) 2.4px, transparent 3px) 0 0 / 14px 14px; }
.backdrop__dots--top { top: -12vmax; left: -16vmax; -webkit-mask-image: radial-gradient(closest-side, black, transparent); mask-image: radial-gradient(closest-side, black, transparent); }
.backdrop__dots--bottom { right: -16vmax; bottom: -16vmax; -webkit-mask-image: radial-gradient(closest-side, black 20%, transparent); mask-image: radial-gradient(closest-side, black 20%, transparent); }
.page { --gutter: clamp(18px, 6vw, 28px); position: relative; z-index: 1; width: 100%; max-width: 480px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); }
.preview-bar { position: sticky; top: 0; z-index: 20; padding: 0 16px; background: var(--po-ink); font-size: 13px; font-weight: 600; text-align: center; color: var(--po-paper); }
.preview-bar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--po-field); font-weight: 800; }
@media (hover: hover) {
  .preview-bar a:hover { color: var(--po-paper); }
}

/* ── Hero ────────────────────────────────────────────────────────────────────────────── */

.hero { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: calc(30px + env(safe-area-inset-top)); text-align: center; }
.kicker { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 0; margin-bottom: 22px; padding: 6px 14px; border: var(--po-border-thin) solid var(--po-line); border-radius: 999px; background: var(--po-paper); font-size: calc(10px * var(--fine)); line-height: 1.4; font-weight: 800; letter-spacing: var(--po-track-wide); text-transform: uppercase; color: var(--po-ink); box-shadow: 3px 3px 0 0 var(--po-line); }
.kicker span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 .7em .12em .5em; border-radius: 50%; background: var(--po-ink); vertical-align: middle; }
.hero__mark { width: 140px; height: auto; margin: 0 auto 18px; }
.hero__title { width: var(--po-display-width); max-width: 100%; margin: 0 auto; font-family: var(--po-font-display); font-weight: var(--po-display-weight); font-stretch: var(--po-display-stretch); font-synthesis: none; font-size: calc(clamp(56px, 18vw, 88px) * var(--po-display-scale)); line-height: var(--po-display-leading); letter-spacing: var(--po-display-tracking); text-transform: uppercase; overflow-wrap: break-word; text-wrap: balance; color: var(--po-ink); }
html[data-type="signature"] .hero__title { text-align: left; }
/* The accent word on the field: a tilted ink label with the field's color in it. */
.hero__title .accent, .soon__title .accent { display: inline-block; margin: .08em 0 .04em; padding: .06em .16em .02em; border-radius: 6px; background: var(--po-ink); color: var(--po-field); transform: rotate(-2.5deg); }
.hero__tagline { max-width: 34ch; margin-top: 18px; font-size: calc(16px * var(--fine)); line-height: 1.4; font-weight: 700; color: var(--po-ink); text-wrap: balance; }
.hero__cats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: calc(10.5px * var(--fine)); line-height: 1.3; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--po-ink); }
.hero__cat { margin-right: -.16em; }
.hero__cats .slash { font-weight: 900; letter-spacing: 0; }
.main { margin-top: 30px; }

/* ── Buttons ─────────────────────────────────────────────────────────────────────────── */

.links__list { display: flex; flex-direction: column; gap: 16px; }
.lb { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px 8px 9px; border: var(--po-border) solid var(--po-line); border-radius: var(--po-radius); background: var(--po-paper); color: var(--po-ink); text-decoration: none; box-shadow: var(--po-lift) var(--po-lift) 0 0 var(--po-line); transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease; }
@media (hover: hover) {
  .lb:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--po-lift) + 2px) calc(var(--po-lift) + 2px) 0 0 var(--po-line); background: var(--po-paper); color: var(--po-ink); }
}
.lb:active { transform: translate(var(--po-lift), var(--po-lift)); box-shadow: 0 0 0 0 var(--po-line); }
.lb__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: var(--po-border-thin) solid var(--po-line); border-radius: var(--po-radius-sm); background: var(--po-field); color: var(--po-ink); }
.lb__icon .icon { width: 22px; height: 22px; }
.lb__label { flex: 1 1 auto; min-width: 0; padding: 4px 0; font-size: 15px; line-height: 1.2; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
.lb__desc { display: block; margin-top: 3px; font-size: calc(12.5px * var(--fine)); line-height: 1.3; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--po-muted); text-wrap: pretty; }
.lb__chev { width: 24px; height: 24px; color: var(--po-ink); }
@media (max-width: 374px) {
  .lb { gap: 10px; }
  .lb__label { font-size: 14px; }
}
/* Featured: the same button inverted, with a star sticker on its corner. */
.lb--featured { background: var(--po-ink); color: var(--po-paper); box-shadow: var(--po-lift) var(--po-lift) 0 0 var(--po-paper), var(--po-lift) var(--po-lift) 0 var(--po-border) var(--po-line); }
@media (hover: hover) {
  .lb--featured:hover { background: var(--po-ink); color: var(--po-paper); box-shadow: calc(var(--po-lift) + 2px) calc(var(--po-lift) + 2px) 0 0 var(--po-paper), calc(var(--po-lift) + 2px) calc(var(--po-lift) + 2px) 0 var(--po-border) var(--po-line); }
}
.lb--featured:active { box-shadow: 0 0 0 0 var(--po-paper), 0 0 0 0 var(--po-line); }
.lb--featured .lb__icon { border-color: var(--po-paper); }
.lb--featured .lb__desc { color: color-mix(in srgb, var(--po-paper) 82%, var(--po-ink)); }
.lb--featured .lb__chev { color: var(--po-paper); }
.lb--featured::before, .lb--featured::after { content: ""; position: absolute; top: -15px; right: -11px; width: 36px; height: 36px; clip-path: polygon(50% 0%, 61% 30%, 93% 25%, 72% 50%, 93% 75%, 61% 70%, 50% 100%, 39% 70%, 7% 75%, 28% 50%, 7% 25%, 39% 30%); pointer-events: none; }
.lb--featured::before { background: var(--po-line); transform: rotate(14deg) scale(1.22); }
.lb--featured::after { background: var(--po-field); transform: rotate(14deg); }
@media (prefers-reduced-motion: no-preference) {
  .lb--featured::before, .lb--featured::after { animation: po-spin 14s linear infinite; }
}
@keyframes po-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
.note-line { display: flex; justify-content: center; align-items: flex-start; gap: 6px; margin: 10px 4px 0; font-size: calc(12px * var(--fine)); line-height: 1.4; font-weight: 600; color: var(--po-ink); text-align: left; }
.note-line .icon { width: 13px; height: 13px; margin-top: 1.5px; color: var(--po-ink); }

/* ── Latest story: a paper card with a tilted sticker for its label ─────────────────── */

.latest { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 18px 12px 12px; border: var(--po-border) solid var(--po-line); border-radius: var(--po-radius); background: var(--po-paper); color: var(--po-ink); text-decoration: none; box-shadow: var(--po-lift) var(--po-lift) 0 0 var(--po-line); transition: transform .12s ease, box-shadow .12s ease; }
.main > .latest:first-child { margin-bottom: 24px; }
.links + .latest { margin-top: 32px; }
@media (hover: hover) {
  .latest:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--po-lift) + 2px) calc(var(--po-lift) + 2px) 0 0 var(--po-line); color: var(--po-ink); }
}
.latest:active { transform: translate(var(--po-lift), var(--po-lift)); box-shadow: 0 0 0 0 var(--po-line); }
.latest__thumb { width: 56px; height: 56px; flex: none; border: var(--po-border-thin) solid var(--po-line); border-radius: var(--po-radius-sm); object-fit: cover; background: var(--po-paper-2); }
.latest__thumb--icon { display: grid; place-items: center; background: var(--po-field); color: var(--po-ink); }
.latest__thumb--icon .icon { width: 24px; height: 24px; }
.latest__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.latest__meta { display: flex; align-items: center; gap: 7px; font-size: calc(11px * var(--fine)); line-height: 1.3; font-weight: 700; color: var(--po-muted); }
.latest__tag { position: absolute; top: -15px; left: 14px; padding: 3px 10px 2px; border: var(--po-border-thin) solid var(--po-line); border-radius: 6px; background: var(--po-field); color: var(--po-ink); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; transform: rotate(-4deg); box-shadow: 2px 2px 0 0 var(--po-line); }
.latest__dot { display: none; }
.latest__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: calc(14px * var(--fine)); line-height: 1.35; font-weight: 700; }
.latest__chev { width: 24px; height: 24px; color: var(--po-ink); }

/* ── Footer ──────────────────────────────────────────────────────────────────────────── */

.foot { margin-top: 40px; text-align: center; color: var(--po-ink); }
.motto { display: flex; align-items: center; justify-content: center; gap: 12px; }
.motto__rule { flex: 0 0 28px; height: 4px; border-radius: 2px; background: var(--po-ink); }
.motto__text { min-width: 0; font-size: calc(10px * var(--fine)); line-height: 1.5; font-weight: 800; letter-spacing: var(--po-track-wide); text-transform: uppercase; color: var(--po-ink); }
.social { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.social li { display: flex; align-items: center; }
.social__link { display: grid; place-items: center; width: 48px; height: 48px; border: var(--po-border-thin) solid var(--po-line); border-radius: 50%; background: var(--po-paper); color: var(--po-ink); box-shadow: 3px 3px 0 0 var(--po-line); transition: transform .12s ease, box-shadow .12s ease; }
@media (hover: hover) {
  .social__link:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 0 var(--po-line); color: var(--po-ink); }
}
.social__link:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 var(--po-line); }
.social__link .icon { width: 21px; height: 21px; }
.foot__privacy { margin-top: 14px; font-size: calc(12px * var(--fine)); line-height: 1.5; font-weight: 600; }
.foot__privacy a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; color: var(--po-ink); text-decoration: underline; }
@media (hover: hover) {
  .foot__privacy a:hover { color: var(--po-ink); }
}
.foot__copy { font-size: calc(12px * var(--fine)); font-weight: 600; color: var(--po-ink); }
.foot__credit { margin-top: 2px; font-size: calc(12px * var(--fine)); line-height: 1.5; }
.foot__credit a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; color: var(--po-ink); text-decoration: none; }
.foot__credit strong { font-weight: 800; }
.foot__dot { margin: 0 .2em; }
.foot__cta { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot__arrow { display: inline-block; margin-left: .35em; transition: transform .15s ease; }
@media (hover: hover) {
  .foot__credit a:hover .foot__cta { color: var(--po-ink); }
  .foot__credit a:hover .foot__arrow { transform: translateX(3px); }
}
@media (min-width: 700px) {
  .page { max-width: 540px; }
  .hero { padding-top: 64px; }
  .hero__title { font-size: calc(96px * var(--po-display-scale)); }
  .main { margin-top: 38px; }
}

/* ── Cards (dialogs) ─────────────────────────────────────────────────────────────────── */

.modal { position: fixed; inset: 0; z-index: 50; display: none; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border: 0; background: transparent; color: var(--po-ink); overflow: hidden; overscroll-behavior: contain; }
.modal[open], html:not(.js) .modal:target { display: flex; align-items: center; justify-content: center; }
.modal::backdrop { background: color-mix(in srgb, var(--po-ink) 55%, transparent); }
html:not(.js) .modal:target { background: color-mix(in srgb, var(--po-ink) 60%, transparent); }
.modal__panel { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; border: var(--po-border) solid var(--po-line); border-radius: var(--po-radius-lg); background: var(--po-paper); box-shadow: 7px 7px 0 0 var(--po-line); }
@media (min-width: 720px) {
  .modal { padding: 32px 24px; }
  .modal__panel { width: min(640px, 100%); height: auto; max-height: min(88vh, 940px); }
}
@media (prefers-reduced-motion: no-preference) {
  .modal[open] .modal__panel { animation: po-pop .22s cubic-bezier(.2, .9, .3, 1.2); }
  .modal[open]::backdrop { animation: po-fade .2s ease-out; }
}
@keyframes po-pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes po-fade { from { opacity: 0; } }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: var(--po-border-thin) solid var(--po-line); border-radius: 50%; background: var(--po-paper); color: var(--po-ink); box-shadow: 2px 2px 0 0 var(--po-line); transition: background-color .12s ease; }
@media (hover: hover) {
  .modal__close:hover { background: var(--po-field); color: var(--po-ink); }
}
.modal__close .icon { width: 20px; height: 20px; }
.modal__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--po-ink) transparent; }
.modal__head { padding: 26px 66px 0 24px; }
.brandline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5em; font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: var(--po-track-wide); text-transform: uppercase; color: var(--po-ink); }
.brandline .accent { padding: 0 .3em; }
.modal__title { margin-top: 16px; font-family: var(--po-font-display); font-weight: var(--po-display-weight); font-stretch: var(--po-display-stretch); font-synthesis: none; font-size: calc(clamp(40px, 12vw, 56px) * var(--po-display-scale)); line-height: var(--po-display-leading); letter-spacing: var(--po-display-tracking); text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; color: var(--po-ink); }
.modal__title--long { font-size: calc(clamp(34px, 10vw, 48px) * var(--po-display-scale)); }
html[data-type="signature"] .modal__title { font-size: calc(clamp(34px, 10vw, 46px)); }
.modal__title .accent { display: inline-block; margin-top: .06em; padding: .05em .14em .01em; border: var(--po-border-thin) solid var(--po-line); border-radius: 6px; transform: rotate(-1.5deg); }
.modal__head .rule { margin-top: 18px; }
.modal__body { padding: 22px 24px 32px; font-size: 16px; line-height: 1.6; color: var(--po-ink); }
@media (min-width: 720px) {
  .modal__head { padding: 32px 72px 0 32px; }
  .modal__body { padding: 24px 32px 38px; }
}
.modal__hero { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--po-border) solid var(--po-line); background: var(--po-paper-2); }
.modal__hero-img { width: 100%; height: 100%; object-fit: cover; }
.modal__hero + .modal__head { padding-top: 22px; }
.prose > * + * { margin-top: .9em; }
.prose a { color: var(--po-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--po-field); text-decoration-thickness: 4px; text-underline-offset: 2px; }
@media (hover: hover) {
  .prose a:hover { background: var(--po-field); color: var(--po-ink); }
}
.prose strong { font-weight: 800; }
.md-list { list-style: none; padding: 0; }
.md-list li { position: relative; padding-left: 28px; }
.md-list li + li { margin-top: .45em; }
.md-list li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 12px; border: var(--po-border-thin) solid var(--po-line); border-radius: 3px; background: var(--po-field); transform: rotate(8deg); }
.label-caps { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 11px; line-height: 1.3; font-weight: 900; letter-spacing: var(--po-track-wide); text-transform: uppercase; color: var(--po-ink); }
.label-caps::after { content: ""; flex: 1 1 auto; height: 3px; border-radius: 2px; background: var(--po-ink); }
.intro__welcome { font-size: 23px; line-height: 1.2; font-weight: 900; color: var(--po-ink); text-wrap: balance; }
.intro__sub { margin-top: 6px; font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--po-muted); text-wrap: balance; }
.intro + .prose { margin-top: 18px; }
.topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.topics li { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: var(--po-border-thin) solid var(--po-line); border-radius: 999px; background: var(--po-field); font-size: 13px; line-height: 1.2; font-weight: 800; letter-spacing: .06em; color: var(--po-ink); box-shadow: 2px 2px 0 0 var(--po-line); }
.story { outline: none; }
.story + .story, .story + .stories__more { margin-top: 24px; }
.story + .story { padding-top: 24px; border-top: var(--po-border) dashed var(--po-line); }
.story__date { display: inline-block; margin-bottom: 10px; padding: 2px 8px; border-radius: 4px; background: var(--po-ink); font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--po-paper); }
.story .prose + .carousel { margin-top: 14px; }
.btn-out { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin-top: 16px; padding: 0 16px; border: var(--po-border-thin) solid var(--po-line); border-radius: 12px; background: var(--po-field); color: var(--po-ink); font-size: 14px; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; box-shadow: 3px 3px 0 0 var(--po-line); transition: transform .12s ease, box-shadow .12s ease; }
@media (hover: hover) {
  .btn-out:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 0 var(--po-line); color: var(--po-ink); }
}
.btn-out:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 var(--po-line); }
.btn-out .icon { width: 16px; height: 16px; color: var(--po-ink); }
.stories__more { text-align: center; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: var(--po-border-thin) solid var(--po-line); border-radius: 999px; background: var(--po-paper); color: var(--po-ink); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: 3px 3px 0 0 var(--po-line); transition: transform .12s ease, box-shadow .12s ease; }
@media (hover: hover) {
  .btn-ghost:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 0 var(--po-line); color: var(--po-ink); }
}
.btn-ghost:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 var(--po-line); }
.btn-ghost[aria-busy="true"] { opacity: .6; pointer-events: none; }
.carousel { position: relative; margin-top: 4px; overflow: hidden; border: var(--po-border) solid var(--po-line); border-radius: var(--po-radius); background: var(--po-ink); }
.carousel__track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; aspect-ratio: 1; }
.carousel__track::-webkit-scrollbar { display: none; }
.ratio-34 .carousel__track { aspect-ratio: 3 / 4; }
.ratio-45 .carousel__track { aspect-ratio: 4 / 5; }
.ratio-11 .carousel__track { aspect-ratio: 1; }
.ratio-43 .carousel__track { aspect-ratio: 4 / 3; }
.ratio-32 .carousel__track { aspect-ratio: 3 / 2; }
.ratio-169 .carousel__track { aspect-ratio: 16 / 9; }
.carousel__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel__img { width: 100%; height: 100%; object-fit: contain; }
.carousel__dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 9px; border: var(--po-border-thin) solid var(--po-line); border-radius: 999px; background: var(--po-paper); }
.carousel__dot { width: 7px; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--po-ink) 35%, transparent); transition: width .2s ease, background-color .2s ease; }
.carousel__dot.is-on { width: 18px; background: var(--po-ink); }
.carousel__btn { position: absolute; top: 50%; z-index: 1; display: none; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: var(--po-border-thin) solid var(--po-line); border-radius: 50%; background: var(--po-paper); color: var(--po-ink); cursor: pointer; }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }
.carousel__btn .icon { width: 18px; height: 18px; }
.carousel__btn[aria-disabled="true"] { cursor: default; color: color-mix(in srgb, var(--po-ink) 35%, var(--po-paper)); }
@media (hover: hover) {
  .carousel__btn:hover { background: var(--po-field); color: var(--po-ink); }
  .carousel__btn[aria-disabled="true"]:hover { background: var(--po-paper); color: color-mix(in srgb, var(--po-ink) 35%, var(--po-paper)); }
}
@media (hover: hover) and (pointer: fine) {
  html.js .carousel__btn { display: grid; }
}
html:not(.js) .carousel__dots { display: none; }
.note-line--card { justify-content: flex-start; margin: 0 0 20px; font-size: 13px; padding: 10px 12px; border: var(--po-border-thin) solid var(--po-line); border-radius: var(--po-radius-sm); background: var(--po-paper-2); }
.finder { display: grid; gap: 10px; margin: 0 0 22px; }
.finder[hidden], .entry-group[hidden], .entry[hidden] { display: none; }
.finder__search { position: relative; }
.finder__search .icon { position: absolute; top: 50%; left: 14px; width: 18px; height: 18px; transform: translateY(-50%); color: var(--po-ink); pointer-events: none; }
.finder__input { display: block; width: 100%; min-height: 48px; margin: 0; padding: 0 14px 0 42px; border: var(--po-border-thin) solid var(--po-line); border-radius: var(--po-radius-sm); background: var(--po-paper); color: var(--po-ink); font-family: inherit; font-size: 16px; font-weight: 600; -webkit-appearance: none; appearance: none; }
.finder__input::placeholder { color: var(--po-muted); opacity: 1; }
.finder__input::-webkit-search-decoration { -webkit-appearance: none; }
.finder__input:focus { background: color-mix(in srgb, var(--po-field) 12%, var(--po-paper)); }
.finder__input:focus-visible { outline-offset: 2px; }
.finder__car span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: var(--po-border-thin) solid var(--po-line); border-radius: 999px; font-weight: 800; }
.entry-groups { display: grid; gap: 24px; }
.entry-list { display: grid; gap: 12px; }
.entry { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 12px; border: var(--po-border-thin) solid var(--po-line); border-radius: var(--po-radius); background: var(--po-paper); }
.entry__photo { width: 76px; height: 76px; overflow: hidden; border: var(--po-border-thin) solid var(--po-line); border-radius: var(--po-radius-sm); background: var(--po-paper-2); }
.entry__img { width: 100%; height: 100%; object-fit: cover; }
.entry__photo--empty { display: grid; place-items: center; background: var(--po-field); color: var(--po-ink); }
.entry__photo--empty .icon { width: 26px; height: 26px; }
.entry__name { font-size: 15px; line-height: 1.3; font-weight: 800; color: var(--po-ink); }
.entry__note { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--po-muted); white-space: pre-line; }
.entry__work { margin-top: 4px; font-size: 14px; line-height: 1.45; font-weight: 700; color: var(--po-ink); }
.entry__place { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--po-muted); }
.entry__place .icon { width: 14px; height: 14px; color: var(--po-ink); }
.entry__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; padding: 0 16px; border-radius: var(--po-radius-sm); background: var(--po-ink); color: var(--po-paper); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background-color .15s ease; }
@media (hover: hover) {
  .entry__btn:hover { background: color-mix(in srgb, var(--po-ink) 82%, var(--po-paper)); color: var(--po-paper); }
}
.entry__btn .icon { width: 15px; height: 15px; }
.empty-state { padding: 26px 8px 10px; text-align: center; color: var(--po-muted); font-weight: 600; }
.empty-state .icon { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--po-ink); }
.finder-none .btn-ghost { margin-top: 16px; font-family: inherit; cursor: pointer; }
/* EverydayEV's garage, should its EV modules be on: plain paper cards. */
.garage { margin-top: 26px; }
.garage__list { display: grid; gap: 14px; }
.vehicle { overflow: hidden; border: var(--po-border-thin) solid var(--po-line); border-radius: var(--po-radius); background: var(--po-paper); }
.vehicle__photo { aspect-ratio: 16 / 9; border-bottom: var(--po-border-thin) solid var(--po-line); background: var(--po-paper-2); }
.vehicle__img { width: 100%; height: 100%; object-fit: cover; }
.vehicle__body { padding: 12px 14px 14px; }
.vehicle__name { font-size: 17px; line-height: 1.25; font-weight: 900; text-transform: uppercase; }
.vehicle__detail { margin-top: 2px; font-size: 14px; color: var(--po-muted); }
.vehicle__stats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.vehicle__stat dt { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--po-muted); }
.vehicle__stat dd { font-size: 16px; font-weight: 800; }

/* ── Coming Soon ─────────────────────────────────────────────────────────────────────── */

.site--soon { display: flex; flex-direction: column; }
.soon { position: relative; z-index: 1; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px max(24px, env(safe-area-inset-right)) 32px max(24px, env(safe-area-inset-left)); text-align: center; }
.soon__foot { position: relative; z-index: 1; margin-top: 0; padding: 0 max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.soon__foot .foot__privacy { margin-top: 0; }
.soon .kicker { margin-bottom: 30px; }
.soon__center { display: flex; flex-direction: column; align-items: center; max-width: 460px; }
.soon__badge { width: clamp(132px, 38vw, 172px); height: auto; margin: 0 auto 30px; }
.soon__title { font-family: var(--po-font-display); font-weight: var(--po-display-weight); font-stretch: var(--po-display-stretch); font-synthesis: none; font-size: calc(clamp(64px, 20vw, 120px) * var(--po-display-scale)); line-height: var(--po-display-leading); letter-spacing: var(--po-display-tracking); text-transform: uppercase; color: var(--po-ink); }
html[data-type="signature"] .soon__title { width: min-content; }
.soon .rule { margin: 26px auto 0; }
.soon__tagline { max-width: 34ch; margin-top: 18px; font-size: 17px; line-height: 1.45; font-weight: 700; color: var(--po-ink); text-wrap: balance; }
.soon .social { margin-top: 26px; }
.sheet { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 12px 14px 44px 10px; }
.sheet__back a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 8px; padding: 0 14px; border: var(--po-border-thin) solid var(--po-line); border-radius: 999px; background: var(--po-paper); color: var(--po-ink); font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: 3px 3px 0 0 var(--po-line); }
@media (hover: hover) {
  .sheet__back a:hover { background: var(--po-field); color: var(--po-ink); }
}
.sheet__back .icon { width: 18px; height: 18px; }
.modal__panel--page { height: auto; }

/* ── The hero picture (afterglow's hero_mark partial) ────────────────────────────────── */

/* Logo: the owner's upload, kept to its own shape. */
.hero__mark--logo { width: auto; max-width: 180px; max-height: 84px; object-fit: contain; }
/* Portrait: the profile photo in a thick ink ring with a hard shadow. */
.hero__portrait { width: 104px; height: 104px; margin: 0 auto 20px; border: var(--po-border) solid var(--po-line); border-radius: 50%; object-fit: cover; background: var(--po-paper-2); box-shadow: 4px 4px 0 0 var(--po-line); }
/* Monogram: a round paper sticker, tilted, with the initials in the display face. */
.hero__monogram { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border: var(--po-border) solid var(--po-line); border-radius: 50%; background: var(--po-paper); color: var(--po-ink); font-family: var(--po-font-display); font-weight: var(--po-display-weight); font-stretch: var(--po-display-stretch); font-synthesis: none; font-size: calc(36px * var(--po-display-scale)); line-height: 1; letter-spacing: 0; text-transform: uppercase; box-shadow: 4px 4px 0 0 var(--po-line); transform: rotate(-6deg); }
html[data-type="extended"] .hero__monogram { font-size: 26px; }
html[data-type="signature"] .hero__monogram { font-size: 30px; }
.soon__mark { margin: 0 auto 30px; }
.soon__mark.hero__mark--logo { max-width: 220px; max-height: 110px; }
.soon__mark.hero__portrait { width: 132px; height: 132px; }
.soon__mark.hero__monogram { width: 112px; height: 112px; font-size: calc(48px * var(--po-display-scale)); }

/* ── Motion and forced colors ────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, *::backdrop { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .carousel__track { scroll-behavior: smooth; }
}
@media (forced-colors: active) {
  .lb, .latest, .modal__panel, .social__link { border: 2px solid CanvasText; }
  .lb--featured { border: 3px solid Highlight; }
  .lb--featured::before, .lb--featured::after { display: none; }
  .rule, .motto__rule { background: CanvasText; }
}
