/* Camera Observer. Identity: the viewfinder. Cool paper, ink, focus-peaking amber.
   Type: Archivo (display), Source Serif 4 (body), JetBrains Mono (labels, data). */

:root {
  --paper: #f1f2f0;
  --surface: #ffffff;
  --surface-2: #e7e9e6;
  --ink: #15181b;
  --ink-2: #3c4247;
  --muted: #5f666c;
  --line: #c9cecb;
  --line-2: #dfe2df;
  --amber: #e39b1b;
  --amber-ink: #8a5a06;
  --lcd: #15181b;
  --lcd-ink: #f0b544;
  --lcd-muted: #8a8f94;
  --focus: #e39b1b;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131517; --surface: #1b1e21; --surface-2: #22262a;
    --ink: #e6e9e6; --ink-2: #c3c8c6; --muted: #9aa1a6; --line: #30353a; --line-2: #272b2f;
    --amber: #f0b544; --amber-ink: #f0b544; --lcd: #0c0d0f; --lcd-ink: #f0b544; --lcd-muted: #6d7378; --focus: #f0b544;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #131517; --surface: #1b1e21; --surface-2: #22262a;
  --ink: #e6e9e6; --ink-2: #c3c8c6; --muted: #9aa1a6; --line: #30353a; --line-2: #272b2f;
  --amber: #f0b544; --amber-ink: #f0b544; --lcd: #0c0d0f; --lcd-ink: #f0b544; --lcd-muted: #6d7378; --focus: #f0b544;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--amber); }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 68px); font-variation-settings: "wdth" 92; }
h2 { font-size: clamp(26px, 2.6vw, 34px); font-variation-settings: "wdth" 95; }
h3 { font-size: 22px; font-variation-settings: "wdth" 96; }
p { margin: 0 0 1em; }
.mono, .eyebrow, .article-meta, .filters button, .retailer, .pick-head, .readout, .card-cat, .back, footer small, .preview-banner, .research-note, .disclosure, .micro, label, .cost-result > div span, .next-read .eyebrow {
  font-family: var(--mono);
}
.eyebrow { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 400; }
.eyebrow .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin-right: 8px; vertical-align: 1px; }

/* ---- chrome ---- */
.skip:not(:focus), .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 9; background: var(--surface); padding: 10px 14px; }
.preview-banner { font-size: 11px; letter-spacing: 0.04em; color: var(--paper); background: var(--ink); padding: 7px 16px; text-align: center; }
.preview-banner::before { content: "● "; color: var(--amber); }
header, main, footer { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; font-variation-settings: "wdth" 112; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.aperture { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); position: relative; flex: none; }
.aperture::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--amber); }
nav { display: flex; gap: 26px; font-family: var(--display); font-size: 14px; font-weight: 500; }
nav a:hover { text-decoration: none; color: var(--amber-ink); }

/* ---- viewfinder frame (reused by hero and takeaway) ---- */
.finder { position: relative; padding: 56px 56px 44px; }
.fc { position: absolute; width: 22px; height: 22px; border-color: var(--ink); border-style: solid; border-width: 0; }
.fc.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.fc.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.fc.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.fc.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* ---- hero ---- */
.hero { padding: 48px 0 24px; }
.hero .finder { background: var(--surface); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); gap: 48px; align-items: end; }
.hero h1 { max-width: 14ch; margin-bottom: 22px; }
.hero .intro { font-size: 20px; line-height: 1.5; max-width: 56ch; color: var(--ink-2); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 600; font-size: 14px; padding: 13px 18px; border: 1px solid var(--ink); }
.button:hover { text-decoration: none; background: var(--amber); border-color: var(--amber); color: #15181b; }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--ink); color: var(--paper); }
.readout { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border-left: 1px solid var(--line); padding-left: 28px; font-size: 12px; align-self: stretch; align-content: end; }
.readout div { padding: 14px 0; border-top: 1px solid var(--line-2); }
.readout div:first-child { border-top: 0; }
.readout dt { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px; margin-bottom: 4px; }
.readout dd { margin: 0; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.readout dd.amber { color: var(--amber-ink); }

/* ---- principles ---- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 26px 0; margin-bottom: 20px; font-family: var(--display); font-size: 15px; font-weight: 500; }
.principles p { margin: 0; display: flex; align-items: center; gap: 12px; }
.tick { width: 10px; height: 10px; border: 2px solid var(--amber); flex: none; }

/* ---- sections ---- */
section { scroll-margin-top: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.section-head p:last-child:not(.eyebrow) { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0; text-align: right; line-height: 1.5; }
.guides { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.filters button { cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 12px; letter-spacing: 0.04em; padding: 8px 14px; }
.filters button:hover { border-color: var(--ink); }
.filters button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.guide-card { position: relative; border-top: 1px solid var(--ink); padding: 18px 0 20px; display: flex; flex-direction: column; gap: 10px; }
.guide-card .fc { opacity: 0; transition: opacity .18s ease; border-color: var(--amber); }
.guide-card:hover .fc { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; }
.card-cat { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card-cat::before { content: "// "; color: var(--amber); }
.guide-card h3 { font-size: 24px; line-height: 1.12; }
.guide-card h3 a:hover { text-decoration: none; color: var(--amber-ink); }
.guide-card p { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.5; }
.read { font-family: var(--display); font-size: 14px; font-weight: 600; margin-top: auto; padding-top: 6px; }
.gear { padding: 44px 0 56px; border-top: 1px solid var(--line); }
.gear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gear-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 22px; background: var(--surface); border: 1px solid var(--line); min-height: 220px; }
.gear-card:hover { text-decoration: none; border-color: var(--ink); }
.gear-card .eyebrow { margin: 0; }
.gear-card strong { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.gear-card span:not(.eyebrow):not(.read) { font-size: 15px; color: var(--muted); line-height: 1.5; }
.gear-card .read { color: var(--amber-ink); }

/* ---- planner: the LCD panel ---- */
.planner { margin: 20px 0 0; padding: 44px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; background: var(--lcd); color: #e6e9e6; }
.planner .eyebrow { color: var(--lcd-ink); }
.planner h2 { color: #fff; margin-bottom: 14px; }
.planner p:not(.eyebrow):not(.micro) { font-size: 16px; max-width: 44ch; color: #c3c8c6; }
.planner .micro { color: var(--lcd-muted); font-size: 11px; line-height: 1.6; margin: 18px 0 0; }
.cost-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lcd-muted); display: block; }
.planner input { display: block; width: 100%; margin-top: 8px; background: #000; color: var(--lcd-ink); border: 1px solid #2c3135; border-radius: 0; padding: 12px 12px; font-family: var(--mono); font-size: 20px; font-variant-numeric: tabular-nums; }
.planner input:focus { border-color: var(--lcd-ink); outline: none; }
.planner input:invalid { border-color: #d7352c; }
.cost-result { border-top: 1px solid #2c3135; margin-top: 22px; padding-top: 18px; }
.cost-result > div { display: flex; justify-content: space-between; align-items: baseline; }
.cost-result > div span { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lcd-muted); }
.cost-result output { font-family: var(--mono); font-size: 40px; color: var(--lcd-ink); font-variant-numeric: tabular-nums; }
.cost-result p { margin: 6px 0 0; text-align: right; font-family: var(--mono); font-size: 13px; color: #c3c8c6; }
.cost-result p.over { color: #ff7a6b; }

.approach-strip { max-width: 680px; padding: 72px 0 64px; }
.approach-strip h2 { margin-bottom: 14px; }
.approach-strip p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; }

footer { border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 40px; display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; align-items: center; font-size: 14px; }
footer p { margin: 0; color: var(--muted); font-style: italic; }
footer div { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--display); font-size: 13px; font-weight: 500; grid-column: 1 / -1; }
footer small { font-size: 11px; color: var(--muted); grid-column: 1 / -1; }
.amazon-statement { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; color: var(--muted); font-style: normal; }

/* ---- article ---- */
.article { padding-top: 36px; padding-bottom: 72px; }
.back { font-size: 12px; display: inline-block; margin-bottom: 36px; color: var(--muted); }
.back:hover { color: var(--ink); }
.article > h1 { max-width: 18ch; font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 18px; }
.article .dek { max-width: 60ch; font-size: 22px; line-height: 1.4; font-style: italic; color: var(--ink-2); }
.article-meta { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; line-height: 1.7; }
.article-meta .reader { color: var(--ink-2); }
.research-note { font-size: 12px; color: var(--muted); max-width: 80ch; line-height: 1.7; margin: 10px 0 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; margin-top: 40px; align-items: start; }
.article-copy { max-width: 68ch; font-size: 18px; }
.article-copy p { line-height: 1.7; }
.article-copy h2 { margin: 44px 0 14px; }
.article-copy h3 { margin: 30px 0 10px; }
.article-copy ul, .article-copy ol { line-height: 1.65; padding-left: 22px; }
.article-copy li { margin-bottom: 8px; }
.article-copy strong { font-weight: 600; }
.article-copy blockquote { margin: 24px 0; padding: 0 0 0 20px; border-left: 2px solid var(--amber); color: var(--ink-2); font-style: italic; }
.article-copy table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 24px 0; display: block; overflow-x: auto; font-variant-numeric: tabular-nums; }
.article-copy th, .article-copy td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.article-copy th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); font-weight: 400; }
.takeaway { position: relative; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.25; letter-spacing: -0.015em; padding: 26px 30px; margin: 0 0 30px; background: var(--surface); text-wrap: balance; }
.article aside { background: var(--surface); border: 1px solid var(--line); padding: 24px; position: sticky; top: 20px; }
.article aside h2 { font-size: 22px; margin-bottom: 14px; }
.article aside ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: 15px; }
.article aside li { padding: 9px 0; border-top: 1px solid var(--line-2); display: flex; gap: 10px; }
.article aside li::before { content: "□"; font-family: var(--mono); color: var(--amber-ink); flex: none; }
.article aside .button { width: 100%; justify-content: space-between; }
.sources { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 10px; }
.sources h2 { font-size: 20px; }
.sources p, .sources li { font-size: 14px; }
.sources ul { padding-left: 18px; }
.sources a, .narrow p a, .article-copy p a, .article-copy li a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.sources a:hover, .narrow p a:hover, .article-copy p a:hover { text-decoration-color: var(--amber); }
.next-read { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 28px; }
.next-read a { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.narrow { max-width: 760px; }
.narrow .dek { font-size: 20px; font-style: italic; color: var(--ink-2); margin-bottom: 30px; }
.narrow h2 { margin: 36px 0 10px; font-size: 24px; }
.narrow p { font-size: 18px; line-height: 1.7; }
.narrow .button { margin-top: 24px; }

/* ---- picks: focus boxes ---- */
.disclosure { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 6px 0 18px; }
.disclosure a { text-decoration: underline; }
.picks { margin: 6px 0 24px; }
.pick-group { font-size: 13px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 28px 0 10px; }
.pick-group::before { content: "// "; color: var(--amber); }
.pick-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 14px 0; }
.pick { position: relative; background: var(--surface); border: 1px solid var(--line); padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.pick:hover { border-color: var(--ink); }
.pick-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.pick-role { color: var(--amber-ink); }
.pick-cat { color: var(--muted); }
.pick-name { font-size: 24px; margin-top: 2px; }
.pick-desc { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0; }
.pick-why { font-size: 17px; line-height: 1.6; margin: 0; }
.pick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.retailer { font-size: 12px; letter-spacing: 0.02em; padding: 10px 14px; border: 1px solid var(--ink); color: var(--ink); display: inline-flex; gap: 10px; align-items: center; }
.retailer:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.retailer .arrow { color: var(--amber); }
.retailer:hover .arrow { color: var(--amber); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  header, main, footer { padding-left: 24px; padding-right: 24px; }
  .finder { padding: 36px 32px 30px; }
  .guide-grid, .gear-grid { grid-template-columns: repeat(2, 1fr); }
  .planner { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article aside { position: static; }
  .hero .finder { grid-template-columns: 1fr; gap: 28px; }
  .readout { grid-template-columns: repeat(2, 1fr); border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 6px; column-gap: 24px; }
  .readout div:nth-child(2) { border-top: 0; }
}
@media (max-width: 600px) {
  header, main, footer { padding-left: 18px; padding-right: 18px; }
  header { flex-direction: column; align-items: flex-start; gap: 12px; }
  nav { width: 100%; justify-content: space-between; gap: 8px; font-size: 13px; }
  .hero { padding-top: 28px; }
  .finder { padding: 28px 22px 24px; }
  .hero .intro { font-size: 17px; }
  .principles { grid-template-columns: 1fr; gap: 10px; }
  .section-head { display: block; }
  .section-head p:last-child:not(.eyebrow) { display: none; }
  .guide-grid, .gear-grid { grid-template-columns: 1fr; }
  .planner { padding: 24px 18px; }
  .cost-inputs { grid-template-columns: 1fr; }
  .article-copy { font-size: 17px; }
  .takeaway { font-size: 22px; padding: 20px; }
  .pick-name { font-size: 21px; }
  footer { grid-template-columns: 1fr; }
}
