:root {
  --bg: #111111;
  --panel: #181818;
  --panel-soft: #1f1d1a;
  --ink: #f5f1e8;
  --muted: #d1c7b8;
  --line: rgba(245, 241, 232, 0.14);
  --accent: #b85c38;
  --accent-2: #8aa37a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(184, 92, 56, 0.12), transparent 22%),
    radial-gradient(circle at bottom left, rgba(138, 163, 122, 0.12), transparent 18%),
    var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

.shell,
.header-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(17, 17, 17, 0.84);
  border-bottom: 1px solid var(--line);
}

.header-shell {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.primary-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.primary-nav a,
.footer-links a,
.pill-row a,
.text-link {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.primary-nav a:hover,
.text-link:hover {
  color: var(--accent-2);
}

.hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: saturate(0.9);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: inherit;
  padding: 112px 0 64px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.16), rgba(17, 17, 17, 0.88));
}

.hero-layout {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: end;
}

.hero-copy-block {
  max-width: 46rem;
}

.hero h1,
.section-heading h2,
.topic-card h2,
.article-card h2,
.story-card h3,
.article-hero h1,
.prose-block h2 {
  font-family: "Fraunces", serif;
  line-height: 1.05;
  margin: 0 0 0.8rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  max-width: 10ch;
}

.hero-copy {
  max-width: 46rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent-2);
  font-weight: 700;
}

.hero-actions,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.5rem;
}

.hero-panel,
.glance-card,
.standard-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
  backdrop-filter: blur(10px);
}

.hero-panel h2,
.glance-card h2,
.standard-card h3 {
  font-family: "Fraunces", serif;
  line-height: 1.08;
  margin: 0 0 0.8rem;
}

.hero-panel h2 {
  font-size: 1.7rem;
}

.hero-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.button,
.pill-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(17, 17, 17, 0.36);
}

.button:hover,
.pill-row a:hover {
  transform: translateY(-1px);
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 12ch;
}

.section-heading p:last-child {
  color: var(--muted);
  max-width: 48rem;
}

.topic-grid,
.story-grid,
.article-grid {
  display: grid;
  gap: 20px;
}

.glance-grid,
.standards-grid {
  display: grid;
  gap: 20px;
}

.glance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.standards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topic-card,
.story-card,
.article-card,
.trust-strip,
.article-hero,
.article-body,
.prose-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.topic-card {
  overflow: hidden;
}

.topic-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.topic-card-copy,
.article-card-copy,
.story-card,
.trust-strip,
.article-hero,
.article-body,
.prose-block,
.glance-card,
.standard-card {
  padding: 24px;
}

.topic-card-copy h2 {
  font-size: 1.9rem;
}

.topic-card-copy p:last-of-type,
.story-card p,
.article-card-copy p,
.article-intro,
.prose-block p {
  color: var(--muted);
}

.story-card h3,
.article-card h2 {
  font-size: 1.55rem;
}

.glance-card h2 {
  font-size: 1.5rem;
}

.standard-card h3 {
  font-size: 1.35rem;
}

.text-link {
  font-weight: 700;
  color: var(--ink);
}

.text-link::after {
  content: " →";
}

.trust-strip .pill-row {
  margin-top: 0.5rem;
}

.pill-row a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.article-hero {
  margin-top: 48px;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.article-hero-copy {
  min-width: 0;
}

.article-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 14ch;
}

.article-hero-side {
  display: grid;
  gap: 16px;
}

.article-hero-side img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.article-hero-panel {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.guide-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 10px;
}

.guide-list li {
  margin: 0;
}

.guide-list a {
  color: var(--muted);
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.guide-list a:hover {
  color: var(--ink);
  border-color: rgba(184, 92, 56, 0.45);
  transform: translateY(-1px);
}

.prose-block,
.article-body {
  margin-top: 24px;
}

.prose-block h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

.prose-block p + p {
  margin-top: 0.9rem;
}

.disclaimer {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(184, 92, 56, 0.08);
  color: var(--muted);
}

.subcategory-strip {
  padding-top: 0;
}

.subcategory-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.subcat-pill strong {
  min-width: 30px;
  text-align: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(184, 92, 56, 0.14);
  color: var(--ink);
}

.pick-grid,
.pros-cons-grid,
.specs-grid {
  display: grid;
  gap: 20px;
}

.pick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pick-card,
.product-block,
.info-card,
.review-summary,
.specs-grid,
.faq-list details {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pick-card,
.product-block,
.info-card,
.review-summary,
.faq-list details {
  padding: 22px;
}

.product-block {
  margin-top: 28px;
}

.product-block-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.product-rank,
.score-chip {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(184, 92, 56, 0.12);
  border: 1px solid rgba(184, 92, 56, 0.35);
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
}

.product-block-copy h2,
.review-summary h2 {
  font-family: "Fraunces", serif;
  line-height: 1.08;
  margin: 0 0 0.75rem;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 22px;
}

.product-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.product-summary-card {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.product-points,
.info-card ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.pros-cons-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.pros-card {
  border-color: rgba(138, 163, 122, 0.35);
}

.cons-card {
  border-color: rgba(184, 92, 56, 0.35);
}

.review-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.specs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 20px;
  margin: 24px 0;
}

.specs-grid div {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.specs-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list details summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list details p {
  margin-top: 14px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
}

.footer-grid {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.footer-copy,
.footer-meta {
  color: var(--muted);
}

.footer-meta {
  width: min(1120px, calc(100vw - 32px));
  margin: 16px auto 0;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .header-shell,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav,
  .footer-links {
    justify-content: flex-start;
  }

  .topic-grid,
  .story-grid,
  .article-grid,
  .glance-grid,
  .standards-grid,
  .pick-grid,
  .pros-cons-grid,
  .specs-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    padding: 108px 0 48px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .product-block-head,
  .review-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 62vh;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .button,
  .pill-row a {
    width: 100%;
  }
}

/* WordPress inline icon sizing */
main svg, article svg, .content svg { width: 1.25em; height: 1.25em; max-width: 1.25em; max-height: 1.25em; display: inline-block; vertical-align: -0.2em; fill: currentColor; flex-shrink: 0; }
main svg[width][height] { width: auto; height: auto; }

/* WordPress content overflow */
.article-body iframe, .article-body video, .article-body embed { max-width: 100%; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; }
.article-body img { width: auto; max-width: 100%; height: auto; }
.article-body pre, .article-body code { white-space: pre-wrap; word-break: break-word; }
.article-body { overflow-wrap: anywhere; }
