/*
Theme Name: Considered Gear
Theme URI: https://consideredgear.com
Description: Considered Gear — editorial gear review publication. Gear with heft.
Version: 1.0
Author: Jim Shannon / Shannon Ventures
Text Domain: consideredgear
*/

/* ── Google Fonts ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────── */
:root {
  --green:   #1a3c2e;
  --green2:  #245040;
  --cream:   #F8F5F0;
  --paper:   #F2EDE6;
  --ink:     #1a1a1a;
  --ink-mid: #444444;
  --ink-lt:  #6b6b6b;
  --cognac:  #7a3e1e;
  --rule:    #D8D0C4;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Skip Link ────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px;
  background: var(--green); color: var(--cream);
  padding: 8px 16px; font-size: 14px; z-index: 999;
}
.skip:focus { left: 16px; top: 16px; }

/* ── Navigation ───────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,245,240,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.nav-brand em { font-style: italic; color: var(--cognac); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mid); text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green); }

/* ── Homepage Hero ────────────────────────────────── */
.hero {
  max-width: 1200px; margin: 0 auto;
  padding: 100px 40px 80px;
  border-bottom: 1px solid var(--rule);
}
.hero-eyebrow {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-lt); margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 600; line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink); max-width: 900px;
  margin-bottom: 32px;
}
.hero-headline em { font-style: italic; color: var(--green); }
.hero-thesis {
  font-size: 1.1rem; color: var(--ink-mid);
  max-width: 560px; line-height: 1.65;
  margin-bottom: 0;
}

/* ── Latest Article Feature ───────────────────────── */
.latest-section {
  max-width: 1200px; margin: 0 auto;
  padding: 64px 40px;
  border-bottom: 1px solid var(--rule);
}
.section-eyebrow {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-lt); margin-bottom: 32px;
  display: flex; align-items: center; gap: 16px;
}
.section-eyebrow::after {
  content: ''; flex: 1; height: 1px; background: var(--rule);
}
.featured-article {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.featured-article-meta {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-lt); margin-bottom: 16px;
}
.featured-article h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -0.01em; margin-bottom: 20px;
}
.featured-article h2 a { text-decoration: none; }
.featured-article h2 a:hover { color: var(--green); }
.featured-article p { font-size: 1rem; color: var(--ink-mid); line-height: 1.7; }
.article-cta {
  display: inline-block; margin-top: 24px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
}

/* ── Reading List ─────────────────────────────────── */
.reading-section {
  max-width: 1200px; margin: 0 auto;
  padding: 64px 40px;
  border-bottom: 1px solid var(--rule);
}
.reading-list { list-style: none; }
.reading-item {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.reading-item:first-child { border-top: 1px solid var(--rule); }
.reading-item-title {
  font-family: var(--serif);
  font-size: 1.15rem; font-weight: 500;
  text-decoration: none; color: var(--ink);
  flex: 1; transition: color 0.15s;
}
.reading-item-title:hover { color: var(--green); }
.reading-item-meta {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}
.reading-date {
  font-size: 0.72rem; color: var(--ink-lt);
  letter-spacing: 0.04em;
}
.reading-type {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-lt); font-style: italic;
}

/* ── What I'm Using ───────────────────────────────── */
.using-section {
  max-width: 1200px; margin: 0 auto;
  padding: 64px 40px;
  border-bottom: 1px solid var(--rule);
}
.using-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px; margin-top: 32px;
}
.using-item h3 {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 8px;
}
.using-item p {
  font-size: 0.88rem; color: var(--ink-mid); line-height: 1.6;
}

/* ── Single Article ───────────────────────────────── */
.article-header {
  max-width: 720px; margin: 0 auto;
  padding: 80px 40px 48px;
}
.article-header .type-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cognac); margin-bottom: 20px;
}
.article-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.article-header .dek {
  font-family: var(--serif);
  font-size: 1.25rem; font-style: italic;
  color: var(--ink-mid); line-height: 1.5;
  margin-bottom: 24px;
}
.article-meta {
  font-size: 0.75rem; color: var(--ink-lt);
  letter-spacing: 0.04em;
  padding-top: 24px; border-top: 1px solid var(--rule);
}
.affiliate-disclosure {
  font-size: 0.8rem; color: var(--ink-lt);
  font-style: italic; margin-bottom: 40px;
  padding-bottom: 20px; border-bottom: 1px solid var(--rule);
}

/* ── Article Body ─────────────────────────────────── */
.article-body {
  max-width: 720px; margin: 0 auto;
  padding: 0 40px 80px;
}
.article-body p {
  font-family: var(--serif);
  font-size: 1.15rem; line-height: 1.75;
  color: var(--ink); margin-bottom: 1.4em;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.8rem; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.2;
  margin: 2.5em 0 0.8em;
  padding-top: 2em; border-top: 1px solid var(--rule);
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 600;
  margin: 2em 0 0.6em;
}
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body em { color: var(--cognac); font-style: italic; }
.article-body a {
  color: var(--green); text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body ul, .article-body ol {
  font-family: var(--serif);
  font-size: 1.1rem; line-height: 1.7;
  margin: 0 0 1.4em 1.5em;
}
.article-body li { margin-bottom: 0.4em; }
.article-body table {
  width: 100%; border-collapse: collapse;
  margin: 2em 0; font-size: 0.9rem;
}
.article-body th {
  font-family: var(--sans);
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  color: var(--ink-lt);
  padding: 10px 16px; text-align: left;
  border-bottom: 2px solid var(--rule);
}
.article-body td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: 1rem;
}
.article-body blockquote {
  border-left: 3px solid var(--green);
  padding: 8px 24px; margin: 2em 0;
  font-family: var(--serif);
  font-size: 1.2rem; font-style: italic;
  color: var(--ink-mid);
}

/* ── Methodology Footer Block ─────────────────────── */
.methodology-footer {
  margin-top: 64px; padding-top: 32px;
  border-top: 2px solid var(--rule);
  font-size: 0.85rem; color: var(--ink-lt);
  font-family: var(--serif); font-style: italic;
  line-height: 1.6;
}
.methodology-footer strong {
  display: block; margin-bottom: 8px;
  font-style: normal; font-weight: 600;
  font-family: var(--sans); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mid);
}
.methodology-footer a { color: var(--green); }

/* ── Score Badge ──────────────────────────────────── */
.score {
  font-family: var(--serif);
  font-size: 1.4rem; font-style: italic;
  color: var(--green); font-weight: 600;
}
.score-label {
  font-size: 0.75rem; color: var(--ink-lt);
  letter-spacing: 0.04em;
}

/* ── Shortlist Table ──────────────────────────────── */
.shortlist {
  position: sticky; top: 64px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px 28px; margin-bottom: 48px;
}
.shortlist h3 {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-lt); margin-bottom: 16px;
}
.shortlist ol { list-style: none; }
.shortlist li {
  display: flex; align-items: baseline;
  justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: 1rem;
}
.shortlist li:last-child { border-bottom: none; }
.shortlist a { text-decoration: none; color: var(--ink); }
.shortlist a:hover { color: var(--green); }

/* ── Pick Block ───────────────────────────────────── */
.pick-block {
  padding: 40px 0; border-bottom: 1px solid var(--rule);
}
.pick-block:last-of-type { border-bottom: none; }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: var(--cream);
  padding: 64px 40px 40px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 600;
  margin-bottom: 12px;
}
.footer-brand em { font-style: italic; color: #a0b8a8; }
.footer-tagline {
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color 0.15s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }

/* ── Archive / Index ──────────────────────────────── */
.archive-header {
  max-width: 1200px; margin: 0 auto;
  padding: 64px 40px 40px;
  border-bottom: 1px solid var(--rule);
}
.archive-header h1 {
  font-family: var(--serif);
  font-size: 2.5rem; font-weight: 600;
  letter-spacing: -0.02em;
}

/* ── 404 ──────────────────────────────────────────── */
.not-found {
  max-width: 600px; margin: 0 auto;
  padding: 120px 40px; text-align: center;
}
.not-found h1 {
  font-family: var(--serif);
  font-size: 5rem; font-weight: 600;
  color: var(--rule); margin-bottom: 24px;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.7rem; }
  .hero, .latest-section, .reading-section,
  .using-section { padding-left: 20px; padding-right: 20px; }
  .featured-article { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .article-header, .article-body { padding-left: 20px; padding-right: 20px; }
}
