/* ============================================================
   Red Firewood Melbourne — shared stylesheet for content pages
   Design tokens mirror index.html (Playfair Display + Inter,
   cream/ember palette). The homepage keeps its own inline styles;
   these classes style the guide/spoke pages consistently.
   ============================================================ */

:root {
  --ink: #241009;
  --body: #5a4636;
  --muted: #7a6656;
  --cream: #faf4ee;
  --warm: #f2e6d9;
  --card: #fffdfa;
  --border: #ecddcf;
  --accent: #cf4526;
  --accent-2: #f26a3f;
  --accent-lite: #f6a678;
  --dark-1: #180b06;
  --dark-2: #24100a;
  --dark-3: #3a160c;
  --on-dark: #fdf5ee;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(24,11,6,0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(253,245,238,0.08);
}
.site-header__inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-weight: 800; font-size: 21px;
  color: var(--on-dark); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--accent-lite); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  color: rgba(253,245,238,0.86); text-decoration: none;
  font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.site-nav a:hover { color: var(--accent-lite); }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 700;
  white-space: nowrap; box-shadow: 0 8px 22px rgba(240,90,35,0.4);
}
.header-cta:hover { filter: brightness(1.07); }
@media (max-width: 760px) {
  .site-header__inner { flex-wrap: wrap; gap: 10px; }
  .site-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px 18px; font-size: 14px; }
}

/* ---------- Page hero ---------- */
.page-hero {
  background:
    radial-gradient(70% 60% at 20% 0%, rgba(120,45,20,0.5), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, var(--dark-1) 0%, var(--dark-2) 55%, var(--dark-3) 100%);
  color: var(--on-dark);
  padding: 60px 0 66px;
}
.breadcrumb { font-size: 13px; color: rgba(253,245,238,0.6); margin-bottom: 20px; }
.breadcrumb a { color: rgba(253,245,238,0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-lite); }
.eyebrow {
  color: var(--accent-lite); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px;
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(34px, 5.5vw, 56px); line-height: 1.05;
  margin: 0 0 18px; letter-spacing: -0.01em; max-width: 16ch;
}
.page-hero .lede {
  font-size: 19px; line-height: 1.6; max-width: 62ch;
  color: rgba(253,245,238,0.92); margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: 66px 0; }
.section--warm { background: var(--warm); }
.section--cream { background: var(--cream); }
.section--dark {
  background: linear-gradient(180deg, var(--dark-2), var(--dark-3));
  color: var(--on-dark);
}
.section h2 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12;
  margin: 0 0 18px; color: var(--ink);
}
.section--dark h2 { color: var(--on-dark); }
.section h3 {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  margin: 30px 0 10px; color: var(--ink);
}
.section p, .section li { font-size: 16.5px; line-height: 1.75; color: var(--body); }
.section--dark p, .section--dark li { color: rgba(253,245,238,0.9); }
.section a { color: var(--accent); font-weight: 600; }
.lead { font-size: 19px; line-height: 1.7; color: var(--body); }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px 28px;
  box-shadow: 0 14px 34px rgba(90,40,15,0.06);
}
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Guide cards (links) ---------- */
.guide-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 24px 26px;
  box-shadow: 0 14px 34px rgba(90,40,15,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(90,40,15,0.14); }
.guide-card .k { font-size: 24px; }
.guide-card h3 { margin: 10px 0 8px; font-size: 20px; color: var(--ink); }
.guide-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.guide-card .more { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 700; font-size: 14px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table.data {
  border-collapse: collapse; width: 100%; min-width: 440px;
  background: var(--card); border-radius: 12px; overflow: hidden;
  font-size: 15px;
}
table.data th, table.data td {
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border);
}
table.data th { background: #f6ece1; font-weight: 700; color: var(--ink); }
table.data tr:last-child td { border-bottom: none; }

/* ---------- Callout ---------- */
.callout {
  border-left: 4px solid var(--accent-2);
  background: #fff5ef; border-radius: 0 14px 14px 0;
  padding: 18px 22px; margin: 24px 0;
}
.callout p { margin: 0; color: var(--body); }
.callout strong { color: var(--ink); }

/* ---------- Checklist ---------- */
ul.ticks { list-style: none; padding: 0; margin: 18px 0; }
ul.ticks li { position: relative; padding: 8px 0 8px 30px; }
ul.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--accent-2); font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(180deg, var(--dark-2), var(--dark-3));
  color: var(--on-dark); text-align: center; padding: 64px 0;
}
.cta-band h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px,3.4vw,36px); margin: 0 0 12px; color: var(--on-dark); }
.cta-band p { color: rgba(253,245,238,0.88); font-size: 17px; margin: 0 0 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px; text-decoration: none;
  font-size: 16px; font-weight: 700; white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff; box-shadow: 0 12px 30px rgba(240,90,35,0.45);
}
.btn--primary:hover { filter: brightness(1.07); }
.btn--ghost {
  background: rgba(253,245,238,0.08);
  border: 1.5px solid rgba(253,245,238,0.55); color: var(--on-dark);
}
.btn--ghost:hover { background: rgba(253,245,238,0.16); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-1); color: rgba(253,245,238,0.75); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-footer h4 { color: var(--on-dark); font-family: var(--serif); font-size: 16px; margin: 0 0 14px; }
.site-footer a { color: rgba(253,245,238,0.75); text-decoration: none; font-size: 14.5px; }
.site-footer a:hover { color: var(--accent-lite); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.footer-bottom { border-top: 1px solid rgba(253,245,238,0.12); margin-top: 34px; padding-top: 20px; font-size: 13px; color: rgba(253,245,238,0.55); }

/* ---------- Utilities ---------- */
.mt0 { margin-top: 0; }
.center { text-align: center; }
.maxw { max-width: 720px; }
.maxw-c { max-width: 720px; margin-left: auto; margin-right: auto; }
