/* ==========================================================================
   Pulpit Rock Hike — stylesheet
   Palette: charcoal-navy + steel-blue (rock & fjord) with terracotta + gold
   accents (complementary warm tones for CTA / conversion elements)
   ========================================================================== */

:root {
  --deep: #1C2B39;        /* charcoal navy — rock & night sky */
  --deep-2: #2E4A5E;      /* steel blue — fjord water */
  --accent: #E8623E;      /* burnt terracotta — decorative accent */
  --accent-dark: #CB4C2B; /* hover state */
  --accent-2: #F2A65A;    /* warm gold — stars, highlights */
  --commercial: #2E8B57;      /* green — booking / commercial CTAs */
  --commercial-dark: #23713F; /* hover state */
  --bg-light: #F6F4EF;    /* warm stone off-white */
  --bg-blue: #EAF3F6;     /* pale sky-blue alt section */
  --white: #FFFFFF;
  --text: #24333F;
  --muted-text: #5B6B77;
  --border: #E1DFD6;
  --shadow: 0 12px 30px rgba(28, 43, 57, 0.12);
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--deep);
  line-height: 1.2;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--text); }

a { color: var(--deep-2); }
a:hover { color: var(--accent); }

img { max-width: 100%; width: 100%; height: auto; display: block; border-radius: var(--radius); }
figure { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--deep);
  color: var(--white);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent {
  background: var(--commercial);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(46, 139, 87, 0.35);
}
.btn-accent:hover { background: var(--commercial-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--deep); }

.btn-large { padding: 16px 34px; font-size: 1.05rem; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header { background: var(--deep); }

.header-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--deep);
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark { width: 38px; height: 38px; }
.logo-text {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: .2px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  flex: 1;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--bg-light);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
  min-height: 480px;
}
.hero-media { overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; min-height: 320px; }

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  color: var(--white);
}
.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: .8rem;
  margin: 0 0 10px;
}
.hero h1 { color: var(--white); margin-bottom: .3em; }
.hero-intro { color: #DCE6EC; font-size: 1.08rem; max-width: 46ch; }

/* ---------- Quick facts strip ---------- */
.quick-facts {
  list-style: none;
  margin: 0;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  background: var(--bg-blue);
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 0 0 var(--radius) var(--radius);
}
.quick-facts li { display: flex; align-items: flex-start; gap: 12px; }
.qf-icon { font-size: 1.5rem; line-height: 1; }
.qf-text { display: flex; flex-direction: column; font-size: .92rem; color: var(--muted-text); }
.qf-text strong { color: var(--deep); font-size: .98rem; margin-bottom: 2px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-light); }
.section-heading-center { text-align: center; max-width: 760px; margin: 0 auto 40px; }

.about-grid, .itinerary-grid, .highlights-grid, .meeting-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.highlights-grid { grid-template-columns: .9fr 1.1fr; }

.about-figure figcaption, .meeting-figure figcaption {
  font-size: .85rem;
  color: var(--muted-text);
  margin-top: 10px;
  text-align: center;
}

/* Normalize every content photo to the same shape & full column width,
   so no image reads as smaller than its neighbours regardless of which
   grid column or ratio it sits in. */
.about-figure img,
.highlights-figure img,
.meeting-figure img,
.itinerary-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-figure, .highlights-figure, .meeting-figure { width: 100%; }

.itinerary-copy .itinerary-image { margin-top: 24px; }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 30px;
  padding-left: 6px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 34px;
  bottom: -6px;
  width: 3px;
  background: var(--deep-2);
}
.timeline-item:last-child::before { display: none; }

.timeline-dot {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--deep-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}
.timeline-start .timeline-dot { background: var(--deep-2); }
.timeline-end .timeline-dot { background: var(--accent); }
.timeline-highlight .timeline-dot { background: var(--accent-2); }
.timeline-item div strong { color: var(--deep); display: block; margin-bottom: 2px; }
.timeline-item div p { margin: 0; color: var(--muted-text); font-size: .95rem; }

/* ---------- Lists ---------- */
.check-list, .yes-list, .no-list, .dot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li, .yes-list li {
  padding-left: 30px;
  position: relative;
}
.check-list li::before, .yes-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2E8B57;
  font-weight: 700;
}
.no-list li {
  padding-left: 30px;
  position: relative;
  color: var(--muted-text);
}
.no-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.dot-list li {
  padding-left: 22px;
  position: relative;
}
.dot-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--deep-2);
  font-weight: 700;
}

/* ---------- Includes / Prepare cards ---------- */
.includes-grid, .prepare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.includes-card, .prepare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.section-alt .includes-card, .section-alt .prepare-card { background: var(--white); }

/* ---------- CTA banners ---------- */
.cta-banner {
  background: var(--bg-blue);
  padding: 56px 0;
}
.cta-banner-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.cta-banner-image { width: 100%; height: 100%; object-fit: cover; max-height: 280px; }
.cta-banner-copy h2 { margin-bottom: .4em; }
.cta-banner-copy p { color: var(--muted-text); max-width: 60ch; }

.cta-banner-solid { background: var(--deep); }
.cta-banner-solid h2, .cta-banner-solid p { color: var(--white); }
.cta-banner-solid p { color: #C7D3DB; }
.cta-banner-inner-solid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.cta-banner-inner-solid .cta-banner-copy p { margin-left: auto; margin-right: auto; }

/* ---------- Reviews ---------- */
.reviews-intro {
  text-align: center;
  color: var(--muted-text);
  max-width: 640px;
  margin: -20px auto 40px;
}
.reviews-grid {
  columns: 3;
  column-gap: 24px;
}
.review-card {
  break-inside: avoid;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 24px;
}
.review-stars { color: var(--accent-2); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 8px; }
.review-name { font-weight: 700; color: var(--deep); margin-bottom: 8px; }
.review-loc { display: block; font-weight: 400; color: var(--muted-text); font-size: .85rem; margin-top: 2px; }
.review-text { color: var(--text); font-size: .95rem; }
.review-reply {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: .9rem;
  color: var(--muted-text);
}
.review-reply strong { color: var(--deep-2); }

/* ---------- Guides / articles block ---------- */
.guides-block { padding: 72px 0; background: var(--bg-light); }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card h3 { margin: 0; color: var(--deep); }
.guide-card p { margin: 0; color: var(--muted-text); font-size: .92rem; }
.guide-card .guide-read { margin-top: auto; padding-top: 8px; color: var(--deep-2); font-weight: 700; font-size: .88rem; }
.guide-card:hover .guide-read { color: var(--accent); }

/* ---------- Pre-footer CTA ---------- */
.prefooter-cta {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  padding: 56px 0;
}
.prefooter-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 30px;
  align-items: center;
}
.prefooter-text h2, .prefooter-text p { color: var(--white); }
.prefooter-text p { max-width: 60ch; opacity: .95; }
.prefooter-action { display: flex; justify-content: center; }
.prefooter-action .btn { box-shadow: 0 8px 20px rgba(0,0,0,.25); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #C7D3DB; padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand p { color: #9FB0BC; margin-top: 14px; }
.footer-nav h3, .footer-contact h3 { color: var(--white); font-family: Georgia, serif; margin-bottom: 16px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: #C7D3DB; text-decoration: none; }
.footer-nav a:hover { color: var(--accent-2); }
.footer-contact p { margin-bottom: 6px; }
.footer-contact a { color: var(--accent-2); text-decoration: none; }
address { font-style: normal; color: #C7D3DB; margin-bottom: 20px; line-height: 1.5; }
.footer-contact .btn { margin-top: 6px; }
.footer-bottom { padding: 22px 24px; text-align: center; font-size: .85rem; color: #8DA0AD; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); }

/* ---------- Article pages ---------- */
.article-hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
  padding: 44px 0 40px;
}
.breadcrumb { font-size: .85rem; color: #B9C7D1; margin-bottom: 16px; }
.breadcrumb a { color: #B9C7D1; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-2); }
.article-hero h1 { color: var(--white); margin-bottom: .4em; }
.article-deck { color: #DCE6EC; font-size: 1.05rem; max-width: 68ch; margin: 0; }

.article-body { padding: 56px 0 24px; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-content > p { font-size: 1.02rem; }
.article-content h2 { margin-top: 1.5em; }
.article-content ul, .article-content ol { margin: 0 0 1.2em; padding-left: 22px; }
.article-content li { margin-bottom: .5em; }

.table-wrap {
  overflow-x: auto;
  margin: 1.6em 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}
.article-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.article-table th, .article-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: .93rem; }
.article-table th { background: var(--bg-light); color: var(--deep); font-family: Georgia, serif; }
.article-table tr:last-child td { border-bottom: none; }

.backlink-note {
  background: var(--bg-blue);
  border-left: 4px solid var(--deep-2);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.8em 0;
  font-size: .95rem;
}
.backlink-note a { font-weight: 700; }

.article-cta {
  max-width: 760px;
  margin: 40px auto 0;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  color: var(--white);
}
.article-cta h3 { color: var(--white); margin-bottom: .4em; }
.article-cta p { color: var(--white); opacity: .95; max-width: 56ch; margin: 0 auto 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .about-grid, .itinerary-grid, .highlights-grid, .meeting-grid,
  .cta-banner-inner, .prefooter-grid {
    grid-template-columns: 1fr;
  }
  .highlights-grid .highlights-figure { order: -1; }
  .includes-grid, .prepare-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .guides-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media img { min-height: 220px; }
  .hero-content { padding: 40px 24px; text-align: center; align-items: center; }
  .hero-intro { max-width: 52ch; }

  .hamburger { display: flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 340px);
    background: var(--deep);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 90px 28px 40px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,.3);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 20px; }
  .nav-link { font-size: 1.05rem; display: block; }

  .includes-grid, .prepare-grid { grid-template-columns: 1fr; }
  .reviews-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }

  .section, .guides-block, .article-body { padding: 52px 0; }
  .article-hero { padding: 36px 0 32px; text-align: center; }
  .article-hero .breadcrumb { display: none; }
  .article-deck { margin: 0 auto; }
  .article-cta { padding: 26px 22px; }

  /* one-sized, centered buttons on mobile */
  .btn-row { justify-content: center; }
  .btn {
    width: min(86vw, 340px);
    padding: 15px 20px;
  }
  .btn-row .btn, .prefooter-action .btn, .cta-banner-copy .btn, .footer-contact .btn, .article-cta .btn {
    width: min(86vw, 340px);
  }
}

@media (max-width: 480px) {
  .quick-facts { grid-template-columns: 1fr; }
}
