@font-face { font-family: "Saira"; font-weight: 700; font-display: swap; src: url("/fonts/Saira-700.woff2") format("woff2"); }

:root {
  --bg: #ffffff; --fg: #14161a; --muted: #5b6169; --line: #d9dbdf; --panel: #f2f3f5; --accent: #e8102d; --on-accent: #fff;
  --focus: #1d4ed8; --mark: #fff3b0;
  --display: "Saira", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14161a; --fg: #e9eaec; --muted: #9aa3ad; --line: #2c3037; --panel: #1d2026; --focus: #8ab4ff; --mark: #5c4b00; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 1rem/1.55 var(--body); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--fg); color: var(--bg); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: 0.005em; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: 1.45rem; margin-top: 1.6em; }
.fine { font-size: 0.85rem; color: var(--muted); }
code { font-size: 0.9em; }
mark.verify { background: var(--mark); color: inherit; padding: 0 0.25em; border-radius: 3px; }
.draft { border: 2px dashed var(--accent); padding: 0.8rem 1rem; margin: 1rem 0; border-radius: 6px; }

main, .site-header, .site-footer { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: 1rem; }
main { padding-block: 1.5rem 3rem; }
main:focus { outline: none; }

.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem; }
.brand img { display: block; height: 32px; width: auto; }
.site-header ul, .site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.site-header a, .site-footer nav a { display: inline-block; padding: 0.5rem 0; text-decoration: none; font-weight: 600; }
.site-header a:hover, .site-footer nav a:hover, a[aria-current="page"] { text-decoration: underline; }

/* Announcement line (RF-355): config-driven, above the header, full bleed. */
.announce { background: var(--fg); color: var(--bg); text-align: center; font-size: 0.9rem; font-weight: 600; }
.announce p { margin: 0; padding: 0.55rem 1rem; max-width: 76rem; margin-inline: auto; }
.announce a { color: inherit; }

/* Header Posters menu (RF-355): a <details> dropdown, a panel under the summary. */
.nav-menu { position: relative; }
.nav-menu summary { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.5rem 0; font-weight: 600; cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 0.45em; height: 0.45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-0.15em) rotate(45deg); }
.nav-menu details[open] summary::after { transform: translateY(0.1em) rotate(-135deg); }
.nav-menu summary:hover, .nav-menu summary[aria-current="page"] { text-decoration: underline; }
.site-header .nav-menu ul { position: absolute; z-index: 5; top: 100%; left: 0; display: block; min-width: 15rem; margin-top: 0.25rem; padding: 0.4rem 0; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.site-header .nav-menu li a { display: block; padding: 0.55rem 1rem; font-weight: 500; }
.site-header .nav-menu li:first-child a { font-weight: 700; }
.site-header .nav-menu li:last-child { border-top: 1px solid var(--line); margin-top: 0.3rem; padding-top: 0.3rem; }

.site-footer { border-top: 1px solid var(--line); padding-block: 2rem 3rem; }
/* Footer link groups (RF-355): two columns on a phone, three from 40rem. */
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin: 0 0 1.5rem; }
.foot-group h2 { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.4rem; }
.site-footer .foot-group ul { display: block; }
.foot-group a { overflow-wrap: anywhere; }
.disclaimer { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.signup { background: var(--panel); border-radius: 10px; padding: 1.25rem; margin-bottom: 1.5rem; max-width: 36rem; }
.signup h2 { margin: 0 0 0.3em; font-size: 1.2rem; }
.signup p { margin: 0 0 0.6rem; }
.signup .row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 14rem; min-height: 2.75rem; padding: 0 0.8rem; font: inherit; border: 1px solid var(--muted); border-radius: 6px; background: var(--bg); color: var(--fg); }
.signup button, .btn, .tone-btn { min-height: 2.75rem; padding: 0 1.3rem; font: 700 1rem var(--body); border-radius: 6px; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn { width: 100%; font-size: 1.1rem; min-height: 3.25rem; }
.btn.disabled { background: transparent; color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.signup-status { min-height: 1.4em; }

.hero { padding-block: 1rem 0.5rem; max-width: 46rem; }
.lede { font-size: 1.15rem; color: var(--muted); }
.toolbar { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0.5rem; }
.tone-btn { background: transparent; color: var(--fg); border-color: var(--line); min-height: 2.5rem; padding: 0 1rem; }
.tone-btn[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.jump a { white-space: nowrap; }
/* /posters/ filters (RF-353): one column on a phone, a wrapping row from 40rem */
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 0.75rem; margin: 1.25rem 0 0; align-items: end; }
.filters[hidden], .filter-empty[hidden], [data-collection][hidden], li[hidden] { display: none; }
.filter { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; color: var(--muted); min-width: 0; }
.filter-search { grid-column: 1 / -1; }
.filter input, .filter select { min-height: 2.75rem; width: 100%; padding: 0 0.7rem; font: 1rem var(--body); border: 2px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); }
.filter input:focus-visible, .filter select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.filter-reset { min-height: 2.75rem; padding: 0 1rem; font: 600 1rem var(--body); border: 2px solid var(--line); border-radius: 6px; background: transparent; color: var(--fg); cursor: pointer; }
.filter-count { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; color: var(--muted); min-height: 1.2em; }
.filter-empty { margin: 2rem 0; color: var(--muted); }
.link-btn { padding: 0; font: inherit; color: var(--fg); background: none; border: 0; text-decoration: underline; cursor: pointer; }
@media (min-width: 40rem) {
  .filters { grid-template-columns: minmax(12rem, 2fr) repeat(4, minmax(7rem, 1fr)) auto; }
  .filter-search { grid-column: auto; }
}

/* Landing (RF-351): phone first, one column, then hero copy beside the media. */
/* Full-bleed panel without leaving the content column: the shadow paints the band, the clip stops it at the sides of the page. */
.landing-hero { margin-top: -1.5rem; padding-block: 1.5rem 2rem; background: var(--panel); box-shadow: 0 0 0 100vmax var(--panel); clip-path: inset(0 -100vmax); display: grid; gap: 1.5rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); }
.hero-copy .btn { width: auto; min-width: 12rem; }
.hero-media { position: relative; justify-self: center; width: min(100%, 17rem); }
.hero-still { display: block; width: 100%; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); aspect-ratio: 600 / 851; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; opacity: 0; }
.hero-media.playing .hero-video { opacity: 1; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 1rem; grid-template-columns: 1fr; }
.feature-grid .card img { aspect-ratio: 600 / 851; }
/* A titled row of up to four posters (RF-355): landing collections, a poster page's onward rows. */
.row { margin-top: 1.75rem; }
.row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; margin-bottom: 0.75rem; }
.row-head h3 { font-size: 1.2rem; margin: 0; }
.row-head a { font-weight: 600; white-space: nowrap; }
.grid.row-grid { grid-template-columns: repeat(2, 1fr); }
.onward { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.made-points { list-style: none; padding: 0; display: grid; gap: 0.75rem; max-width: 44rem; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
@media (min-width: 40rem) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .grid.row-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-nav { grid-template-columns: repeat(3, max-content); column-gap: 3.5rem; }
}
@media (min-width: 62rem) {
  .landing-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-block: 3rem; }
  .hero-media { width: min(100%, 30rem); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .made-points { grid-template-columns: repeat(3, 1fr); max-width: none; }
}

.count { font: 600 0.9rem var(--body); color: var(--muted); margin-left: 0.3em; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 1rem; grid-template-columns: repeat(2, 1fr); }
.card { display: block; text-decoration: none; }
.card img { display: block; width: 100%; border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(0, 0, 0, 0.18); aspect-ratio: 600 / 851; background: var(--panel); }
.card-title { display: block; font-weight: 700; margin-top: 0.6rem; line-height: 1.25; }
.card-meta { display: block; font-size: 0.85rem; color: var(--muted); }
.card:hover .card-title { text-decoration: underline; }
[data-tone="dark"] .t-light, [data-tone="light"] .t-dark { display: none; }

.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.poster-grid { display: grid; gap: 1.5rem; }
.shots { position: relative; }
.shot { margin: 0 0 1rem; }
.shot img { display: block; width: 100%; border-radius: 4px; background: var(--panel); }
.shot figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.js .shot { display: none; margin: 0; }
.js .shot.on { display: block; }
.thumbs { display: none; list-style: none; margin: 0.75rem 0 0; padding: 0; gap: 0.5rem; flex-wrap: wrap; }
.js .thumbs { display: flex; }
.thumbs button { min-height: 2.5rem; padding: 0 0.9rem; font: 600 0.9rem var(--body); background: transparent; color: var(--fg); border: 2px solid var(--line); border-radius: 6px; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); }

.meta { color: var(--muted); margin-top: -0.2em; }
.buy fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.buy legend { font-weight: 700; padding: 0; margin-bottom: 0.4rem; float: left; width: 100%; }
.buy fieldset:disabled, .buy .opt:has(input:disabled) { opacity: 0.45; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 2px solid var(--line); border-radius: 6px; cursor: pointer; font-weight: 600; }
.opt input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.ship { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 1rem; }
.ship[hidden] { display: none; }
.ship label { font-weight: 700; }
.ship select { min-height: 2.75rem; padding: 0 0.8rem; font: inherit; border: 2px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); }
.price { font-size: 1.1rem; margin: 0.5rem 0; }
#price { font: 700 1.9rem var(--display); }
.price-note, .region-note, .etsy-alt { font-size: 0.9rem; color: var(--muted); }
.region-note { min-height: 1.4em; margin: 0.6rem 0 0; }

.story, .method, .specs, .prose { max-width: 44rem; }
.prose ul { padding-left: 1.2rem; }

@media (min-width: 40rem) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  main, .site-header, .site-footer { padding-inline: 1.5rem; }
}
@media (min-width: 62rem) {
  .grid { grid-template-columns: repeat(5, 1fr); }
  .poster-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .poster-info { position: sticky; top: 1rem; }
  .btn { width: auto; min-width: 16rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .card img { transition: transform 0.15s ease; }
  .card:hover img { transform: translateY(-2px); }
}
