:root {
  --ink: #11100f;
  --paper: #f2eee6;
  --paper-2: #e7e0d5;
  --red: #b72b2e;
  --line: rgba(17, 16, 15, .18);
  --muted: #665f57;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; padding: .7rem 1rem; background: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgba(17,16,15,.94);
  color: #fff;
  backdrop-filter: blur(12px);
}
.nav {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 66px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.04em; font-size: 1.35rem; }
.brand-mark { width: 29px; height: 29px; border: 8px solid var(--red); border-radius: 50%; box-shadow: inset 0 0 0 2px #111; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; font-size: .92rem; }
.nav-links a { color: #d9d4cc; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }
.nav-cta { border: 1px solid rgba(255,255,255,.38); border-radius: 999px; padding: .45rem .8rem; }

.hero {
  min-height: 650px;
  display: grid;
  align-items: center;
  color: #fff;
  background: #171513 url('/assets/holga-hero.webp') center/cover no-repeat;
  position: relative;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.95) 0%, rgba(10,9,8,.72) 38%, rgba(10,9,8,.1) 72%); }
.hero-inner { position: relative; z-index: 1; width: min(var(--max), calc(100% - 2rem)); margin: auto; padding: 6.5rem 0; }
.eyebrow { margin: 0 0 .9rem; color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 730px; margin: 0; font-size: clamp(3.5rem, 9vw, 7.4rem); line-height: .86; letter-spacing: -.075em; }
.hero h1 span { color: #c93539; }
.hero-copy { max-width: 560px; margin: 1.8rem 0 2rem; color: #d8d2c9; font-size: 1.15rem; }
.button { display: inline-flex; align-items: center; gap: .6rem; min-height: 46px; padding: .7rem 1rem; border: 1px solid transparent; border-radius: 2px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; }
.button:hover, .button:focus-visible { background: #d03b3f; }
.button.secondary { margin-left: .5rem; border-color: rgba(255,255,255,.4); background: rgba(0,0,0,.28); }

.section { width: min(var(--max), calc(100% - 2rem)); margin: auto; padding: 5.5rem 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 3rem; align-items: end; margin-bottom: 2.3rem; }
.section h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: .95; letter-spacing: -.06em; }
.section-head p { margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { min-height: 300px; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: background .18s, color .18s; }
.card:hover, .card:focus-visible { background: var(--ink); color: #fff; }
.card .num { color: var(--red); font-weight: 800; font-size: .8rem; letter-spacing: .12em; }
.card h3 { max-width: 13ch; margin: 2rem 0 .8rem; font-size: 1.75rem; line-height: 1.05; letter-spacing: -.04em; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card:hover p, .card:focus-visible p { color: #c8c2b9; }
.arrow { margin-top: 2rem; font-size: 1.25rem; }

.manifesto { background: var(--red); color: #fff; }
.manifesto .section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.manifesto blockquote { margin: 0; font-size: clamp(2.1rem, 4.8vw, 4.4rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 800; }
.manifesto p { margin: 0; align-self: end; max-width: 48ch; color: #f3dede; }

.latest { background: #ded7cc; }
.story-list { border-top: 1px solid var(--line); }
.story { display: grid; grid-template-columns: 90px 1fr 1.3fr 40px; gap: 1.3rem; align-items: center; min-height: 112px; border-bottom: 1px solid var(--line); text-decoration: none; }
.story:hover h3, .story:focus-visible h3 { color: var(--red); }
.story .tag { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.story h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.story p { margin: 0; color: var(--muted); font-size: .92rem; }

.article-hero { background: var(--ink); color: #fff; padding: 6rem 0 4.5rem; }
.article-hero-inner { width: min(920px, calc(100% - 2rem)); margin: auto; }
.breadcrumbs { margin-bottom: 2.5rem; color: #aaa39a; font-size: .83rem; }
.breadcrumbs a { color: #d7d1c8; }
.article-hero h1 { max-width: 15ch; margin: 0; font-size: clamp(3rem, 7vw, 6rem); line-height: .91; letter-spacing: -.065em; }
.dek { max-width: 650px; margin: 1.7rem 0 0; color: #c9c2b9; font-size: 1.14rem; }
.article-wrap { width: min(920px, calc(100% - 2rem)); margin: auto; padding: 4rem 0 6rem; display: grid; grid-template-columns: 180px minmax(0, 650px); gap: 4rem; }
.article-meta { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.article-meta strong { display: block; color: var(--ink); margin-bottom: .4rem; }
.prose { font-size: 1.08rem; }
.prose h2 { margin: 2.8rem 0 1rem; font-size: clamp(1.8rem, 3.3vw, 2.65rem); line-height: 1.03; letter-spacing: -.045em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .65rem; font-size: 1.35rem; line-height: 1.15; }
.prose p { margin: 0 0 1.25rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin: .55rem 0; }
.note { margin: 2rem 0; padding: 1.3rem 1.5rem; border-left: 5px solid var(--red); background: var(--paper-2); }
.specs { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: .94rem; }
.specs th, .specs td { padding: .8rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 34%; }
.related { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related-links { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.related a { padding: 1rem; background: var(--paper-2); text-decoration: none; font-weight: 700; line-height: 1.2; }
.related a:hover { background: var(--ink); color: #fff; }

.archive-hero { width: min(var(--max), calc(100% - 2rem)); margin: auto; padding: 6rem 0 3rem; }
.archive-hero h1 { margin: 0; font-size: clamp(3.3rem, 8vw, 7rem); line-height: .88; letter-spacing: -.07em; }
.archive-hero p { max-width: 620px; color: var(--muted); font-size: 1.12rem; }

.site-footer { background: var(--ink); color: #c7c0b7; }
.footer-inner { width: min(var(--max), calc(100% - 2rem)); margin: auto; padding: 3rem 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
.footer-inner strong { color: #fff; }
.footer-inner p { max-width: 55ch; margin: .8rem 0 0; font-size: .86rem; }
.footer-links { display: flex; justify-content: flex-end; gap: 1.2rem; flex-wrap: wrap; font-size: .86rem; }

@media (max-width: 850px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { min-height: 590px; background-position: 64% center; }
  .hero::after { background: linear-gradient(90deg, rgba(10,9,8,.94), rgba(10,9,8,.55) 68%, rgba(10,9,8,.25)); }
  .section-head, .manifesto .section, .article-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid { grid-template-columns: 1fr 1fr; }
  .article-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
  .story { grid-template-columns: 64px 1fr 32px; padding: 1rem 0; }
  .story p { display: none; }
}

@media (max-width: 570px) {
  .hero { min-height: 560px; }
  .hero-inner { padding: 5rem 0; }
  .button.secondary { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 230px; }
  .section, .manifesto .section { padding: 4rem 0; }
  .related-links, .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
