:root {
  --ink: #191a1a;
  --evergreen: #173b34;
  --cream: #f4eee4;
  --paper: #fbf8f2;
  --gold: #d5ad59;
  --rust: #b95536;
  --line: rgba(25, 26, 26, 0.18);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
}
.skip-link:focus { top: 16px; }
.guide-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 76px);
  color: #fff;
}
.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.1;
}
.guide-brand b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
}
.guide-header nav { display: flex; align-items: center; gap: 22px; }
.guide-header nav a { font-size: 13px; font-weight: 600; text-decoration: none; }
.guide-header .book-link {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
}
.guide-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(780px, 92vh);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.guide-hero > img,
.guide-hero > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.guide-hero > img,
.guide-hero > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,13,12,.2), rgba(10,13,12,.88)), linear-gradient(90deg, rgba(10,13,12,.65), transparent 70%);
}
.guide-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 170px 0 76px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.guide-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
}
.guide-hero h1 em { color: var(--gold); font-style: normal; }
.guide-hero .lede {
  max-width: 710px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.83);
  font-size: clamp(17px, 2vw, 22px);
}
.breadcrumbs {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  color: #625f59;
  font-size: 13px;
}
.breadcrumbs a { text-underline-offset: 3px; }
.guide-main { overflow: hidden; }
.answer-box {
  width: min(980px, calc(100% - 40px));
  margin: 44px auto 84px;
  padding: clamp(28px, 5vw, 54px);
  border-left: 7px solid var(--rust);
  background: var(--cream);
  box-shadow: 18px 18px 0 rgba(185,85,54,.15);
}
.answer-box strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
}
.answer-box p { max-width: 800px; margin: 0; font-size: 18px; }
.guide-section {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 86px;
}
.guide-section h2 {
  max-width: 820px;
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}
.guide-section h3 { margin: 0 0 8px; font-size: 20px; }
.guide-section > p { max-width: 760px; font-size: 18px; }
.fact-grid,
.reason-grid,
.sleep-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}
.fact-card,
.reason-card,
.faq-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}
.fact-card strong {
  display: block;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
}
.fact-card span { display: block; margin-top: 10px; font-weight: 700; }
.reason-card p,
.faq-card p { margin: 8px 0 0; color: #5c5a56; }
.photo-feature {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto 96px;
  padding: 12px;
  background: var(--evergreen);
  box-shadow: 18px 20px 0 var(--rust);
}
.photo-feature picture,
.sleep-card picture { display: block; }
.photo-feature img { width: 100%; height: auto; }
.photo-feature figcaption { padding: 12px 8px 4px; color: rgba(255,255,255,.78); font-size: 13px; }
.guide-table-wrap { overflow-x: auto; margin-top: 34px; }
.guide-table { width: 100%; border-collapse: collapse; background: #fff; }
.guide-table th,
.guide-table td { padding: 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide-table th { background: var(--evergreen); color: #fff; }
.source-note {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(213,173,89,.65);
  background: #fffaf0;
  color: #59554d;
  font-size: 14px;
}
.source-note a { font-weight: 700; }
.sleep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sleep-card { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.sleep-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sleep-card div { padding: 20px; }
.sleep-card small { color: var(--rust); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.sleep-card strong { display: block; margin-top: 4px; font-size: 23px; }
.checklist { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; }
.checklist li { padding: 17px 0 17px 38px; border-top: 1px solid var(--line); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--rust); font-weight: 800; }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-cta {
  padding: 94px 20px;
  background: var(--evergreen);
  color: #fff;
  text-align: center;
}
.guide-cta h2 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}
.guide-cta p { max-width: 650px; margin: 0 auto 28px; color: rgba(255,255,255,.76); }
.primary-button {
  display: inline-flex;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.guide-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 76px);
  background: #101210;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}
.guide-footer a { color: #fff; }

@media (max-width: 760px) {
  .guide-header { align-items: flex-start; padding-top: 16px; }
  .guide-header nav a:not(.book-link) { display: none; }
  .guide-brand b { width: 40px; height: 40px; }
  .guide-hero { min-height: 720px; }
  .guide-hero-content { padding-bottom: 54px; }
  .guide-hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .fact-grid,
  .reason-grid,
  .sleep-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .photo-feature { width: calc(100% - 28px); box-shadow: 10px 12px 0 var(--rust); }
  .guide-table th,
  .guide-table td { min-width: 180px; padding: 14px; }
  .guide-footer { flex-direction: column; }
}
