:root {
  --green: #163420;
  --green-soft: rgba(22, 52, 32, 0.06);
  --ink: #0d1a10;
  --paper: #fbf8f1;
  --white: #fffefb;
  --grey: #54655a;
  --grey-light: #888;
  --gold: #b08d4f;
  --hair: rgba(22, 52, 32, 0.11);
  --hair-soft: rgba(22, 52, 32, 0.08);
  --gap: 0.85rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── site chrome ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.5rem;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair-soft);
}

.site-nav-logo img { height: 38px; width: auto; }

.site-nav-back {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  transition: opacity 0.2s;
}

.site-nav-back:hover { opacity: 0.65; }

.guide-header {
  background: var(--green);
  color: #fff;
  padding: 2.25rem 1.5rem 2rem;
  text-align: center;
}

.guide-header-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.guide-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.75rem;
}

.guide-header .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(176, 141, 79, 0.75);
}

.guide-header h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.08;
  margin-bottom: 0.55rem;
}

.guide-header p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}

.guide-actions { margin-bottom: 1.25rem; }

.btn-pdf {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: #fff;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.btn-pdf:hover { opacity: 0.88; }

.guide-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.75rem;
}

.guide-jump a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.guide-jump a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.guide-layout {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.guide-section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--hair);
}

.guide-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guide-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.25rem;
  scroll-margin-top: 5rem;
}

.guide-body {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* rich text from editor (published view) */
.guide-body .accent,
[data-edit-html] .accent { color: var(--gold); font-style: italic; }
.guide-body .cedars-green,
[data-edit-html] .cedars-green { color: var(--green); font-weight: 600; }
.guide-body .cedars-serif,
[data-edit-html] .cedars-serif {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
}
.guide-body .cedars-label,
[data-edit-html] .cedars-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
}
.guide-body .cedars-muted,
[data-edit-html] .cedars-muted { color: var(--grey); }
.guide-body h3,
.guide-body h4,
[data-edit-html] h3,
[data-edit-html] h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--green);
  margin: 0.55em 0 0.25em;
  line-height: 1.2;
}
.guide-body h3, [data-edit-html] h3 { font-size: 1.2em; }
.guide-body h4, [data-edit-html] h4 { font-size: 1.05em; }
.guide-body blockquote,
[data-edit-html] blockquote {
  margin: 0.55em 0;
  padding: 0.35rem 0 0.35rem 0.75rem;
  border-left: 3px solid var(--gold);
  color: var(--grey);
  font-style: italic;
}
.guide-body ul,
.guide-body ol,
[data-edit-html] ul,
[data-edit-html] ol {
  margin: 0.35em 0;
  padding-left: 1.35rem;
}
.guide-body li, [data-edit-html] li { margin-bottom: 0.2em; }
.guide-body hr, [data-edit-html] hr {
  border: none;
  border-top: 1px solid var(--hair);
  margin: 0.65em 0;
}
.guide-body a, [data-edit-html] a {
  color: var(--green);
  text-decoration: underline;
}
.guide-body .cedars-ts-sm, [data-edit-html] .cedars-ts-sm { font-size: 0.88em; }
.guide-body .cedars-ts-lg, [data-edit-html] .cedars-ts-lg { font-size: 1.18em; }
.guide-body .cedars-ts-xl, [data-edit-html] .cedars-ts-xl { font-size: 1.38em; }

/* ── guide modules (from print styles, scaled for screen) ── */
.quick-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.quick-item {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
}

.quick-item.emphasis {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.quick-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 0.2rem;
}

.quick-item.emphasis .quick-label { color: rgba(255, 255, 255, 0.62); }

.quick-value { font-size: 0.88rem; font-weight: 600; line-height: 1.3; }

.hero-row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1rem;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 4px;
  align-items: center;
}

.hero-row img {
  width: 100%;
  height: auto;
  min-height: 120px;
  max-height: 160px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 3px;
}

.hero-row .hero-text {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.5;
}

.hero-row .hero-text strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.grid { display: grid; gap: var(--gap); }
.grid.c2 { grid-template-columns: 1fr 1fr; }
.grid.c3 { grid-template-columns: 1fr 1fr 1fr; }

.mod {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 0.85rem 0.95rem;
}

.mod.s2 { grid-column: span 2; }
.mod.s3 { grid-column: span 3; }

.mod-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.45rem;
}

.mod-body { font-size: 0.88rem; }
.mod-list { list-style: none; font-size: 0.88rem; }

.mod-list li {
  position: relative;
  padding-left: 0.75rem;
  margin-bottom: 0.35rem;
  line-height: 1.45;
}

.mod-list li:last-child { margin-bottom: 0; }

.mod-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.chip {
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 0.45rem 0.55rem;
  background: var(--green-soft);
  border-radius: 3px;
}

.chip b {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.15rem;
}

.chips.c3 { grid-template-columns: repeat(3, 1fr); }

.callout {
  background: var(--green-soft);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  color: var(--grey);
  border-radius: 0 4px 4px 0;
}

.callout b { color: var(--green); font-weight: 600; }

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.86rem;
}

.contact { font-size: 0.88rem; line-height: 1.5; }

.region-intro {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.55;
}

.city-col {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 0.9rem 1rem;
}

.city-col h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 0.15rem;
}

.city-meta {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--hair);
}

.city-stops { list-style: none; }

.city-stops li {
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
  line-height: 1.45;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(22, 52, 32, 0.06);
}

.city-stops li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.city-stops b { color: var(--green); font-weight: 600; }
.city-stops span { color: var(--grey); }

.quote-block {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 4px;
}

.quote-block p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--green);
  line-height: 1.4;
}

.quote-block cite {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--grey-light);
  margin-top: 0.35rem;
}

.quote-block .thanks {
  font-family: 'Fraunces', Georgia, serif;
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.65rem;
}

.tip-list { list-style: none; font-size: 0.88rem; }

.tip-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
  line-height: 1.45;
  color: var(--grey);
}

.tip-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.itinerary { font-size: 0.86rem; line-height: 1.45; }

.itinerary dt {
  font-weight: 600;
  color: var(--green);
  margin-top: 0.35rem;
}

.itinerary dt:first-child { margin-top: 0; }

.itinerary dd { margin: 0; color: var(--grey); }

.section-lede {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.55;
}

.town-photo {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 0.65rem;
}

.town-photo img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 3px;
}

.town-photo-caption {
  font-size: 0.75rem;
  color: var(--grey-light);
  text-align: center;
  margin-top: 0.5rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.25rem;
  font-size: 0.82rem;
  color: var(--grey);
  border-top: 1px solid var(--hair-soft);
}

.site-footer a { text-decoration: underline; }
.site-footer a:hover { color: var(--green); }

@media (max-width: 720px) {
  .quick-bar { grid-template-columns: 1fr 1fr; }
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
  .mod.s2, .mod.s3 { grid-column: span 1; }
  .chips, .chips.c3 { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .hero-row { grid-template-columns: 1fr; }
  .hero-row img { max-height: 200px; }
  .guide-layout { padding: 1.5rem 1rem 3rem; }
}

@media print {
  .site-nav, .guide-header, .guide-jump, .guide-actions, .site-footer { display: none; }
  .guide-layout { max-width: none; padding: 0; }
  .guide-section { break-inside: avoid; page-break-inside: avoid; }
}
