@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --cream: #fbf6ef;
  --paper: #fffaf4;
  --ink: #2c241f;
  --muted: #71675f;
  --terracotta: #c65f38;
  --terracotta-dark: #9e4528;
  --olive: #56663c;
  --gold: #d5ad68;
  --line: #e8ddd1;
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

.site-nav {
  position: fixed;
  inset: 1rem 1rem auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0.55rem 0.65rem 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.94);
  box-shadow: 0 12px 36px rgba(31, 23, 18, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand em {
  color: var(--terracotta);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(28, 21, 17, 0.34);
  color: #fff;
}

.guide-hero {
  position: relative;
  display: flex;
  min-height: min(760px, 82svh);
  align-items: flex-end;
  background-color: #382820;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  isolation: isolate;
}

.guide-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(31, 22, 17, 0.58);
  content: "";
}

.hero-inner,
.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.hero-inner {
  padding: 9rem 0 4.5rem;
}

.eyebrow,
.section-label {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

.guide-hero h1 em,
.section-title em {
  color: var(--gold);
  font-weight: 400;
}

.hero-lead {
  max-width: 670px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.answer-band {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.answer-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.answer-band p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.4;
}

.quick-facts {
  display: grid;
  align-content: center;
  gap: 0.7rem;
  margin: 0;
}

.quick-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.7rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  font-weight: 600;
}

.section {
  padding: 5.5rem 0;
}

.section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
  line-height: 1.08;
}

.prose {
  color: var(--muted);
  font-size: 1.03rem;
}

.prose p:first-child {
  margin-top: 0;
}

.prose a,
.text-link {
  color: var(--terracotta-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.prose h2,
.prose h3 {
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 1.18;
}

.prose h2 {
  margin: 2.4rem 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.prose h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.35rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.55rem;
}

.source-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.feature {
  min-height: 210px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.feature strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--display);
  font-size: 1.3rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.photo-band {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  min-height: 520px;
}

.photo-band figure {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band {
  padding: 4.5rem 0;
  background: var(--olive);
  color: #fff;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1.1;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 1.2rem 0;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
}

.faq-list details p {
  max-width: 820px;
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.related-link {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.related-link span {
  color: var(--terracotta-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.related-link strong {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.25;
}

.site-footer {
  padding: 3rem 0;
  background: #28211d;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-nav {
    inset: 0.7rem 0.7rem auto;
  }

  .nav-link {
    display: none;
  }

  .guide-hero {
    min-height: 78svh;
  }

  .guide-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.4rem);
  }

  .answer-band .container,
  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .photo-band {
    grid-template-columns: 1fr;
  }

  .photo-band figure {
    min-height: 320px;
  }

  .cta-band .container,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand span {
    display: none;
  }

  .button {
    min-height: 44px;
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
  }

  .hero-inner {
    padding: 7rem 0 3.5rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
