/* ═══════════════════════════════════════════════════════
   KNOW YOUR COOKWARE — Global Stylesheet
   Design: Wirecutter calm authority + Labdoor lab voice
   Fonts: Crimson Pro (headlines) + IBM Plex Sans (body) + IBM Plex Mono (data)
   Palette: Calm/clinical — green-safe primary, crimson reserved for AVOID
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #F7F8FA;
  --surface: #EEF0F3;
  --surface-2: #E4E7EC;
  --dark: #0F1114;
  --dark-raised: #1A1D23;
  --dark-surface: #252830;
  --nav-bg: #111318;

  --text: #1A1D23;
  --text-2: #5A6270;
  --text-3: #8E95A0;
  --text-inv: #F0F1F5;
  --text-inv-2: #B0B5C0;

  /* tier palette: green=SAFEST, blue=SAFE, gold=CAUTION, crimson=AVOID */
  --safe: #1A7A6D;
  --safe-bg: rgba(26, 122, 109, 0.07);
  --blue: #1B3A5C;
  --blue-bg: rgba(27, 58, 92, 0.06);
  --gold: #C77E12;
  --gold-bg: rgba(199, 126, 18, 0.08);
  --crimson: #B5252B;
  --crimson-bg: rgba(181, 37, 43, 0.07);

  --border: #DDE0E6;
  --border-dark: rgba(255, 255, 255, 0.07);

  --serif: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 52px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-brand {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-inv); text-decoration: none;
}
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-inv-2); text-decoration: none;
  transition: color 150ms var(--ease-quart);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-inv); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: -12px;
  background: var(--nav-bg); border: 1px solid rgba(255,255,255,0.08);
  min-width: 240px; padding: 12px 0;
}
/* invisible bridge: keeps :hover alive when the cursor crosses from trigger to menu */
.nav-dropdown::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 8px 20px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--text-inv-2); text-decoration: none;
  transition: color 150ms, background 150ms;
}
.nav-dropdown-menu a:hover { color: var(--text-inv); background: rgba(255,255,255,0.04); }
.nav-dropdown > a::after {
  content: ''; display: inline-block; width: 0; height: 0; margin-left: 5px;
  border-left: 3px solid transparent; border-right: 3px solid transparent;
  border-top: 4px solid currentColor; vertical-align: middle;
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { stroke: var(--text-inv); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-dropdown-menu { position: static; border: none; margin-top: 4px; padding-left: 12px; min-width: auto; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 52px; left: 0; right: 0;
    background: var(--nav-bg); padding: 16px 32px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 16px;
  }
}

/* ── LAYOUT ── */
.inner { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
.inner-narrow { max-width: 680px; margin: 0 auto; padding: 0 32px; }
.inner-wide { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ── TYPOGRAPHY ── */
.h-xl { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.1; letter-spacing: -0.3px; }
.h-lg { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; letter-spacing: -0.2px; }
.h-md { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; }
.h-sm { font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.35; }

.section-label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 16px; }
.section-label.crimson { color: var(--crimson); }
.section-label.blue { color: var(--blue); }
.section-label.safe { color: var(--safe); }
.section-label.gold { color: var(--gold); }

.body-lg { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.body-md { font-size: 15px; line-height: 1.65; color: var(--text-2); }
.body-sm { font-size: 13px; line-height: 1.55; color: var(--text-2); }
code, .mono { font-family: var(--mono); font-size: 13px; font-weight: 400; }
.mono-sm { font-family: var(--mono); font-size: 11px; }

/* ── DARK SECTIONS ── */
.dark { background: var(--dark); color: var(--text-inv); }
.dark .section-label { color: var(--text-inv-2); }
.dark .body-lg, .dark .body-md, .dark .body-sm { color: var(--text-inv-2); }
.dark .h-xl, .dark .h-lg, .dark .h-md { color: var(--text-inv); }
.surface-alt { background: var(--surface); }

/* ── SPACING ── */
.pt-hero { padding-top: 100px; }
.pt-xl { padding-top: 96px; } .pb-xl { padding-bottom: 96px; }
.pt-lg { padding-top: 64px; } .pb-lg { padding-bottom: 64px; }
.pt-md { padding-top: 40px; } .pb-md { padding-bottom: 40px; }
.mt-xl { margin-top: 96px; } .mb-xl { margin-bottom: 96px; }
.mt-lg { margin-top: 64px; } .mb-lg { margin-bottom: 64px; }
.mt-md { margin-top: 40px; } .mb-md { margin-bottom: 40px; }
.mt-sm { margin-top: 20px; } .mb-sm { margin-bottom: 20px; }

/* ── STAT GRID ── */
.stat-grid { display: grid; gap: 1px; background: var(--border); }
.dark .stat-grid { background: var(--border-dark); }
.stat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) { .stat-grid.cols-3, .stat-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .stat-grid.cols-2, .stat-grid.cols-3, .stat-grid.cols-4 { grid-template-columns: 1fr; } }
.stat-cell { padding: 32px 24px; background: var(--bg); }
.dark .stat-cell { background: var(--dark); }
.stat-num { font-family: var(--sans); font-weight: 300; font-size: clamp(32px, 3.5vw, 48px); line-height: 1; margin-bottom: 8px; }
.stat-num.crimson { color: var(--crimson); }
.stat-num.blue { color: var(--blue); }
.stat-num.safe { color: var(--safe); }
.stat-num.gold { color: var(--gold); }
.stat-desc { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.dark .stat-desc { color: var(--text-inv-2); }
.stat-src { font-size: 11px; color: var(--text-3); margin-top: 6px; font-style: italic; }

/* ── CARDS ── */
.card-grid { display: grid; gap: 16px; }
.card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 768px) { .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; } }
.card { padding: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: 0; }
.dark .card { background: var(--dark-raised); border-color: var(--border-dark); }
.card h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.dark .card h3 { color: var(--text-inv); }
.card p { font-size: 13px; line-height: 1.55; color: var(--text-2); }
.dark .card p { color: var(--text-inv-2); }

/* ── TIER TAGS (key cookware feature) ── */
.tier {
  display: inline-block; font-family: var(--sans);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 0;
}
.tier-safest { background: var(--safe); color: #fff; }
.tier-safe { background: var(--blue); color: #fff; }
.tier-caution { background: var(--gold); color: #fff; }
.tier-avoid { background: var(--crimson); color: #fff; }
.tier-unknown { background: var(--text-3); color: #fff; }

.tag {
  display: inline-block; font-family: var(--sans);
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 0;
}
.tag.crimson { background: var(--crimson-bg); color: var(--crimson); }
.tag.blue { background: var(--blue-bg); color: var(--blue); }
.tag.safe { background: var(--safe-bg); color: var(--safe); }
.tag.gold { background: var(--gold-bg); color: var(--gold); }

/* ── BRAND VERDICT CARDS ── */
.verdict-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) { .verdict-grid { grid-template-columns: 1fr; } }
.verdict-card {
  padding: 28px; background: var(--bg);
  border: 1px solid var(--border);
}
.verdict-card .v-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
  flex-wrap: wrap;
}
.verdict-card h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; }
.verdict-card .v-meta { font-size: 12px; color: var(--text-3); margin-bottom: 12px; }
.verdict-card p { font-size: 14px; line-height: 1.6; color: var(--text-2); margin-bottom: 14px; }
.verdict-card .v-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.verdict-card .v-actions a {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 14px; text-decoration: none;
  border: 1px solid var(--safe); color: var(--safe);
  transition: background 200ms, color 200ms;
}
.verdict-card .v-actions a:hover { background: var(--safe); color: #fff; }
.verdict-card .v-actions a.amazon { border-color: var(--gold); color: var(--gold); }
.verdict-card .v-actions a.amazon:hover { background: var(--gold); color: #fff; }

/* ── CALLOUTS ── */
.callout {
  padding: 20px 24px; margin: 24px 0;
  background: transparent; font-size: 14px; line-height: 1.65;
  border: 1px solid var(--border);
}
.callout.crimson { border-color: var(--crimson); background: var(--crimson-bg); }
.callout.blue { border-color: var(--blue); background: var(--blue-bg); }
.callout.safe { border-color: var(--safe); background: var(--safe-bg); }
.callout.gold { border-color: var(--gold); background: var(--gold-bg); }
.callout h4 { font-family: var(--sans); font-size: 13px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.callout.crimson h4 { color: var(--crimson); }
.callout.blue h4 { color: var(--blue); }
.callout.safe h4 { color: var(--safe); }
.callout.gold h4 { color: var(--gold); }
.callout p { color: var(--text-2); }
.dark .callout p { color: var(--text-inv-2); }

/* ── METHOD / EVIDENCE BOX ── */
.method-box { border: 1px solid var(--border); padding: 24px; margin: 32px 0; background: var(--surface); }
.dark .method-box { background: var(--dark-surface); border-color: var(--border-dark); }
.method-box h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 12px;
}
.dark .method-box h4 { color: var(--text-inv-2); }

/* ── PULL QUOTE ── */
.pull-quote { padding: 32px 0; border-top: 2px solid var(--text); margin: 48px 0; max-width: 600px; }
.dark .pull-quote { border-top-color: var(--text-inv); }
.pull-quote blockquote { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 28px); line-height: 1.4; font-weight: 300; font-style: italic; }
.pull-quote cite { display: block; margin-top: 12px; font-family: var(--sans); font-size: 12px; font-style: normal; font-weight: 500; letter-spacing: 0.5px; color: var(--text-2); }

/* ── SPLITS ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split.wide-left { grid-template-columns: 3fr 2fr; }
.split.wide-right { grid-template-columns: 2fr 3fr; }
@media (max-width: 768px) { .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; gap: 32px; } }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 24px; margin: 32px 0; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--safe); }
.tl-item { padding: 0 0 28px 20px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: -29px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--safe); border: 2px solid var(--bg); }
.dark .tl-item::before { border-color: var(--dark); }
.tl-item:last-child { padding-bottom: 0; }
.tl-date { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--safe); margin-bottom: 2px; }
.tl-title { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.tl-desc { font-size: 13px; line-height: 1.55; color: var(--text-2); }

/* ── DIVIDER ── */
hr { height: 1px; background: var(--border); border: none; margin: 0; }
.dark hr { background: var(--border-dark); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }

/* ── FOOTER ── */
.footer { background: var(--dark); color: var(--text-inv-2); padding: 80px 32px 40px; }
.footer-inner { max-width: 1040px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer h3 { font-family: var(--serif); font-size: 24px; font-weight: 300; color: var(--text-inv); margin-bottom: 12px; }
.footer p { font-size: 13px; line-height: 1.6; }
.footer-links { list-style: none; }
.footer-links li { font-size: 13px; padding: 5px 0; border-bottom: 1px solid var(--border-dark); }
.footer-links li:last-child { border-bottom: none; }
.footer-links a { color: var(--text-inv-2); text-decoration: none; transition: color 150ms; }
.footer-links a:hover { color: var(--text-inv); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border-dark); font-size: 11px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; letter-spacing: 0.5px; }

/* ── FTC DISCLOSURE ── */
.ftc-disclosure { font-size: 12px; line-height: 1.5; color: var(--text-3); padding: 12px 0; border-bottom: 1px solid var(--border); margin-bottom: 32px; }

/* ── ARTICLE ── */
.article-header { max-width: 680px; }
.article-body { max-width: 680px; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--text); margin-bottom: 24px; }
.article-body p strong { font-weight: 600; }
.article-body .lead { font-size: 19px; line-height: 1.7; color: var(--text-2); }
.article-body h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 48px 0 20px; line-height: 1.2; }
.article-body h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; margin: 32px 0 12px; }
.article-body ul { margin: 16px 0 24px 24px; }
.article-body ul li { margin-bottom: 8px; line-height: 1.65; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; padding: 14px 28px;
  border: none; cursor: pointer;
  transition: background 200ms, color 200ms;
}
.btn-primary { background: var(--safe); color: #fff; }
.btn-primary:hover { background: #15665b; }
.btn-outline { background: transparent; color: var(--safe); border: 2px solid var(--safe); }
.btn-outline:hover { background: var(--safe); color: #fff; }
.btn-danger { background: var(--crimson); color: #fff; }
.btn-danger:hover { background: #952023; }

.cta-banner { padding: 40px 0; text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 48px 0; }
.cta-banner p { font-size: 15px; color: var(--text-2); margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; }

.cta-inline { display: flex; align-items: center; gap: 16px; padding: 24px; margin: 32px 0; border: 1px solid var(--safe); background: var(--safe-bg); }
.cta-inline p { flex: 1; font-size: 14px; line-height: 1.5; color: var(--text); margin: 0; }
.cta-inline .btn { flex-shrink: 0; }
@media (max-width: 600px) { .cta-inline { flex-direction: column; text-align: center; } }

/* ── IMAGES ── */
.img-full { width: 100vw; margin-left: calc(-50vw + 50%); height: 400px; object-fit: cover; margin-top: 48px; margin-bottom: 48px; }
.img-inline { width: 100%; height: auto; object-fit: cover; margin: 32px 0; }
.figure { margin: 40px 0; position: relative; }
.figure img { width: 100%; height: auto; object-fit: cover; }
.figure figcaption { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--text-3); margin-top: 8px; letter-spacing: 0.3px; line-height: 1.5; }
.img-hero-overlay { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); height: 500px; overflow: hidden; }
.img-hero-overlay img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45); }
.img-hero-overlay .overlay-text { position: absolute; bottom: 48px; left: 48px; right: 48px; max-width: 720px; }
@media (max-width: 768px) { .img-hero-overlay { height: 360px; } .img-hero-overlay .overlay-text { bottom: 24px; left: 24px; right: 24px; } }

.img-text-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; margin: 48px 0; }
.img-text-split img { width: 100%; height: 100%; object-fit: cover; }
.img-text-split .text-side { padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 768px) { .img-text-split { grid-template-columns: 1fr; } .img-text-split img { height: 280px; } }

/* ── TABLES ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 40px 0; }
.data-table thead th { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--border); }
.data-table tbody td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table .brand-col { font-weight: 600; }

/* ── UTILITIES ── */
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 720px; }
.text-crimson { color: var(--crimson); }
.text-safe { color: var(--safe); }
.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }
.fw-300 { font-weight: 300; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
