:root {
  color-scheme: light;
  --ink: #101012;
  --ink-soft: #343238;
  --paper: #f4efdf;
  --paper-2: #fff9e9;
  --line: #171717;
  --silver: #c8ccd5;
  --flash: #164dff;
  --acid: #e8ff29;
  --pink: #ff72ad;
  --orange: #ff6b2c;
  --shadow: 8px 8px 0 #101012;
  --soft-shadow: 0 26px 60px rgba(16, 16, 18, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  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;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.6fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(16px, 3vw, 34px);
  border-bottom: 2px solid var(--line);
  background: rgba(244, 239, 223, 0.92);
  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: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
}

.brand-mark::after {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--flash);
  content: "";
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  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;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 12px;
  background: var(--paper-2);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}

.nav a:hover,
.nav-menu summary:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translate(-1px, -1px);
}

.nav-menu {
  display: inline-flex;
  position: relative;
  margin: 0;
  border: 0;
  padding: 0;
  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(--ink);
  outline: none;
}

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

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

.nav-menu[data-current="true"] summary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 0 0 2px var(--paper), 3px 3px 0 var(--ink);
}

.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(--ink);
  padding: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.nav-menu-panel a {
  justify-content: start;
}

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

.nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 0 0 2px var(--paper), 3px 3px 0 var(--ink);
}

.nav a.digicolor-nav[aria-current="page"] {
  background: var(--pink);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--ink);
}

.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 {
  color: var(--flash);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 4vw, 54px) 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;
}

.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: "";
}

.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 {
  max-width: 760px;
  margin-top: 34px;
}

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

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

.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(--acid);
  color: var(--ink);
  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: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.brand-filter {
  appearance: none;
  -webkit-appearance: none;
  min-height: 38px;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 0 13px;
  background: var(--paper-2);
  color: var(--ink);
  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(--acid);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

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

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

.model-card {
  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;
}

.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="fujifilm"] {
  grid-template-columns: clamp(108px, 10vw, 148px) minmax(0, 1fr);
}

.model-card[data-brand="fujifilm"] .model-thumb {
  aspect-ratio: 16 / 10;
  padding: 4px;
}

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

.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-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],
.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: center;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 84px);
  border-bottom: 1px solid rgba(16, 16, 18, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 114, 173, 0.14), transparent 32%),
    linear-gradient(315deg, rgba(232, 255, 41, 0.18), transparent 28%),
    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: 100%;
  height: 100%;
  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: 92%;
  max-height: 84%;
}

.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-"]) {
  aspect-ratio: 16 / 9;
  max-width: min(100%, 580px);
  padding: clamp(10px, 2.2vw, 22px);
}

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

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

.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 {
  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-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: anywhere;
  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-detail-specs,
.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-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-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: 999px;
  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);
}

.button.secondary {
  background: transparent;
}

.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: 430px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 48% 48%, #ff9ac4 0 38%, #ff72ad 39% 55%, transparent 56%);
}

.camera-sticker-stack {
  position: relative;
  width: min(100%, 520px);
  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-front {
  z-index: 3;
  left: 5%;
  top: 7%;
  width: 43%;
  transform: rotate(-9deg);
}

.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);
}

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

.ticker-track {
  display: inline-flex;
  min-width: 200%;
  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(-50%); }
}

.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: 2px solid var(--ink);
  padding-top: clamp(42px, 6vw, 76px);
  padding-bottom: clamp(36px, 5vw, 58px);
}

.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:
    linear-gradient(135deg, rgba(255, 114, 173, 0.18), transparent 36%),
    linear-gradient(315deg, rgba(22, 77, 255, 0.1), transparent 34%),
    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);
}

.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-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, 249, 233, 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: #f4f1e7;
}

.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 {
  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(255, 114, 173, 0.72), transparent 34%),
    linear-gradient(135deg, #15101d 0%, #3b2746 45%, #f6a9c9 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: var(--pink); }
.path-card.blue { background: var(--flash); color: var(--paper); }
.path-card.yellow { background: var(--acid); }

.path-card.blue p {
  color: rgba(244, 239, 223, 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: var(--pink); }
.guide-card.blue { background: var(--flash); color: var(--paper); }
.guide-card.yellow { background: var(--acid); }
.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(244, 239, 223, 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(244, 239, 223, 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;
}

.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 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);
}

.digicolor-workflow {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 114, 173, 0.12), transparent 34%),
    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);
}

.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 {
  max-width: 980px;
  margin-top: 28px;
}

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

.auth-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--acid);
  color: var(--ink);
  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;
  text-decoration: none;
}

.auth-button:hover {
  transform: translate(-1px, -1px);
}

.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;
}

.auth-close {
  background: transparent;
}

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

.account-hero {
  display: grid;
  gap: 18px;
  padding: clamp(42px, 7vw, 82px) clamp(16px, 4vw, 54px) 28px;
}

.account-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 9vw, 96px);
  line-height: 0.88;
}

.account-hero p {
  max-width: 720px;
  font-size: clamp(17px, 2vw, 22px);
}

.account-shell {
  display: grid;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 54px) clamp(48px, 8vw, 96px);
}

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

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

.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(30px, 4vw, 48px);
}

.account-summary {
  display: grid;
  gap: 18px;
}

.credit-balance {
  display: grid;
  width: min(100%, 260px);
  min-height: 150px;
  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(56px, 11vw, 104px);
  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;
}

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

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

.credit-pack {
  display: grid;
  gap: 14px;
  min-height: 170px;
  border: 2px solid var(--ink);
  padding: 16px;
  background: #fff;
}

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

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

.credit-ledger li,
.user-unlocks li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  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);
}

.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 {
  background: #fff;
  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: #fff;
  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);
}

.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: 900px;
  margin-bottom: 46px;
  color: var(--paper);
  font-size: clamp(58px, 10vw, 132px);
  font-style: italic;
  line-height: 0.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid rgba(244, 239, 223, 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);
}

@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));
  }

  .kit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .site-header,
  .hero,
  .accessory-hero,
  .camera-detail-hero,
  .camera-spec-layout,
  .section-head,
  .digicolor {
    grid-template-columns: 1fr;
  }

  .nav {
    order: 3;
    overflow: visible;
    justify-content: start;
    padding-bottom: 2px;
  }

  .social-nav {
    justify-self: start;
  }

  .account-grid,
  .credit-pack-grid {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    justify-content: start;
  }

  .hero {
    min-height: auto;
  }

  .camera-card {
    min-height: 330px;
  }

  .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;
  }

}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
    width: 100%;
  }

  .nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    font-size: 9px;
  }

  .nav a,
  .nav-menu summary {
    width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .nav-menu-panel {
    right: 0;
    left: 0;
    width: min(92vw, 320px);
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(50px, 18vw, 78px);
  }

  h1 span {
    white-space: normal;
  }

  h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .guide-grid,
  .path-grid,
  .model-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;
  }

  .search-field {
    grid-template-columns: 1fr;
  }

  .search-field button {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .model-card {
    grid-template-columns: clamp(76px, 24vw, 104px) minmax(0, 1fr);
    gap: 12px;
    min-height: 126px;
    padding: 12px;
  }

  .model-card[data-brand="fujifilm"] {
    grid-template-columns: clamp(92px, 30vw, 124px) minmax(0, 1fr);
  }

  .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;
  }

  .drop-label {
    right: 8px;
    bottom: -28px;
  }
}
