:root {
  color-scheme: light;
  /* Palette 2026-11-25: white + lime + black, sampled from CamPort header.png.
     Lime is accent-only (fills, underlines, tags); never text on white. */
  --lime: #b0f559;
  --ink: #171918;
  --ink-soft: #3d403f;
  --paper: #ffffff;
  --paper-2: #f4f5f3;
  --line: #171918;
  --silver: #c8ccd5;
  --flash: var(--ink);
  --blue: var(--ink);
  --acid: var(--lime);
  --pink: var(--lime);
  --orange: var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --soft-shadow: 0 26px 60px rgba(23, 25, 24, 0.16);
  --site-gutter: clamp(18px, 5vw, 84px);
  /* Nav theme. Dark nav (current). To switch to the lime nav, replace this one line with:
     --nav-bg: var(--lime); --nav-fg: var(--ink); --nav-accent: var(--ink); --nav-accent-fg: var(--lime);
     (the sign-in button keeps --nav-cta, the logo blue, on either nav)  */
  --nav-bg: var(--ink); --nav-fg: #ffffff; --nav-accent: var(--lime); --nav-accent-fg: var(--ink);
  /* Sign-in button: the logo's own blue (#164dff in thedigicam-icon-round.svg), white text 5.9:1. */
  --logo-blue: #164dff;
  --nav-cta: var(--logo-blue); --nav-cta-fg: #ffffff;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.home-page {
  background:
    linear-gradient(rgba(16, 16, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 18, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--ink-soft);
  line-height: 1.58;
}

.section {
  padding: 84px clamp(20px, 5vw, 64px) 96px;
}

.section > .eyebrow,
.section > h1,
.section > .hero-lede {
  max-width: 980px;
}

.section > h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 88px;
  line-height: 0.86;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4vw, 30px);
  align-items: center;
  padding: 14px var(--site-gutter);
  border-bottom: 0;
  background: var(--nav-bg);
  color: var(--nav-fg);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background-image: url("./assets/brand/icon/thedigicam-icon-round.svg?v=r3e-20261110c");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 1px 0 rgb(16 16 18 / 14%);
}

.brand-mark::before {
  content: none;
}

.brand-mark::after {
  content: none;
}

.brand-text {
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: clamp(18px, 2.2vw, 28px);
  align-items: center;
  justify-content: start;
  justify-self: start;
  width: fit-content;
  padding: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a,
.nav-menu summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--nav-fg);
  text-decoration-line: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav a:hover,
.nav-menu summary:hover {
  color: var(--nav-fg);
  text-decoration-line: underline;
  text-decoration-color: var(--nav-accent);
}

.nav-menu {
  display: inline-flex;
  position: relative;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.nav-menu:focus,
.nav-menu:focus-visible,
.nav-menu:focus-within {
  border: 0;
  box-shadow: none;
  outline: none;
}

.nav-menu summary {
  list-style: none;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
  white-space: nowrap;
}

.nav-menu summary:focus,
.nav-menu summary:focus-visible {
  border-color: var(--nav-fg);
  outline: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::marker {
  content: "";
  font-size: 0;
}

.nav-menu summary::after {
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-top: 5px solid currentColor;
  content: "";
  transition: transform 160ms ease;
}

.nav-menu[open] summary::after {
  transform: rotate(180deg);
}

.nav-menu[data-current="true"] summary {
  background: transparent;
  color: var(--nav-accent);
  box-shadow: none;
  text-decoration-line: underline;
  text-decoration-color: var(--nav-accent);
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  z-index: 80;
  display: grid;
  width: max-content;
  min-width: 190px;
  gap: 8px;
  border: 2px solid var(--nav-fg);
  padding: 10px;
  background: var(--nav-bg);
  box-shadow: var(--shadow);
}

.nav-menu:not([open]) .nav-menu-panel {
  display: none;
}

.nav-label-mobile,
.nav .mobile-menu-only,
.nav .mobile-menu-auth {
  display: none;
}

.nav-menu-panel a {
  justify-content: start;
  padding: 8px 10px;
}

.nav a[aria-current="page"] {
  background: transparent;
  color: var(--nav-accent);
  box-shadow: none;
  text-decoration-line: underline;
  text-decoration-color: var(--nav-accent);
}

.sample-photos-nav {
  position: relative;
  text-decoration-line: none;
}

.sample-photos-nav .nav-flame {
  position: absolute;
  top: -3px;
  right: -8px;
  display: block;
  width: 15px;
  height: 15px;
  color: var(--nav-accent);
  overflow: visible;
  pointer-events: none;
  transform-origin: 50% 85%;
  animation: nav-flame-flicker 1.8s ease-in-out infinite;
}

.sample-photos-nav .nav-flame-highlight {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.45;
}

@keyframes nav-flame-flicker {
  0%,
  100% {
    opacity: 0.9;
    transform: scale(0.96) rotate(-2deg);
  }

  45% {
    opacity: 1;
    transform: scale(1.08) rotate(2deg);
  }

  70% {
    opacity: 0.94;
    transform: scale(1.01) rotate(-1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sample-photos-nav .nav-flame {
    animation: none;
    opacity: 1;
    transform: none;
  }

}

.sample-photos-nav:hover {
  color: var(--nav-fg);
  text-decoration-line: underline;
  text-decoration-color: var(--nav-accent);
}

.nav a.digicolor-nav[aria-current="page"] {
  background: transparent;
  color: var(--nav-accent);
  box-shadow: none;
  text-decoration-line: underline;
  text-decoration-color: var(--nav-accent);
}

.social-nav {
  display: flex;
  gap: 10px;
  justify-content: end;
}

.social-nav a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.social-nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.social-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-instagram-link {
  display: inline-flex;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--nav-fg);
  text-decoration: none;
}

.header-instagram-link:visited {
  color: var(--nav-fg);
}

.header-instagram-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--nav-fg);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.header-instagram-link:hover,
.header-instagram-link:focus-visible {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.98fr);
  gap: clamp(14px, 2.2vw, 26px);
  align-items: center;
  padding: clamp(22px, 3vw, 42px) clamp(18px, 5vw, 84px) clamp(28px, 4vw, 48px);
}

h1,
h2,
.footer-word {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(52px, 6.8vw, 88px);
  line-height: 0.86;
}

h1 span {
  display: block;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}

.home-hero-subline {
  max-width: 620px;
  margin: 0 0 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.22;
}

.home-hero-title {
  display: block;
  max-width: min(660px, 100%);
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(40px, 3.45vw, 62px);
  font-weight: 760;
  line-height: 0.98;
  overflow-wrap: normal;
  text-wrap: balance;
  white-space: normal;
}

.camera-wiki-hero {
  padding-top: clamp(24px, 3.2vw, 44px);
  padding-bottom: clamp(26px, 4vw, 42px);
}

.camera-wiki-title {
  display: flex;
  width: fit-content;
  max-width: calc(100% - 60px);
  align-items: baseline;
  gap: 0.16em;
  white-space: nowrap;
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.84;
}

.camera-wiki-title span {
  display: inline-block;
  width: auto;
}

.word-tag {
  position: relative;
  z-index: 1;
  padding: 0 12px 4px;
  transform: rotate(-2deg);
}

.word-tag::before {
  position: absolute;
  inset: 10% 0 4%;
  z-index: -1;
  border: 2px solid var(--pink);
  border-radius: 6px;
  background: var(--pink);
  content: "";
}

.question-hero .word-tag::before {
  border: 2px solid var(--flash);
  background: var(--flash);
}

.camera-wiki-hero .word-tag {
  color: var(--paper);
}

.camera-wiki-hero .word-tag::before {
  border: 2px solid var(--ink);
  background: var(--ink);
}

.word-flash {
  color: var(--flash);
  font-style: italic;
}

.word-2004 {
  position: relative;
  z-index: 1;
  font-style: italic;
  font-weight: 400;
}

.word-2004::after {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  z-index: -1;
  height: 10px;
  background: var(--acid);
  content: "";
}

.hero-lede {
  max-width: 520px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.28;
}

.split-lede {
  display: grid;
  gap: 6px;
}

.camera-search {
  width: 100%;
  max-width: none;
  margin-top: clamp(12px, 1.8vw, 18px);
}

.search-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(6px, 0.8vw, 10px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand-select-wrap {
  position: relative;
  display: grid;
  min-width: clamp(132px, 17vw, 190px);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.search-query-wrap {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--ink);
}

.brand-select-wrap::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 5px solid var(--paper);
  content: "";
  pointer-events: none;
  transform: translateY(-35%);
}

.brand-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 58px;
  border: 0;
  padding: 0 34px 0 14px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px; /* under 16px, iOS Safari zooms the page on focus */
  font-weight: 900;
  text-transform: uppercase;
}

.brand-select:focus {
  outline: 0;
}

.search-field input,
.search-field button {
  min-height: 58px;
  border: 0;
  font: inherit;
}

.search-field input {
  min-width: 0;
  padding: 0 18px;
  background: transparent;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
}

.search-field input:focus {
  outline: 0;
}

.search-field button {
  border-left: 2px solid var(--ink);
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-result-count {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-result-count[hidden] {
  display: none;
}

.brand-filters {
  display: none;
}

.brand-filter {
  appearance: none;
  -webkit-appearance: none;
  min-height: 38px;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 0 13px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-filter.is-active {
  background: var(--ink);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.default-models {
  margin-top: 42px;
}

.popular-model-grid {
  margin-bottom: 14px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.model-card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(86px, 8vw, 118px) minmax(0, 1fr);
  gap: 14px;
  min-height: 148px;
  align-items: center;
  border: 2px solid var(--ink);
  padding: 16px;
  background: var(--paper-2);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.popular-pick-card {
  position: relative;
  overflow: hidden;
}

.popular-pick-card::after {
  position: absolute;
  top: 8px;
  right: -22px;
  z-index: 2;
  min-width: 74px;
  padding: 3px 10px;
  background: var(--pink);
  color: var(--paper);
  content: "Popular";
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(45deg);
  transform-origin: center;
}

.model-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.model-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  padding: 8px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

.model-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.model-thumb.image-portrait img {
  transform: scale(0.78);
}

.model-thumb.image-landscape img {
  transform: none;
}

.model-card[data-brand="nikon"] .model-thumb {
  padding: 5px;
}

.model-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.model-card .model-meta,
.model-card small {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.model-card .model-meta {
  color: var(--flash);
}

.model-subbrand-group {
  grid-column: 1 / -1;
  margin: 20px 0 6px;
  border: 2px dashed rgba(16, 16, 18, 0.72);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.model-subbrand-title {
  width: fit-content;
  margin: 0 0 14px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.model-subbrand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.camera-subbrand-tag {
  display: inline-flex;
  width: fit-content;
  border-left: 4px solid var(--flash);
  padding: 2px 0 2px 8px;
  background: transparent;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.model-card strong {
  display: block;
  margin: 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.model-card small {
  color: var(--ink-soft);
  line-height: 1.35;
}

.model-status-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  border: 1px solid rgba(16, 16, 18, 0.46);
  padding: 4px 7px;
  background: var(--flash-soft);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.model-card[hidden],
.empty-search[hidden],
.model-list-kicker[hidden],
.popular-model-grid[hidden],
.model-subbrand-group[hidden],
.brand-model-grid[hidden] {
  display: none;
}

.empty-search {
  max-width: 620px;
  margin: 18px 0 0;
  border: 2px solid var(--ink);
  padding: 16px;
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.camera-detail-page {
  color: var(--ink);
}

.camera-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 84px);
  border-bottom: 1px solid rgba(16, 16, 18, 0.28);
  background: var(--paper);
}

.camera-detail-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: min(100%, 520px);
  margin: 0;
  border: 2px solid var(--ink);
  padding: clamp(18px, 4vw, 38px);
  background: #fff;
  box-sizing: border-box;
  box-shadow: 8px 8px 0 rgba(16, 16, 18, 0.88);
  overflow: hidden;
}

.camera-detail-image.image-portrait {
  aspect-ratio: 3 / 4;
  max-width: min(100%, 360px);
  justify-self: center;
}

.camera-detail-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.camera-detail-image.image-portrait img {
  width: auto;
  height: auto;
  max-width: 74%;
  max-height: 82%;
}

.camera-detail-image.image-landscape img {
  width: auto;
  height: auto;
  max-width: 96%;
  max-height: 88%;
  object-fit: contain;
}

.camera-detail-image.image-low-res img {
  width: auto;
  height: auto;
  max-width: min(72%, 260px);
  max-height: 72%;
}

/* Owner 2026-11-09: product images sit on white frames. An image with its own flat backdrop
   (light grey card, black cut-out) paints that colour over the whole frame so no inner
   rectangle shows. Colours come from scripts/build-camera-frame-colors.py; frames clip
   the shadow with overflow: hidden, so their border stays visible. */
.model-thumb img,
.camera-detail-image img {
  background-color: var(--frame-bg, transparent);
  box-shadow: 0 0 0 100vmax var(--frame-bg, transparent);
}

.camera-image-note {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.camera-detail-image:has(.camera-product-image[src*="/fujifilm-"]) {
  padding: clamp(16px, 3vw, 30px);
}

.camera-detail-image:has(.camera-product-image[src*="/fujifilm-"]) img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 88%;
}

.camera-detail-image:has(.camera-product-image[src*="/nikon-"]) {
  padding: clamp(12px, 2.8vw, 26px);
}

.camera-detail-image:has(.camera-product-image[src*="/nikon-"]) img {
  max-width: 98%;
  max-height: 90%;
}

.camera-image-placeholder {
  display: grid;
  gap: 10px;
  place-items: center;
  width: 88%;
  height: 88%;
  border: 2px dashed rgba(16, 16, 18, 0.42);
  padding: 20px;
  text-align: center;
}

.camera-image-placeholder span,
.camera-image-placeholder strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
  text-transform: uppercase;
}

.camera-image-placeholder span {
  color: rgba(16, 16, 18, 0.58);
  font-size: 12px;
  line-height: 1.35;
}

.camera-image-placeholder strong {
  color: var(--flash);
  font-size: 11px;
}

.camera-detail-title {
  max-width: 620px;
}

.camera-detail-kicker {
  display: none;
  width: fit-content;
  margin: 0 0 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--acid);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.camera-subbrand-tag {
  margin: -4px 0 18px;
}

.camera-title-stack {
  display: grid;
  gap: 2px;
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--ink);
}

.camera-title-stack span {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}

.camera-title-stack span:last-child {
  font-style: italic;
}

.camera-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.camera-hero-facts li {
  border: 2px solid var(--ink);
  padding: 12px;
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--ink);
}

.camera-hero-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--flash);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.camera-hero-facts strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1;
}

.camera-sample-jump {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc((100% - 10px) / 2);
  margin-top: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 13px 18px;
  background: var(--flash);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.camera-sample-jump:hover,
.camera-sample-jump:focus-visible {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.camera-sample-jump strong {
  display: inline-grid;
  min-width: 28px;
  min-height: 28px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 6px;
  background: rgba(16, 16, 18, 0.18);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
}

.camera-sample-hot {
  position: absolute;
  top: -13px;
  right: -8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--lime);
  font-size: 18px;
  line-height: 1;
  text-shadow: 1px 1px 0 var(--ink);
  transform: rotate(7deg);
}

.camera-aliases {
  margin-top: 18px;
  border: 2px dashed rgba(16, 16, 18, 0.6);
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.68);
}

.camera-aliases span {
  display: block;
  margin-bottom: 8px;
  color: var(--flash);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.camera-aliases p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 900;
  line-height: 1.05;
}

.camera-detail-specs,
.camera-member-section,
.camera-affiliate-section,
.camera-sources {
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 84px);
  border-bottom: 1px solid rgba(16, 16, 18, 0.22);
}

.camera-detail-specs h2,
.camera-member-section h2,
.camera-affiliate-section h2,
.camera-sources h2 {
  margin: 0 0 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.camera-member-section {
  padding-top: clamp(24px, 3.6vw, 44px);
  background:
    linear-gradient(135deg, rgba(23, 25, 24, 0.06), transparent 34%),
    var(--paper-2);
}

.camera-member-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  max-width: 1120px;
  margin: 0 auto 24px;
  border-bottom: 2px solid var(--ink);
}

.camera-member-tab {
  min-height: 46px;
  border: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  border-radius: 8px 8px 0 0;
  margin-bottom: -2px;
  padding: 0 18px 2px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
}

.camera-member-tab.active {
  background: var(--ink);
  color: var(--paper-2);
  border-bottom-color: var(--paper-2);
  box-shadow: none;
  z-index: 2;
}

.camera-member-tab span {
  display: inline-flex;
  min-width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
}

.camera-member-panel {
  max-width: 1120px;
  margin: 0 auto;
}

.camera-owner-note {
  background: transparent;
}

.secret-owner-note {
  position: relative;
  overflow: hidden;
}

.camera-owner-note > p:not(.camera-detail-kicker) {
  max-width: 880px;
  margin: 0 0 24px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.owner-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
}

.owner-note-grid article {
  border: 2px solid var(--ink);
  padding: 18px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.owner-note-grid h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 0.98;
}

.owner-note-grid p {
  margin: 0;
}

.owner-note-grid .owner-note-wide {
  grid-column: 1 / -1;
}

/* Unlocked notes: cards in a row keep the same size; two cards split the row. */
.owner-note-grid[data-member-owner-note-content] {
  align-items: stretch;
}

.owner-note-grid[data-owner-note-cards="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.owner-note-bullets {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.owner-note-bullets li {
  line-height: 1.42;
}

.owner-note-compare-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.owner-note-compare-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--flash);
  color: #fff;
  box-shadow: 2px 2px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.owner-note-loading {
  opacity: 0.72;
}

.member-checkout-status {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.owner-note-loading p::after {
  display: inline-block;
  width: 42px;
  height: 10px;
  margin-left: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 16, 18, 0.16), rgba(16, 16, 18, 0.34), rgba(16, 16, 18, 0.16));
  content: "";
}

.member-note-lock {
  position: relative;
  max-width: none;
  min-height: 560px;
  margin-top: 22px;
  overflow: hidden;
  border: 2px solid rgba(16, 16, 18, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 6px 6px 0 rgba(16, 16, 18, 0.18);
}

.secret-note-preview {
  position: relative;
  grid-template-columns: 1fr;
  gap: 14px;
  min-height: inherit;
  padding: 18px 18px 176px;
  opacity: 1;
  transform: none;
  user-select: text;
}

.secret-note-locked-continuation {
  position: relative;
  display: grid;
  max-height: 250px;
  gap: 14px;
  overflow: hidden;
  filter: blur(2.4px);
  opacity: 0.58;
  pointer-events: none;
  user-select: none;
}

.secret-note-locked-continuation::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 46%, rgba(255, 255, 255, 0.98) 100%);
  content: "";
}

.secret-note-overlay {
  position: absolute;
  top: clamp(280px, 56%, 340px);
  left: 50%;
  width: min(92%, 560px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 6px 6px 0 rgba(16, 16, 18, 0.82);
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px) saturate(1.1);
}

.secret-note-overlay .member-note-status {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.12;
}

.secret-note-actions {
  display: grid;
  gap: 10px;
}

.secret-note-button {
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 22px;
  font-size: clamp(13px, 1.35vw, 16px);
  white-space: normal;
  text-align: center;
  line-height: 1.12;
}

.secret-note-signin-link {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 4px 0 0;
  background: transparent;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.secret-note-signin-link:hover,
.secret-note-signin-link:focus-visible {
  text-decoration: underline;
}

.sample-photos-panel {
  max-width: 1120px;
}

.sample-photo-lock {
  min-height: 248px;
  border: 2px dashed rgba(16, 16, 18, 0.56);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--paper-2);
  box-shadow: 6px 6px 0 rgba(16, 16, 18, 0.18);
}

.sample-photo-lock h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 0.94;
  text-transform: none;
}

.sample-photo-lock p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.22;
}

.sample-membership-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 840px;
  margin-top: 18px;
}

.sample-membership-packs[hidden] {
  display: none;
}

.sample-membership-intro {
  grid-column: 1 / -1;
  max-width: 660px;
}

.sample-membership-intro h3 {
  margin: 0 0 4px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
}

.sample-membership-intro p {
  font-size: 15px;
}

.sample-membership-pack {
  display: grid;
  gap: 7px;
  min-height: 94px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(16, 16, 18, 0.18);
  cursor: pointer;
  text-align: left;
}

.sample-membership-pack.is-popular {
  background: var(--acid);
}

.sample-membership-pack span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
}

.sample-membership-pack strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 0.95;
}

.sample-membership-pack small {
  font-size: 14px;
  font-weight: 850;
}

.sample-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sample-photo-actions .button,
.sample-photo-actions .secret-note-signin-link {
  width: min(100%, 360px);
}

.member-pass-claim {
  display: grid;
  gap: 8px;
  max-width: 680px;
  margin-top: 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 4px 4px 0 rgba(16, 16, 18, 0.16);
}

.member-pass-claim strong,
.member-pass-claim span {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.member-pass-claim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-pass-claim-actions [class~="button"] {
  width: min(100%, 220px);
}

/* Google gets its own row; the two email ways in sit under it at the same total width. */
.member-pass-claim-actions .google-auth-button {
  width: min(100%, 448px);
}

@media (max-width: 560px) {
  .member-pass-claim-actions [class~="button"] {
    width: 100%;
  }
}

.member-email-checkout {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 28px);
}

.member-email-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 18, 0.52);
}

.member-email-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
  width: min(480px, 100%);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 28px);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.member-email-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.95;
}

.member-email-panel p,
.member-email-panel small {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.member-email-panel label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.member-email-panel input {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 13px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* iOS Safari zooms the page on focus for any field under 16px. */
  text-transform: none;
}

.member-email-kicker {
  width: fit-content;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 5px 9px;
  background: var(--blue);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.member-email-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

/* Checkout modal (owner 2026-11-23, approved mockup): pass name + price, then the ways in. */
.checkout-modal-panel {
  gap: 12px;
}

.checkout-modal-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-right: 40px;
}

.checkout-modal-head strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 0.95;
}

.checkout-modal-head span {
  font-size: 18px;
  font-weight: 900;
}

.checkout-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.checkout-modal-panel [class~="button"] {
  width: 100%;
}

/* Pass choice inside the modal (owner 2026-11-26): the tiles sit under the close button. */
.member-email-checkout[data-choose] .checkout-modal-panel {
  width: min(600px, 100%);
}

.checkout-modal-panel .sample-membership-packs {
  max-width: none;
  margin-top: 30px;
}

.checkout-modal-panel .google-auth-button {
  box-shadow: none;
}

.checkout-modal-panel .secret-note-signin-link {
  justify-self: center;
  padding-top: 2px;
}

.checkout-modal-panel .auth-turnstile:empty {
  display: none;
}

.sample-photo-unlocked {
  display: grid;
  gap: 20px;
}

.sample-photo-heading {
  max-width: 760px;
}

.sample-photo-heading h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.95;
  text-transform: none;
}

.sample-photo-heading p {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 22px);
}

.sample-photo-grid {
  columns: 3 220px;
  column-gap: 14px;
}

.sample-photo-card {
  break-inside: avoid;
  margin: 0 0 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sample-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.sample-photo-card figcaption {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 2px solid var(--ink);
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-photo-card small {
  color: var(--flash);
  font-size: 9px;
}

.sample-photo-pending .sample-photo-heading {
  visibility: hidden;
}

/* Free sample preview (owner-approved A2, 2026-11-24): one clear photo, then member-gallery
   tiles drawn from 8-64px server derivatives. CSS blur only smooths the tiny files. */
.sample-preview {
  position: relative;
  container-type: inline-size;
  margin-bottom: 18px;
}

.sample-preview-grid {
  columns: var(--preview-cols, 3);
}

.sample-preview[data-preview-one-row] .sample-preview-frame {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.sample-preview-frame {
  max-height: calc((100cqw - (var(--preview-cols, 3) - 1) * 14px) / var(--preview-cols, 3) * var(--preview-ratio, 1.3333) + 150px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 calc(100% - 120px), transparent 100%);
}

/* The free photo's caption uses the member gallery credit overlay (.sample-photo-credit-overlay);
   this only undoes the gallery's hidden-figcaption defaults. */
.sample-preview .sample-preview-clear figcaption {
  display: block;
  border-top: 0;
  padding: 4px 8px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: none;
}

.sample-preview-credit {
  display: block;
}

.sample-preview-locked {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.sample-preview-locked img {
  transform: scale(1.1);
}

.sample-preview-locked::after {
  position: absolute;
  inset: 0;
  content: "";
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
  backdrop-filter: blur(4px) saturate(1.1);
}

.sample-preview-locked[data-level="1"] img { filter: blur(3px); }
.sample-preview-locked[data-level="2"] img { filter: blur(6px); }
.sample-preview-locked[data-level="3"] img { filter: blur(9px); }
.sample-preview-locked[data-level="4"] img { filter: blur(12px); }
.sample-preview-locked[data-level="5"] img { filter: blur(14px); }
.sample-preview-locked[data-level="1"]::after { background: rgba(255, 255, 255, 0.12); }
.sample-preview-locked[data-level="2"]::after { background: rgba(255, 255, 255, 0.24); }
.sample-preview-locked[data-level="3"]::after { background: rgba(255, 255, 255, 0.34); }
.sample-preview-locked[data-level="4"]::after { background: rgba(255, 255, 255, 0.42); }
.sample-preview-locked[data-level="5"]::after { background: rgba(255, 255, 255, 0.46); }

/* Over the blurred tiles, level with the clear photo. */
.sample-preview-cta {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: calc((100cqw - (var(--preview-cols, 3) - 1) * 14px) / var(--preview-cols, 3) + 14px);
  display: grid;
  place-items: center;
  height: calc((100cqw - (var(--preview-cols, 3) - 1) * 14px) / var(--preview-cols, 3) * var(--preview-ratio, 1.3333));
  padding: 0 16px;
}

.sample-preview[data-preview-clear="false"] .sample-preview-cta {
  left: 0;
}

.sample-preview-cta button {
  width: min(100%, 300px);
}

/* Members get the real gallery; the preview only sits above the lock. */
.sample-photos-panel:has(> [data-sample-photo-lock][hidden]) > [data-sample-preview] {
  display: none;
}

.sample-row-arrow {
  display: none;
}

.sample-photo-loading {
  min-height: 180px;
  border: 2px solid rgba(16, 16, 18, 0.22);
  background: linear-gradient(90deg, rgba(16, 16, 18, 0.06), rgba(16, 16, 18, 0.16), rgba(16, 16, 18, 0.06));
}

.sample-photo-error {
  margin: 0;
  border: 2px solid var(--ink);
  padding: 14px;
  background: rgba(176, 245, 89, 0.18);
  font-weight: 800;
}

.sample-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 0;
  padding: 18px 0 max(18px, env(safe-area-inset-bottom));
  background: rgba(16, 16, 18, 0.94);
  color: var(--paper);
  touch-action: pan-y;
}

.sample-lightbox-open {
  overflow: hidden;
}

.sample-lightbox-frame {
  display: grid;
  gap: 10px;
  margin: 0;
  min-width: 0;
  justify-items: center;
}

.sample-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.sample-lightbox-count {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.sample-lightbox-close,
.sample-lightbox-nav {
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.sample-lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: 14px;
  width: 40px;
  height: 40px;
  font-size: 34px;
  line-height: 1;
}

.sample-lightbox-nav {
  width: 48px;
  height: 72px;
  font-size: 48px;
  line-height: 1;
}

.owner-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.owner-note-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.camera-facts {
  max-width: 860px;
  margin: 0;
}

.camera-spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.camera-facts div {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(16, 16, 18, 0.2);
}

.camera-facts div:last-child {
  border-bottom: 1px solid rgba(16, 16, 18, 0.2);
}

.camera-facts dt,
.source-list {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.camera-facts dt {
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.camera-facts dd {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.35;
}

.camera-card-note {
  border: 2px solid var(--ink);
  padding: 18px;
  background: var(--acid);
  box-shadow: 6px 6px 0 var(--ink);
}

.camera-card-note span {
  display: block;
  margin-bottom: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.camera-card-note p {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 900;
  line-height: 1.16;
}

.community-note {
  display: grid;
  gap: 18px;
}

.community-note h3 {
  margin: 0 0 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.source-list {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 800;
}

.source-list a {
  color: rgba(16, 16, 18, 0.72);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.hero-dream-cta {
  position: relative;
  gap: 10px;
  min-height: 54px;
  padding-right: 28px;
  padding-left: 28px;
  box-shadow: 4px 4px 0 var(--acid);
}

.button.primary.hero-dream-cta {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.button.primary.hero-dream-cta:hover {
  box-shadow: 5px 5px 0 var(--acid);
}

.button.primary.hero-dream-cta:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.hero-dream-cta::after {
  display: inline-block;
  content: "->";
  animation: hero-cta-arrow 1.8s ease-in-out infinite;
}

.hero-dream-cta:hover::after,
.hero-dream-cta:focus-visible::after {
  transform: translateX(4px);
}

.button.secondary {
  background: transparent;
}

@keyframes hero-cta-arrow {
  0%,
  100% {
    opacity: 0.78;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dream-cta::after {
    animation: none;
    transform: none;
  }
}

.camera-detail-title,
main.section,
.page-hero.compact,
.share-page-anchor,
.share-question-anchor {
  position: relative;
}

.share-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.share-button:hover,
.share-button:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
  outline: none;
}

.share-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-copy-status {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  width: max-content;
  max-width: min(180px, 52vw);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 7px 9px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 rgba(16, 16, 18, 0.3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(-50%) translateX(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.share-button.is-copied .share-copy-status {
  opacity: 1;
  transform: translateY(-50%);
}

.page-share-button {
  position: absolute;
  top: 18px;
  right: var(--site-gutter);
  z-index: 3;
}

.camera-detail-title .page-share-button {
  top: 0;
  right: 0;
}

.camera-wiki-hero .page-share-button {
  top: clamp(24px, 3.2vw, 44px);
}

main.section > h1,
.camera-detail-title h1,
.page-hero.compact h1 {
  max-width: calc(100% - 60px);
}

.question-share-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  margin: 0;
  box-shadow: 2px 2px 0 var(--ink);
  z-index: 2;
}

.share-question-anchor summary {
  padding-right: 72px;
}

.question-share-button svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 760px) {
  main.section > h1,
  .camera-detail-title h1,
  .page-hero.compact h1 {
    max-width: 100%;
  }

  .page-share-button {
    top: 14px;
    right: 14px;
  }

  .question-share-button {
    top: 14px;
    right: 14px;
  }
}

.rating {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.camera-card {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 48% 48%, #bafa5e 0 38%, var(--lime) 39% 55%, transparent 56%);
}

.camera-sticker-stack {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1.08;
  isolation: isolate;
}

.camera-sticker {
  position: absolute;
  display: block;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 0 var(--ink))
    drop-shadow(8px 10px 0 rgba(16, 16, 18, 0.18));
}

.sticker-main {
  z-index: 4;
  left: 13%;
  top: 28%;
  width: 72%;
  transform: rotate(-1deg);
}

.sticker-ricoh-top {
  z-index: 3;
  left: 4%;
  top: 5%;
  width: 41%;
  transform: rotate(-7deg);
}

.sticker-back-left {
  z-index: 2;
  left: 1%;
  top: 66%;
  width: 43%;
  transform: rotate(5deg);
}

.sticker-back-right {
  z-index: 5;
  right: 3%;
  top: 2%;
  width: 30%;
  transform: rotate(9deg);
}

.sticker-pink-lower-right {
  z-index: 6;
  right: 2%;
  top: 70%;
  width: 20%;
  transform: rotate(-6deg);
}

.ticker {
  display: block;
  overflow: hidden;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--flash);
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}

.ticker:focus-visible {
  outline: 4px solid var(--pink);
  outline-offset: -4px;
}

.ticker:hover .ticker-track,
.ticker:focus-visible .ticker-track {
  animation-play-state: paused;
}

.ticker-track {
  display: inline-flex;
  width: max-content;
  padding: 13px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  animation: roll 30s linear infinite;
}

@keyframes roll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / 4)); }
}

.photo-strip {
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background: var(--paper-2);
}

.photo-track {
  display: inline-flex;
  min-width: 200%;
  gap: 14px;
  padding: 16px 14px;
  animation: rollReverse 36s linear infinite;
}

.photo-tile {
  position: relative;
  display: block;
  flex: 0 0 clamp(150px, 18vw, 250px);
  aspect-ratio: 4 / 3;
  border: 2px solid var(--ink);
  background-color: var(--silver);
  background-position: center;
  background-size: cover;
  box-shadow: 5px 5px 0 var(--ink);
}

.photo-tile.p1 {
  background-image: url("./assets/ccd-gallery/wall-01.jpg");
}

.photo-tile.p2 {
  background-image: url("./assets/ccd-gallery/wall-02.jpg");
}

.photo-tile.p3 {
  background-image: url("./assets/ccd-gallery/wall-03.jpg");
}

.photo-tile.p4 {
  background-image: url("./assets/ccd-gallery/wall-04.jpg");
}

.photo-tile.p5 {
  background-image: url("./assets/ccd-gallery/wall-05.jpg");
}

.photo-tile.p6 {
  background-image: url("./assets/ccd-gallery/wall-06.jpg");
}

.photo-tile.p7 {
  background-image: url("./assets/ccd-gallery/wall-07.jpg");
}

.photo-tile.p8 {
  background-image: url("./assets/ccd-gallery/wall-08.jpg");
}

.photo-tile.p9 {
  background-image: url("./assets/ccd-gallery/wall-09.jpg");
}

@keyframes rollReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.start-hub,
.viewfinder-section,
.guides,
.starter-kit,
.digicolor,
.faq,
.page-hero,
.page-section {
  padding: clamp(54px, 7vw, 90px) clamp(18px, 5vw, 84px);
}

.page-hero.compact {
  border-bottom: 0;
  padding-top: clamp(42px, 6vw, 76px);
  padding-bottom: clamp(36px, 5vw, 58px);
}

body.articles-page .page-hero.compact {
  padding-bottom: clamp(18px, 2.2vw, 28px);
}

body.articles-page .start-hub {
  padding-top: clamp(20px, 2.8vw, 34px);
}

.page-hero.compact + .start-hub {
  border-top: 0;
}

.page-hero.compact.camera-wiki-hero {
  padding-top: clamp(24px, 3.2vw, 44px);
}

.accessories-page .page-hero.compact {
  border-bottom: 0;
}

.accessory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  background: var(--paper);
}

.accessory-hero-copy {
  min-width: 0;
}

.accessory-hero h1 {
  max-width: 900px;
}

.accessory-hero h1 span {
  overflow-wrap: anywhere;
  white-space: normal;
}

.accessory-hero .word-flash {
  display: block;
  width: 100%;
}

.accessory-hero-art {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 2px solid var(--ink);
  padding: clamp(10px, 2vw, 16px);
  background: #fff;
  box-shadow: 8px 8px 0 var(--ink);
}

.accessory-hero-art img,
.accessory-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 22px;
}

.page-section {
  border-bottom: 2px solid var(--ink);
}

.page-section.guides {
  background: var(--paper);
}

.page-section.faq {
  background: var(--paper-2);
}

.sample-gallery-page {
  background: var(--paper-2);
}

.sample-gallery-hero {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid rgba(16, 16, 18, 0.22);
  padding: clamp(6px, 1.4vw, 18px) clamp(18px, 5vw, 84px) clamp(8px, 1.6vw, 14px);
  background: var(--paper);
}

.sample-gallery-hero p {
  max-width: 760px;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.sample-gallery-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.6vw, 92px);
  line-height: 0.9;
  text-transform: none;
}

.sample-gallery-section {
  position: relative;
  overflow: hidden;
  padding: clamp(12px, 2vw, 22px) clamp(18px, 5vw, 84px) 0;
  background: var(--paper-2);
}

.sample-gallery-section::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: clamp(210px, 30vw, 340px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0.96));
  backdrop-filter: blur(8px);
  content: "";
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
}

.sample-gallery-grid {
  columns: 4 240px;
  column-gap: clamp(12px, 1.3vw, 18px);
  line-height: 0;
}

.sample-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  break-inside: avoid;
  cursor: pointer;
  perspective: 1000px;
  margin: 0 0 clamp(12px, 1.3vw, 18px);
  border-radius: 4px;
  background: rgba(16, 16, 18, 0.08);
}

.sample-gallery-item:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.sample-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  backface-visibility: hidden;
  transition: transform 0.45s ease;
  pointer-events: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.sample-gallery-back {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.25;
  text-align: center;
  visibility: hidden;
  backface-visibility: hidden;
  transform: rotateY(-180deg);
  transition: transform 0.45s ease, visibility 0s linear 0.45s;
}

.sample-gallery-back h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.05;
}

.sample-gallery-back a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.sample-gallery-item.is-flipped img {
  transform: rotateY(180deg);
}

.sample-gallery-back .sample-gallery-shortlist {
  min-height: 36px;
  padding: 0 14px;
}

.sample-gallery-back .sample-gallery-shortlist:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Members: the wall keeps going, a page at a time (sample-wall.js). */
.sample-gallery-more {
  display: flex;
  align-items: flex-start;
  line-height: 0;
}

.sample-gallery-more-column {
  flex: 1 1 0;
  min-width: 0;
}

.sample-gallery-more .sample-gallery-item {
  content-visibility: auto;
}

.sample-gallery-more .sample-gallery-item img {
  height: 100%;
  object-fit: cover;
}

.sample-gallery-retry {
  display: grid;
  justify-items: center;
  padding: 12px 0 24px;
}

.sample-gallery-section.is-endless::after {
  display: none;
}

.sample-gallery-section.is-endless .sample-gallery-unlock {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  padding: clamp(12px, 2vw, 22px) 0 clamp(28px, 5vw, 58px);
}

.sample-gallery-item.is-flipped .sample-gallery-back {
  visibility: visible;
  transform: none;
  transition: transform 0.45s ease;
}

/* A short landscape card can be smaller than its back: the back grows down over
   the next photo instead of cutting off the button, and nothing on the wall moves. */
.sample-gallery-item.is-flipped {
  z-index: 3;
  overflow: visible;
}

.sample-gallery-item .sample-gallery-back {
  bottom: auto;
  min-height: 100%;
  border-radius: 4px;
}

.sample-gallery-item.is-flipped .sample-gallery-back:has(.sample-gallery-shortlist) {
  box-shadow: 6px 6px 0 rgba(16, 16, 18, 0.14);
}

.sample-wall-popover {
  position: absolute;
  z-index: 40;
  display: grid;
  width: min(280px, calc(100vw - 24px));
  gap: 12px;
  justify-items: center;
  border: 1px solid rgba(16, 16, 18, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
  box-shadow: 6px 6px 0 rgba(16, 16, 18, 0.14);
  text-align: center;
}

.sample-wall-popover h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.05;
}

.sample-wall-popover p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .sample-gallery-item img,
  .sample-gallery-back,
  .sample-gallery-item.is-flipped .sample-gallery-back {
    transition: none;
  }
}

.sample-gallery-unlock {
  position: absolute;
  right: clamp(18px, 5vw, 84px);
  bottom: clamp(28px, 5vw, 58px);
  left: clamp(18px, 5vw, 84px);
  z-index: 2;
  display: grid;
  justify-items: center;
  padding: 0;
  pointer-events: none;
}

.sample-gallery-unlock-card {
  display: grid;
  width: min(100%, 680px);
  gap: 16px;
  justify-items: center;
  border: 1px solid rgba(16, 16, 18, 0.22);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 34px);
  background: var(--paper);
  box-shadow: 6px 6px 0 rgba(16, 16, 18, 0.14);
  pointer-events: auto;
  text-align: center;
}

.sample-gallery-unlock-copy {
  display: grid;
  gap: 6px;
  max-width: 540px;
}

.sample-gallery-unlock h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.95;
}

.sample-gallery-unlock p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.accessories-cards {
  padding-top: 18px;
  padding-bottom: clamp(34px, 5vw, 58px);
}

.accessories-cards .guide-card {
  min-height: 168px;
  padding: 16px;
}

.accessories-cards .guide-icon {
  display: none;
}

.accessories-cards .guide-card h3 {
  margin: 18px 0;
  font-size: clamp(24px, 2.2vw, 34px);
}

.accessory-breadcrumb {
  padding: clamp(18px, 3vw, 30px) clamp(18px, 5vw, 84px) 0;
  background: var(--paper-2);
}

.accessory-breadcrumb a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.accessory-section {
  background:
    linear-gradient(rgba(16, 16, 18, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 18, 0.02) 1px, transparent 1px),
    var(--paper-2);
  background-size: 24px 24px;
}

.accessory-section:nth-of-type(even) {
  background-color: var(--paper);
}

.accessory-section-head {
  max-width: 980px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.accessory-detail-page .accessory-section {
  padding-top: clamp(40px, 5vw, 70px);
  border-bottom: 0;
}

.accessory-detail-page .accessory-section-head {
  padding-right: 72px;
}

.accessory-section-head h2 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.9;
}

.accessory-section-head p:not(.section-kicker) {
  max-width: 740px;
  margin-bottom: 0;
  font-size: clamp(17px, 1.6vw, 21px);
}

.accessory-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.accessory-row-list {
  display: grid;
  gap: 16px;
}

.accessory-category {
  display: grid;
  gap: 16px;
  border: 2px solid var(--ink);
  padding: clamp(16px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 6px 6px 0 var(--ink);
}

.accessory-section[id],
.accessory-category[id],
.accessory-row[id] {
  scroll-margin-top: 92px;
}

.accessory-category-head {
  display: grid;
  gap: 8px;
}

.accessory-category-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
}

.accessory-category-head p {
  max-width: 840px;
  margin: 0;
}

.accessory-row {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  border: 2px solid var(--ink);
  padding: clamp(14px, 2vw, 20px);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}

.accessory-row-muted {
  background: var(--paper-2);
}

.accessory-row-media {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 142px;
  margin: 0;
  border: 2px solid var(--ink);
  padding: 10px;
  background: #fff;
}

.accessory-row-media img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.accessory-row-copy h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.96;
}

.accessory-row-copy p {
  max-width: 820px;
  margin: 0;
}

.accessory-reader-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--flash);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.accessory-reader-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.accessory-type-card {
  display: grid;
  gap: 18px;
  align-content: start;
  border: 2px solid var(--ink);
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

.accessory-type-card.feature-card {
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  background: var(--paper-2);
}

.accessory-figure {
  display: grid;
  place-items: center;
  margin: 0;
  border: 2px solid var(--ink);
  padding: clamp(8px, 1.5vw, 14px);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.accessory-figure.tall {
  align-self: stretch;
  background: #fff;
}

.accessory-type-card h3,
.accessory-note-card h3,
.reader-list h3,
.strap-copy h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.96;
}

.accessory-type-card p,
.accessory-note-card p,
.reader-list p,
.strap-copy p {
  margin-bottom: 0;
}

.accessory-checklist {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.accessory-checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.accessory-checklist li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  background: var(--acid);
  content: "";
}

.accessory-two-column,
.reader-layout,
.strap-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}

.accessory-panel-grid {
  display: grid;
  gap: 14px;
}

.accessory-note-card,
.reader-list article,
.strap-copy {
  border: 2px solid var(--ink);
  padding: clamp(18px, 2.4vw, 24px);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}

.accessory-note-card span {
  display: inline-block;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--pink);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.accessory-note-card.blue-note span {
  background: var(--flash);
  color: var(--paper);
}

.accessory-note-card.yellow-note span {
  background: var(--acid);
  color: var(--ink);
}

.reader-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.reader-list article:nth-child(1) {
  background: var(--paper-2);
}

.reader-list article:nth-child(2) {
  background: var(--acid);
}

.reader-list article:nth-child(3) {
  background: var(--silver);
}

.reader-list article:nth-child(4) {
  background: var(--pink);
}

.strap-copy {
  background: var(--paper-2);
}

.accessory-credits {
  padding-top: 0;
  color: rgba(17, 17, 20, 0.66);
  font-size: 12px;
}

.accessory-credits code {
  font-size: 11px;
}

.question-list {
  border-top: 0;
  padding-top: 18px;
}

.question-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 4px;
}

.question-tab {
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}

.question-tab.is-active {
  background: var(--flash);
  color: var(--paper);
}

.page-digicolor {
  min-height: calc(100svh - 64px);
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--flash);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.model-list-kicker {
  display: block;
  margin-top: clamp(40px, 5vw, 68px);
  margin-bottom: 18px;
  padding-top: 4px;
}

.section-kicker.light {
  color: var(--acid);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.9;
}

.viewfinder-wrap {
  position: relative;
  max-width: 1220px;
  margin-top: 34px;
}

.viewfinder {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 3px solid var(--ink);
  background:
    radial-gradient(ellipse at 50% 115%, rgba(16, 16, 18, 0.9) 0 18%, transparent 19%),
    radial-gradient(circle at 48% 45%, rgba(176, 245, 89, 0.72), transparent 34%),
    linear-gradient(135deg, #171918 0%, #2b2e2d 55%, #4f5a45 100%);
  box-shadow: var(--shadow);
}

.viewfinder::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
}

.vf-corner {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.84);
  border-style: solid;
}

.vf-corner.tl { top: 24px; left: 24px; border-width: 3px 0 0 3px; }
.vf-corner.tr { top: 24px; right: 24px; border-width: 3px 3px 0 0; }
.vf-corner.bl { bottom: 24px; left: 24px; border-width: 0 0 3px 3px; }
.vf-corner.br { right: 24px; bottom: 24px; border-width: 0 3px 3px 0; }

.focus-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.rec,
.vf-bottom {
  position: absolute;
  z-index: 3;
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rec {
  top: 28px;
  left: 90px;
  color: var(--pink);
}

.rec::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.vf-bottom {
  right: 32px;
  bottom: 30px;
  left: 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.battery {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.battery i {
  display: block;
  width: 9px;
  height: 16px;
  background: var(--acid);
}

.exif {
  position: absolute;
  z-index: 4;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--paper-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.exif::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.exif.t1 { top: 12%; left: -12px; }
.exif.t2 { top: 22%; right: -10px; }
.exif.t3 { bottom: 22%; left: -18px; }
.exif.t4 { right: 6%; bottom: -16px; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(240px, 0.38fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.start-hub {
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.path-card {
  display: grid;
  min-height: 390px;
  align-content: space-between;
  border: 2px solid var(--ink);
  padding: 22px;
  box-shadow: 6px 6px 0 var(--ink);
}

.path-card.pink { background: linear-gradient(var(--lime), var(--lime)) top / 100% 8px no-repeat, #fff; }
.path-card.blue { background: var(--flash); color: var(--paper); }
.path-card.yellow { background: linear-gradient(var(--lime), var(--lime)) top / 100% 8px no-repeat, #fff; }

.path-card.blue p {
  color: rgba(255, 255, 255, 0.82);
}

.path-num,
.path-card a {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.path-card h3 {
  margin: 20px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 0.96;
}

.path-card p {
  max-width: 460px;
  margin-bottom: 24px;
}

.guide-photo {
  display: block;
  min-height: 128px;
  margin-top: 18px;
  border: 2px solid currentColor;
  box-shadow: 4px 4px 0 var(--ink);
  background-position: center;
  background-size: cover;
}

.guide-photo-pink {
  background-image: url("./assets/ccd-gallery/wall-02.jpg");
}

.guide-photo-blue {
  background-image: url("./assets/ccd-gallery/wall-05.jpg");
}

.guide-photo-yellow {
  background-image: url("./assets/ccd-gallery/wall-08.jpg");
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.guide-grid.small-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-card {
  display: grid;
  min-height: 330px;
  align-content: space-between;
  border: 2px solid var(--ink);
  padding: 20px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.guide-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--ink);
}

.guide-card.pink { background: linear-gradient(var(--lime), var(--lime)) top / 100% 8px no-repeat, #fff; }
.guide-card.blue { background: var(--flash); color: var(--paper); }
.guide-card.yellow { background: linear-gradient(var(--lime), var(--lime)) top / 100% 8px no-repeat, #fff; }
.guide-card.silver { background: var(--silver); }

.guide-num,
.guide-foot {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 22px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 0.94;
}

.guide-icon {
  display: block;
  width: 76px;
  height: 76px;
  margin-top: 16px;
  border: 2px solid currentColor;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
}

.camera-mini {
  border-radius: 20px;
  box-shadow: inset 22px 22px 0 rgba(16, 16, 18, 0.22);
}

.lens-mini {
  border-radius: 50%;
  box-shadow: inset 0 0 0 17px rgba(255, 255, 255, 0.26), inset 0 0 0 30px currentColor;
}

.card-mini {
  border-radius: 8px 8px 22px 8px;
  background:
    linear-gradient(90deg, currentColor 0 16%, transparent 17% 100%),
    rgba(255, 255, 255, 0.38);
}

.battery-mini {
  width: 48px;
  height: 82px;
  border-radius: 10px;
  background: repeating-linear-gradient(to top, rgba(255,255,255,0.36) 0 12px, transparent 12px 16px);
}

.starter-kit {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.starter-kit p,
.starter-kit h2 {
  color: var(--paper);
}

.kit-link {
  justify-self: end;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 12px;
}

.kit-item {
  display: grid;
  min-height: 170px;
  align-content: space-between;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 16px;
  background: #19191d;
}

.kit-item span {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
}

.kit-item strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 0.95;
}

.kit-item small {
  color: rgba(255, 255, 255, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.digicolor {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  background: var(--pink);
}

.digicolor h2 {
  font-style: italic;
}

.digicolor-copy p {
  max-width: 640px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.34;
}

.digicolor-copy ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.digicolor-copy li::before {
  margin-right: 8px;
  content: "+";
}

.preset-box {
  position: relative;
  min-height: 430px;
}

.digicolor-product-hero {
  display: grid;
  align-items: center;
}

.digicolor-product-hero > img {
  display: block;
  width: min(100%, 500px);
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.digicolor-product-board {
  display: grid;
  gap: 18px;
  width: min(100%, 520px);
  border: 3px solid var(--ink);
  padding: 24px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.digicolor-product-board span,
.digicolor-product-board small,
.digicolor-product-board b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
  text-transform: uppercase;
}

.digicolor-product-board strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 0.86;
}

.digicolor-board-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.digicolor-board-images img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  background: #fff;
  object-fit: cover;
}

.digicolor-buy-status {
  margin: 12px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.preset-card {
  display: grid;
  min-height: 430px;
  align-content: space-between;
  border: 3px solid var(--ink);
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.35), transparent 35%),
    var(--silver);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.preset-card.product-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 32%),
    var(--silver);
}

.preset-card.product-card strong {
  font-size: clamp(50px, 6vw, 76px);
}

.preset-card span,
.preset-card small,
.preset-card em,
.preset-card b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.preset-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.82;
}

.swatches {
  display: flex;
  gap: 8px;
}

.swatches i {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 7px;
}

.swatches i:nth-child(1) { background: var(--pink); }
.swatches i:nth-child(2) { background: var(--acid); }
.swatches i:nth-child(3) { background: var(--flash); }
.swatches i:nth-child(4) { background: var(--orange); }
.swatches i:nth-child(5) { background: var(--paper-2); }

.preset-card em {
  color: var(--ink-soft);
  text-decoration: line-through;
}

.preset-card b {
  font-size: 32px;
}

.drop-label {
  position: absolute;
  right: -18px;
  bottom: 40px;
  z-index: 2;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  transform: rotate(12deg);
}

.digicolor-guide {
  background: var(--paper);
}

.product-section {
  border-top: 2px solid var(--ink);
}

.digicolor-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.digicolor-pack-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.digicolor-pack-card {
  display: grid;
  min-height: 510px;
  align-content: space-between;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 6px 6px 0 var(--ink);
}

.digicolor-product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
  background: #fff;
}

.digicolor-pack-card div {
  padding: 20px;
}

.digicolor-pack-card h3 {
  margin: 18px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
}

.digicolor-pack-card p {
  margin: 0;
}

.digicolor-photo {
  display: block;
  min-height: 290px;
  border-bottom: 2px solid var(--ink);
  background-position: center;
  background-size: cover;
}

.digicolor-photo.natural {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.12)),
    url("./assets/ccd-gallery/wall-02.jpg");
}

.digicolor-photo.flash {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    url("./assets/ccd-gallery/wall-05.jpg");
}

.digicolor-workflow {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}

.digicolor-steps {
  max-width: 980px;
}

.digicolor-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.digicolor-next {
  background: var(--pink);
}

.digicolor-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.digicolor-info-grid img {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}

.product-notes {
  margin-top: 28px;
}

.product-list-page,
.preset-product-page {
  background: var(--paper);
}

.product-list-intro {
  display: grid;
  gap: 14px;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px) 28px;
}

.product-list-intro h1 {
  max-width: 920px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.88;
}

.product-list-intro p:not(.section-kicker) {
  max-width: 620px;
  font-size: clamp(17px, 2vw, 22px);
}

.product-list {
  padding: 0 clamp(18px, 5vw, 72px) clamp(54px, 8vw, 110px);
}

.digicolor-single-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  max-width: 1120px;
  border: 2px solid var(--ink);
  padding: clamp(18px, 3.5vw, 40px);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.digicolor-single-card:hover {
  box-shadow: 12px 12px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.digicolor-single-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.digicolor-single-media img {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.digicolor-single-copy {
  display: grid;
  gap: 14px;
}

.digicolor-single-copy h2 {
  max-width: 620px;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.9;
}

.digicolor-single-copy p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
}

.digicolor-single-copy strong {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preset-product-page {
  padding: clamp(22px, 4vw, 52px) clamp(18px, 5vw, 72px) clamp(54px, 8vw, 110px);
}

.preset-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.preset-gallery {
  display: grid;
  gap: 28px;
}

.preset-gallery-main {
  border: 2px solid var(--ink);
  padding: clamp(10px, 2vw, 18px);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}

.preset-gallery-main img {
  display: block;
  width: 100%;
  background: var(--paper);
}

.preset-gallery-main.compact {
  max-width: 720px;
}

.preset-copy-block {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.preset-copy-block h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 0.92;
}

.preset-copy-block p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 19px);
}

.preset-example-section {
  display: grid;
  gap: 16px;
}

.preset-section-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.preset-section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.95;
}

.preset-section-head p {
  margin: 0;
}

.preset-example-grid {
  display: grid;
  gap: 18px;
}

.preset-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 2px solid var(--ink);
  padding: 10px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
}

.preset-before-after div {
  display: grid;
  gap: 8px;
}

.preset-before-after img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  object-fit: cover;
}

.preset-before-after span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.preset-buy-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  border: 2px solid var(--ink);
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  box-shadow: var(--shadow);
}

.preset-buy-panel h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.92;
}

.product-summary {
  margin: 0;
  font-size: 17px;
}

.preset-version-list {
  display: grid;
  gap: 10px;
}

.preset-version-list div,
.preset-included-list {
  border: 1px solid rgba(16, 16, 18, 0.22);
  padding: 14px;
  background: var(--paper-2);
}

.preset-version-list strong {
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

.preset-product-note {
  display: grid;
  gap: 6px;
}

.preset-product-note h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.preset-product-note p {
  margin: 0;
}

.preset-version-list span,
.preset-included-list,
.preset-product-note p,
.preset-terms p,
.preset-terms ul {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.preset-included-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 32px;
}

.preset-buy-button {
  width: 100%;
}

.preset-terms {
  border: 1px solid rgba(16, 16, 18, 0.24);
  background: #fff;
}

.preset-terms summary {
  padding: 13px 14px;
  font-size: 11px;
}

.preset-terms p,
.preset-terms ul {
  margin: 0;
  padding: 0 14px 14px;
}

.preset-terms ul {
  display: grid;
  gap: 8px;
  padding-left: 32px;
}

.policy-page {
  padding: clamp(28px, 5vw, 68px) clamp(18px, 5vw, 72px) clamp(64px, 9vw, 120px);
}

.policy-hero {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.policy-hero h1 {
  max-width: 900px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.86;
}

.policy-hero p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(17px, 1.8vw, 22px);
}

.policy-hero a {
  color: var(--flash);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.support-hero {
  max-width: 720px;
  margin-bottom: clamp(22px, 4vw, 42px);
}

.support-hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.92;
}

.support-hero p {
  max-width: 460px;
  font-size: clamp(14px, 1.2vw, 16px);
}

.support-hero a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  max-width: 1120px;
}

.policy-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  border: 2px solid var(--ink);
  padding: clamp(18px, 3vw, 26px);
  background: var(--paper-2);
  box-shadow: 5px 5px 0 var(--ink);
}

.policy-card.blue {
  background: var(--paper-2);
}

.policy-card.pink {
  background: var(--paper-2);
}

.policy-card.yellow {
  background: var(--paper-2);
}

.policy-card.orange {
  background: var(--paper-2);
}

.policy-card span {
  min-width: 3ch;
  width: fit-content;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--paper);
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.policy-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
}

.policy-card p {
  margin: 0;
}

.policy-card a {
  color: var(--flash);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.look-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 84px);
  border-bottom: 2px solid var(--ink);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 54px);
  background: var(--paper-2);
}

.look-hero h1 {
  max-width: 680px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.88;
}

.look-hero-copy p:not(.section-kicker):not(.digicolor-buy-status) {
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
}

.look-hero-image {
  display: grid;
  gap: 14px;
  margin: 0;
  transform: rotate(1.5deg);
}

.look-hero-image img,
.look-result img {
  display: block;
  width: 100%;
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.look-hero-image figcaption {
  justify-self: start;
  border: 2px solid var(--ink);
  padding: 10px 12px;
  background: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.look-gallery,
.look-playbook,
.look-buy-strip {
  padding: clamp(42px, 6vw, 76px) clamp(18px, 4vw, 54px);
}

.look-gallery {
  background: var(--paper);
}

.look-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.look-result {
  display: grid;
  gap: 18px;
  align-content: start;
}

.look-result.flash {
  margin-top: 58px;
}

.look-result div {
  border: 2px solid var(--ink);
  padding: 20px;
  background: var(--paper-2);
  box-shadow: 6px 6px 0 var(--ink);
}

.look-result h3 {
  margin: 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.86;
}

.look-result p {
  margin: 0;
}

.look-playbook {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--acid);
}

.look-playbook-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.look-playbook-grid article {
  display: grid;
  min-height: 210px;
  align-content: space-between;
  border: 2px solid var(--ink);
  padding: 18px;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}

.look-playbook-grid span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.look-playbook-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 0.95;
}

.look-playbook-grid p {
  margin: 0;
  font-size: 14px;
}

.look-buy-strip {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: var(--pink);
}

.look-buy-strip h2 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.88;
}

.look-buy-strip p:not(.section-kicker) {
  max-width: 680px;
}

.faq {
  background: var(--paper-2);
}

.faq-grid {
  display: grid;
  gap: 14px;
}

details {
  border: 2px solid var(--ink);
  background: var(--paper);
}

details[hidden] {
  display: none;
}

summary {
  cursor: pointer;
  padding: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 900;
}

.question-topic {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin: 0 10px 0 0;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--acid);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

details[data-topic] summary .question-title {
  display: block;
  margin-top: 10px;
}

details p {
  max-width: 860px;
  margin: 0;
  padding: 0 20px 22px;
}

.accessory-basics {
  background: var(--paper-2);
}

.accessory-basics h2 {
  max-width: 920px;
}

.basics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.basics-grid article,
.article-body {
  border: 2px solid var(--ink);
  padding: clamp(20px, 3vw, 30px);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}

.basics-grid h3,
.article-body h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 0.95;
}

.basics-grid p,
.article-body p {
  max-width: 820px;
  margin: 0 0 16px;
}

.basics-grid ul,
.article-body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 20px;
}

.article-body {
  border: 0;
  max-width: 980px;
  margin-top: 28px;
  box-shadow: none;
}

.brand-hub-body {
  max-width: 1040px;
}

/* Article pages (owner 2026-11-26): one centered container for every /articles/ page.
   Text keeps a reading measure; tables, camera rows and card lists use the wider width.
   Homepage palette: white, lime, ink. */
main.article-page {
  --article-measure: 960px;
  --article-wide: 960px;
  max-width: calc(var(--article-wide) + 2 * clamp(16px, 4vw, 48px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px) 96px;
}
main.article-page > h1 {
  max-width: var(--article-measure);
  margin: 0 auto 22px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
}
main.article-page > .hero-lede {
  max-width: var(--article-measure);
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 30px);
  border: 2px solid var(--ink);
  border-left-width: 10px;
  border-left-color: var(--lime);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.4;
}
main.article-page .article-body {
  max-width: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  background: transparent;
}
main.article-page .article-body > * {
  max-width: var(--article-measure);
  margin-right: auto;
  margin-left: auto;
}
main.article-page .article-body > h2 {
  margin-top: clamp(44px, 6vw, 64px);
  margin-bottom: 18px;
  padding-bottom: 14px;
  background: linear-gradient(var(--lime), var(--lime)) left bottom / 72px 6px no-repeat;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
}
main.article-page .article-body > h2:first-child {
  margin-top: 0;
}
main.article-page .article-body > h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}
main.article-page .article-body p {
  line-height: 1.65;
}
@media (min-width: 761px) {
  main.article-page .article-body :is(p, li) {
    font-size: 18px;
  }
}
main.article-page .article-body :is(p, li, td) a:not(.button) {
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}
main.article-page .article-body code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--paper-2);
  font-size: 0.92em;
}
main.article-page .article-body pre {
  margin-top: 0;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #f4f5f3;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
main.article-page .article-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}
/* Lists: lime square markers; four or more items become a two-column card grid. */
main.article-page .article-body > ul {
  gap: 12px;
  padding-left: 0;
  list-style: none;
}
main.article-page .article-body > ul > li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}
main.article-page .article-body > ul > li::before {
  position: absolute;
  top: 0.45em;
  left: 2px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  background: var(--lime);
  content: "";
}
main.article-page .article-body > ul:has(> li:nth-child(4)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--article-wide);
}
main.article-page .article-body > ul:has(> li:nth-child(4)) > li {
  padding: 16px 18px 16px 42px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
}
main.article-page .article-body > ul:has(> li:nth-child(4)) > li::before {
  top: 21px;
  left: 17px;
}
main.article-page .article-body > ol {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding-left: 0;
  list-style: none;
  counter-reset: article-step;
}
main.article-page .article-body > ol > li {
  position: relative;
  min-height: 32px;
  padding-left: 46px;
  line-height: 1.55;
  counter-increment: article-step;
}
main.article-page .article-body > ol > li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  content: counter(article-step);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}
/* Tables: ink header, zebra rows, rounded frame, sideways scroll on small screens. */
main.article-page .article-body > .compare-table-wrap {
  max-width: var(--article-wide);
  margin-top: 22px;
  margin-bottom: 30px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
}
main.article-page .compare-table {
  min-width: 560px;
}
main.article-page .compare-table thead th {
  border-top: 0;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
main.article-page .compare-table tbody tr:nth-child(even) {
  background: var(--paper-2);
}
main.article-page .compare-table tbody tr:last-child > * {
  border-bottom: 0;
}
main.article-page .article-body > figure {
  margin-top: 28px;
  margin-bottom: 10px;
}
main.article-page .article-body .button.primary {
  border-color: var(--ink);
  background: var(--lime);
  color: var(--ink);
}
/* The closing "Next step" paragraph sits right before the footer: show it as a callout. */
main.article-page .article-body > p:has(+ .article-footer) {
  margin-top: 36px;
  padding: 18px 22px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--lime);
}
main.article-page .article-footer {
  justify-content: center;
}
/* Camera rows: product image in the site's camera frame on the left, text and the
   sample-photo button on the right; thin shared divider lines between rows. */
main.article-page .article-body > .camera-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  max-width: var(--article-wide);
  padding: 28px 0;
}
main.article-page .article-body > .camera-row + .camera-row {
  border-top: 1px solid rgba(23, 25, 24, 0.28);
}
.camera-row .camera-detail-image {
  max-width: 100%;
}
.camera-row-body > :first-child {
  margin-top: 0;
}
.article-body .camera-row-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}
.article-body .camera-row-body p {
  max-width: none;
}
.camera-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.button.camera-row-button {
  min-height: 44px;
  padding: 0 18px;
  background: var(--lime);
  color: var(--ink);
  text-align: center;
}
.button.camera-row-button.secondary {
  background: var(--paper);
}
@media (max-width: 760px) {
  main.article-page .article-body > ul:has(> li:nth-child(4)) {
    grid-template-columns: 1fr;
  }
  main.article-page > h1 {
    max-width: calc(100% - 56px);
    margin-left: 0;
  }
  main.article-page > .hero-lede {
    font-size: 17px;
    box-shadow: 4px 4px 0 var(--ink);
  }
}
@media (max-width: 639px) {
  main.article-page .article-body > .camera-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .button.camera-row-button {
    width: 100%;
  }
}

.brand-hub-picks {
  max-width: 1040px;
  margin: 30px 0 8px;
  padding: 22px 0 24px;
  border-top: 1px solid rgba(16, 16, 18, 0.22);
  border-bottom: 1px solid rgba(16, 16, 18, 0.22);
}

.brand-hub-picks h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.brand-hub-picks p {
  margin: 8px 0 18px;
  max-width: 760px;
  color: var(--muted);
}

.brand-hub-pick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 920px;
}

.brand-hub-pick-links a {
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: var(--pink);
  text-underline-offset: 3px;
}

.brand-hub-figure {
  margin: 28px 0 10px;
  max-width: 620px;
}

.brand-hub-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
  max-width: 900px;
}

.brand-hub-summary p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(16, 16, 18, 0.22);
  border-bottom: 1px solid rgba(16, 16, 18, 0.22);
}

.brand-hub-summary strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.9;
}

.brand-hub-summary span {
  display: block;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.brand-hub-model-list {
  display: grid;
  gap: 0;
  margin: 22px 0 34px;
  padding: 0;
  list-style: none;
  max-width: 980px;
}

.brand-hub-model-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  gap: 20px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid rgba(16, 16, 18, 0.18);
}

.brand-hub-model-row:last-child {
  border-bottom: 1px solid rgba(16, 16, 18, 0.18);
}

.brand-hub-model-link {
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.brand-hub-model-row p {
  margin: 5px 0 0;
  max-width: none;
  font-size: 0.94rem;
  color: var(--muted);
}

.brand-hub-model-meta {
  display: grid;
  gap: 6px;
  justify-items: start;
  font-size: 0.84rem;
  color: var(--muted);
}

.brand-hub-sample-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration-color: var(--pink);
  text-underline-offset: 3px;
}

.compare-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 24px 0 34px;
}

.section.compare-page > h1 {
  max-width: 980px;
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table caption {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid rgba(16, 16, 18, 0.22);
  padding: 12px 10px;
  vertical-align: top;
}

.compare-table thead th {
  border-top: 1px solid rgba(16, 16, 18, 0.22);
  font-size: 14px;
}

.compare-table tbody th {
  width: 18%;
  font-weight: 800;
}

.compare-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.compare-links a {
  width: fit-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: var(--pink);
  text-underline-offset: 3px;
}

.brand-hub-callout {
  max-width: 980px;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 16, 18, 0.22);
}

.brand-hub-callout p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.brand-hub-callout a {
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: var(--pink);
  text-underline-offset: 3px;
}

/* Camera Wiki: collapsed brand-hub links at the very bottom (SEO links, low-key for visitors). */
details.brand-hub-callout {
  max-width: none;
  margin: 40px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(16, 16, 18, 0.62);
}

details.brand-hub-callout summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(16, 16, 18, 0.62);
  font-weight: 400;
}

details.brand-hub-callout summary::-webkit-details-marker {
  display: none;
}

details.brand-hub-callout summary::after {
  content: " +";
}

details.brand-hub-callout[open] summary::after {
  content: " \2212";
}

details.brand-hub-callout summary:hover {
  color: var(--ink);
}

details.brand-hub-callout p {
  margin: 6px 0 0;
  padding: 0;
  max-width: none;
  color: rgba(16, 16, 18, 0.62);
}

details.brand-hub-callout a {
  color: rgba(16, 16, 18, 0.62);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
}

details.brand-hub-callout a:hover {
  color: var(--ink);
}

.auth-shell {
  display: inline-flex;
  grid-column: 4;
  justify-self: end;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.auth-button {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  min-height: 34px;
  margin-left: auto;
  border: 2px solid var(--nav-cta);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--nav-cta);
  color: var(--nav-cta-fg);
  box-shadow: none;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.auth-account-link {
  justify-self: end;
}

.auth-button:hover {
  border-color: var(--nav-fg);
  background: var(--nav-fg);
  color: var(--nav-bg);
}

.auth-dialog {
  width: min(420px, calc(100vw - 32px));
  border: 2px solid var(--ink);
  padding: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.auth-dialog::backdrop {
  background: rgba(16, 16, 18, 0.35);
}

.auth-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.auth-panel h2 {
  margin: 0;
  font-size: clamp(34px, 8vw, 52px);
  line-height: 0.9;
}

.auth-panel p {
  margin: 0;
}

.auth-form,
.auth-form label {
  display: grid;
  gap: 10px;
}

.auth-form label {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-form input {
  min-height: 50px;
  min-width: 0;
  border: 2px solid var(--ink);
  padding: 0 14px;
  background: var(--paper-2);
  color: var(--ink);
  font: 700 16px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.google-auth-button {
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border-color: var(--ink);
  background: #fff;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
}

.google-auth-button::before {
  content: "G";
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 9px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  color: var(--flash);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 950;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 2px;
  background: var(--ink);
}

.auth-close {
  background: transparent;
}

/* Bot check: takes no room until Cloudflare asks for a click, then fills the form width. */
.auth-turnstile {
  min-width: 0;
  line-height: 0;
}

.auth-turnstile:not(.is-interactive) {
  height: 0;
  margin-top: -10px;
  overflow: hidden;
}

.auth-turnstile iframe {
  max-width: 100%;
}

.auth-signup-link {
  display: block;
  border: 2px solid var(--ink);
  padding: 12px 13px;
  background: var(--flash);
  color: var(--paper);
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.auth-signup-link:hover,
.auth-signup-link:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.auth-status,
.account-status,
.account-muted {
  min-height: 22px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.52fr);
  gap: clamp(22px, 5vw, 60px);
  align-items: center;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px) clamp(18px, 4vw, 44px) 18px;
}

.account-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.account-hero h1 {
  max-width: min(100%, 620px);
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 0.96;
  letter-spacing: 0;
}

.account-title-line {
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  white-space: normal;
}

.account-hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 330px);
  min-height: 230px;
}

.account-hero-art img {
  position: absolute;
  max-width: 210px;
  filter: drop-shadow(7px 8px 0 rgba(0, 0, 0, 0.92));
}

.account-sticker-main {
  right: 52px;
  bottom: 14px;
  width: 54%;
  transform: rotate(-7deg);
}

.account-sticker-side {
  right: 0;
  top: 6px;
  width: 42%;
  transform: rotate(10deg);
}

.account-credit-sticker {
  position: absolute;
  left: 8px;
  top: 24px;
  display: grid;
  min-width: 92px;
  border: 2px solid var(--ink);
  padding: 8px 10px 7px;
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
}

.account-credit-sticker strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 0.8;
}

.account-credit-sticker span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-shell {
  display: grid;
  gap: 16px;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px) clamp(18px, 4vw, 44px) clamp(56px, 8vw, 92px);
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.account-dashboard {
  display: grid;
  gap: 16px;
}

.account-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: 16px;
  align-items: center;
}

.account-overview-card h1 {
  margin: 4px 0 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.15;
  max-width: min(52vw, 420px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-credit-summary {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 2px solid var(--ink);
  padding: 11px 13px;
  background: var(--blue);
  color: var(--paper-2);
  box-shadow: 3px 3px 0 var(--ink);
  text-align: left;
}

.account-credit-summary span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.account-credit-summary small {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.account-workspace {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.account-menu {
  display: grid;
  gap: 8px;
  border: 2px solid var(--ink);
  padding: 10px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.account-menu-button {
  min-height: 42px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.account-menu-button.active {
  background: var(--flash);
  color: var(--paper);
}

.account-menu-button:hover,
.account-menu-button:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(16, 16, 18, 0.24);
}

.account-view {
  min-height: 320px;
}

.account-card {
  border: 2px solid var(--ink);
  padding: clamp(18px, 2vw, 24px);
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--ink);
}

.account-card h2,
.account-card h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.95;
}

.account-card h2 {
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1;
}

.account-summary {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.account-summary h2 {
  margin-bottom: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.account-top-up-card {
  grid-column: 1 / -1;
}

.account-page [data-account-signed-out] {
  max-width: 860px;
}

.account-page .auth-form {
  max-width: 100%;
  margin-top: 16px;
}

.account-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 20px;
}

.account-benefit-grid article {
  display: grid;
  gap: 7px;
  min-height: 126px;
  border: 2px solid var(--ink);
  padding: 13px 12px;
  background: #fff;
}

.account-benefit-grid article:nth-child(1) {
  background: var(--acid);
}

.account-benefit-grid article:nth-child(2) {
  background: #fff;
}

.account-benefit-grid article:nth-child(3) {
  background: #fff;
}

.account-benefit-grid article:nth-child(4) {
  background: var(--flash);
  color: var(--paper);
}

.account-benefit-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
}

.account-benefit-grid span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.account-benefit-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 170px));
  justify-content: center;
  margin: 16px auto 18px;
}

.account-benefit-grid.compact.premium {
  grid-template-columns: repeat(4, minmax(0, 150px));
}

.account-benefit-grid.compact article {
  min-height: 92px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.account-benefit-grid.compact strong {
  font-size: clamp(18px, 1.9vw, 23px);
}

.account-benefit-grid.compact span {
  max-width: 120px;
  font-size: 12px;
  line-height: 1.2;
}

.membership-offer {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border-top: 2px solid rgba(16, 16, 18, 0.18);
  padding-top: 18px;
}

.membership-offer p {
  max-width: 620px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.membership-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.membership-pack {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 190px;
  border: 2px solid var(--ink);
  padding: 14px;
  background: #fff;
}

.membership-pack:nth-child(2) {
  background: var(--acid);
}

.membership-pack h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1;
}

.membership-pack p {
  font-size: 13px;
  line-height: 1.35;
}

.membership-pack strong {
  align-self: end;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.membership-pack-badge {
  justify-self: start;
  border: 2px solid var(--ink);
  padding: 4px 7px;
  background: var(--pink);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-empty-note {
  font-weight: 900;
}

.visitor-signup-prompt {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 30;
  width: min(360px, calc(100vw - 28px));
  border: 2px solid var(--ink);
  padding: 16px;
  background: var(--paper-2);
  box-shadow: 6px 6px 0 var(--ink);
}

.visitor-signup-prompt h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 0.95;
}

.visitor-signup-prompt p {
  margin: 0 0 13px;
  font-weight: 800;
  line-height: 1.35;
}

.visitor-signup-prompt strong {
  color: var(--ink);
  box-shadow: inset 0 -0.42em 0 var(--lime);
}

.visitor-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.visitor-prompt-actions .button {
  min-height: 40px;
  padding-right: 13px;
  padding-left: 13px;
  font-size: 10px;
}

.visitor-prompt-close {
  background: transparent;
}

.account-page .auth-form input {
  min-height: 48px;
  background: #fff;
}

.account-page .auth-form .button {
  min-height: 48px;
}

.account-page main {
  min-height: calc(100vh - 70px);
}

.credit-balance {
  display: grid;
  width: 170px;
  min-height: 104px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--ink);
}

.credit-balance span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 900;
  line-height: 0.85;
}

.credit-balance small {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.highlight-number {
  color: var(--pink);
}

.account-section-head {
  margin-bottom: 18px;
}

.account-section-head p {
  max-width: 660px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.account-section-head h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.credit-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.credit-pack {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 230px;
  border: 2px solid var(--ink);
  padding: 20px 18px 18px;
  background: #fff;
  grid-template-rows: 1fr auto;
}

.credit-pack.featured {
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--ink);
}

.credit-pack-ribbon {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 1;
  border: 2px solid var(--ink);
  padding: 5px 10px;
  background: var(--pink);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(3deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.credit-pack-main {
  display: grid;
  grid-template-rows: 34px 18px 58px minmax(54px, auto);
  align-content: start;
}

.credit-pack p {
  margin: 0;
}

.credit-pack-amount {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.credit-pack-price {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 0.9;
  align-self: start;
  white-space: nowrap;
}

.credit-pack-note,
.credit-terms p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.credit-terms {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border: 2px solid var(--ink);
  padding: 14px;
  background: #fff;
}

.credit-buy-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  border: 2px solid var(--ink);
  padding: 14px;
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
}

.credit-buy-strip div {
  display: grid;
  gap: 4px;
}

.credit-buy-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
}

.credit-buy-strip span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.credit-top-up-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
}

.credit-top-up-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 25, 26, 0.55);
}

.credit-top-up-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  border: 2px solid var(--ink);
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper-2);
  box-shadow: 8px 8px 0 var(--ink);
}

.credit-top-up-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.credit-ledger,
.credit-activity,
.user-unlocks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.credit-ledger li,
.credit-activity li,
.user-unlocks li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  border: 2px solid var(--ink);
  padding: 12px;
  background: #fff;
}

.credit-ledger small {
  grid-column: 1 / -1;
  color: var(--ink-soft);
}

.credit-activity small {
  grid-column: 1 / -1;
  color: var(--ink-soft);
}

.user-unlocks small {
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.article-visual-grid {
  margin: 30px 0;
}

.popular-model-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
  counter-reset: popular-models;
}

.popular-model-list li {
  counter-increment: popular-models;
  position: relative;
}

.popular-model-list li::before {
  content: counter(popular-models, decimal-leading-zero);
  position: absolute;
  z-index: 1;
  left: 16px;
  top: 17px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  pointer-events: none;
}

.popular-model-list a {
  display: block;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 16px 18px 16px 58px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.popular-model-list a:hover,
.popular-model-list a:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.popular-model-list strong {
  font-weight: 900;
}

.popular-model-list span::before {
  content: ": ";
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 2px solid rgba(16, 16, 18, 0.2);
}

.article-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px solid var(--ink);
  padding: 10px 14px;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.article-footer a:hover,
.article-footer a:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 16px 0 28px;
}

.checklist a {
  display: grid;
  gap: 5px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.checklist a:hover,
.checklist a:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.checklist a strong {
  display: block;
  font-weight: 900;
}

.checklist a span {
  display: block;
  color: var(--ink-soft);
  line-height: 1.48;
}

.article-growth-path {
  display: grid;
  gap: 14px;
  margin: 34px 0 4px;
  border: 2px dashed var(--blue);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--paper-2);
}

.article-growth-path > span {
  width: fit-content;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--acid);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-growth-path h2 {
  margin-bottom: 0;
}

.article-growth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-growth-links a,
.article-growth-signup {
  width: fit-content;
}

.article-growth-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.footer {
  border-top: 2px solid var(--ink);
  padding: clamp(44px, 7vw, 80px) clamp(18px, 5vw, 84px);
  background: var(--ink);
  color: var(--paper);
}

.footer-word {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--paper);
  font-size: clamp(24px, 4vw, 44px);
  font-style: italic;
  line-height: 1.02;
}

.footer-word span {
  display: block;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 26px;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin-bottom: 9px;
  color: var(--paper);
}

.account-page .footer {
  padding-top: clamp(26px, 4vw, 42px);
}

@media (max-width: 1100px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .basics-grid {
    grid-template-columns: 1fr;
  }

  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-subbrand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .digicolor-pack-grid {
    grid-template-columns: 1fr;
  }

  .look-playbook-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .digicolor-pack-grid.two-up,
  .digicolor-info-grid,
  .look-result-grid {
    grid-template-columns: 1fr;
  }

  .digicolor-pack-card {
    min-height: auto;
  }

  .digicolor-single-card,
  .preset-product-layout {
    grid-template-columns: 1fr;
  }

  .preset-buy-panel {
    position: static;
  }

  .look-result.flash {
    margin-top: 0;
  }
}

@media (max-width: 880px) {
  .section {
    padding: 56px 18px 72px;
  }

  .section > h1 {
    font-size: 56px;
  }

  .brand-hub-summary,
  .brand-hub-model-row {
    grid-template-columns: 1fr;
  }

  .brand-hub-model-row {
    gap: 8px;
  }

  .site-header,
  .hero,
  .account-hero,
  .accessory-hero,
  .camera-detail-hero,
  .camera-spec-layout,
  .section-head,
  .digicolor,
  .look-hero {
    grid-template-columns: 1fr;
  }

  .nav {
    order: 3;
    overflow: visible;
    justify-content: start;
    padding-bottom: 2px;
  }

  .social-nav {
    justify-self: start;
  }

  .account-grid,
  .account-overview-card,
  .account-workspace,
  .credit-pack-grid,
  .account-benefit-grid,
  .membership-pack-grid,
  .owner-note-grid,
  .owner-note-grid[data-owner-note-cards="2"],
  .secret-note-preview {
    grid-template-columns: 1fr;
  }

  .member-note-lock {
    min-height: 430px;
  }

  .credit-buy-strip {
    display: grid;
  }

  .account-summary {
    grid-template-columns: 1fr;
  }

  .account-hero h1 {
    max-width: 640px;
  }

  .account-hero-art {
    width: min(100%, 420px);
  }

  .auth-shell {
    justify-content: start;
  }

  .hero {
    min-height: auto;
  }

  .home-hero-title {
    flex-wrap: wrap;
    font-size: clamp(44px, 12vw, 64px);
  }

  .camera-card {
    min-height: 330px;
  }

  .camera-detail-hero,
  .camera-detail-title,
  .camera-detail-image {
    min-width: 0;
  }

  .camera-detail-image {
    width: min(100%, calc(100vw - 58px));
    box-shadow: 6px 6px 0 rgba(16, 16, 18, 0.88);
  }

  .camera-sticker-stack {
    width: min(92vw, 430px);
  }

  .viewfinder {
    min-height: 420px;
  }

  .kit-link {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .accessory-type-card.feature-card,
  .accessory-row,
  .accessory-two-column,
  .reader-layout,
  .strap-layout {
    grid-template-columns: 1fr;
  }

  .accessory-hero-art {
    max-width: 620px;
  }

  .look-hero {
    min-height: auto;
    background: var(--paper-2);
  }

  .look-buy-strip {
    display: grid;
    align-items: start;
  }

  .digicolor-single-card {
    box-shadow: 6px 6px 0 var(--ink);
  }

}

@media (max-width: 640px) {
  .camera-detail-page,
  .account-page,
  body.articles-page,
  .sample-gallery-page,
  .questions-page {
    max-width: 100vw;
    overflow-x: clip;
  }

  main,
  section,
  article,
  figure,
  .page-hero,
  .page-section,
  .start-hub {
    min-width: 0;
  }

  img {
    max-width: 100%;
  }

  .section.compare-page > h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.02;
  }

  .compare-table-wrap {
    overflow: visible;
  }

  .compare-table {
    display: table;
    table-layout: fixed;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 12px;
  }

  .compare-table caption {
    display: table-caption;
    width: auto;
    font-size: 12px;
    line-height: 1.3;
  }

  .compare-table thead {
    display: table-header-group;
  }

  .compare-table tbody {
    display: table-row-group;
  }

  .compare-table tr {
    display: table-row;
    min-width: 0;
  }

  .compare-table thead th,
  .compare-table tbody th,
  .compare-table td {
    display: table-cell;
    width: auto;
    min-width: 0;
    padding: 8px 5px;
    font-size: 12px;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .compare-table thead th {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
  }

  .compare-table thead th:first-child {
    font-size: 12px;
  }

  .compare-table thead th:first-child,
  .compare-table tbody th {
    width: 95px;
  }

  .compare-table td::before {
    content: none;
  }

  .sample-gallery-hero {
    padding: 8px 16px;
  }

  .sample-gallery-hero h1 {
    font-size: clamp(36px, 11.5vw, 48px);
    line-height: 0.92;
  }

  .sample-gallery-hero p {
    font-size: 13px;
  }

  .sample-gallery-section {
    padding: 12px 12px 0;
  }

  .sample-gallery-section::after {
    height: 260px;
  }

  .sample-gallery-grid {
    columns: 2 150px;
    column-gap: 10px;
  }

  .sample-gallery-item {
    margin-bottom: 10px;
  }

  .sample-gallery-back {
    gap: 6px;
    padding: 10px 8px;
  }

  .sample-gallery-back h3 {
    font-size: 16px;
  }

  .sample-gallery-back a {
    font-size: 12px;
  }

  .sample-gallery-back .sample-gallery-shortlist {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .sample-gallery-unlock {
    right: 16px;
    bottom: 26px;
    left: 16px;
  }

  .sample-gallery-unlock-card {
    padding: 22px 16px;
  }

  .section {
    padding: 42px 16px 60px;
  }

  .section > h1 {
    font-size: 44px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    overflow-x: clip;
    gap: 10px;
    padding: 18px var(--site-gutter) 24px;
  }

  .hero-copy {
    display: contents;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
    overflow-wrap: anywhere;
  }

  h1 span {
    white-space: normal;
  }

  .camera-wiki-title {
    display: block;
    max-width: 100%;
    white-space: normal;
    font-size: clamp(44px, 15vw, 64px);
  }

  .camera-wiki-title span {
    display: inline-block;
  }

  h2 {
    font-size: clamp(34px, 10.8vw, 48px);
  }

  .page-hero,
  .page-section,
  .start-hub {
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-hero.compact {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .page-hero.compact h1,
  .question-hero h1,
  body.articles-page .page-hero.compact h1 {
    max-width: 100%;
    font-size: clamp(42px, 14vw, 58px);
    line-height: 0.95;
    overflow-wrap: normal;
  }

  .question-hero .word-tag,
  body.articles-page .word-tag {
    display: inline-block;
    max-width: 100%;
    padding-right: 8px;
    padding-left: 8px;
  }

  .question-hero .hero-lede,
  body.articles-page .hero-lede {
    max-width: 100%;
    font-size: clamp(18px, 5vw, 21px);
  }

  .account-hero {
    padding-top: 32px;
    gap: 10px;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .account-hero-art {
    width: min(100%, 260px);
    min-height: 158px;
    justify-self: center;
  }

  .account-hero-art img {
    max-width: 132px;
  }

  .account-credit-sticker {
    min-width: 88px;
    padding: 7px 9px;
  }

  .account-credit-sticker strong {
    font-size: clamp(24px, 8vw, 30px);
  }

  .account-hero h1 {
    font-size: clamp(32px, 10.5vw, 44px);
    line-height: 0.98;
  }

  .home-hero-subline {
    order: 0;
    max-width: min(100%, 330px);
    margin-bottom: 14px;
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.22;
  }

  .home-hero-title {
    order: 0;
    max-width: min(100%, 340px);
    margin-bottom: 10px;
    font-size: clamp(32px, 9.6vw, 42px);
    font-weight: 760;
    line-height: 1.02;
    overflow-wrap: normal;
    text-wrap: balance;
    white-space: normal;
  }

  .camera-card {
    order: 2;
  }

  .account-title-line {
    white-space: normal;
  }

  .account-card {
    box-shadow: 4px 4px 0 var(--ink);
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .account-card h2 {
    font-size: clamp(24px, 8vw, 31px);
    overflow-wrap: normal;
  }

  .account-shell {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .account-benefit-grid {
    grid-template-columns: 1fr;
  }

  .account-benefit-grid.compact,
  .account-benefit-grid.compact.premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .account-benefit-grid.compact article,
  .sample-membership-pack,
  .membership-pack {
    min-width: 0;
    min-height: auto;
    padding: 10px;
    overflow-wrap: anywhere;
  }

  .sample-membership-pack strong,
  .membership-pack h4,
  .account-benefit-grid.compact strong {
    font-size: clamp(17px, 5.4vw, 22px);
    line-height: 1.02;
  }

  .account-benefit-grid.compact span,
  .sample-membership-pack span,
  .sample-membership-pack small,
  .membership-pack p,
  .membership-pack strong,
  .membership-pack-badge {
    font-size: clamp(9px, 3.1vw, 12px);
    line-height: 1.22;
  }

  .membership-pack-grid {
    grid-template-columns: 1fr;
  }

  .membership-pack {
    min-height: 0;
  }

  .hero-actions {
    order: 3;
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    margin: 4px 0 8px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding: 0 14px;
    font-size: clamp(10px, 3vw, 12px);
    white-space: normal;
  }

  .button {
    width: auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 10px;
  }

  .look-hero h1 {
    font-size: clamp(44px, 16vw, 68px);
  }

  .look-hero-image {
    transform: none;
  }

  .look-playbook-grid {
    grid-template-columns: 1fr;
  }

  .look-playbook-grid article {
    min-height: 170px;
  }

  .product-list-intro h1,
  .digicolor-single-copy h2 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .digicolor-single-media {
    grid-template-columns: 1fr;
  }

  .preset-product-page,
  .product-list,
  .product-list-intro {
    padding-right: 16px;
    padding-left: 16px;
  }

  .preset-buy-panel {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .policy-hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-card {
    min-height: 0;
  }

  .guide-grid,
  .path-grid,
  .model-grid,
  .model-subbrand-grid,
  .kit-grid,
  .accessory-visual-grid,
  .reader-list {
    grid-template-columns: 1fr;
  }

  .accessory-section-head h2 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .accessory-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.5vw, 42px);
  }

  .accessory-hero .word-tag {
    padding-right: 8px;
    padding-left: 8px;
  }

  .accessory-hero,
  .accessory-section {
    overflow: hidden;
  }

  .accessory-hero {
    display: block;
  }

  .accessory-hero-copy {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .accessory-hero .hero-lede {
    max-width: 100%;
  }

  .accessories-page .site-header,
  .accessories-page main,
  .accessories-page .page-hero,
  .accessories-page .page-section,
  .accessories-page .nav,
  .accessory-hero,
  .accessory-hero-copy,
  .accessory-hero-art,
  .accessory-figure {
    min-width: 0;
  }

  .accessories-page .site-header,
  .accessories-page main,
  .accessories-page .page-hero,
  .accessories-page .page-section {
    width: min(100vw, 390px);
    max-width: 390px;
  }

  .accessory-hero-art,
  .accessory-figure {
    justify-self: stretch;
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .accessory-hero-art {
    margin-top: 32px;
  }

  .accessory-hero-art,
  .accessory-figure,
  .accessory-row {
    box-shadow: 4px 4px 0 var(--ink);
  }

  .accessory-row-media {
    min-height: 118px;
  }

  .camera-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .camera-hero-facts {
    grid-template-columns: 1fr;
  }

  .camera-detail-hero,
  .camera-detail-title,
  .camera-detail-image {
    min-width: 0;
  }

  .camera-detail-hero {
    padding-right: 24px;
    padding-left: 24px;
  }

  .camera-detail-image {
    width: min(100%, calc(100vw - 58px));
    box-shadow: 6px 6px 0 rgba(16, 16, 18, 0.88);
  }

  .camera-sample-jump {
    width: min(100%, calc(100vw - 48px));
    justify-content: center;
    margin-top: 16px;
  }

  .camera-member-section {
    padding: 26px 16px 46px;
  }

  .camera-member-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin-bottom: 14px;
  }

  .camera-member-tab {
    min-width: 0;
    padding: 0 7px 2px;
    font-size: clamp(9px, 2.9vw, 11px);
    line-height: 1.08;
    white-space: normal;
  }

  .camera-member-tab span {
    min-width: 18px;
    height: 18px;
    margin-left: 4px;
    border-radius: 4px;
    font-size: 9px;
  }

  .member-note-lock {
    min-height: 540px;
    margin-top: 14px;
  }

  .secret-note-preview {
    gap: 8px;
    padding: 10px 10px 168px;
  }

  .secret-note-locked-continuation {
    max-height: 230px;
    gap: 8px;
    filter: blur(2px);
  }

  .secret-note-overlay {
    top: clamp(270px, 58%, 330px);
    width: min(94%, 360px);
    padding: 14px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .secret-note-overlay .member-note-status {
    font-size: clamp(17px, 5.2vw, 21px);
  }

  .secret-note-button {
    min-height: 44px;
    padding: 0 12px;
    font-size: clamp(10px, 3.2vw, 12px);
  }

  .secret-note-signin-link {
    font-size: clamp(10px, 3vw, 12px);
  }

  .sample-photo-lock {
    min-height: 0;
    padding: 18px 14px;
  }

  .sample-photo-lock h2,
  .sample-photo-heading h2 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 0.98;
  }

  .sample-photo-lock p,
  .sample-photo-heading p {
    font-size: clamp(15px, 4.2vw, 17px);
  }

  .sample-membership-packs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .sample-membership-intro {
    grid-column: 1 / -1;
  }

  .sample-membership-intro h3 {
    font-size: clamp(18px, 5vw, 22px);
  }

  .sample-membership-intro p {
    font-size: 13px;
  }

  .sample-photo-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sample-photo-actions .button,
  .sample-photo-actions .secret-note-signin-link {
    width: 100%;
  }

  .member-email-panel {
    width: min(100%, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    overflow: auto;
    padding: 16px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .member-email-panel h3 {
    padding-right: 46px;
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1;
  }

  .checkout-modal-head strong {
    font-size: clamp(28px, 8vw, 34px);
  }

  /* Three tiles across a phone: each line of a tile stays on one line. */
  .checkout-modal-panel .sample-membership-pack {
    align-content: start;
    padding: 9px 7px;
  }

  .checkout-modal-panel .sample-membership-pack span,
  .checkout-modal-panel .sample-membership-pack strong {
    white-space: nowrap;
  }

  .checkout-modal-panel .sample-membership-pack span {
    font-size: 10px;
  }

  .checkout-modal-panel .sample-membership-pack strong {
    font-size: 20px;
  }

  .visitor-signup-prompt {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
    padding: 14px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .visitor-signup-prompt h2 {
    font-size: clamp(24px, 7.5vw, 30px);
    line-height: 1;
  }

  .visitor-signup-prompt p {
    font-size: clamp(16px, 4.5vw, 18px);
    line-height: 1.22;
  }

  .visitor-prompt-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-photo-unlocked {
    grid-template-columns: minmax(0, 1fr);
  }

  .sample-photo-grid {
    --sample-row-height: min(56vw, 320px);
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .sample-photo-grid::-webkit-scrollbar {
    display: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .sample-photo-grid {
      scroll-behavior: smooth;
    }
  }

  .sample-photo-card {
    flex: 0 0 auto;
    max-width: 94%;
    margin: 0;
    cursor: pointer;
    scroll-snap-align: start;
  }

  .sample-photo-card img {
    width: auto;
    height: var(--sample-row-height);
    pointer-events: auto;
  }

  .sample-photo-loading {
    flex: 0 0 72%;
    height: var(--sample-row-height);
    min-height: 0;
  }

  .sample-preview {
    --sample-row-height: min(56vw, 320px);
  }

  .sample-preview-frame {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sample-preview-grid {
    overflow: hidden;
  }

  /* A wide free photo shrinks (never cropped) so the tiles and the CTA keep room. */
  .sample-preview .sample-preview-clear {
    width: min(calc(var(--sample-row-height) / var(--preview-ratio, 1.3333)), 62%);
    cursor: default;
  }

  .sample-preview .sample-preview-clear img {
    width: 100%;
    height: auto;
  }

  .sample-preview-locked {
    cursor: default;
  }

  .sample-preview-cta {
    left: calc(min(calc(var(--sample-row-height) / var(--preview-ratio, 1.3333)), 62%) + 10px);
    height: var(--sample-row-height);
  }

  .sample-photo-error {
    flex: 1 1 100%;
  }

  .sample-photo-credit-overlay {
    max-height: 100%;
    overflow-y: auto;
  }

  .sample-row-arrow:not([hidden]) {
    display: grid;
    place-items: center;
    position: sticky;
    z-index: 3;
    flex: 0 0 40px;
    align-self: center;
    width: 40px;
    height: 40px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 16, 18, 0.62);
    color: var(--paper);
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
  }

  .sample-photo-grid:has(.sample-credit-open) .sample-row-arrow {
    visibility: hidden;
  }

  /* The 40px button plus the 10px row gap: the arrows take up no space in the row. */
  .sample-row-prev {
    left: 6px;
    margin-right: -50px;
  }

  .sample-row-next {
    right: 6px;
    margin-left: -50px;
  }

  .search-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .search-field button {
    min-height: 44px;
    border-top: 0;
    border-left: 2px solid var(--ink);
    padding: 0 12px;
  }

  .brand-select-wrap,
  .search-query-wrap {
    min-width: 0;
    width: 100%;
  }

  .brand-select,
  .search-field input,
  .search-field button {
    min-height: 50px;
  }

  .search-field input {
    padding: 0 14px;
    font-size: clamp(16px, 4.7vw, 19px);
  }

  .model-card {
    grid-template-columns: clamp(76px, 24vw, 104px) minmax(0, 1fr);
    gap: 12px;
    min-height: 126px;
    padding: 12px;
  }

  .model-thumb {
    padding: 6px;
  }

  .model-card strong {
    font-size: clamp(18px, 6vw, 24px);
  }

  .guide-card {
    min-height: 260px;
  }

  .viewfinder {
    min-height: 330px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .exif.t1 { left: 6px; }
  .exif.t2 { right: 6px; }
  .exif.t3 { left: 6px; }
  .exif.t4 { right: 12px; }

  .vf-bottom {
    flex-direction: column;
  }

  .preset-card {
    min-height: 360px;
    transform: none;
  }

  .digicolor-product-hero img {
    width: 100%;
    box-shadow: 4px 4px 0 var(--ink);
    transform: none;
  }

  .digicolor-pack-card {
    box-shadow: 4px 4px 0 var(--ink);
  }

  .digicolor-photo {
    min-height: 210px;
  }

  .drop-label {
    right: 8px;
    bottom: -28px;
  }
}

/* Camera affiliate accessory module — matches site card style */
.camera-affiliate-section {
  display: grid;
  gap: 8px;
}
.affiliate-disclosure {
  margin: 0;
  font-size: 0.68rem;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink-soft);
}
.camera-affiliate-section h2 {
  margin-bottom: 4px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.2;
}
.camera-affiliate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}
.camera-affiliate-card {
  display: grid;
  gap: 6px;
  align-content: start;
  border: 2px solid var(--ink);
  padding: clamp(14px, 2vw, 20px);
  background: var(--paper-2);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
/* Cards with no small print share a row with taller ones; centre their two lines
   instead of leaving an empty line at the bottom. */
.camera-affiliate-card:not(:has(small)) {
  align-content: center;
}
.camera-affiliate-card:hover,
.camera-affiliate-card:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.camera-affiliate-card span {
  font-weight: 700;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.18;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.affiliate-merchant {
  font-size: 0.68rem;
  font-style: italic;
  line-height: 1.2;
  color: var(--ink-soft);
}
.camera-affiliate-card small {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .camera-affiliate-section {
    padding: 26px 16px 46px;
  }

  .camera-affiliate-grid {
    grid-template-columns: 1fr;
  }
}


.dream-camera { padding: 28px var(--site-gutter) 64px; min-height: 72vh; overflow-x: clip; max-width: 1180px; margin-inline: auto; box-sizing: border-box; }
/* Owner 2026-11-05: quiz sits centered at every width. */
.dream-camera h1 { text-align: center; margin-inline: auto !important; }
.dream-choices, .dream-brands, .dream-result-actions { margin-inline: auto; justify-content: center; }
.dream-comparison-scroll { margin-inline: auto; width: fit-content; max-width: 100%; }
.dream-toolbar-start { display: flex; gap: 10px; }
/* Owner 2026-11-07: Back stays left, Start over sits at the right end of the same row. */
.dream-toolbar-start { flex: 1; }
.dream-toolbar-start [data-dream-toolbar-restart] { margin-left: auto; }
.dream-toolbar .button { background: var(--ink); color: var(--paper); }
.dream-toolbar .dream-shortlist-toggle { display: none; }
.camera-detail-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.camera-detail-actions .camera-sample-jump { width: 100%; min-width: 0; margin-top: 0; padding-inline: 10px; overflow-wrap: anywhere; text-align: center; }
.camera-detail-actions .camera-shortlist-add { background: var(--ink); color: var(--paper); }
.camera-shortlist-add:disabled { cursor: default; }
.dream-camera .dream-shortlist-add:disabled { opacity: .4; cursor: default; transform: none; box-shadow: none; }
.dream-pass-wall { max-width: 640px; margin: 0 auto 24px; padding: 20px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); text-align: center; }
.dream-pass-wall h2 { margin: 0 0 6px; font-size: 22px; }
.dream-pass-wall p { margin: 0 0 14px; }
.dream-pass-wall .sample-membership-packs { justify-content: center; }
.dream-pass-note { margin: 12px 0 0 !important; font-size: 12px; color: var(--muted); }
.dream-locked-photo { position: relative; isolation: isolate; width: 100%; height: 118px; margin-bottom: 14px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, var(--paper-2), var(--paper)); box-shadow: 0 10px 26px rgba(16, 16, 18, 0.10), 0 1px 2px rgba(16, 16, 18, 0.08); }
/* Owner 2026-11-07: macOS-style vibrancy in the site cream (--paper glass, --paper-2 highlight). */
.dream-locked-camera { position: absolute; inset: 6px 8%; width: 84%; height: calc(100% - 12px); }
.dream-locked-glass { position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, 0.38); -webkit-backdrop-filter: blur(5px) saturate(160%); backdrop-filter: blur(5px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 1px 0 var(--paper-2); }
.dream-locked-glyph { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; padding: 6px; box-sizing: border-box; border-radius: 50%; color: var(--ink-soft); background: rgba(255, 255, 255, 0.85); box-shadow: 0 1px 3px rgba(16, 16, 18, 0.12); }
.dream-locked h2 { color: var(--muted); }
.dream-checking { text-align: center; color: var(--muted); padding: 40px 0; }
.dream-locked-value { display: block; height: 12px; width: 70%; border-radius: 3px; background: rgba(16,16,18,.14); }
.auth-shell .header-shortlist { min-height: 34px; padding: 0 14px; border: 2px solid var(--nav-fg); border-radius: 6px; background: transparent; color: var(--nav-fg); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 900; text-transform: uppercase; box-shadow: none; cursor: pointer; }
.auth-account-menu { position: relative; border: 0; background: transparent; }
.auth-account-menu[hidden] { display: none; }
.auth-account-menu > summary { list-style: none; border: 0; min-height: 38px; }
.auth-account-menu > summary:focus { outline: none; }
.auth-account-menu > summary:focus-visible { outline: 3px solid var(--nav-accent); outline-offset: 3px; }
.auth-account-menu > summary::-webkit-details-marker { display: none; }
.auth-account-menu > summary::after { content: none; }
.auth-account-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; display: grid; width: 100%; min-width: 0; padding: 6px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); }
.auth-account-panel a, .auth-account-panel button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; text-align: left; text-decoration: none; cursor: pointer; }
.auth-account-panel a:hover, .auth-account-panel button:hover { background: rgba(16,16,18,.08); }
.auth-shell .header-shortlist:hover { transform: none; box-shadow: none; border-color: var(--nav-accent); }
.dream-camera .dream-shortlist-add { width: 100%; background: var(--ink); color: var(--paper); }
/* Cards use 3D transforms; keep them in their own layer under the sticky toolbar. */
[data-dream-screen] { position: relative; z-index: 0; isolation: isolate; }
.dream-camera [hidden] { display: none !important; }
.dream-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; margin-bottom: 20px; background: var(--paper); }
.dream-shortlist-toggle { margin-left: auto; }
.dream-camera h1 { font-size: 42px; line-height: 1.12; letter-spacing: 0; max-width: 780px; margin: 0 0 28px; scroll-margin-top: 90px; }
.dream-camera h1:focus { outline: none; }
.dream-brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.dream-brand { font: inherit; font-size: .85rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1.5px solid #101012; background: transparent; color: #101012; cursor: pointer; }
.dream-brand span { opacity: .6; font-weight: 500; }
.dream-brand.is-active { background: var(--ink); color: #fff; }
.dream-result-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.dream-camera .button { white-space: normal; text-align: left; min-height: 48px; max-width: 100%; }
.dream-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1080px; }
.dream-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
.dream-styles { max-width: 720px; }
.dream-styles { padding: 14px 8px 22px; gap: 30px; perspective: 1000px; }
.dream-three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; }
.dream-styles > .photo-credit { --rest-rotate: -2deg; --deal-x: 45%; position: relative; }
.dream-styles > .photo-credit:nth-child(2) { --rest-rotate: 2.5deg; --deal-x: -45%; padding-top: 14px; }
.dream-three > .photo-credit:nth-child(2) { --rest-rotate: .5deg; --deal-x: 0%; }
.dream-three > .photo-credit:nth-child(3) { --rest-rotate: 2deg; --deal-x: -45%; }
.dream-styles .dream-choice {
  touch-action: pan-y;
  user-select: none;
  transform: rotate(var(--rest-rotate));
  transform-origin: 50% 80%;
  animation: dream-deal 520ms cubic-bezier(.2,.8,.2,1) backwards;
  animation-delay: calc(var(--reveal-order) * 120ms);
  transition: transform 420ms cubic-bezier(.2,1.5,.4,1), opacity 180ms ease, box-shadow 180ms ease;
}
.dream-choice img { pointer-events: none; -webkit-user-drag: none; }
.dream-styles .dream-choice:hover { transform: translateY(-5px) rotate(0); }
.dream-styles .dream-choice.is-dragging {
  z-index: 5; cursor: grabbing; animation: none; transition: none;
  transform: translate(var(--drag-x, 0px), var(--drag-y, 0px)) rotate(var(--drag-rotate, 0deg));
}
.dream-styles .dream-choice.is-returning { animation: none; transform: rotate(var(--rest-rotate)); }
.dream-choice.is-chosen { z-index: 6; animation: none; transform: scale(1.055) rotate(0); transition: transform 160ms ease-out; }
.dream-styles .dream-choice.is-chosen { transform: scale(1.055) rotate(0); }
.dream-choice.is-discarded { pointer-events: none; animation: dream-discard 320ms ease-in forwards; }
.dream-styles .dream-choice.is-discarded { animation: dream-discard 320ms ease-in forwards; }
@keyframes dream-deal {
  from { opacity: 0; transform: translate(var(--deal-x), 48px) rotate(-12deg) scale(.88); }
  to { opacity: 1; transform: rotate(var(--rest-rotate)); }
}
@keyframes dream-discard {
  to { opacity: 0; transform: translateX(calc((var(--reveal-order) * 2 - 1) * 115vw)) rotate(18deg); }
}
.photo-credit { position: relative; min-width: 0; }
.photo-credit > .dream-choice { display: block; width: 100%; }
.photo-credit-toggle { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.48); color: #fff; font-size: 22px; cursor: pointer; }
.photo-credit-strip { position: absolute; inset: auto 2px 2px; padding: 8px 10px; background: rgba(0,0,0,.78); color: #fff; font-size: 12px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; pointer-events: none; transition: opacity 150ms ease; }
.photo-credit[data-credit-open] .photo-credit-strip { opacity: 1; }
@media (hover: hover) { .photo-credit:hover .photo-credit-strip { opacity: 1; } }
.policy-credits { margin-top: 28px; font-size: 12px; line-height: 1.5; }
.policy-credits h2 { font-size: 18px; margin: 0 0 8px; }
.policy-credits ul { margin: 0; padding-left: 18px; }
.policy-credits li { margin-top: 6px; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .photo-credit-strip { transition: none; } }
.dream-choice { position: relative; min-width: 0; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 2px solid var(--ink); border-radius: 6px; background: var(--ink); box-shadow: 4px 4px 0 var(--ink); color: #fff; text-align: left; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; animation: dream-card-enter 360ms backwards; animation-delay: calc(var(--reveal-order) * 100ms); }
.dream-choice:hover { transform: translate(-2px, -3px); box-shadow: 6px 7px 0 var(--ink); }
.dream-choice:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.dream-choice:focus-visible, .dream-camera button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.dream-choice img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.dream-choice-contain img { height: calc(100% - 64px); object-fit: contain; }
.dream-choice-contain .dream-card-caption { height: 64px; padding: 10px 12px; display: flex; align-items: center; background: var(--ink); }
.dream-choice-contain .dream-card-caption strong { margin: 0; }
.dream-card-caption { position: absolute; inset: auto 0 0; display: block; padding: 64px 16px 18px; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.dream-card-caption strong { display: block; margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.dream-card-caption > span { display: block; font-size: 15px; line-height: 1.4; }
.dream-comparison-scroll { max-width: 100%; overflow-x: auto; margin-bottom: 24px; overscroll-behavior-x: contain; }
.dream-comparison-scroll:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.dream-comparison { --field-width: 120px; --camera-width: 180px; width: 100%; min-width: calc(var(--field-width) + var(--camera-count) * var(--camera-width)); table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.45; text-align: left; }
.dream-comparison .dream-field-column { width: var(--field-width); }
.dream-comparison th, .dream-comparison td { padding: 12px 16px; vertical-align: top; border-bottom: 1px solid rgba(16,16,18,.22); overflow-wrap: anywhere; }
.dream-comparison tr > th:first-child { position: sticky; left: 0; z-index: 2; background: var(--paper); border-right: 1px solid rgba(16,16,18,.22); padding-left: 0; font-weight: 700; }
.dream-comparison thead th { padding-top: 0; }
.dream-camera-heading { animation: dream-reveal 450ms both; animation-delay: calc(var(--reveal-order) * 160ms); }
.dream-camera-heading img { display: block; width: 100%; height: 118px; object-fit: contain; margin-bottom: 14px; padding: 6px; border: 2px solid var(--ink); background: var(--frame-bg, #fff); box-sizing: border-box; }
.dream-camera-heading h2 { font-size: 18px; margin: 0 0 6px; line-height: 1.25; letter-spacing: 0; }
.dream-camera-heading h2 a { color: inherit; text-decoration: none; }
.dream-camera-heading h2 a:hover { text-decoration: underline; }
.dream-camera-heading [data-shortlist-slot] { margin-top: 14px; }
.dream-camera-heading .button { width: 100%; padding: 8px 10px; min-height: 44px; font-size: 12px; }
.dream-shortlist-dialog { width: min(640px, calc(100% - 32px)); max-height: 80vh; padding: 24px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; }
.dream-shortlist-dialog::backdrop { background: rgba(16,16,18,.65); }
.dream-shortlist-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dream-shortlist-heading h2 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: 0; }
.dream-saved-cameras { list-style: none; padding: 0; margin: 0; }
.dream-saved-cameras li { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(16,16,18,.22); }
.dream-saved-cameras img { width: 72px; height: 54px; object-fit: contain; padding: 3px; border: 2px solid var(--ink); background: var(--frame-bg, #fff); box-sizing: border-box; }
.dream-saved-cameras a { overflow-wrap: anywhere; color: inherit; font-weight: 700; }
.dream-saved-cameras .button { min-height: 44px; padding: 8px 12px; font-size: 12px; }
.dream-status { font-size: 14px; margin-top: 22px; }
.dream-camera button:disabled { opacity: .55; cursor: default; }
.dream-members-content { margin-top: 32px; scroll-margin-top: 90px; }
.dream-members-content > section { margin: 24px 0; }
.dream-members-content h2 { font-size: 26px; line-height: 1.2; letter-spacing: 0; margin: 0 0 16px; overflow-wrap: anywhere; }
.dream-members-content .owner-note-grid { max-width: none; }
[data-dream-screen] { transition: opacity 180ms ease, transform 180ms ease; }
[data-dream-screen].dream-leaving { opacity: 0; transform: translateX(-24px); pointer-events: none; }
@keyframes dream-card-enter { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes dream-reveal { from { opacity: 0; transform: perspective(900px) translateY(14px) rotateX(14deg); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .dream-camera { padding: 22px 16px 46px; }
  .dream-camera h1 { font-size: 30px; }

  .dream-toolbar .button { padding: 10px 14px; font-size: 13px; }
  .dream-shortlist-dialog { padding: 16px; }
  .dream-saved-cameras li { grid-template-columns: 52px minmax(0,1fr); gap: 12px; }
  .dream-saved-cameras img { width: 52px; height: 44px; }
  .dream-saved-cameras .button { grid-column: 2; justify-self: start; }
  .dream-choices { gap: 14px; }
  .dream-styles { gap: 16px; padding: 10px 4px 20px; }
  .dream-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dream-three > .photo-credit:nth-child(3):last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 15px); }
  .dream-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dream-card-caption { padding: 50px 10px 12px; }
  .dream-card-caption strong { font-size: 18px; }
  .dream-card-caption > span { font-size: 12px; }
  .dream-comparison { --field-width: 88px; --camera-width: 158px; font-size: 13px; }
  .dream-comparison th, .dream-comparison td { padding: 10px 12px; }
  .dream-camera-heading img { height: 96px; }
  .dream-camera-heading h2 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .dream-camera *, [data-dream-screen] .dream-choices { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .dream-styles .dream-choice { transform: none !important; animation: dream-fade 150ms ease both !important; }
  .dream-choice.is-discarded { opacity: 0; transition: opacity 150ms ease !important; transform: none !important; }
  .dream-styles .dream-choice.is-discarded { animation: dream-fade-out 150ms ease forwards !important; }
}
@keyframes dream-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dream-fade-out { from { opacity: 1; } to { opacity: 0; } }

.apps-wall {
  padding: 24px var(--site-gutter) 72px;
  background: #f7f8fa;
}
.apps-wall-intro { max-width: 760px; margin-bottom: 36px; }
.apps-wall-intro h2 { margin: 0 0 16px; font-size: 36px; line-height: 1.08; font-weight: 760; letter-spacing: 0; }
.apps-wall-intro p { font-size: 18px; line-height: 1.55; margin: 0; color: var(--ink-soft); }
.apps-wall-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.apps-wall-card { min-width: 0; background: #fff; border: 1px solid #d6d9df; border-radius: 8px; }
.apps-wall-card > a { display: flex; flex-direction: column; height: 100%; padding: 26px; text-decoration: none; color: var(--ink); }
.apps-wall-card > a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.apps-wall-card:hover { border-color: var(--blue); }
.apps-wall-card img { width: 88px; height: 88px; object-fit: contain; border-radius: 18px; margin-bottom: 22px; }
.apps-wall-card h2 { font-size: 21px; line-height: 1.3; margin: 0 0 12px; letter-spacing: 0; overflow-wrap: anywhere; }
.apps-wall-card p { margin: 0 0 28px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.apps-wall-card-action { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.apps-wall-free { font-size: 13px; color: #5e646e; }
.apps-shoot-section, .apps-video-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid #d6d9df; }
.apps-video-section .apps-wall-intro { margin-bottom: 24px; }
.apps-post-section > h1 { margin: 0 0 16px; font-size: 52px; font-weight: 760; line-height: 1.15; letter-spacing: 0; }
.apps-post-app { display: flex; align-items: flex-start; gap: 22px; max-width: 760px; }
.apps-post-app > img { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 18px; }
.apps-post-app > div { min-width: 0; overflow-wrap: anywhere; }
.apps-post-app h3 { font-size: 22px; line-height: 1.3; margin: 0 0 10px; }
.apps-post-app p { font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.apps-post-action { display: flex; gap: 24px; align-items: center; }
.framestill-wall { margin-top: 28px; display: flex; gap: 16px; }
.framestill-wall-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.framestill-wall img { display: block; width: 100%; height: auto; background: transparent; }
.apps-wall-get { font-size: 14px; font-weight: 700; color: var(--blue); padding-bottom: 3px; border-bottom: 1px solid currentColor; }
@media (max-width: 880px) {
  .apps-wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .apps-wall { padding: 28px 16px 46px; }
  .apps-post-section > h1 { font-size: 36px; }
  .apps-wall-intro h2 { font-size: 28px; }
  .apps-wall-intro p { font-size: 16px; }
  .apps-wall-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .apps-wall-card > a { padding: 24px; }
  .apps-shoot-section, .apps-video-section { margin-top: 24px; padding-top: 24px; }
  .apps-post-app { gap: 16px; }
  .apps-post-app > img { width: 64px; height: 64px; flex-basis: 64px; }
  .apps-post-app h3 { font-size: 20px; }
  .framestill-wall { flex-wrap: wrap; gap: 10px; }
  .framestill-wall-col { flex: 1 1 calc(50% - 5px); gap: 10px; }
  .nav a.apps-nav { display: none; }
}

/* CC sample provenance, shared by the gallery and mobile viewer. */
.sample-photo-credit { display: block; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.sample-photo-credit a { color: inherit; text-decoration: underline; }
.sample-lightbox-count .sample-photo-credit { margin-top: 4px; }

/* Gallery: the credit lives in a thin glass bar over the photo's bottom edge.
   Hidden until hover/focus (or the touch toggle); always in the DOM for CC BY compliance. */
.sample-photo-card-cc {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.sample-photo-credit-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 4px 8px;
  background: rgba(16, 16, 18, 0.62);
  color: var(--paper);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.sample-photo-credit-overlay .sample-photo-credit {
  color: var(--paper);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.sample-photo-card-cc.sample-credit-open .sample-photo-credit-overlay {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (hover: hover) {
  .sample-photo-card-cc:hover .sample-photo-credit-overlay,
  .sample-photo-card-cc:focus-within .sample-photo-credit-overlay {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* Touch fallback: tiny "i" badge toggles the credit bar where hover does not exist. */
.sample-photo-credit-toggle {
  display: none;
}

@media (hover: none) {
  .sample-photo-credit-toggle {
    display: grid;
    place-items: center;
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 16, 18, 0.62);
    color: var(--paper);
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

/* Collapse navigation before the signed-in header can run out of room. */
@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    width: 100%;
    align-items: center;
    grid-auto-rows: 32px;
    padding: 10px var(--site-gutter);
  }

  .brand {
    height: 32px;
    min-width: 0;
    align-items: center;
    align-self: center;
    gap: 8px;
    font-size: clamp(18px, 5.2vw, 21px);
    line-height: 1;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    order: 0;
    width: auto;
    justify-self: end;
    justify-content: end;
    align-self: center;
    align-items: center;
    gap: 0;
    padding: 0;
    font-size: 10px;
  }

  .auth-shell {
    display: none;
  }

  .header-instagram-link {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .header-instagram-link svg {
    width: 20px;
    height: 20px;
  }

  .auth-button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  .nav a,
  .nav-menu summary {
    width: auto;
    min-height: 32px;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .nav-label-desktop,
  .nav a.dream-camera-nav,
  .nav a.sample-photos-nav,
  .nav a.digicolor-nav,
  .nav a.apps-nav {
    display: none;
  }

  .nav-label-mobile {
    display: none;
  }

  .nav .mobile-menu-only {
    display: inline-flex;
  }

  .nav .mobile-menu-only[hidden] {
    display: none;
  }

  .nav .mobile-menu-auth {
    display: inline-flex;
  }

  .header-instagram-link,
  .nav-menu summary {
    width: 32px;
    height: 32px;
    align-items: center;
    align-self: center;
    justify-content: center;
    justify-self: end;
  }

  .nav-menu summary {
    position: relative;
    min-width: 32px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .nav-menu summary::before {
    transform: translateY(-8px);
    width: 24px;
    height: 3px;
    background: var(--nav-fg);
    box-shadow: 0 8px 0 var(--nav-fg), 0 16px 0 var(--nav-fg);
    content: "";
  }

  .nav-menu summary::after {
    content: none;
  }

  .nav-menu-panel {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(86vw, 240px);
    min-width: 0;
    gap: 6px;
    box-shadow: 5px 5px 0 rgba(23, 25, 24, 0.35);
  }

  .nav-menu-panel a {
    width: 100%;
    min-height: 36px;
    justify-content: start;
    padding: 8px 10px;
  }

  .mobile-menu-auth {
    width: 100%;
    min-height: 36px;
    justify-content: start;
    border: 0;
    padding: 8px 10px;
    background: transparent;
    color: var(--nav-fg);
    cursor: pointer;
    font: inherit;
    text-align: left;
    text-transform: uppercase;
  }

}

.site-shortlist-page > h1 { margin-bottom: 32px; }
.site-shortlist-page [data-site-shortlist-status]:empty { display: none; }
[data-shortlist-limit] a { color: var(--ink); text-decoration: underline; }
.site-shortlist-page .dream-comparison { min-width: 0; table-layout: auto; hyphens: auto; }
.site-shortlist-page .dream-comparison tr > :first-child { position: static; width: 1%; white-space: nowrap; }
.site-shortlist-page .dream-comparison tr > :not(:first-child) { width: calc(99% / var(--camera-count)); }
.site-shortlist-page .dream-shortlist-row .button { width: 100%; min-width: 0; padding: 8px 0; white-space: normal; overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .site-shortlist-page .dream-comparison { font-size: calc(15px - var(--camera-count) * 1px); }
  .site-shortlist-page .dream-comparison th, .site-shortlist-page .dream-comparison td { padding: 8px 2px; }
  .site-shortlist-page .dream-comparison tr > :first-child { padding-right: 6px; }
  .site-shortlist-page .dream-camera-heading h2 { font-size: inherit; }
  .site-shortlist-page .dream-camera-heading img { height: 60px; }
  .site-shortlist-page .dream-shortlist-row .button { font-size: inherit; }
}

/* Owner 2026-11-16: every camera photo sits centred in a square frame — model page hero,
   next-step cards and camera list thumbs alike. The <img> fills the square box with
   object-fit: contain; photos whose own margins are uneven get a per-file --img-shift from
   scripts/build-camera-image-centering.py (block at the end of this file). */
main.article-page .camera-row .camera-detail-image,
main.camera-detail-page .camera-detail-hero .camera-detail-image,
main.camera-detail-page .camera-detail-hero .camera-detail-image.image-portrait {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: min(100%, 440px);
  --frame-pad: 7%;
}
main.article-page .camera-row .camera-detail-image.image-low-res,
main.camera-detail-page .camera-detail-hero .camera-detail-image.image-low-res {
  --frame-pad: 20%;
}
/* Absolute inset, not percentage max-height: inside an aspect-ratio grid frame a percentage
   height can fail to resolve, and a tall photo then overflowed and was clipped at the bottom
   (the "photo sits low" report). The inset box is always the square minus equal padding. */
main.article-page .camera-row .camera-detail-image img,
main.camera-detail-page .camera-detail-hero .camera-detail-image img {
  position: absolute;
  top: var(--frame-pad);
  left: var(--frame-pad);
  width: calc(100% - 2 * var(--frame-pad));
  height: calc(100% - 2 * var(--frame-pad));
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
main.article-page .camera-row .camera-detail-image img,
.model-thumb img,
.camera-next-step-thumb img,
main.camera-detail-page .camera-detail-hero .camera-detail-image img {
  translate: var(--img-shift, 0 0);
}

/* Model page next step (bounce analysis items 2 + 3): battery and memory card in the hero,
   and one row of big cards under the specs — this camera's battery and card, plus the
   nearby models the FAQ already names. Built by scripts/apply-model-next-step.mjs. */
.camera-hero-facts li {
  min-width: 0;
}
.camera-hero-facts strong {
  overflow-wrap: anywhere;
}
.camera-next-step {
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 84px);
  border-bottom: 1px solid rgba(16, 16, 18, 0.22);
}
.camera-next-step h2 {
  margin: 0 0 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}
.camera-next-step-row {
  display: grid;
  grid-template-columns: repeat(var(--next-step-count, 4), minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0;
  padding: 0 8px 8px 0;
  list-style: none;
}
.camera-next-step-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  height: 100%;
  border: 2px solid var(--ink);
  padding: 14px;
  background: var(--paper-2);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.camera-next-step-card:hover,
.camera-next-step-card:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.camera-next-step-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  padding: 8%;
  background: #fff;
  overflow: hidden;
}
.camera-next-step-thumb img {
  position: absolute;
  top: 8%;
  left: 8%;
  display: block;
  width: 84%;
  height: 84%;
  object-fit: contain;
  object-position: center;
}
/* No photo of this exact battery or card: the frame carries the part name instead. */
.camera-next-step-thumb-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
}
.camera-next-step-card strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1;
  overflow-wrap: anywhere;
}
.camera-next-step .affiliate-disclosure {
  margin-top: 14px;
}
@media (max-width: 880px) {
  .camera-next-step-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
  }
  .camera-next-step-row > li {
    flex: 0 0 min(58vw, 240px);
    scroll-snap-align: start;
  }
}
@media (max-width: 640px) {
  .camera-next-step {
    padding: 26px 16px 34px;
  }
  .camera-next-step-card strong {
    font-size: clamp(18px, 5.4vw, 22px);
  }
  .camera-next-step-thumb-text {
    font-size: clamp(24px, 7.4vw, 30px);
  }
  /* Item 3: the answer the title promises (battery, memory card) and the sample button sit in
     the first phone screen; year and sensor stay one scroll down in the specs table. */
  main.camera-detail-page .camera-detail-hero {
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 28px;
  }
  main.camera-detail-page .camera-detail-hero .camera-detail-image,
  main.camera-detail-page .camera-detail-hero .camera-detail-image.image-portrait {
    width: min(100%, 230px);
    justify-self: center;
    --frame-pad: 6%;
  }
  main.camera-detail-page .camera-detail-hero .camera-detail-image.image-low-res {
    --frame-pad: 18%;
  }
  main.camera-detail-page .camera-title-stack {
    font-size: 38px;
  }
  .camera-hero-facts:has([data-hero-fact]) {
    margin-top: 18px;
  }
  .camera-hero-facts:has([data-hero-fact] + [data-hero-fact]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .camera-hero-facts:has([data-hero-fact]) li:not([data-hero-fact]) {
    display: none;
  }
}

/* HOMEPAGE LIVELY (owner 2026-11-25): centred hero copy with camera stickers
   on both sides that swap through camera cutouts (home.js), float and follow
   the mouse; the cameras sit in their own grid columns so they never cover the
   text. Below the hero, camera shelves replace the old "Read before" cards.
   Lime stays an accent: the soft glow behind the text, shadows, highlights. */
@property --float {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.hero.home-hero {
  --mx: 0;
  --my: 0;
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(560px, 42vw, 820px)) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 40px);
  align-items: stretch;
  min-height: clamp(560px, 70vh, 740px);
  overflow: hidden;
  padding: clamp(28px, 3.6vw, 52px) var(--site-gutter);
  background: radial-gradient(ellipse min(46vw, 560px) min(34vw, 380px) at 50% 52%, rgba(176, 245, 89, 0.7) 0, rgba(176, 245, 89, 0.32) 48%, rgba(176, 245, 89, 0) 72%);
}

.home-hero .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  align-items: center;
  align-self: center;
  text-align: center;
}

.home-hero .home-hero-title {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(40px, 3.1vw, 60px);
}

.home-hero .home-hero-line {
  display: block;
}

.home-hero .home-hero-title [data-camera-count] {
  display: inline;
  font-variant-numeric: tabular-nums;
}

.home-hero .home-hero-subline {
  max-width: 540px;
  text-wrap: balance;
  margin-right: auto;
  margin-left: auto;
}

.home-hero .hero-actions {
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
}

.home-hero .hero-actions .button {
  padding: 0 20px;
}

/* "Sample photos": lime fill, black text (13.5:1), same pill as its neighbours. */
.home-hero .hero-actions .hero-samples-cta {
  border-color: var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.home-hero .hero-actions .hero-samples-cta:hover,
.home-hero .hero-actions .hero-samples-cta:focus-visible {
  background: #9ee048;
  box-shadow: 4px 4px 0 var(--ink);
}

.home-hero .camera-card {
  display: contents;
}

.home-hero .hero-side {
  position: relative;
  grid-row: 1;
  width: 100%;
  min-height: 100%;
  aspect-ratio: auto;
}

.home-hero .hero-side-left { grid-column: 1; }
.home-hero .hero-side-right { grid-column: 3; }

.home-hero .camera-sticker {
  --depth: 10px;
  max-height: 40%;
  translate: calc(var(--mx) * var(--depth)) calc(var(--my) * var(--depth) + var(--float));
  transition: opacity 0.38s ease, scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: hero-sticker-float 6s ease-in-out infinite;
  will-change: translate;
}

/* Left-side cameras anchor to the column edge next to the text (right: ...),
   right-side ones to the left edge, so they can bleed off the screen edge but
   never reach the text column. Sizes follow the viewport, not the column. */
.home-hero .hs-l1 { z-index: 2; top: 3%; right: 20%; width: clamp(110px, 12vw, 230px); transform: rotate(-7deg); --depth: 14px; animation-duration: 5.6s; animation-delay: -1.2s; }
.home-hero .hs-l2 { z-index: 3; top: 31%; right: 3%; width: clamp(150px, 17vw, 330px); max-height: 44%; transform: rotate(-3deg); --depth: 6px; animation-duration: 7.4s; }
.home-hero .hs-l3 { z-index: 4; top: 69%; right: 12%; width: clamp(110px, 12vw, 230px); transform: rotate(6deg); --depth: 18px; animation-duration: 5.2s; animation-delay: -3.4s; }
.home-hero .hs-l4 { z-index: 1; top: 12%; right: 68%; width: clamp(80px, 8.5vw, 160px); transform: rotate(8deg); --depth: 22px; animation-duration: 4.8s; animation-delay: -2.2s; }
.home-hero .hs-r1 { z-index: 2; top: 1%; left: 8%; width: clamp(72px, 7.5vw, 140px); max-height: 46%; transform: rotate(8deg); --depth: 16px; animation-duration: 6.4s; animation-delay: -2.6s; }
.home-hero .hs-r2 { z-index: 1; top: 13%; left: 46%; width: clamp(100px, 10.5vw, 200px); transform: rotate(-5deg); --depth: 22px; animation-duration: 5s; animation-delay: -0.8s; }
.home-hero .hs-r3 { z-index: 3; top: 41%; left: 4%; width: clamp(150px, 17vw, 330px); max-height: 42%; transform: rotate(3deg); --depth: 7px; animation-duration: 7s; animation-delay: -4s; }
.home-hero .hs-r4 { z-index: 4; top: 74%; left: 38%; width: clamp(90px, 9.5vw, 180px); transform: rotate(-6deg); --depth: 20px; animation-duration: 4.6s; animation-delay: -0.6s; }

.home-hero .camera-sticker.is-swapping {
  opacity: 0;
  scale: 0.8;
  transition: opacity 0.32s ease, scale 0.32s ease-in;
}

@keyframes hero-sticker-float {
  0%,
  100% { --float: 0px; }
  50% { --float: -9px; }
}

/* Narrow screens: headline first, then the cameras as an animated band. */
@media (max-width: 1024px) {
  .hero.home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 28px var(--site-gutter) 32px;
    background: radial-gradient(ellipse 62% 30% at 50% 72%, rgba(176, 245, 89, 0.7) 0, rgba(176, 245, 89, 0.3) 50%, rgba(176, 245, 89, 0) 74%);
  }

  .home-hero .hero-copy {
    grid-column: 1;
  }

  .home-hero .camera-card {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    height: clamp(230px, 46vw, 380px);
    border-radius: 0;
    background: none;
  }

  .home-hero .hero-side {
    grid-column: auto;
    grid-row: 1;
    min-height: 0;
    height: 100%;
  }

  /* One large G12 in the middle, two smaller cameras tucked beside it on each
     side. --big is half the G12 width; the small ones sit a fixed gap outside it. */
  .home-hero .camera-card { --big: min(52%, 210px); --small: min(36%, 150px); }
  .home-hero .camera-sticker { right: auto; left: auto; max-height: none; animation-duration: 7s; }
  .home-hero .hs-l4,
  .home-hero .hs-r2,
  .home-hero .hs-r3 { display: none; }
  .home-hero .hs-l2 { z-index: 3; top: 14%; left: calc(100% - var(--big)); width: calc(var(--big) * 2); transform: rotate(-2deg); --depth: 4px; }
  .home-hero .hs-l1 { top: 8%; right: calc(var(--big) + 14px); width: var(--small); transform: rotate(-6deg); }
  .home-hero .hs-l3 { top: 58%; right: calc(var(--big) + 14px); width: var(--small); transform: rotate(5deg); }
  .home-hero .hs-r1 { top: 2%; left: calc(var(--big) + 14px); width: calc(var(--small) * 0.62); transform: rotate(6deg); }
  .home-hero .hs-r4 { top: 58%; left: calc(var(--big) + 14px); width: var(--small); transform: rotate(-5deg); }
}

@media (max-width: 640px) {
  .hero.home-hero {
    gap: 10px;
    padding: 22px var(--site-gutter) 24px;
  }

  .home-hero .home-hero-title,
  .home-hero .home-hero-subline {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .home-hero .home-hero-title {
    font-size: clamp(28px, 7.9vw, 38px);
    text-wrap: balance;
  }

  .home-hero .home-hero-line + .home-hero-line {
    white-space: nowrap;
  }

  /* Three hero buttons: full-width pills stacked with tight gaps (a 1 + 2 split wrapped
     "Browse all cameras" onto two lines at 390px). */
  .home-hero .hero-actions {
    gap: 8px;
  }

  .home-hero .camera-card {
    order: 2;
    height: clamp(200px, 56vw, 280px);
    margin: 14px 0 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .camera-sticker {
    animation: none;
    translate: none;
    transition: none;
  }
}

.home-shelf {
  border-top: 2px solid var(--ink);
  padding: clamp(40px, 6vw, 72px) var(--site-gutter) clamp(48px, 6vw, 84px);
  background: var(--paper);
}

.home-shelf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.home-shelf-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 0.98;
}

.shelf-row + .shelf-row {
  margin-top: clamp(22px, 3vw, 34px);
}

.shelf-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.shelf-row-head h3 {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.shelf-row-nav {
  display: flex;
  gap: 8px;
}

.shelf-row-nav button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
}

.shelf-row-nav button:hover:not(:disabled),
.shelf-row-nav button:focus-visible {
  background: var(--lime);
}

.shelf-row-nav button:disabled {
  border-color: rgba(23, 25, 24, 0.25);
  color: rgba(23, 25, 24, 0.3);
  cursor: default;
}

/* The track is exactly the heading's container: cards clip at both container
   edges, and each edge fades only while more cards wait on that side. */
.shelf-track {
  --fade-left: 0px;
  --fade-right: 0px;
  display: grid;
  grid-auto-columns: 184px;
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 0 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-left), #000 calc(100% - var(--fade-right)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-left), #000 calc(100% - var(--fade-right)), transparent 100%);
}

.shelf-track.fade-left { --fade-left: 48px; }
.shelf-track.fade-right { --fade-right: 48px; }

.shelf-track::-webkit-scrollbar {
  display: none;
}

.shelf-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 10px 10px 12px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  scroll-snap-align: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.shelf-card:hover,
.shelf-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--lime);
}

.shelf-card-photo {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper-2);
}

.shelf-card-photo img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.shelf-card:hover .shelf-card-photo img {
  transform: scale(1.06) rotate(-2deg);
}

.shelf-card strong {
  font-size: 14px;
  line-height: 1.2;
}

.shelf-card-year {
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.home-shelf-reads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: clamp(26px, 3.5vw, 40px);
}

.home-shelf-reads a {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-shelf-reads a:hover,
.home-shelf-reads a:focus-visible {
  background: var(--lime);
}

@media (hover: none) {
  .shelf-row-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .shelf-track {
    grid-auto-columns: 140px;
    gap: 12px;
    scroll-snap-type: x mandatory;
  }

  .shelf-track.fade-left { --fade-left: 28px; }
  .shelf-track.fade-right { --fade-right: 28px; }

  .shelf-card strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shelf-card,
  .shelf-card-photo img {
    transition: none;
  }
}
/* Photo strip under the ticker: real sample previews, each linking to its
   camera. Same tiles and roll as before; pauses on hover, model + credit on
   hover (model only, always on, for touch). */
/* The ticker is the strip's header: it sits flush on top of the tiles. */
.photo-strip-samples .photo-strip-ticker {
  border-top: 0;
}

.photo-strip-ticker .ticker-track > span {
  padding-right: 0.9em;
  white-space: pre;
}

/* Approved Japanese line (data/approved-japanese-strings.json): system Japanese font, no uppercase. */
.photo-strip-ticker [lang="ja"] {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.photo-strip-samples .photo-track {
  min-width: 0;
  padding-top: 14px;
  animation-duration: 84s;
}

.photo-strip-samples:hover .photo-track,
.photo-strip-samples:focus-within .photo-track {
  animation-play-state: paused;
}

.photo-track-copy {
  display: contents;
}

.photo-tile-sample {
  overflow: hidden;
  background-color: var(--ink);
}

.photo-tile-sample img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 2px;
  padding: 26px 10px 8px;
  background: linear-gradient(to bottom, rgba(23, 25, 24, 0), rgba(23, 25, 24, 0.86));
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-tile-label strong {
  font-size: 13px;
  line-height: 1.2;
}

.photo-tile-label span {
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.85;
}

.photo-tile-sample:hover .photo-tile-label,
.photo-tile-sample:focus-visible .photo-tile-label {
  opacity: 1;
}

.photo-tile-sample:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

/* Touch screens: the strip is a native swipe row (home.js nudges it along one photo at
   a time), about 2.4 photos wide on a phone, snapping to each photo. */
@media (hover: none) {
  .photo-strip-samples .photo-track {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-left: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    animation: none;
    -webkit-overflow-scrolling: touch;
  }

  .photo-strip-samples .photo-track::-webkit-scrollbar {
    display: none;
  }

  .photo-strip-samples .photo-tile {
    scroll-snap-align: start;
  }
}

@media (hover: none) {
  .photo-tile-label {
    padding: 18px 8px 6px;
    opacity: 1;
  }

  .photo-tile-label strong {
    font-size: 11px;
  }

  .photo-tile-label span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-strip-samples {
    overflow-x: auto;
  }

  .photo-strip-samples .photo-track {
    animation: none;
  }

  .photo-track-copy {
    display: none;
  }

  .photo-tile-label {
    transition: none;
  }
}
/* Homepage strip links land on a wall photo; keep it clear of the sticky nav. */
.sample-gallery-item[id] {
  scroll-margin-top: 96px;
}
/* END HOMEPAGE LIVELY */

/* CAMERA FRAME COLORS: generated by scripts/build-camera-frame-colors.py; do not edit by hand */
[src$="cameras/fujifilm-x-e1.jpg"]{--frame-bg:#020100}
[src$="cameras/benq-dc-1220.jpg"]{--frame-bg:#040404}
[src$="cameras/samsung-dv300f.png"]{--frame-bg:#121214}
[src$="cameras/ricoh-caplio-500g.jpg"]{--frame-bg:#16191e}
[src$="cameras/fujifilm-finepix-a600.jpg"]{--frame-bg:#cecdcd}
[src$="cameras/kodak-dc5000.jpg"]{--frame-bg:#f7f6f8}
/* END CAMERA FRAME COLORS */
/* CAMERA IMAGE CENTERING: generated by scripts/build-camera-image-centering.py; do not edit by hand */
[src$="cameras/benq-dc-1220.jpg"]{--img-shift:-2.9% -8.1%}
[src$="cameras/fujifilm-finepix-f440.jpg"]{--img-shift:-2.6% -3.6%}
[src$="cameras/fujifilm-finepix-s1900.jpg"]{--img-shift:0% -3.4%}
[src$="cameras/fujifilm-finepix-s7000.jpg"]{--img-shift:-8.3% -3.1%}
[src$="cameras/fujifilm-x-e1.jpg"]{--img-shift:8.1% 0%}
[src$="cameras/kodak-dc260.jpg"]{--img-shift:-4.8% 0%}
[src$="cameras/kodak-dx4330-zoom.jpg"]{--img-shift:0% 4.2%}
[src$="cameras/kodak-easyshare-c360-zoom.jpg"]{--img-shift:2.7% 5.8%}
[src$="cameras/kodak-easyshare-cx6200.jpg"]{--img-shift:0% 6.6%}
[src$="cameras/kodak-easyshare-dx6440.jpg"]{--img-shift:0% 11.7%}
[src$="cameras/kodak-easyshare-dx7440.jpg"]{--img-shift:0% 5.8%}
[src$="cameras/kodak-easyshare-dx7630.jpg"]{--img-shift:2.8% 3.8%}
[src$="cameras/kodak-easyshare-ls443.jpg"]{--img-shift:0% 5.6%}
[src$="cameras/kodak-easyshare-ls753.jpg"]{--img-shift:0% 11.2%}
[src$="cameras/kodak-easyshare-z700.jpg"]{--img-shift:0% 5.3%}
[src$="cameras/kodak-pixpro-az365.png"]{--img-shift:0% -2.1%}
[src$="cameras/kodak-pixpro-az425.png"]{--img-shift:0% -9.4%}
[src$="cameras/kodak-pixpro-fz43.png"]{--img-shift:0% -8.9%}
[src$="cameras/kodak-pixpro-spz1.jpg"]{--img-shift:2% 0%}
[src$="cameras/konica-minolta-konica-e-mini.jpg"]{--img-shift:0% -5.3%}
[src$="cameras/konica-minolta-konica-kd-4000.jpg"]{--img-shift:0% -2.1%}
[src$="cameras/konica-minolta-konica-minolta-digital-genba-kantoku-dg-5w.jpg"]{--img-shift:3.6% -4.7%}
[src$="cameras/konica-minolta-konica-minolta-dimage-a2.jpg"]{--img-shift:0% -3.6%}
[src$="cameras/konica-minolta-konica-minolta-dimage-x60.jpg"]{--img-shift:0% -4.1%}
[src$="cameras/konica-minolta-konica-minolta-maxxum-5d-dynax-5d.jpg"]{--img-shift:6.7% 0%}
[src$="cameras/konica-minolta-konica-q-m100.jpg"]{--img-shift:3.3% 0%}
[src$="cameras/konica-minolta-konica-q-m100v.gif"]{--img-shift:0% -4.1%}
[src$="cameras/konica-minolta-minolta-3d-1500.jpg"]{--img-shift:-2.8% -3.3%}
[src$="cameras/konica-minolta-minolta-dimage-5.jpg"]{--img-shift:3.8% 0%}
[src$="cameras/leica-d-lux-3.jpg"]{--img-shift:2.9% 0%}
[src$="cameras/medion-md86930.jpg"]{--img-shift:0% 2.7%}
[src$="cameras/nikon-coolpix-a900.jpg"]{--img-shift:0% -4.5%}
[src$="cameras/nikon-coolpix-l23.png"]{--img-shift:2% 2.6%}
[src$="cameras/nikon-coolpix-l26.png"]{--img-shift:2.2% 2.8%}
[src$="cameras/nikon-coolpix-p300.png"]{--img-shift:2.2% 0%}
[src$="cameras/nikon-coolpix-p6000.png"]{--img-shift:2% 2.9%}
[src$="cameras/nikon-coolpix-p7000.png"]{--img-shift:0% 4.1%}
[src$="cameras/nikon-coolpix-p7100.png"]{--img-shift:1.9% 3.1%}
[src$="cameras/nikon-coolpix-p7700.png"]{--img-shift:2% 0%}
[src$="cameras/nikon-coolpix-s100.png"]{--img-shift:2% 4.2%}
[src$="cameras/nikon-coolpix-s3100.png"]{--img-shift:2.2% 2.6%}
[src$="cameras/nikon-coolpix-s3300.png"]{--img-shift:1.9% 0%}
[src$="cameras/nikon-coolpix-s3500.png"]{--img-shift:2.2% 0%}
[src$="cameras/nikon-coolpix-s4300.png"]{--img-shift:2.2% 0%}
[src$="cameras/nikon-coolpix-s5200.png"]{--img-shift:2% 0%}
[src$="cameras/nikon-coolpix-s5300.jpg"]{--img-shift:0% -1.7%}
[src$="cameras/nikon-coolpix-s6100.png"]{--img-shift:2% 0%}
[src$="cameras/nikon-coolpix-s6200.png"]{--img-shift:2% 0%}
[src$="cameras/nikon-coolpix-s6300.png"]{--img-shift:2.2% 0%}
[src$="cameras/nikon-coolpix-s6400.jpg"]{--img-shift:-7.9% -3.5%}
[src$="cameras/nikon-coolpix-s80.png"]{--img-shift:2.3% 3.1%}
[src$="cameras/nikon-coolpix-s8100.png"]{--img-shift:2.2% 0%}
[src$="cameras/nikon-coolpix-s8200.png"]{--img-shift:1.9% 0%}
[src$="cameras/nikon-coolpix-s9100.png"]{--img-shift:2% 0%}
[src$="cameras/nikon-coolpix-s9500.png"]{--img-shift:2.2% 0%}
[src$="cameras/nikon-coolpix-s9600.jpg"]{--img-shift:0% -3%}
[src$="cameras/olympus-c-3000-zoom.png"]{--img-shift:0% -2.3%}
[src$="cameras/olympus-pen-e-pl7.png"]{--img-shift:0% -1.6%}
[src$="cameras/olympus-stylus-tough-tg-870.png"]{--img-shift:0% -3%}
[src$="cameras/olympus-tough-tg-4.gif"]{--img-shift:0% -3%}
[src$="cameras/olympus-x-550.jpg"]{--img-shift:-3.7% 0%}
[src$="cameras/pentax-k-50.png"]{--img-shift:0% -2%}
[src$="cameras/ricoh-caplio-500g.jpg"]{--img-shift:-11.5% -13.7%}
[src$="cameras/ricoh-caplio-gx200.jpg"]{--img-shift:0% -7.5%}
[src$="cameras/ricoh-caplio-rr530.jpg"]{--img-shift:0% -2.4%}
[src$="cameras/ricoh-gr-digital.jpg"]{--img-shift:0% -3.3%}
[src$="cameras/ricoh-wg-m1.png"]{--img-shift:3.5% 0%}
[src$="cameras/sony-cyber-shot-dsc-hx80.png"]{--img-shift:0% -8.5%}
[src$="cameras/sony-cyber-shot-dsc-p7.jpg"]{--img-shift:-2.9% 0%}
[src$="cameras/sony-cyber-shot-dsc-rx1r.png"]{--img-shift:0% -1.9%}
[src$="cameras/sony-cyber-shot-dsc-t3.jpg"]{--img-shift:3.9% 0%}
[src$="cameras/sony-cyber-shot-dsc-u30.jpg"]{--img-shift:0% -2.4%}
[src$="cameras/sony-cyber-shot-dsc-w1.jpg"]{--img-shift:3.8% 0%}
[src$="cameras/sony-cyber-shot-dsc-w390.jpg"]{--img-shift:-10.2% -2.3%}
[src$="cameras/sony-cyber-shot-dsc-wx220.png"]{--img-shift:0% -8.6%}
/* END CAMERA IMAGE CENTERING */
