@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-600.woff2") format("woff2");
}

:root {
  --bg: #f6f1ea;
  --paper: #fffdf9;
  --ink: #1b1612;
  --muted: #4a4038;
  --accent: #5e261c;
  --accent-ink: #fffaf6;
  --night: #16110e;
  --on-dark: #f6d7b8;
  --border: #e4d8cc;
  --display: "Source Serif 4", "Palatino Linotype", Palatino, serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); margin: 0 0 0.4rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }
p { margin: 0 0 0.9rem; }
.skip {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.site-header.over-hero {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  color: #fffaf6;
}
.site-header.over-hero a { color: #fffaf6; }
.site-header.over-hero.is-solid,
.site-header.no-hero {
  position: sticky;
  background: var(--paper);
  border-bottom-color: var(--border);
  color: var(--ink);
}
.site-header.is-solid a,
.site-header.no-hero a { color: var(--ink); }
.header-inner, .wrap { width: min(var(--wrap), calc(100% - 2rem)); margin: 0 auto; }
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.25rem;
  text-decoration: none;
  margin-right: auto;
}
.nav-list {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a { text-decoration: none; font-weight: 600; }
.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 0;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #fffaf6;
  background: var(--night);
  overflow: hidden;
}
.hero.page-hero { min-height: 68vh; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 17, 14, 0.25) 0%, rgba(22, 17, 14, 0.28) 40%, rgba(22, 17, 14, 0.82) 100%);
}
.hero-inner { position: relative; padding: 6.5rem 0 2rem; width: min(var(--wrap), calc(100% - 2rem)); }
.hero-sub {
  max-width: 40rem;
  font-size: 1.2rem;
  background: rgba(22, 17, 14, 0.72);
  display: inline-block;
  padding: 0.35rem 0.55rem;
  margin-bottom: 1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.fact {
  background: rgba(255, 250, 246, 0.94);
  color: var(--ink);
  padding: 0.7rem 0.75rem;
}
.fact b { display: block; font-size: 1rem; }
.fact span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 3.2rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.kicker {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}
.measure { max-width: 42rem; }
.prose { max-width: 46rem; }
.prose a { font-weight: 600; }
.split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 1.1rem 1.15rem;
}
.note { color: var(--muted); font-size: 0.95rem; }
.plain-list { padding-left: 1.1rem; }
.plain-list li { margin: 0 0 0.55rem; }

.btn, button.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.btn:hover { background: #431910; }
.btn-lg { padding: 0.85rem 1.15rem; }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.hero .btn-ghost { color: #fffaf6; border-color: #fffaf6; }
.hero .btn-ghost:hover { background: rgba(255, 250, 246, 0.12); }
.site-header.is-solid .btn-ghost,
.panel .btn-ghost { color: var(--accent); }

.steps, .cards, .reviews, .explore, .footer-grid {
  display: grid;
  gap: 1rem;
}
.steps { grid-template-columns: repeat(4, 1fr); }
.step, .card, .review {
  background: var(--paper);
  border: 1px solid var(--border);
}
.step { padding: 1rem; }
.step-no, .time-no {
  font-weight: 600;
  color: var(--accent);
}
.cards { grid-template-columns: repeat(3, 1fr); }
.card-body, .review { padding: 1rem; }
.card img { width: 100%; height: 210px; object-fit: cover; }
.meta, .price-tag { color: var(--muted); }
.price-tag { font-weight: 600; color: var(--ink); }
.name-link { font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; }
.time-no {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
}

.gallery-track {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}
.figure {
  margin: 0;
  flex: 0 0 min(78%, 420px);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--border);
}
.figure img { width: 100%; height: 280px; object-fit: cover; }
.figure figcaption { padding: 0.7rem 0.8rem; color: var(--muted); font-size: 0.92rem; }
.gallery-controls { display: flex; gap: 0.5rem; margin-top: 0.8rem; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 760px; background: var(--paper); }
th, td { border: 1px solid var(--border); padding: 0.65rem 0.7rem; text-align: left; vertical-align: top; }
th { background: #f3ebe3; }

.faq details {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  margin: 0 0 0.5rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.explore { grid-template-columns: repeat(3, 1fr); }
.explore ul { margin: 0; padding-left: 1.1rem; }
.gyg-widget { margin: 1rem 0; min-height: 2rem; }
.widget-fallback { margin-top: 0.6rem; }

.site-footer {
  background: var(--night);
  color: #f6efe6;
  padding: 2.4rem 0;
}
.site-footer a { color: var(--on-dark); }
.site-footer h2 { font-size: 1.15rem; color: #fffaf6; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.fine { color: #e6d7c8; font-size: 0.95rem; }
.crumbs { font-size: 0.92rem; color: var(--muted); margin: 0 0 0.8rem; }
.crumbs a { color: var(--muted); }

.sticky-book {
  display: none;
  position: sticky;
  bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 0.6rem 1rem;
  z-index: 8;
}
.sticky-book .btn { width: 100%; text-align: center; }

@media (max-width: 900px) {
  .facts, .steps, .cards, .explore, .footer-grid, .split { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  #site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 0 rgba(22, 17, 14, 0.08);
  }
  #site-nav.is-open { display: block; }
  #site-nav a { color: var(--ink); }
  .nav-list { flex-direction: column; padding: 0.6rem 1rem 1rem; }
  .facts, .steps, .cards, .explore, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .sticky-book { display: block; }
  body { padding-bottom: 0; }
}
@media (max-width: 380px) {
  .header-inner, .wrap, .hero-inner { width: min(var(--wrap), calc(100% - 1.2rem)); }
  .hero-actions .btn { width: 100%; text-align: center; }
}
