:root {
  --bg: #f6f3ee;
  --paper: #fffdf8;
  --ink: #1c1915;
  --muted: #5e574d;
  --line: #e6dfd4;
  --accent: #b4532a;
  --accent-2: #1c1915;
  --hero: #161310;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(28, 25, 21, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.topbar {
  background: var(--hero);
  color: #d9d1c7;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: .45rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 243, 238, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand small { display: block; font-family: "Source Sans 3", sans-serif; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: .15rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .8rem;
  padding: .4rem .55rem;
  border-radius: 999px;
}
.nav-links a:hover, .nav-links a.active { background: #fff; color: var(--accent); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: .4rem .65rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--hero) center/cover no-repeat;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,19,16,.15), rgba(22,19,16,.78));
  z-index: -1;
}
.hero-inner { padding: 5.5rem 0 3.2rem; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 .8rem;
}
.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 16ch;
  font-weight: 600;
}
.hero p { max-width: 42rem; font-size: 1.12rem; color: #efe8de; margin: 0 0 1.4rem; }
.page-hero { min-height: 42vh; }
.page-hero h1 { max-width: 22ch; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: .75rem 1.2rem;
}
.btn:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.45); }

.section { padding: 4rem 0; }
.section h2, .prose h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -.02em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

.grid { display: grid; gap: 1.2rem; }
.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 1.1rem 1.15rem 1.25rem; }
.card h3 { font-family: Fraunces, Georgia, serif; margin: 0 0 .4rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.card:hover { transform: translateY(-3px); transition: transform .2s ease; }

.media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.caption { font-size: .88rem; color: var(--muted); margin: .55rem 0 0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.2rem; align-items: start; }
.prose { max-width: 46rem; }
.prose p { margin: 0 0 1rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin: 1.4rem 0 .5rem; font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.15rem; }
.prose li { margin: .3rem 0; }
.prose strong { font-weight: 700; }
.figure { margin: 1.5rem 0 1.8rem; }
.figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; }

.crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: inherit; }

.related { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.related a {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .86rem;
  font-weight: 650;
}
.related a:hover { border-color: var(--accent); color: var(--accent); }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  margin: .6rem 0;
}
.faq summary { cursor: pointer; font-weight: 700; }

.footer {
  background: var(--hero);
  color: #d7cfc5;
  padding: 2.4rem 0 1.4rem;
  margin-top: 2rem;
}
.footer a { color: #fff; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.footer h3 { font-family: Fraunces, Georgia, serif; color: #fff; margin: 0 0 .6rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: .3rem 0; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.6rem; padding-top: 1rem; font-size: .82rem; }

@media (max-width: 900px) {
  .cards, .split, .footer .wrap { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 72px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .8rem 1rem 1rem;
    flex-direction: column;
  }
  .nav-links.open { display: flex; }
}
