@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* Gear Reviews — compact editorial theme inspired by the supplied reference. */
:root {
  --paper: #f5f1e8;
  --paper-deep: #ebe4d5;
  --paper-light: #fbf9f3;
  --ink: #171b18;
  --muted: #60645f;
  --forest: #14271b;
  --forest-2: #1e3626;
  --deep: #091710;
  --brass: #a79d4f;
  --brass-soft: #d8d19a;
  --line: #cbc4b6;
  --white: #fffdf7;
  --danger: #8d3e31;
  --display: "Barlow Condensed", "PT Sans Narrow", Impact, "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", "DejaVu Sans Mono", "Courier New", monospace;
  --site: min(1440px, calc(100% - clamp(48px, 7.42vw, 108px)));
  --reading: min(820px, calc(100% - 48px));
  --shadow: 0 18px 46px rgba(20, 31, 23, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url('../images/paper-noise.png');
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--brass-soft); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

.sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip {
  position: fixed;
  left: 14px;
  top: 10px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 9px 13px;
  background: var(--ink);
  color: #fff;
  font: 600 0.68rem var(--mono);
}
.skip:focus { transform: none; }
.site-width { width: var(--site); margin-inline: auto; }
.section { padding: 58px 0; }
.section.alt { background: rgba(235, 228, 213, 0.72); }
.section.dark { background: var(--deep); color: #fff; }
.eyebrow {
  margin: 0 0 10px;
  font: 600 0.68rem/1.2 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}
p { margin-top: 0; }
.display { text-transform: uppercase; letter-spacing: -0.035em; }
.line {
  width: 54px;
  height: 2px;
  border: 0;
  margin: 16px 0 16px;
  background: var(--forest);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: clamp(2.25rem, 3.6vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
.section-head p { max-width: 58ch; margin: 0; color: var(--muted); }

.btn, .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font: 600 0.67rem/1 var(--mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn {
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid transparent;
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--forest-2); }
.btn::after, .arrow::after { content: "→"; font-size: 1.25em; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.arrow { padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.arrow::after { transition: transform 0.18s ease; }
.arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  height: 98px;
  background: rgba(245, 241, 232, 0.97);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  position: sticky;
  top: 0;
  height: 78px;
  border-color: var(--line);
  box-shadow: 0 5px 22px rgba(15, 28, 20, 0.08);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: var(--site);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 210px minmax(430px, 1fr) auto;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  text-decoration: none;
}
.brand img { width: 29px; height: 42px; }
.brand span {
  font: 700 1rem/1.04 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav { justify-self: center; }
.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 43px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 0.68rem/1 var(--mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--forest);
  transition: right 0.18s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav-chevron {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 37px; padding-inline: 16px; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.icon-btn svg { width: 20px; }
.menu-btn { display: none; }

/* Search dialog */
.search-dialog {
  width: min(660px, calc(100% - 30px));
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.search-dialog::backdrop { background: rgba(8, 16, 11, 0.76); backdrop-filter: blur(4px); }
.search-inner { padding: 28px; }
.search-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.search-top h2 { font-size: 2.4rem; text-transform: uppercase; }
.search-form { display: grid; grid-template-columns: 1fr auto; }
.search-form input {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--ink);
  border-right: 0;
  background: #fff;
}
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick a { padding: 7px 9px; border: 1px solid var(--line); font: 0.66rem var(--mono); text-decoration: none; }

/* Home hero */
.hero { overflow: hidden; }
.hero-grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: clamp(500px, 48.8vw, 690px) 1fr;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 18px 24px max(38px, calc((100vw - 1440px) / 2));
}
.hero h1 {
  width: 520px;
  max-width: none;
  font-size: clamp(4.55rem, 7.2vw, 7.35rem);
  font-weight: 900;
  line-height: 0.91;
}
.hero-deck {
  max-width: 39ch;
  margin: 0;
  font: 400 0.82rem/1.65 var(--mono);
}
.hero-actions { display: flex; align-items: center; gap: 36px; margin-top: 21px; }
.hero-media { position: relative; min-height: 520px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 59% center; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(245, 241, 232, 0.95) 8%, rgba(245, 241, 232, 0.62) 19%, transparent 36%),
    linear-gradient(0deg, rgba(8, 19, 12, 0.16), transparent 40%);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 465px;
  margin-top: 31px;
}
.stat { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; min-width: 0; }
.stat svg { width: 30px; fill: none; stroke: var(--forest); stroke-width: 1.65; }
.stat strong { display: block; font: 600 1.18rem/1 var(--display); white-space: nowrap; }
.stat small { display: block; margin-top: 3px; font: 600 0.49rem/1.25 var(--mono); text-transform: uppercase; }

/* Category band */
.category-band {
  position: relative;
  height: 140px;
  padding: 22px 0 16px;
  background: var(--forest) url('../images/topography.svg');
  color: #fff;
}
.category-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -13px;
  height: 15px;
  background: var(--forest);
  clip-path: polygon(0 48%, 5% 31%, 11% 55%, 18% 40%, 24% 56%, 31% 39%, 39% 55%, 46% 41%, 53% 57%, 61% 38%, 69% 55%, 77% 39%, 84% 57%, 92% 38%, 100% 50%, 100% 100%, 0 100%);
}
.category-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.category-head h2 { font-size: 1.02rem; font-weight: 600; letter-spacing: 0.035em; text-transform: uppercase; }
.category-head .arrow { border: 0; padding: 0; }
.category-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.category-link {
  min-height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.19);
  color: #fff;
  text-decoration: none;
}
.category-link:last-child { border-right: 1px solid rgba(255, 255, 255, 0.19); }
.category-link:hover { background: rgba(255, 255, 255, 0.055); color: var(--brass-soft); }
.category-link svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--brass-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-link span { font: 600 0.6rem/1.1 var(--mono); text-transform: uppercase; text-align: center; }

/* Home latest area */
.home-latest { padding: 25px 0 18px; }
.home-latest .section-head { margin-bottom: 13px; }
.home-latest .section-head h2 { font-size: 1.12rem; font-weight: 600; letter-spacing: 0.045em; }
.latest-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: 30px; }
.latest-list { border-top: 0; }
.latest-item {
  display: grid;
  grid-template-columns: 49% 1fr;
  gap: 22px;
  min-height: 115px;
  padding: 0 0 7px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
.latest-img { position: relative; height: 112px; overflow: hidden; background: var(--paper-deep); }
.latest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.latest-item:hover img { transform: scale(1.025); }
.badge {
  display: inline-flex;
  padding: 5px 8px;
  background: var(--brass-soft);
  color: var(--ink);
  font: 600 0.52rem/1 var(--mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.latest-img .badge, .card-media .badge { position: absolute; left: 10px; top: 10px; }
.latest-body { padding-top: 1px; }
.latest-body h3 { font-size: 1.45rem; font-weight: 600; line-height: 1.02; }
.latest-body h3 a { text-decoration: none; }
.latest-body p { max-width: 37ch; margin: 7px 0 10px; font: 400 0.62rem/1.55 var(--mono); }
.rating { display: flex; align-items: center; gap: 7px; font: 500 0.6rem/1 var(--mono); }
.stars { color: #999139; letter-spacing: 0.06em; }
.byline { font: 600 0.53rem/1 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; }
.latest-layout > div > p { margin: 8px 0 0; }
.feature-stack { display: grid; gap: 16px; align-content: start; }
.guide-feature { height: 215px; display: grid; grid-template-columns: 61% 39%; overflow: hidden; background: var(--ink); color: #fff; }
.guide-copy { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.guide-copy h3 { margin: 4px 0 11px; font-size: 2.05rem; font-weight: 700; text-transform: uppercase; }
.guide-copy p { margin: 0 0 15px; font: 400 0.62rem/1.55 var(--mono); }
.guide-copy .arrow { width: max-content; }
.guide-photo { position: relative; }
.guide-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink), transparent 46%); }
.guide-photo img { width: 100%; height: 100%; object-fit: cover; }
.trending { min-height: 207px; padding: 23px 24px; background: var(--brass-soft) url('../images/topography.svg'); }
.trending h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.trending ol { margin: 12px 0 14px; padding: 0; list-style: none; counter-reset: t; }
.trending li {
  counter-increment: t;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 7px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.13);
  font: 400 0.59rem/1.25 var(--mono);
}
.trending li::before { content: counter(t, decimal-leading-zero); font-weight: 600; }
.trending a { text-decoration: none; }

/* Newsletter */
.newsletter-section { padding: 6px 0 10px; }
.newsletter {
  min-height: 82px;
  display: grid;
  grid-template-columns: 120px 1fr 1.35fr;
  gap: 26px;
  align-items: center;
  border: 1px solid rgba(23, 27, 24, 0.25);
  padding: 10px 20px;
}
.seal {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px dashed var(--brass);
  border-radius: 50%;
  font: 600 0.45rem/1.35 var(--mono);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.08em;
  transform: rotate(-8deg);
}
.newsletter h2 { font-size: 1.48rem; font-weight: 600; text-transform: uppercase; }
.newsletter p { margin: 5px 0 0; font: 400 0.6rem/1.55 var(--mono); }
.newsletter-form { position: relative; display: grid; grid-template-columns: 1fr auto; }
.newsletter-form input { min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-right: 0; background: #fff; }
.newsletter-form .btn { min-width: 170px; }
.form-status { position: absolute; left: 0; top: calc(100% + 6px); margin: 0; color: var(--forest); font-size: 0.56rem; }

/* Shared page hero */
.page-hero { overflow: hidden; border-top: 1px solid rgba(0, 0, 0, 0.03); }
.page-hero-grid { min-height: 360px; display: grid; grid-template-columns: 45% 55%; }
.page-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px 38px max(38px, calc((100vw - 1440px) / 2));
}
.page-copy h1 { font-size: clamp(4.1rem, 6.4vw, 6.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; }
.page-copy > p:last-child { max-width: 43ch; margin: 18px 0 0; font-size: 0.75rem; }
.page-media { position: relative; min-height: 360px; }
.page-media img { width: 100%; height: 100%; object-fit: cover; }
.page-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper), transparent 34%); }

/* Review archive and cards */
.filters { margin-bottom: 24px; padding: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.22); }
.filter-top { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.search-box { min-width: 0; display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid rgba(0, 0, 0, 0.24); background: #fff; }
.search-box svg { width: 18px; }
.search-box input { width: 100%; min-width: 0; padding: 11px 0; border: 0; outline: 0; background: transparent; }
.sort { display: flex; align-items: center; gap: 9px; font: 600 0.61rem var(--mono); text-transform: uppercase; }
.sort select { min-width: 145px; padding: 10px 32px 10px 10px; border: 1px solid rgba(0, 0, 0, 0.24); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.chip {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: transparent;
  font: 600 0.55rem/1 var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}
.chip:hover, .chip.active { border-color: var(--forest); background: var(--forest); color: #fff; }
.filter-meta { display: flex; justify-content: space-between; gap: 18px; margin-top: 12px; font-size: 0.6rem; }
.reset { border: 0; border-bottom: 1px solid currentColor; padding: 0; background: transparent; font: 600 0.58rem var(--mono); text-transform: uppercase; cursor: pointer; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.17);
  background: rgba(255, 255, 255, 0.27);
}
.review-card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--forest); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.28s ease; }
.review-card:hover .card-media img { transform: scale(1.025); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.cat { margin: 0 0 7px; color: var(--muted); font: 500 0.54rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.card-body h2, .card-body h3 { font-size: 1.65rem; font-weight: 600; line-height: 0.96; }
.card-body h2 a, .card-body h3 a { text-decoration: none; }
.card-body > p:not(.cat) { margin: 9px 0 12px; font: 400 0.61rem/1.5 var(--mono); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); font: 500 0.52rem/1 var(--mono); text-transform: uppercase; }
.card-foot .arrow { font-size: 0.52rem; }
.empty { display: none; padding: 50px; text-align: center; }
.empty.show { display: block; }
.empty h2 { font-size: 2.8rem; text-transform: uppercase; }

/* Guide archive */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-card { overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.18); background: rgba(255, 255, 255, 0.26); }
.guide-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card-body { padding: 18px; }
.guide-card h2, .guide-card h3 { font-size: 1.8rem; font-weight: 600; text-transform: uppercase; }
.guide-card p { margin: 10px 0 14px; font-size: 0.64rem; }

/* Review article */
.progress { position: fixed; z-index: 500; top: 0; left: 0; width: 0; height: 3px; background: var(--brass); }
.article-hero { background: var(--deep); color: #fff; overflow: hidden; }
.article-hero-grid { min-height: 420px; display: grid; grid-template-columns: 49% 51%; }
.article-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 42px 42px max(38px, calc((100vw - 1440px) / 2));
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; font: 500 0.53rem var(--mono); text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--brass-soft); }
.article-copy .badge { width: max-content; }
.article-copy h1 { max-width: 10ch; margin: 12px 0 12px; font-size: clamp(3.9rem, 6vw, 6.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; }
.article-deck { max-width: 49ch; margin: 0 0 18px; font-size: 0.7rem; }
.meta { display: flex; flex-wrap: wrap; gap: 11px 18px; color: rgba(255, 255, 255, 0.82); font: 500 0.54rem var(--mono); text-transform: uppercase; }
.article-media { min-height: 420px; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { width: var(--site); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 38px; padding: 52px 0 62px; }
.article-main { max-width: 760px; font-size: 0.78rem; }
.article-main > p:first-child { font-size: 0.82rem; }
.article-main h2 { scroll-margin-top: 100px; margin: 39px 0 12px; font-size: 2.35rem; font-weight: 600; text-transform: uppercase; }
.article-main figure { margin: 28px 0; }
.article-main figure img { width: 100%; max-height: 420px; object-fit: cover; }
.article-main figcaption { margin-top: 7px; color: var(--muted); font-size: 0.53rem; }
.article-main blockquote { margin: 25px 0; padding: 15px 18px; border-left: 3px solid var(--brass); background: var(--paper-deep); font-size: 0.68rem; }
.article-side { min-width: 0; }
.sidebar-sticky { position: sticky; top: 98px; display: grid; gap: 12px; }
.side-card { padding: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.26); }
.side-card h2 { margin-bottom: 11px; font-size: 1.45rem; font-weight: 600; text-transform: uppercase; }
.score-big { display: flex; align-items: flex-end; gap: 5px; margin-bottom: 10px; }
.score-big strong { font: 700 3.7rem/0.82 var(--display); }
.side-card p, .toc a { font: 400 0.59rem/1.55 var(--mono); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0; text-decoration: none; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tools button { padding: 8px; border: 1px solid rgba(0, 0, 0, 0.23); background: transparent; font: 600 0.56rem var(--mono); text-transform: uppercase; cursor: pointer; }
.tools button:hover { background: var(--forest); color: #fff; }
.template-note { margin: 0; padding: 12px 18px; background: var(--brass-soft); border-bottom: 1px solid rgba(0, 0, 0, 0.18); font: 500 0.64rem var(--mono); text-align: center; }
.quick-verdict { margin: 27px 0; padding: 21px; background: var(--forest); color: #fff; }
.quick-verdict h3 { font-size: 1.9rem; font-weight: 600; text-transform: uppercase; }
.quick-verdict p { margin: 7px 0 0; font-size: 0.66rem; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 27px 0; }
.pc { padding: 19px; border: 1px solid rgba(0, 0, 0, 0.23); }
.pc.good { border-top: 4px solid var(--forest-2); }
.pc.bad { border-top: 4px solid var(--danger); }
.pc h3 { font-size: 1.55rem; font-weight: 600; text-transform: uppercase; }
.specs { width: 100%; margin: 22px 0; border-collapse: collapse; }
.specs th, .specs td { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font: 400 0.62rem var(--mono); }
.specs th { width: 34%; font-weight: 600; text-transform: uppercase; }
.notice { padding: 14px 16px; border-left: 3px solid var(--brass); background: var(--paper-deep); font-size: 0.62rem; }
.score-list { display: grid; gap: 11px; margin: 22px 0; }
.score-row { display: grid; grid-template-columns: 130px 1fr 34px; gap: 11px; align-items: center; }
.score-row span { font: 500 0.6rem var(--mono); text-transform: uppercase; }
.score-track { height: 7px; background: var(--line); }
.score-fill { width: var(--score); height: 100%; background: var(--forest); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* About page */
.about-hero { position: relative; min-height: 470px; overflow: hidden; }
.about-hero-grid { min-height: 470px; display: grid; grid-template-columns: 48% 52%; }
.about-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 36px 46px max(38px, calc((100vw - 1440px) / 2));
}
.about-hero-copy h1 { width: 9.5ch; font-size: clamp(4.6rem, 7.1vw, 7.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; }
.about-hero-copy > p:last-of-type { max-width: 43ch; margin: 18px 0 0; font-size: 0.72rem; }
.about-hero-actions { display: flex; gap: 30px; margin-top: 22px; }
.about-hero-media { position: relative; min-height: 470px; }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.about-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, rgba(245, 241, 232, 0.82) 12%, transparent 38%); }
.manifesto-band { position: relative; background: var(--forest) url('../images/topography.svg'); color: #fff; }
.manifesto-band::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 12px; background: var(--forest); clip-path: polygon(0 55%, 7% 32%, 14% 55%, 22% 38%, 31% 58%, 40% 35%, 50% 54%, 60% 36%, 70% 58%, 80% 37%, 90% 56%, 100% 42%, 100% 100%, 0 100%); }
.manifesto-grid { min-height: 126px; display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); align-items: stretch; }
.manifesto-lead { display: flex; align-items: center; padding-right: 36px; }
.manifesto-lead h2 { font-size: 2rem; font-weight: 600; text-transform: uppercase; }
.manifesto-point { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; border-left: 1px solid rgba(255, 255, 255, 0.17); }
.manifesto-point strong { color: var(--brass-soft); font: 700 2.2rem/1 var(--display); }
.manifesto-point span { margin-top: 7px; font: 500 0.56rem/1.4 var(--mono); text-transform: uppercase; }
.about-story { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.about-story-media { position: relative; min-height: 410px; }
.about-story-media img { width: 100%; height: 100%; object-fit: cover; }
.about-story-media::after { content: "FIELD NOTES / 01"; position: absolute; right: -14px; bottom: 24px; padding: 8px 10px; background: var(--brass-soft); font: 600 0.52rem var(--mono); letter-spacing: 0.06em; }
.about-story-copy h2 { margin-bottom: 19px; font-size: clamp(3.5rem, 5vw, 5.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; }
.about-story-copy p { max-width: 54ch; font-size: 0.72rem; }
.about-quote { margin: 24px 0 0; padding: 18px 0 0; border-top: 2px solid var(--forest); font: 600 1.35rem/1.15 var(--display); text-transform: uppercase; }
.about-principles { padding: 50px 0 54px; background: rgba(235, 228, 213, 0.73); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle { position: relative; min-height: 220px; padding: 25px 22px 22px; border-top: 3px solid var(--forest); background: rgba(255, 255, 255, 0.28); }
.principle b { color: var(--brass); font: 600 0.68rem var(--mono); }
.principle h3 { margin: 34px 0 11px; font-size: 2rem; font-weight: 600; text-transform: uppercase; }
.principle p { margin: 0; font-size: 0.65rem; }
.testing-band { background: var(--deep); color: #fff; }
.testing-wrap { padding: 52px 0 56px; }
.testing-head { display: grid; grid-template-columns: 1fr 0.8fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.testing-head h2 { font-size: clamp(3.4rem, 5vw, 5rem); font-weight: 800; text-transform: uppercase; }
.testing-head p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.68rem; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255, 255, 255, 0.22); }
.step { min-height: 205px; padding: 23px; border-right: 1px solid rgba(255, 255, 255, 0.22); }
.step:last-child { border-right: 0; }
.step strong { display: block; margin-bottom: 30px; color: var(--brass-soft); font: 600 2.9rem/1 var(--display); }
.step h3 { font-size: 1.65rem; font-weight: 600; text-transform: uppercase; }
.step p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.75); font-size: 0.6rem; }
.independence { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 46px; align-items: center; }
.independence h2 { font-size: clamp(3.3rem, 5vw, 5.1rem); font-weight: 800; text-transform: uppercase; }
.independence-copy p { font-size: 0.7rem; }
.independence-card { padding: 28px; border: 1px solid var(--line); background: var(--brass-soft) url('../images/topography.svg'); }
.independence-card p { margin: 0; font: 600 1.6rem/1.15 var(--display); text-transform: uppercase; }
.independence-card .arrow { margin-top: 22px; }
.team-section { padding-top: 8px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team { min-height: 215px; padding: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.28); }
.avatar { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; background: var(--forest); color: #fff; font: 600 1.45rem var(--display); }
.team h3 { font-size: 1.7rem; font-weight: 600; }
.role { margin: 7px 0 10px; color: var(--brass); font: 600 0.54rem var(--mono) !important; text-transform: uppercase; }
.team p { font-size: 0.61rem; }

/* Legacy split/value classes retained for other generated pages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-media { min-height: 420px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 18px; font-size: clamp(3rem, 4.8vw, 4.8rem); text-transform: uppercase; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 22px 0; border-top: 3px solid var(--forest); }
.value b { color: var(--brass); font-family: var(--mono); }
.value h3 { margin: 17px 0 9px; font-size: 1.8rem; text-transform: uppercase; }
.value p { font-size: 0.65rem; }

/* Policies and contact */
.policy { width: var(--reading); margin-inline: auto; padding: 58px 0 82px; }
.policy h1 { font-size: clamp(4rem, 7.5vw, 6.5rem); font-weight: 800; text-transform: uppercase; }
.effective { margin: 14px 0 34px; color: var(--muted); font-size: 0.65rem; }
.policy h2 { scroll-margin-top: 100px; margin: 38px 0 11px; font-size: 2.15rem; font-weight: 600; text-transform: uppercase; }
.policy nav { margin: 25px 0 34px; padding: 18px; border: 1px solid var(--line); }
.policy nav ol { columns: 2; margin: 0; padding-left: 20px; }
.policy nav a { font-size: 0.62rem; }
.policy p, .policy li { font-size: 0.72rem; }
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; padding: 34px; border: 1px solid var(--line); }
.contact h2 { font-size: 3.2rem; font-weight: 700; text-transform: uppercase; }
.contact-form { display: grid; gap: 13px; }
.field { display: grid; gap: 5px; }
.field label { font: 600 0.58rem var(--mono); text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid rgba(0, 0, 0, 0.24); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  padding: 18px 0 10px;
  background: var(--deep);
  color: #fff;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  opacity: 0.2;
  background: linear-gradient(135deg, transparent 25%, var(--forest-2) 25% 27%, transparent 27%) 0 0 / 76px 76px;
}
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 38px; }
.footer-brand .brand img { filter: brightness(0) invert(1); }
.footer-brand p { max-width: none; margin: 8px 0; font: 400 0.54rem/1.4 var(--mono); }
.footer-title { margin: 0 0 9px; font: 600 0.58rem var(--mono); text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 5px; }
.footer-links a { color: rgba(255, 255, 255, 0.85); font: 400 0.57rem var(--mono); text-decoration: none; }
.footer-links a:hover { color: var(--brass-soft); text-decoration: underline; }
.social { display: flex; gap: 7px; }
.social a { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); text-decoration: none; }
.social svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.15); font: 400 0.5rem var(--mono); }
.footer-bottom p { margin: 0; }

.error { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.error strong { display: block; color: var(--brass); font: clamp(8rem, 24vw, 17rem)/0.75 var(--display); }
.error h1 { margin: 21px 0 13px; font-size: 3.3rem; text-transform: uppercase; }
.error p { max-width: 50ch; margin: 0 auto 24px; }

/* Laptop / narrow desktop: keep the supplied desktop composition intact at 1024px. */
@media (max-width: 1120px) {
  :root { --site: calc(100% - 76px); }
  .header-inner { grid-template-columns: 190px minmax(430px, 1fr) auto; gap: 10px; }
  .nav ul { gap: 28px; }
  .header-actions { gap: 5px; }
  .header-actions .btn { padding-inline: 13px; }
  .hero-grid { grid-template-columns: 500px 1fr; }
  .hero h1 { font-size: 5.25rem; }
  .latest-layout { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 28px; }
  .latest-item { gap: 20px; }
  .guide-copy { padding: 21px; }
  .guide-copy h3 { font-size: 1.85rem; }
  .newsletter { grid-template-columns: 112px 1fr 1.35fr; gap: 20px; padding-inline: 18px; }
  .newsletter-form .btn { min-width: 150px; }
  .footer-grid { gap: 27px; }
}

@media (max-width: 900px) {
  :root { --site: calc(100% - 40px); }
  .site-header { height: 78px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav {
    position: fixed;
    inset: 78px 0 0;
    z-index: 150;
    display: none;
    justify-self: stretch;
    padding: 28px 24px;
    background: var(--deep);
    color: #fff;
    overflow: auto;
  }
  .nav-open .nav { display: block; }
  .nav ul { display: grid; gap: 0; }
  .nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.17); }
  .nav a { display: flex; justify-content: space-between; padding: 17px 4px; font-size: 0.85rem; }
  .nav a::after { display: none; }
  .header-actions .btn { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { min-height: 500px; grid-template-columns: 46% 54%; }
  .hero-copy { padding-left: 20px; }
  .hero h1 { width: 470px; font-size: 4.2rem; }
  .stats { width: 420px; gap: 9px; }
  .stat { grid-template-columns: 27px 1fr; gap: 6px; }
  .stat svg { width: 27px; }
  .category-band { height: auto; min-height: 140px; }
  .latest-layout { grid-template-columns: 1fr; }
  .feature-stack { grid-template-columns: 1.05fr 0.95fr; }
  .guide-feature, .trending { height: 225px; min-height: 225px; }
  .newsletter { grid-template-columns: 84px 1fr; }
  .newsletter-form { grid-column: 1 / -1; }
  .page-hero-grid, .article-hero-grid, .about-hero-grid { grid-template-columns: 1fr 1fr; }
  .page-copy, .article-copy, .about-hero-copy { padding-left: 20px; }
  .review-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 27px; }
  .about-story, .independence { gap: 32px; }
  .manifesto-grid { grid-template-columns: 1fr repeat(3, 0.8fr); }
  .manifesto-point { padding-inline: 16px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --site: calc(100% - 28px); --reading: calc(100% - 28px); }
  body { font-size: 13px; }
  .section { padding: 46px 0; }
  .brand span { font-size: 0.82rem; letter-spacing: 0.17em; }
  .brand img { width: 26px; }
  .header-actions { gap: 0; }
  .hero-grid, .page-hero-grid, .article-hero-grid, .about-hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .page-copy, .article-copy, .about-hero-copy { width: var(--site); margin-inline: auto; padding: 42px 0 38px; }
  .hero h1, .about-hero-copy h1 { width: auto; font-size: clamp(3.8rem, 17vw, 5.5rem); }
  .hero-deck { font-size: 0.74rem; }
  .hero-actions, .about-hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .btn, .about-hero-actions .btn { width: 100%; }
  .hero-actions .arrow, .about-hero-actions .arrow { width: max-content; }
  .hero-media, .page-media, .article-media, .about-hero-media { min-height: 340px; }
  .hero-media::after, .page-media::after, .article-media::after, .about-hero-media::after { background: linear-gradient(0deg, rgba(8, 19, 12, 0.28), transparent 50%); }
  .stats { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .category-head, .section-head { align-items: flex-start; flex-direction: column; }
  .category-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .category-link { min-width: 112px; scroll-snap-align: start; }
  .latest-item { grid-template-columns: 1fr; }
  .latest-img { height: 210px; }
  .feature-stack { grid-template-columns: 1fr; }
  .guide-feature { grid-template-columns: 1fr; height: auto; }
  .guide-photo { min-height: 235px; order: -1; }
  .guide-photo::before { background: linear-gradient(0deg, var(--ink), transparent 53%); }
  .newsletter { grid-template-columns: 1fr; padding: 20px 16px; }
  .seal { display: none; }
  .newsletter-form { grid-template-columns: 1fr; gap: 8px; }
  .newsletter-form input { border-right: 1px solid var(--line); }
  .newsletter-form .btn { min-width: 0; }
  .page-copy h1, .article-copy h1 { font-size: clamp(3.5rem, 15vw, 5rem); }
  .filter-top { grid-template-columns: 1fr; }
  .sort { justify-content: space-between; }
  .review-grid, .guide-grid, .related { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; padding-top: 38px; }
  .article-side { order: -1; }
  .sidebar-sticky { position: static; grid-template-columns: 1fr 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 95px 1fr 32px; }
  .manifesto-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-lead { grid-column: 1 / -1; padding: 24px 0; }
  .manifesto-point:nth-child(2), .manifesto-point:nth-child(4) { border-left: 0; }
  .about-story, .independence { grid-template-columns: 1fr; }
  .about-story-media { min-height: 330px; }
  .principles-grid, .team-grid { grid-template-columns: 1fr; }
  .testing-head { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
  .policy nav ol { columns: 1; }
  .contact { grid-template-columns: 1fr; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .search-form { grid-template-columns: 1fr; gap: 8px; }
  .search-form input { border-right: 1px solid var(--ink); }
}

@media (max-width: 480px) {
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
  .step:last-child { border-bottom: 0; }
  .sidebar-sticky { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media print {
  .site-header, .site-footer, .article-side, .newsletter-section, .progress { display: none !important; }
  body { background: #fff; }
  .article-hero { background: #fff; color: #000; }
  .article-hero-grid, .article-layout { width: 100%; display: block; }
  .article-media { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
