/* HIR — Swiss / brutalist editorial (deliberately unlike TGA charcoal, PJI bronze, AIR gold/teal paper) */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F3F3F3;
  --ink: #0A0A0A;
  --ink-2: #2A2A2A;
  --mute: #5C5C5C;
  --line: #0A0A0A;
  --line-soft: #D0D0D0;
  --cobalt: #2541B2;
  --cobalt-ink: #1A2F8F;
  --signal: #E8FF47; /* chartreuse highlight — not bronze/teal/gold */
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-ink); background: var(--signal); }

h1, .h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}
h2 {
  font-family: var(--font);
  font-weight: 650;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}
h3 { font-weight: 600; font-size: 1.05rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; color: var(--ink-2); }
.lede { font-size: 1.15rem; max-width: 36rem; color: var(--ink-2); font-weight: 450; text-transform: none; letter-spacing: 0; line-height: 1.45; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.mb-0 { margin-bottom: 0 !important; }

/* Header — hard bar, no soft brand chip */
.site-header {
  border-bottom: 2px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 40;
}
.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex; align-items: stretch; gap: 1rem;
  min-height: 3.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: inherit;
  padding: 0.55rem 0;
  border-right: 2px solid var(--line);
  padding-right: 1rem;
  margin-right: 0.25rem;
}
.brand:hover { background: transparent; }
.brand__monogram {
  width: 2rem; height: 2rem; flex: 0 0 auto;
  background: var(--ink); display: grid; place-items: center;
}
.brand__monogram svg { width: 1.25rem; height: 1.25rem; }
.brand__text { display: flex; flex-direction: column; gap: 0.05rem; line-height: 1.1; }
.brand__name {
  font-weight: 650; font-size: 0.92rem; letter-spacing: -0.02em;
  max-width: 14rem; line-height: 1.15;
}
.brand__tag {
  font-size: 0.72rem; color: var(--mute);
  letter-spacing: 0.01em;
}
.nav {
  display: flex; align-items: center; gap: 0.15rem; flex: 1; flex-wrap: wrap;
}
.nav > a {
  text-decoration: none; color: var(--ink);
  font-weight: 550; font-size: 0.9rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid transparent;
}
.nav > a:hover, .nav > a[aria-current="page"] {
  background: var(--ink); color: var(--bg); text-decoration: none;
}
.nav__search { margin-left: auto; min-width: min(100%, 14rem); }
.nav-toggle {
  display: none; margin-left: auto; align-self: center;
  border: 2px solid var(--line); background: var(--bg);
  font: inherit; font-weight: 600;
  font-size: 0.85rem; padding: 0.45rem 0.7rem; cursor: pointer;
}

.search-wrap { position: relative; }
.search-wrap input {
  width: 100%; border: 2px solid var(--line); border-radius: 0;
  padding: 0.45rem 0.55rem; font: inherit; font-size: 0.85rem;
  background: var(--bg);
}
.search-results {
  position: absolute; right: 0; left: 0; top: calc(100% + 2px);
  background: var(--bg); border: 2px solid var(--line);
  max-height: 16rem; overflow: auto; display: none; z-index: 50;
}
.search-results.is-open { display: block; }
.search-results a {
  display: block; padding: 0.55rem 0.65rem; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-soft); font-size: 0.88rem;
}
.search-results a:hover { background: var(--signal); }

/* Hero — asymmetric split */
.hero {
  border-bottom: 2px solid var(--line);
  padding: 2.5rem 0 2.75rem;
  background:
    linear-gradient(90deg, var(--bg) 58%, var(--bg-alt) 58%);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: end;
}
.hero__kicker {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  /* was uppercase */ letter-spacing: 0.02em; color: var(--mute);
  margin: 0 0 0.85rem;
}
.hero__kicker::before { content: "▸ "; color: var(--cobalt); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.35rem;
}
.hero__meta span {
  font-family: var(--mono); font-size: 0.68rem; /* was uppercase */
  letter-spacing: 0.04em; border: 1px solid var(--line); padding: 0.35rem 0.5rem;
  background: var(--bg);
}
.hero__meta strong { color: var(--ink); font-weight: 600; }

/* If hero only has one column content, still ok */
.hero .wrap > :only-child { grid-column: 1 / -1; max-width: 40rem; }

.section { padding: 2.25rem 0; border-bottom: 2px solid var(--line); }
.section--tight { padding: 1.75rem 0; }
.section--paper-dark { background: var(--bg-alt); }
.section__label {
  font-family: var(--mono); font-size: 0.68rem; /* was uppercase */
  letter-spacing: 0.03em; color: var(--mute); margin: 0 0 0.65rem;
}
.section__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); padding-bottom: 0.65rem;
}
.link-more {
  font-family: var(--mono); font-size: 0.72rem; /* was uppercase */
  letter-spacing: 0.04em; text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--cobalt);
}
.link-more:hover { background: var(--signal); }

/* Featured — hard frame, score as giant mono */
.featured {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 1.5rem;
  border: 2px solid var(--line); padding: 1.25rem; background: var(--bg);
  box-shadow: 8px 8px 0 var(--ink);
}
.featured__kicker {
  font-family: var(--mono); font-size: 0.7rem; /* was uppercase */
  letter-spacing: 0.02em; color: var(--mute); margin: 0 0 0.35rem;
}
.featured__title { margin: 0 0 0.5rem; letter-spacing: -0.02em; font-size: 1.45rem; font-family: var(--display); font-weight: 600; }
.featured__title a { color: inherit; text-decoration: none; }
.featured__title a:hover { background: var(--signal); }
.featured__meta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.85rem; }

.stamp {
  border: 2px solid var(--line); background: var(--signal);
  width: 5.5rem; min-height: 5.5rem;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 0.45rem 0.5rem; gap: 0.15rem;
}
.stamp--lg { width: 6.5rem; min-height: 6.5rem; }
.stamp__score {
  font-family: var(--mono); font-weight: 600; font-size: 2rem; line-height: 1;
  letter-spacing: -0.04em; color: var(--ink);
}
.stamp__label {
  font-family: var(--mono); font-size: 0.58rem; /* was uppercase */
  letter-spacing: 0.02em; color: var(--mute);
}

.recommend {
  font-family: var(--mono); font-size: 0.68rem; /* was uppercase */
  letter-spacing: 0.05em; border: 2px solid var(--line); padding: 0.28rem 0.45rem;
  background: var(--bg); color: var(--ink);
}
.recommend--yes { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.recommend--high { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.recommend--cond { background: var(--bg); color: var(--ink); }
.recommend--no { background: var(--bg-alt); color: var(--mute); }

/* Category stations — full-bleed stripes, not soft cards */
.stations { display: flex; flex-direction: column; border: 2px solid var(--line); }
.station {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.85rem;
  padding: 1rem 1.1rem; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line); background: var(--bg);
}
.station:last-child { border-bottom: 0; }
.station:nth-child(even) { background: var(--bg-alt); }
.station:hover { background: var(--signal); }
.station__num {
  font-family: var(--mono); font-size: 0.85rem; font-weight: 600;
  color: var(--cobalt); letter-spacing: 0.04em;
}
.station__title {
  font-weight: 650; letter-spacing: -0.015em;
  font-size: 1.05rem; margin-bottom: 0.2rem;
}
.station__dek { margin: 0; font-size: 0.9rem; color: var(--mute); max-width: 40rem; }

/* Review cards / lists */
.review-grid, .card-grid, .latest-list {
  display: grid; gap: 0;
  border: 2px solid var(--line);
}
.review-card, .card, .latest-list > * {
  border-bottom: 1px solid var(--line); padding: 1rem 1.1rem; background: var(--bg);
  text-decoration: none; color: inherit;
}
.review-card:last-child, .card:last-child, .latest-list > *:last-child { border-bottom: 0; }
.review-card:hover, .card:hover { background: var(--signal); }
.card { border-radius: 0 !important; box-shadow: none !important; }

/* Review page */
.review-hero, .review-top-stack, .prose {
  /* keep structure; restyle children */
}
.review-top-stack { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.score-pill, .stamp {
  border-radius: 0 !important;
}
.insight-tile, .best, .not-ideal, .review-insights {
  border-radius: 0 !important;
}
.review-insights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 2px solid var(--line);
}
.insight-tile {
  padding: 0.85rem 1rem; border-right: 1px solid var(--line); background: var(--bg);
}
.insight-tile:last-child { border-right: 0; background: var(--bg-alt); }
.product-shot {
  border: 2px solid var(--line); margin: 0; background: var(--bg-alt);
  box-shadow: 6px 6px 0 var(--ink);
}
.product-shot img { width: 100%; }
.product-shot figcaption { display: none; }

.crumbs {
  font-family: var(--mono); font-size: 0.68rem; /* was uppercase */
  letter-spacing: 0.05em; color: var(--mute); margin: 0 0 1rem;
}
.crumbs a { color: inherit; }

/* Footer */
.site-footer {
  background: var(--ink); color: #EAEAEA; padding: 2.5rem 0 2rem;
  border-top: 4px solid var(--cobalt);
}
.site-footer a { color: #fff; }
.site-footer a:hover { background: var(--cobalt); color: #fff; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem;
}
.site-footer__brand {
  font-weight: 650; letter-spacing: -0.02em;
  margin-bottom: 0.5rem; font-size: 1rem;
}
.site-footer h4 {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.02em;
  /* was uppercase */ color: #9A9A9A; margin: 0 0 0.55rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer p { color: #B5B5B5; }

/* Utilities from prior templates */
.list-plain { padding-left: 1.1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.prose .two-col > .card {
  border: 2px solid var(--line); padding: 0.85rem 1rem; background: var(--bg);
  border-radius: 0; box-shadow: none;
}
.field-glance, .field-chart { max-width: 100%; }
.pricing-section, .pricing-table {
  border-collapse: collapse; width: 100%;
}
.pricing-table th, .pricing-table td {
  border: 1px solid var(--line); padding: 0.5rem 0.6rem; text-align: left;
  font-size: 0.9rem;
}
.pricing-table th { background: var(--bg-alt); font-family: var(--mono); font-size: 0.68rem; /* was uppercase */ }

@media (max-width: 820px) {
  .hero { background: var(--bg); }
  .hero .wrap { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; box-shadow: 4px 4px 0 var(--ink); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .review-insights { grid-template-columns: 1fr; }
  .insight-tile { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-block; }
  .nav { display: none; width: 100%; border-top: 2px solid var(--line); padding: 0.5rem 0 0.75rem; }
  .nav.is-open { display: flex; }
  .nav__search { margin-left: 0; width: 100%; }
  .brand { border-right: 0; }
}
