:root {
  --paper: #f4f1ea;
  --ink: #141414;
  --rec: #d6372b;
  --muted: #6b6760;
  --line: #d9d3c7;
  --card: #fbfaf6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #151412; --ink: #ece8df; --muted: #a39e94; --line: #34312c; --card: #1d1b18; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--sans); }
a { color: inherit; }
a:hover { color: var(--rec); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3rem); margin: 0.4rem 0 0.8rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.6rem; }
h3 { font-size: 1.3rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand .mark { height: 30px; width: auto; display: block; }
.wordmark { font-family: var(--mono); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 1.05rem; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .brand .mark rect { fill: #2a2723; } }
nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; font-size: 0.92rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--rec); }

/* Labels */
.label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.label.red { color: var(--rec); }

/* Hero */
.hero { padding: 3rem 0 2.5rem; }
.hero h1 { max-width: 16ch; }
.hero.small { padding-bottom: 1rem; }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }

/* Viewfinder frame: corner brackets */
.vf { position: relative; }
.vf-c { position: absolute; width: 28px; height: 28px; border: 3px solid var(--ink); pointer-events: none; }
.vf-c.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf-c.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf-c.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf-c.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero.vf { margin: 2rem 0 1.5rem; padding: 1.4rem clamp(1.1rem, 4vw, 2.6rem); }
.vf-row { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--muted); }
.vf-row.top { margin-bottom: 1.6rem; }
.vf-row.bottom { margin-top: 1.8rem; }
.rec { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--rec); font-weight: 700; }
.rec i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.tc { font-variant-numeric: tabular-nums; }
.batt { display: inline-flex; align-items: center; gap: 0.4rem; }
.batt b { width: 1.6rem; height: 0.75rem; border: 2px solid currentColor; border-radius: 2px; background: linear-gradient(90deg, currentColor 70%, transparent 70%); background-clip: content-box; padding: 1px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center; }
.hero-copy h1 { margin-top: 0.3rem; }
.hero-art { position: relative; min-height: 300px; }
.hero-art .frame { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35); }
.hero-art .f1 { width: 62%; left: 0; top: 0; transform: rotate(-3deg); }
.hero-art .f2 { width: 62%; right: 0; bottom: 0; transform: rotate(2.5deg); }
.hero-art svg { width: 100%; display: block; }
.cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; padding: 0.75rem 1.2rem; border-radius: 4px; border: 2px solid var(--ink); }
.btn:hover { background: var(--rec); border-color: var(--rec); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { color: #fff; }

/* Featured Home Entertainment section */
.featured { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem clamp(1rem, 3vw, 2rem) 0.4rem; margin: 0 0 2.2rem; }
.featured-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0.6rem 2rem; margin-bottom: 0.4rem; }
.featured-head h2 { margin: 0.2rem 0 0.3rem; }
.featured-lede { color: var(--muted); margin: 0; max-width: 52ch; }
.see-all { font-weight: 600; text-decoration: none; white-space: nowrap; }
.featured .card-art { background: var(--paper); }

/* Category strip */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; margin: 0 0 2.5rem; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem 0.8rem 0.7rem; text-decoration: none; text-align: center; transition: border-color 0.15s ease, transform 0.15s ease; }
.cat:hover { border-color: var(--rec); transform: translateY(-2px); color: inherit; }
.cat svg { width: 100%; max-width: 140px; display: block; margin: 0 auto 0.3rem; }
.cat span { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.section-title { font-size: 1.1rem; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 0.4rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; height: 190px; max-width: 420px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .vf-row { font-size: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) { .rec i { animation: none; } .cat { transition: none; } }

/* Grid of post cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 2rem; padding-bottom: 2rem; }
.card { border-top: 1px solid var(--line); padding: 1.4rem 0 1.6rem; }
.card-art { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem 1.5rem; margin-bottom: 0.9rem; }
.card-art svg { width: 100%; max-height: 130px; display: block; }
.card:hover .card-art { border-color: var(--rec); }
.card h2 { font-size: 1.35rem; margin: 0.4rem 0 0.5rem; }
.card h2 a { text-decoration: none; }
.card p { margin: 0 0 0.6rem; font-size: 0.95rem; }

/* Post */
.post { max-width: 720px; margin: 0 auto; padding: 3rem 0 2rem; }
.disclosure { border: 1px dashed var(--line); padding: 0.7rem 1rem; font-size: 0.8125rem; color: var(--muted); border-radius: 4px; }
.aside { border-left: 3px solid var(--rec); padding-left: 1rem; color: var(--muted); font-style: italic; }
.post-hero { margin: 1.4rem 0; padding: 1.6rem 2.5rem; background: var(--card); border-radius: 6px; }
.post-hero svg { width: 100%; max-height: 260px; display: block; }
.pick { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--rec); border-radius: 6px; padding: 1.4rem 1.5rem; margin: 2rem 0; display: grid; grid-template-columns: 170px 1fr; gap: 1.4rem; align-items: start; }
.pick-fig { margin: 0; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1.6rem 0.6rem 0.6rem; }
.pick-fig svg, .pick-fig img { width: 100%; display: block; }
.pick-fig img { aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 4px; }
.rank { position: absolute; top: 0.35rem; left: 0.55rem; font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: var(--rec); letter-spacing: 0.05em; }
.pick h3 { margin-top: 0; }
@media (max-width: 640px) {
  .pick { grid-template-columns: 1fr; }
  .pick-fig { max-width: 220px; }
  .post-hero { padding: 1rem 1.2rem; }
}
.pick ul { padding-left: 1.1rem; }
.pick li { margin-bottom: 0.3rem; }
.buy { margin: 1rem 0 0; }
.buy a { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 0.9375rem; padding: 0.7rem 1.2rem; border-radius: 4px; transition: background 0.15s ease; }
.buy a::after { content: " \2192"; }
.buy a:hover, .buy a:focus-visible { background: var(--rec); color: #fff; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0 1.5rem; }
.more { padding-left: 1.1rem; }

/* About */
.nav-about { color: var(--ink) !important; font-weight: 600; }
.portrait { aspect-ratio: 4 / 5; background: var(--card); border-radius: 6px; display: grid; place-items: center; padding: 1rem; min-width: 0; }
.portrait .rec { position: absolute; top: 1rem; left: 1.1rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; }
.mono-initials { font-family: var(--serif); font-weight: 700; font-size: clamp(3.5rem, 9vw, 5.5rem); letter-spacing: -0.02em; }
.portrait-cap { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--muted); }
.about-head { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; }
.about-head h1 { margin: 0.2rem 0 0.6rem; }
.about-head .lede { margin: 0; }
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.4rem 0; }
.work-item { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--rec); border-radius: 6px; padding: 1rem 1.2rem; }
.work-item h3 { margin: 0.3rem 0 0.4rem; }
.work-item p { margin: 0; font-size: 0.95rem; }
.about-home { display: grid; grid-template-columns: 220px 1fr; gap: 2.2rem; align-items: center; border-top: 1px solid var(--line); padding: 2.6rem 0 1rem; margin-top: 1rem; }
.about-home h2 { margin: 0.2rem 0 0.8rem; }
.about-home p { max-width: 62ch; }
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem 1.3rem; margin: 2.5rem 0 0; }
.author-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; position: relative; }
.author-mark::after { content: ""; position: absolute; top: 4px; right: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--rec); border: 2px solid var(--card); }
.author-box p { margin: 0 0 0.5rem; font-size: 0.95rem; }
.author-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem !important; margin-bottom: 0.3rem !important; }
.more-link { font-weight: 600; text-decoration: none; font-size: 0.95rem; }
@media (max-width: 700px) {
  .about-head, .about-home { grid-template-columns: 1fr; }
  .about-head .portrait, .about-home .portrait { max-width: 180px; }
  .work { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; margin-top: 3rem; padding: 1.5rem 0 3rem; }

@media (max-width: 600px) {
  .pick { padding: 1.1rem 1rem; }
  .buy a { display: block; text-align: center; }
  .hero { padding-top: 2rem; }
}

.ill { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill .r { fill: var(--rec); stroke: none; }
.ill .f { fill: currentColor; stroke: none; }
.ill .rs { stroke: var(--rec); }
.ill .dash { stroke-dasharray: 2 7; }
