/* Holiday Home Guide — design system
   Vintage-catalog geometry on linen paper (per style reference), recolored for
   Christmas: deep pine green, berry red, holiday gold. Flat surfaces, hairline
   rules, 4px/8px radii, tight tracking, oversized footer wordmark. */

:root {
  /* Colors — Christmas system on linen */
  --linen: #f4f1e0;        /* page canvas — never pure white */
  --soft-sand: #faf8ec;    /* card surface, tonal lift from canvas */
  --pine: #14432b;         /* deep evergreen — nav, footer, dark features, th */
  --pine-deep: #0e3320;    /* darkest pine — wordmark block */
  --holly: #1a5c38;        /* mid green — accents, checkmarks, hovers */
  --berry: #b3242c;        /* Christmas red — links, buttons, kickers */
  --berry-deep: #8f1c23;   /* hover red */
  --gold: #e8b44c;         /* holiday gold — hero title, labels, wordmark */
  --gold-deep: #c9993d;    /* gold on light surfaces */
  --ink: #2b241c;          /* warm near-black text */
  --ink-soft: #5d564a;     /* muted helper text */
  --line: #ddd5bf;         /* hairline dividers */

  /* Typography */
  --font-display: 'Archivo', 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shape & elevation */
  --radius-btn: 4px;
  --radius-card: 8px;
  --shadow-sm: rgba(0, 0, 0, 0.1) 0px 2px 8px 0px;
  --shadow-sm-2: rgba(0, 0, 0, 0.15) 0px 2px 8px 0px;

  /* Layout */
  --maxw: 46rem;
  --page-maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--pine);
  color: var(--linen);
  border-bottom: 3px solid var(--gold);
}
.site-header .inner {
  max-width: var(--page-maxw);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.site-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.site-title a { color: var(--linen); text-decoration: none; }
.site-title .flame { color: var(--gold); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: -0.02em; }
.site-nav a { color: var(--linen); text-decoration: none; opacity: 0.85; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Layout ---------- */

main { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.25rem 4.5rem; }

.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.crumbs a { color: var(--holly); }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); color: var(--pine); font-weight: 600; }
h1 { font-size: 2.1rem; line-height: 1.15; letter-spacing: -0.047em; margin-bottom: 0.75rem; }
h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.02em; margin: 2.75rem 0 0.9rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.02em; margin: 1.9rem 0 0.6rem; }
p { margin: 0 0 1.1rem; }
a { color: var(--berry); }
a:hover { color: var(--pine); }
ul, ol { margin: 0 0 1.2rem 1.4rem; }
li { margin-bottom: 0.45rem; }
strong { color: var(--ink); font-weight: 600; }

.kicker {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--berry);
  margin-bottom: 0.5rem;
}
.dek { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 0.75rem; }
.updated { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 2rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--berry);
  color: var(--linen);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-sm-2);
}
.btn:hover { background: var(--berry-deep); color: var(--linen); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--linen);
  border: 1px solid var(--linen);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
}
.btn-ghost:hover { background: var(--linen); color: var(--pine); }

/* ---------- Hero video (landing) ---------- */

.hero-video {
  position: relative;
  width: 100%;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pine-deep);
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video .scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 18, 0.42);
}
.hero-video .hero-content {
  position: relative;
  text-align: center;
  padding: 5rem 1.25rem;
  max-width: 56rem;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--gold);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--linen);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  margin: 0 auto 1.75rem;
  max-width: 40rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Landing sections ---------- */

.section { max-width: var(--page-maxw); margin: 0 auto; padding: 4.5rem 1.25rem 0; }
.section-head {
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--pine);
  border: none;
  padding-top: 0;
  margin: 0 0 0.4rem;
}
.section-sub { color: var(--ink-soft); margin-bottom: 2rem; max-width: 46rem; }

/* Pillar cards with imagery */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.pillar-card {
  background: var(--soft-sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pillar-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.pillar-card .card-body { padding: 20px; flex: 1; }
.pillar-card .card-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.pillar-card ul { list-style: none; margin: 0; }
.pillar-card li { margin-bottom: 0.7rem; border-bottom: 1px solid var(--line); padding-bottom: 0.7rem; }
.pillar-card li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.pillar-card a { font-weight: 500; text-decoration: none; color: var(--berry); }
.pillar-card a:hover { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
.pillar-card .desc { display: block; font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.15rem; }
.pillar-card .soon-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

/* Dark feature band */
.feature {
  background: var(--pine);
  color: var(--linen);
  margin-top: 5rem;
}
.feature .feature-inner {
  max-width: var(--page-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 1.25rem;
}
.feature img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm-2);
  display: block;
}
.feature h2 { color: var(--linen); border: none; padding-top: 0; margin-top: 0; font-size: 2rem; letter-spacing: -0.047em; }
.feature p { color: var(--linen); opacity: 0.92; }
.feature a:not(.btn-ghost) { color: var(--gold); }
@media (max-width: 800px) {
  .feature .feature-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 1.25rem; }
}

/* Photo row */
.photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.photo-row figure { margin: 0; }
.photo-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  display: block;
}
.photo-row figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* Narrow content on landing */
.narrow { max-width: var(--maxw); margin: 0 auto; padding: 4.5rem 1.25rem 0; }
.narrow h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }

/* ---------- Short-answer box (AEO) ---------- */

.answer-box {
  background: var(--soft-sand);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem 1.35rem;
  margin: 0 0 2.25rem;
}
.answer-box .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 0.4rem;
}
.answer-box p { margin-bottom: 0.6rem; }
.answer-box p:last-child { margin-bottom: 0; }

/* ---------- Table of contents ---------- */

.toc {
  background: var(--soft-sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.35rem;
  margin: 0 0 2rem;
  font-size: 0.95rem;
}
.toc .label { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; color: var(--pine); display: block; margin-bottom: 0.5rem; }
.toc ol { margin: 0 0 0 1.25rem; }
.toc li { margin-bottom: 0.2rem; }
.toc a { color: var(--holly); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- Tables ---------- */

.table-scroll { overflow-x: auto; margin: 0 0 1.5rem; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); background: var(--soft-sand); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 34rem; }
th, td { text-align: left; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--pine); color: var(--linen); font-weight: 500; white-space: nowrap; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.03em; }
tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--linen); }

/* ---------- Script blocks (word-for-word lines) ---------- */

.script {
  background: var(--soft-sand);
  border-left: 4px solid var(--berry);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 0.95rem 1.25rem;
  margin: 0 0 1.3rem;
  font-size: 1.02rem;
  font-style: italic;
}
.script .who {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--berry);
  margin-bottom: 0.35rem;
}

/* ---------- Checklists ---------- */

.checklist { list-style: none; margin-left: 0; }
.checklist li { padding-left: 1.7rem; position: relative; }
.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0.15rem;
  color: var(--holly);
  font-weight: 600;
}

/* ---------- Callouts ---------- */

.note {
  background: var(--soft-sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 0.9rem 1.25rem;
  margin: 0 0 1.3rem;
  font-size: 0.97rem;
}
.note .label { font-weight: 600; color: var(--pine); }

/* ---------- Candle pick cards (text-only) ---------- */

.pick {
  background: var(--soft-sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin: 0 0 1.1rem;
}
.pick .pick-name { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.pick .pick-name a { color: var(--pine); text-decoration: none; }
.pick .pick-name a:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.pick .pick-notes { display: block; font-size: 0.85rem; color: var(--gold-deep); font-weight: 600; letter-spacing: 0.02em; margin: 0.1rem 0 0.5rem; }
.pick p { margin-bottom: 0.4rem; font-size: 0.97rem; }
.pick p:last-child { margin-bottom: 0; }

/* ---------- Ranked product picks with real listing images ---------- */

.pick-ranked {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--soft-sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin: 0 0 1.3rem;
}
.pick-ranked .pick-rank {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--pine);
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pick-ranked .pick-photo {
  flex: 0 0 auto;
  width: 108px;
  height: 108px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--linen);
  border: 1px solid var(--line);
}
.pick-ranked .pick-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pick-ranked .pick-body { flex: 1 1 auto; min-width: 0; }
.pick-ranked .pick-name { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.pick-ranked .pick-name a { color: var(--pine); text-decoration: none; }
.pick-ranked .pick-name a:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.pick-ranked .pick-notes { display: block; font-size: 0.85rem; color: var(--gold-deep); font-weight: 600; letter-spacing: 0.02em; margin: 0.1rem 0 0.5rem; }
.pick-ranked .pick-price { font-size: 0.82rem; color: var(--ink-soft); }
.pick-ranked p { margin-bottom: 0.4rem; font-size: 0.97rem; }
.pick-ranked p:last-child { margin-bottom: 0; }
@media (max-width: 500px) {
  .pick-ranked { flex-wrap: wrap; }
  .pick-ranked .pick-photo { width: 84px; height: 84px; }
}

/* ---------- Book + candle pairing cards (large images) ---------- */

.pairing-card {
  background: var(--soft-sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin: 0 0 1.75rem;
}
.pairing-media {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}
.pairing-media figure { flex: 1 1 50%; min-width: 0; margin: 0; }
.pairing-media img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  display: block;
  background: var(--linen);
  border: 1px solid var(--line);
}
.pairing-book img { aspect-ratio: 2 / 3; object-fit: cover; }
.pairing-candle img { aspect-ratio: 1 / 1; object-fit: cover; }
.pairing-media figcaption { margin-top: 0.6rem; font-size: 0.92rem; text-align: center; }
.pairing-media figcaption a { color: var(--pine); text-decoration: none; font-weight: 600; }
.pairing-media figcaption a:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.pairing-media .author { display: block; font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }
.pairing-media .notes { display: block; font-size: 0.78rem; color: var(--gold-deep); font-weight: 600; letter-spacing: 0.02em; margin-top: 0.1rem; }
.pairing-trope {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--berry);
  margin-bottom: 0.4rem;
}
.pairing-card p { margin-bottom: 0; font-size: 0.98rem; }
@media (max-width: 560px) {
  .pairing-media { flex-direction: column; }
  .pairing-media figure { flex: 1 1 auto; }
  .pairing-book img, .pairing-candle img { aspect-ratio: 4 / 3; max-height: 320px; }
}

/* ---------- FAQ ---------- */

.faq h3 { margin-top: 1.5rem; color: var(--berry); }
.faq h3::before { content: 'Q. '; color: var(--gold-deep); }

/* ---------- Legacy guide list (kept for guide pages) ---------- */

.pillar { margin-bottom: 2.5rem; }
.guide-list { list-style: none; margin-left: 0; }
.guide-list li {
  background: var(--soft-sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 1.2rem;
  margin-bottom: 0.7rem;
}
.guide-list a { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; text-decoration: none; color: var(--pine); }
.guide-list a:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.guide-list .desc { display: block; font-size: 0.93rem; color: var(--ink-soft); margin-top: 0.15rem; }

.hero { margin-bottom: 2.5rem; }

/* ---------- Related / footer ---------- */

.related {
  background: var(--soft-sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.35rem;
  margin: 2.5rem 0 0;
}
.related .label { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; color: var(--pine); display: block; margin-bottom: 0.5rem; }
.related ul { margin-bottom: 0; }

.site-footer {
  background: var(--pine);
  color: var(--linen);
  font-size: 0.9rem;
  margin-top: 3rem;
}
.site-footer .inner { max-width: var(--page-maxw); margin: 0 auto; padding: 2.5rem 1.25rem 2rem; }
.site-footer a { color: var(--gold); }
.site-footer p { margin-bottom: 0.7rem; opacity: 0.92; }
.site-footer .wordmark {
  display: block;
  background: var(--pine-deep);
  color: var(--gold);
  font-size: clamp(2rem, 8.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  padding: 2.5rem 0.5rem 2.2rem;
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  body { font-size: 1rem; }
  .hero-video { min-height: 62vh; }
}
