:root {
  --bg: #f7f1e8;
  --card: #fffaf2;
  --ink: #2b2118;
  --muted: #6b5b4b;
  --accent: #a04222;
  --accent-2: #e0a03a;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(43, 33, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 33, 24, 0.08);
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: 48px; margin: 0 0 16px; }
h2 { font-size: 36px; margin: 0 0 16px; }
h3 { font-size: 22px; margin: 24px 0 8px; }
p { margin: 0 0 16px; }

a { color: var(--accent); }
a:hover { color: #8a371c; }

.fineprint { font-size: 14px; color: var(--muted); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  padding: 8px 16px;
}
.skip-link:focus { left: 8px; top: 8px; z-index: 10; }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid rgba(43, 33, 24, 0.08);
  box-shadow: var(--shadow-sm);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--accent); }
.site-nav { display: flex; gap: 24px; }
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fffaf2;
}
.btn-primary:hover { background: #8a371c; border-color: #8a371c; color: #fffaf2; }
.btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost:hover { background: rgba(160, 66, 34, 0.08); color: #8a371c; }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 2px;
}

/* Hero */
.hero { padding: 48px 0 32px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}
.lede { font-size: 18px; max-width: 70ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-media { margin: 0; }
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(43, 33, 24, 0.08);
}
.hero-media figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* Facts + thermometer chip */
.factbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.facts li {
  background: var(--card);
  border: 1px solid rgba(43, 33, 24, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact-value { font-weight: 600; }
.thermo-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid rgba(224, 160, 58, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px 16px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.thermo-chip svg { flex: none; }
.thermo-chip strong { color: var(--accent); }


/* Article sections */
.section { padding: 24px 0; }
.prose { padding-top: 32px; padding-bottom: 48px; }
.prose h1 { padding-top: 16px; }
.section h2 { padding-top: 24px; }

.section ul, .section ol { margin: 0 0 16px; padding-left: 24px; }
.section li { margin-bottom: 8px; }

/* Numbered tips */
.tips {
  list-style: none;
  counter-reset: tip;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.tips li {
  counter-increment: tip;
  background: var(--card);
  border: 1px solid rgba(43, 33, 24, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 16px 16px 56px;
  position: relative;
}
.tips li::before {
  content: counter(tip);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #2b2118;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Update card */
.update-card {
  background: var(--card);
  border: 1px solid rgba(43, 33, 24, 0.08);
  border-left: 4px solid var(--accent-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 24px;
  margin-bottom: 16px;
}
.update-date {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.update-card p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-bottom: 16px; }
.faq-item {
  background: var(--card);
  border: 1px solid rgba(43, 33, 24, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 24px;
  font-weight: 600;
  list-style-position: inside;
}
.faq-item summary::-webkit-details-marker { color: var(--accent); }
.faq-item[open] summary { border-bottom: 1px solid rgba(43, 33, 24, 0.08); }
.faq-item .faq-a { padding: 16px 24px; margin: 0; }


/* Like / share action bar */
.action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  background: var(--card);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.action-btn:hover { background: rgba(160, 66, 34, 0.08); }
.action-btn[aria-pressed="true"], .action-btn[data-gf-liked] {
  background: var(--accent);
  color: #fffaf2;
}
.count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(43, 33, 24, 0.08);
  color: var(--muted);
  font-size: 15px;
}

/* Comments */
.comments-section { padding-bottom: 64px; }
.comment-form {
  background: var(--card);
  border: 1px solid rgba(43, 33, 24, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
}
.comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.comment-form input, .comment-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(43, 33, 24, 0.2);
  background: #fffdf9;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
}
.comment-form textarea { resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--accent-2); }
.reply-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.reply-note button {
  border: none;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.comment-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.comment-msg { margin: 0; font-size: 15px; color: var(--accent); }

.comment-list { display: grid; gap: 12px; }
.comment-list[data-gf-empty]::before {
  content: "No comments yet — tell us your longest Fake Sick streak, or share a tip we missed.";
  display: block;
  padding: 16px 24px;
  border: 1px dashed rgba(107, 91, 75, 0.4);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--card);
}
.comment {
  background: var(--card);
  border: 1px solid rgba(43, 33, 24, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 24px;
}
.comment[data-gf-owner] { border-left: 4px solid var(--accent); }
.comment-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.comment-name { font-weight: 600; }
.comment-time { font-size: 14px; color: var(--muted); }
.owner-badge {
  font-size: 12px;
  font-weight: 600;
  color: #fffaf2;
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 10px;
}
.comment-to { font-size: 14px; color: var(--muted); }
.comment-text { margin: 0 0 8px; white-space: pre-wrap; }
.comment-foot { display: flex; }
.comment-reply-btn {
  border: none;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.replies { display: grid; gap: 8px; margin-top: 12px; }
.replies .comment { box-shadow: none; border: 1px solid rgba(43, 33, 24, 0.08); }

/* Footer */
.site-footer {
  background: var(--card);
  border-top: 1px solid rgba(43, 33, 24, 0.08);
  padding: 32px 0 24px;
  margin-top: 24px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}
.footer-grid .fineprint { max-width: 60ch; margin: 0; }
.footer-nav { display: flex; gap: 24px; align-items: flex-start; }
.footer-nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.copyright { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* Mobile */
@media (max-width: 640px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .header-row { flex-direction: column; height: auto; padding: 12px 0; gap: 8px; }
  .hero-actions .btn { flex: 1; }
  .comment-submit-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { flex-direction: column; gap: 16px; }
}


/* Breadcrumbs, gallery, videos, guide cards */
.crumbs { font-size: 14px; color: var(--muted); margin-top: 24px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 8px 0 24px;
}
.gallery-item { margin: 0; }
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(43, 33, 24, 0.08);
  box-shadow: var(--shadow-sm);
}

.video-grid { display: grid; gap: 16px; margin: 8px 0 24px; max-width: 720px; }
.video-embed { margin: 0; }
.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.video-embed figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 1px solid rgba(43, 33, 24, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--ink);
}
.guide-card:hover { border-color: var(--accent); color: var(--ink); }
.guide-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.guide-desc { font-size: 14px; color: var(--muted); }

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
}
