/* ==========================================================================
   Global Adventurer — site styles
   A small publisher's shop: bookish type, photography doing the talking,
   one quiet signature motif (the dotted route line from the covers).
   Type: Bricolage Grotesque (display) + Hanken Grotesk (body/UI) from Google
   Fonts, chosen 2026-09-24 to replace the serif-on-cream pairing, which read
   as a template. Headings are tight and heavy; labels are plain, never
   tracked-out capitals.
   ========================================================================== */

:root {
  --paper: #FAF8F2;
  --paper-2: #F2EEE3;
  --card: #FFFFFF;
  --ink: #1C201D;
  --ink-soft: #3A423C;
  --muted: #6E6F63;
  --pine: #1F4A38;
  --pine-deep: #143627;
  --pine-dark: #0F2A1E;   /* footer / dark bands */
  --ochre: #8A6423;         /* AA contrast on paper for small label text */
  --line: #E4DFD1;
  --line-soft: #EDE9DD;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif: var(--display);   /* every heading rule below still says --serif */
  --sans: "Hanken Grotesk", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --r: 5px;
  --shadow-1: 0 1px 2px rgba(28, 32, 29, .05), 0 6px 20px rgba(28, 32, 29, .06);
  --shadow-2: 0 2px 4px rgba(28, 32, 29, .06), 0 14px 34px rgba(28, 32, 29, .10);
  --pad: clamp(20px, 4vw, 32px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Short pages (empty cart, order, 404) still put the footer on the
     bottom edge rather than leaving a strip of paper beneath it. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

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

::selection { background: rgba(31, 74, 56, .18); }

a { color: var(--pine); text-underline-offset: 2.5px; text-decoration-thickness: 1px; }
a:hover { color: var(--pine-deep); }

:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; font-variation-settings: "opsz" 96; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 var(--pad); }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  background: var(--pine); color: #fff;
  padding: 10px 16px; border-radius: var(--r);
}
.skip-link:focus { left: 8px; color: #fff; }

/* Small utility voices ----------------------------------------------------- */

.kicker {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--pine);
}
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The route-line motif (matches the covers) -------------------------------- */

.route-divider {
  width: 170px;
  height: 26px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='26' viewBox='0 0 170 26'%3E%3Cpath d='M8 16 Q 40 4 66 13 T 118 12 T 162 10' fill='none' stroke='%236E6F63' stroke-width='1.6' stroke-dasharray='1 6' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='16' r='3' fill='%236E6F63'/%3E%3Ccircle cx='162' cy='10' r='3' fill='none' stroke='%236E6F63' stroke-width='1.6'/%3E%3C/svg%3E");
  opacity: .75;
}

/* --- Header ---------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 242, .88);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  height: 64px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); }
.main-nav a {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--pine); }
.main-nav a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--pine); }

.currency-form select, .drawer-currency select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236E6F63' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.currency-form select {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-soft);
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 26px 5px 8px;
  cursor: pointer;
}
.currency-form select:hover { border-color: var(--pine); color: var(--pine); }

.cart-pill {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; padding: 0 5px;
  margin-left: 7px;
  border-radius: 10px;
  background: var(--pine); color: #fff;
}

/* --- Header actions: cart icon + hamburger ---------------------------------- */

.masthead-actions { display: flex; align-items: center; gap: 6px; }

.cart-button {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--ink-soft);
  border-radius: var(--r);
  text-decoration: none;
}
.cart-button:hover { color: var(--pine); background: rgba(31, 74, 56, .07); }
.cart-button.active { color: var(--pine); }
.cart-button .cart-pill { position: absolute; top: 1px; right: -2px; margin: 0; }

.menu-button {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; border-radius: var(--r);
  cursor: pointer;
  padding: 11px 9px;
}
.menu-button span { display: block; height: 2px; background: var(--ink); margin-bottom: 5px; border-radius: 1px; }
.menu-button span:last-child { margin-bottom: 0; }
.menu-button:hover { background: rgba(31, 74, 56, .07); }

/* --- Drawers (cart + mobile menu) -------------------------------------------- */

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15, 42, 30, .45);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(370px, 92vw);
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(15, 42, 30, .18);
  transform: translateX(105%);
  transition: transform .22s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer.open { transform: none; }
body.drawer-lock { overflow: hidden; }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-title { font-weight: 700; font-size: 17px; }
.drawer-close {
  background: none; border: 0; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--muted);
  padding: 2px 6px;
}
.drawer-close:hover { color: var(--ink); }

.drawer-nav { display: flex; flex-direction: column; padding: 10px 20px; }
.drawer-nav a {
  font-size: 17px; font-weight: 700; color: var(--ink);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-nav a:hover { color: var(--pine); }

.drawer-currency { padding: 18px 20px; }
.drawer-currency label { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.drawer-currency select {
  width: 100%;
  font-family: var(--sans); font-size: 14.5px;
  padding: 9px 32px 9px 12px;
  border: 1px solid var(--line); border-radius: var(--r);
  background-color: #fff;
  background-position: right 12px center;
  cursor: pointer;
}

.drawer-empty { padding: 30px 20px; color: var(--muted); line-height: 1.7; }
.drawer-empty p { margin-bottom: 10px; }
.drawer-empty strong { color: var(--ink); font-size: 16px; }
.drawer-empty .btn { margin: 6px 0 12px; }
.drawer-empty-links { font-family: var(--sans); font-size: 13px; }

.empty-cart { max-width: 560px; margin: 8px 0 10px; }
.empty-cart .ec-message { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.empty-cart .ec-help { color: var(--ink-soft); margin-bottom: 18px; }
.empty-cart .ec-links { font-family: var(--sans); font-size: 13.5px; margin: 16px 0 6px; }
.empty-cart .ec-links .sep { color: var(--line); margin: 0 4px; }

.drawer-items { flex: 1; padding: 6px 20px; }
.drawer-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-item > img { width: 58px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.di-body { flex: 1; min-width: 0; }
.di-body a {
  display: block;
  font-size: 14.5px; font-weight: 700; line-height: 1.35;
  color: var(--ink); text-decoration: none;
}
.di-body a:hover { color: var(--pine); }
.di-price { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 2px; display: block; }
.di-remove {
  background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: 20px; line-height: 1;
  padding: 4px 6px;
}
.di-remove:hover { color: #A03A22; }

.drawer-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); }
.drawer-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 16px; margin-bottom: 12px;
}
.drawer-total strong { font-size: 19px; }
.drawer-viewcart {
  display: block; text-align: center;
  font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  margin-top: 10px;
}

/* --- Flash messages --------------------------------------------------------- */

.flash {
  margin: 16px 0 0;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--pine);
  border-radius: var(--r);
  background: var(--card);
  font-size: 15px;
  box-shadow: var(--shadow-1);
}
.flash-success { border-left-color: #3E6B3A; }
.flash-error   { border-left-color: #A03A22; }
.flash-info    { border-left-color: #4A6B7C; }

/* --- Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 13px 24px;
  border-radius: var(--r);
  border: 1px solid var(--pine);
  background: var(--pine);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.btn:hover { background: var(--pine-deep); border-color: var(--pine-deep); color: #fff; }
.btn:active { transform: translateY(1px); }

.btn-ghost { background: transparent; color: var(--pine); }
.btn-ghost:hover { background: rgba(31, 74, 56, .08); color: var(--pine-deep); }

.btn-paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn-ghost-light { background: rgba(250, 248, 242, .12); border-color: rgba(250, 248, 242, .55); color: #FAF8F2; }
.btn-ghost-light:hover { background: rgba(250, 248, 242, .22); border-color: #FAF8F2; color: #fff; }

.btn-wide { width: 100%; }
.btn-big { padding: 15px 28px; font-size: 15.5px; }

/* --- Hero ------------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: clamp(430px, 66vh, 640px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  color: #fff;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 22, 16, .78) 0%, rgba(12, 22, 16, .32) 45%, rgba(12, 22, 16, .18) 100%);
}
.hero-inner { width: 100%; padding-top: 90px; padding-bottom: clamp(36px, 6vh, 64px); }
.hero .kicker { color: #E8D9AE; }
.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.15rem);
  font-weight: 700;
  max-width: 800px;
  margin: 14px 0 12px;
  text-wrap: balance;
}
.hero p.lede {
  font-size: clamp(16px, 1.9vw, 18.5px);
  max-width: 560px;
  color: rgba(250, 248, 242, .88);
  margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-credit {
  position: absolute; right: 14px; bottom: 10px;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .02em;
  color: rgba(250, 248, 242, .55);
}

/* --- Sections -------------------------------------------------------------------- */

.section { padding: clamp(48px, 8vw, 84px) 0; }
.section-tint { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-head .kicker { display: block; margin-bottom: 10px; }
.section-head .more {
  font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  white-space: nowrap; text-decoration: none;
}
.section-head .more:hover { text-decoration: underline; }

/* --- Guide cards -------------------------------------------------------------------- */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.guide-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: box-shadow .18s ease, transform .18s ease;
}
.guide-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }

.gc-media { position: relative; }
.gc-media > img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; }
.gc-media > img.gc-cover {
  position: absolute; left: 16px; bottom: -18px;
  width: 62px; height: auto;
  aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(12, 22, 16, .35);
  outline: 1px solid rgba(255, 255, 255, .35);
}
.gc-body { padding: 26px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gc-region { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
.gc-title { font-family: var(--serif); font-size: 19.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.guide-card:hover .gc-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gc-excerpt { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.gc-foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--line-soft);
  padding-top: 13px; margin-top: 6px;
}
.gc-price { font-size: 19px; font-weight: 700; }
.gc-meta { font-family: var(--sans); font-size: 12px; color: var(--muted); }

/* Lead (featured) card — one wide, photo-led */
.guide-lead {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: var(--ink);
  margin-bottom: clamp(24px, 3.5vw, 38px);
  transition: box-shadow .18s ease;
}
.guide-lead:hover { box-shadow: var(--shadow-2); }
.guide-lead .gl-media img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.gl-body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.gl-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.guide-lead:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gl-body .gc-excerpt { flex: none; font-size: 15.5px; }
.gl-price-row { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.gl-price-row .gc-price { font-size: 22px; }
.gl-cta {
  font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  color: var(--pine);
}

/* --- GPX promo (table-of-contents style rows) ----------------------------------------- */

.gpx-promo {
  display: grid;
  grid-template-columns: minmax(240px, 400px) 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
.gpx-promo h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 10px 0 14px; }
.gpx-promo .note-p { color: var(--ink-soft); font-size: 16px; margin-bottom: 10px; }
.gpx-promo .note-p.small { font-size: 13.5px; font-family: var(--sans); color: var(--muted); }

.gpx-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.gpx-row:first-of-type { border-top: 1px solid var(--line); }
.gpx-row .gname {
  font-size: 17.5px; font-weight: 700;
  color: var(--ink); text-decoration: none;
}
.gpx-row .gname:hover { color: var(--pine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gpx-row .gprice { font-weight: 700; font-size: 16px; margin-left: auto; }
.gpx-add {
  font-family: var(--sans); font-size: 12.5px; font-weight: 700;
  color: var(--pine);
  background: none;
  border: 1px solid var(--pine);
  border-radius: 4px;
  padding: 4px 14px;
  cursor: pointer;
  align-self: center;
  transition: background .12s ease, color .12s ease;
}
.gpx-add:hover { background: var(--pine); color: #fff; }

/* --- "Inside every guide" (asymmetric editorial list) --------------------------------- */

.inside-grid {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.inside-grid .sticky-note { position: sticky; top: 96px; }
.inside-grid h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 10px 0 14px; }
.inside-grid .note-p { color: var(--ink-soft); font-size: 16px; }

.inside-list { list-style: none; }
.inside-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.inside-list li:last-child { border-bottom: 1px solid var(--line); }
.inside-num { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 5px; }
.inside-list h3 { font-size: 18.5px; margin-bottom: 4px; }
.inside-list p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* --- Dark note band --------------------------------------------------------------------- */

.note-band { background: var(--pine-dark); color: #EFEAD8; }
.note-band .route-divider { filter: invert(0.9); opacity: .5; margin-bottom: 26px; }
.note-band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
  text-wrap: balance;
}
.note-band .who {
  display: block; text-align: center;
  font-family: var(--sans); font-size: 12.5px; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(239, 234, 216, .65);
}
.note-band a { color: #E8D9AE; }

/* --- Guide detail ------------------------------------------------------------------------- */

.crumbs {
  font-family: var(--sans); font-size: 12.5px; color: var(--muted);
  margin: 20px 0 26px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pine); text-decoration: underline; }

.pd-head { max-width: 780px; margin-bottom: clamp(22px, 3.5vw, 34px); }
.pd-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 12px 0 10px; }
.pd-head .subtitle { font-family: var(--serif); font-size: clamp(17px, 2vw, 20px); font-style: italic; color: var(--muted); }

.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.pd-photo { margin: 0 0 28px; }
.pd-photo img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-1); }
.pd-photo figcaption, .home-photo figcaption {
  font-family: var(--sans); font-size: 11.5px; color: var(--muted); margin-top: 8px;
}

.prose { font-size: 16.5px; line-height: 1.7; max-width: 660px; }
.prose p { margin-bottom: 1.15em; }
.prose h2 { font-size: 22px; margin: 1.5em 0 .55em; }
.prose h3 { font-size: 18.5px; margin: 1.3em 0 .45em; }
.prose ul { margin: 0 0 1.15em 1.25em; }
.prose li { margin-bottom: .4em; }

.contents-box {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  padding: clamp(20px, 3vw, 30px);
  margin: 30px 0;
  max-width: 660px;
  box-shadow: var(--shadow-1);
}
.contents-box h2 { font-size: 19px; margin-bottom: 14px; }
.contents-box ul { list-style: none; columns: 2; column-gap: 34px; }
.contents-box li {
  font-size: 14.5px;
  padding: 6px 0 6px 20px;
  position: relative;
  break-inside: avoid;
  border-bottom: 1px solid var(--line-soft);
}
.contents-box li::before {
  content: "";
  position: absolute; left: 2px; top: 14px;
  width: 8px; height: 2px; background: var(--ochre);
}

/* Sticky buy panel */
.buy-panel {
  position: sticky; top: 88px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow-2);
  padding: 22px 22px 20px;
}
.buy-panel .bp-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.buy-panel .bp-price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.buy-panel .bp-compare { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.buy-panel .bp-tier { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre); margin-left: auto; }
.bp-gpx {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 12px;
  margin-top: 10px;
}
.bp-gpx a { font-weight: 700; }
.bp-gpx-add {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--pine);
  background: none; border: 1px solid var(--pine); border-radius: 4px;
  padding: 5px 14px;
  cursor: pointer;
}
.bp-gpx-add:hover { background: var(--pine); color: #fff; }

.buy-note {
  font-family: var(--sans); font-size: 12.5px; line-height: 1.5;
  color: #6B4E14; background: #F6EEDD;
  border: 1px solid #E4D2B0; border-radius: var(--r);
  padding: 9px 12px; margin-top: 10px;
}


.bp-sample {
  display: block;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 9px 10px;
  margin: 12px 0 2px;
  text-decoration: none;
}
.bp-sample:hover { border-color: var(--pine); }

.bp-author {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
  padding-top: 12px; margin-top: 14px; line-height: 1.55;
}

.author-box, .why-box {
  max-width: 640px;
  border-left: 3px solid var(--pine);
  background: var(--paper-2);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 20px;
  margin: 26px 0;
}
.author-box p, .why-box p { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.author-box strong, .why-box strong { color: var(--ink); }

.bp-list { list-style: none; margin: 8px 0 4px; }

.bp-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin: 16px 0 4px;
}
.bp-icon {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.3;
}
.bp-icon svg {
  width: 21px; height: 21px; flex-shrink: 0;
  stroke: var(--pine); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.bp-icon svg .dot { fill: var(--pine); stroke: none; }

.byline {
  font-family: var(--sans); font-size: 13px; color: var(--muted);
  margin-top: 12px;
}
.byline strong { color: var(--ink-soft); }

.route-facts {
  font-family: var(--sans); font-size: 13.5px; color: var(--muted);
  margin-top: 10px;
}
.route-facts strong { color: var(--ink-soft); font-weight: 600; }
.elev-chart {
  display: block; width: 100%; max-width: 640px; height: 72px;
  margin-top: 12px; color: var(--pine);
}
.gdist { font-size: 12.5px; color: var(--muted); font-weight: 400; white-space: nowrap; }

.caught-box {
  max-width: 640px;
  border: 1px dashed var(--ochre);
  border-radius: var(--r);
  background: #FBF5E8;
  padding: 18px 22px;
  margin: 28px 0;
}
.caught-box h2 { font-size: 20px; margin: 6px 0 10px; }
.caught-box ul { list-style: none; }
.caught-box li {
  font-size: 15px; color: var(--ink-soft);
  padding: 6px 0 6px 22px;
  position: relative;
}
.caught-box li::before {
  content: "•";
  position: absolute; left: 4px;
  color: var(--ochre); font-weight: 700;
}
.caught-foot { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.bp-list li {
  font-family: var(--sans); font-size: 13.5px; color: var(--ink-soft);
  padding: 8px 0 8px 24px;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.bp-list li::before {
  content: "";
  position: absolute; left: 4px; top: 16px;
  width: 9px; height: 2px; background: var(--pine);
}
.bp-secure {
  font-family: var(--sans); font-size: 11.5px; color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 12px; margin-top: 12px;
  line-height: 1.55;
}

/* Related list */
.also-head { font-size: 20px; margin: 8px 0 18px; }

/* --- Home photo (kept for other uses) ---------------------------------------------------- */

.home-photo { margin: 34px 0 40px; }
.home-photo img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-1); }

/* --- Cart, checkout, order ----------------------------------------------------------------- */

.page-top { padding: clamp(30px, 5vw, 52px) 0 6px; max-width: 760px; }
.page-top h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 10px 0 8px; }
.page-top p { color: var(--ink-soft); }

.cart-table { width: 100%; border-collapse: collapse; margin: 26px 0 8px; }
.cart-table th {
  text-align: left;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--line);
}
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cart-table .num { text-align: right; }
.cart-item { display: flex; align-items: center; gap: 16px; }
.cart-item img { width: 72px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-1); }
.cart-item a { font-weight: 700; font-size: 16.5px; color: var(--ink); text-decoration: none; }
.cart-item a:hover { text-decoration: underline; }
.cart-item .meta { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.remove-btn {
  font-family: var(--sans); font-size: 12.5px;
  background: none; border: 0; cursor: pointer;
  color: var(--muted); text-decoration: underline; text-underline-offset: 2px;
}
.remove-btn:hover { color: #A03A22; }

.cart-actions {
  display: flex; justify-content: flex-end; align-items: center; gap: 24px;
  margin: 20px 0 60px;
}
.cart-actions .keep-browsing { margin-right: auto; font-family: var(--sans); font-size: 14px; }
.cart-total { font-size: 19px; }
.cart-total strong { font-size: 21px; margin-left: 6px; }

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
  margin: 14px 0 70px;
}

.field { margin-bottom: 18px; max-width: 460px; }
.field label { display: block; font-family: var(--sans); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=password] {
  width: 100%;
  font-family: var(--sans);
  font-size: 15.5px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  color: var(--ink);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(31, 74, 56, .14);
}
.field .hint { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 5px; }

.pay-methods { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 24px; max-width: 460px; }
.pay-method {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.pay-method:hover { border-color: var(--pine); }
.pay-method:has(input:checked) { border-color: var(--pine); box-shadow: 0 0 0 1px var(--pine); }
.pay-method input { accent-color: var(--pine); margin-top: 4px; }
.pm-name { font-family: var(--sans); font-size: 14.5px; font-weight: 700; }
.pm-desc { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pm-tag {
  font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: #7A5A1D; background: #F3E7D3; border: 1px solid #E4D2B0;
  padding: 2px 7px; border-radius: 3px;
  margin-left: auto; align-self: center;
}

.summary-panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow-1);
  padding: 22px;
}
.summary-panel h3 { font-size: 17px; margin-bottom: 12px; }
.summary-item {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 8px 0; font-size: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.summary-item:last-of-type { border-bottom: 0; }
.summary-total {
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 8px; padding-top: 13px;
  font-weight: 700; font-size: 17px;
}
/* The item right before the total would double its rule — drop it. */
.summary-item:has(+ .summary-total) { border-bottom: 0; }
.note-line { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.55; }

/* Order page */
.order-box {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow-1);
  padding: clamp(22px, 3.5vw, 34px);
  margin: 24px 0 64px;
  max-width: 760px;
}
.order-box h2 { font-size: 18px; margin: 26px 0 10px; }
.download-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line-soft);
  padding: 13px 0;
}
.download-row:last-of-type { border-bottom: 0; }
.dl-title { font-size: 15.5px; font-weight: 700; }
.dl-meta { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.status-chip {
  display: inline-block;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 12px;
}
.status-paid { background: #E3EEDD; color: #2E4A26; }
.status-pending { background: #F6EEDD; color: #7A5A1D; }
.status-refunded { background: #ECEAE3; color: #666; }
.status-cancelled { background: #F5E3DB; color: #7C3018; }

/* --- FAQ accordion ----------------------------------------------------------------------------- */

.faq-section { max-width: 660px; margin: 34px 0; }
.faq-section h2 { font-size: 21px; margin-bottom: 14px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  font-size: 16.5px; font-weight: 700;
  padding: 14px 30px 14px 2px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans); font-size: 18px; font-weight: 400;
  color: var(--muted);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--pine); }
.faq-answer { padding: 0 2px 16px; font-size: 15.5px; color: var(--ink-soft); max-width: 600px; }
.faq-answer p { margin-bottom: .8em; }
.faq-answer p:last-child { margin-bottom: 0; }

/* --- About ----------------------------------------------------------------------------------- */

.about-photo { margin: 8px 0 30px; }
.about-photo img { border-radius: var(--r); box-shadow: var(--shadow-1); }

/* --- Footer ------------------------------------------------------------------------------------ */

.site-footer {
  background: var(--pine-dark);
  color: rgba(239, 234, 216, .82);
  margin-top: clamp(48px, 8vw, 84px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(40px, 6vw, 64px) 0 34px;
}
.footer-brand .wordmark { color: #FAF8F2; font-size: 20px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; color: rgba(239, 234, 216, .6); margin-top: 12px; max-width: 320px; }
.footer-col h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(239, 234, 216, .5);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-family: var(--sans); font-size: 14px;
  color: rgba(239, 234, 216, .85);
  text-decoration: none;
  padding: 4.5px 0;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid rgba(239, 234, 216, .14);
  padding: 20px 0 30px;
  font-family: var(--sans); font-size: 12.5px;
  color: rgba(239, 234, 216, .5);
}
.footer-legal a { color: rgba(239, 234, 216, .7); }
/* The company line takes over the footer's bottom breathing room when present. */
.footer-legal:has(+ .footer-company) { padding-bottom: 14px; }
.footer-company {
  font-family: var(--sans); font-size: 11.5px; line-height: 1.6;
  color: rgba(239, 234, 216, .45);
  margin-top: 0; padding-bottom: 30px; max-width: 720px;
}

/* --- Filter tabs (guides page) ------------------------------------------------------------------ */

.filter-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin: 10px 0 clamp(24px, 4vw, 38px);
}
.filter-tabs a {
  font-family: var(--sans); font-size: 13.5px; font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 10px 14px 12px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.filter-tabs a:hover { color: var(--pine); }
.filter-tabs a.active { color: var(--ink); font-weight: 700; border-bottom-color: var(--pine); }
.filter-tabs .count { color: var(--muted); font-size: 12px; margin-left: 3px; }

/* --- Responsive ---------------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .pd-grid { grid-template-columns: 1fr; }
  .buy-panel { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .guide-lead { grid-template-columns: 1fr; }
  .guide-lead .gl-media img { min-height: 220px; }
  .inside-grid { grid-template-columns: 1fr; }
  .inside-grid .sticky-note { position: static; }
  .gpx-promo { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .menu-button { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .masthead-inner { height: 58px; }
  .wordmark { font-size: 18.5px; }
  .contents-box ul { columns: 1; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .guide-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gc-body { padding: 22px 12px 14px; }
  .gc-title { font-size: 16px; }
  .gc-excerpt { display: none; }
  .gc-cover { width: 48px; left: 10px; bottom: -14px; }
}
@media (max-width: 430px) {
  .guide-grid { grid-template-columns: 1fr; }
  .gc-excerpt { display: block; }
}


/* App pages (support, policies, 404): the homepage's header and footer, so
   the app's pages and the app's policies read as one site. The rules are the
   homepage's own, scoped to .app-top / .app-footer so the shop keeps its. */
.app-top{background:#16271F;color:#EFEAD8}
.app-top .nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid rgba(239,234,216,.14);position:relative}
.app-top .wordmark{font-family:var(--display);font-weight:700;font-size:1.2rem;letter-spacing:-.015em;text-decoration:none;display:flex;align-items:center;gap:10px;white-space:nowrap;color:#EFEAD8}
.app-top .wordmark:hover{color:#EFEAD8}
.app-top .wordmark img{width:28px;height:28px;border-radius:7px}
.app-top .menu{list-style:none;display:flex;gap:24px;font-size:.95rem;margin:0;padding:0}
.app-top .menu a{text-decoration:none;color:rgba(239,234,216,.74);white-space:nowrap;padding:6px 0}
.app-top .menu a:hover,.app-top .menu a:focus-visible,.app-top .menu a[aria-current]{color:#EFEAD8}
.app-top .menu-button{display:none;background:none;border:1px solid rgba(239,234,216,.3);color:#EFEAD8;border-radius:8px;padding:8px 12px;font:inherit;font-size:.92rem;cursor:pointer;width:auto;height:auto}
.skip{position:absolute;left:-9999px;top:10px;z-index:100;background:#F58A2C;color:#120D08;padding:10px 14px;border-radius:8px;font-weight:600;text-decoration:none}
.skip:focus{left:10px}
.app-footer{background:var(--paper-2);border-top:1px solid var(--line);padding:40px 0 48px;font-size:.92rem;color:var(--ink-soft);margin-top:clamp(48px,8vw,84px)}
.app-footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}
.app-footer h4{font-family:var(--sans);font-size:.9rem;font-weight:600;margin-bottom:10px;color:var(--ink)}
.app-footer ul{list-style:none;margin:0;padding:0} .app-footer li{margin:4px 0}
.app-footer a{text-decoration:none;color:inherit} .app-footer a:hover{text-decoration:underline}
.app-footer .legal{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);font-size:.82rem}
.app-footer .legal+.legal{margin-top:6px;padding-top:0;border-top:0}
@media (max-width:880px){
  .app-top .menu-button{display:inline-block}
  .app-top .menu{display:none;position:absolute;right:0;top:calc(100% + 1px);background:#1E332A;flex-direction:column;gap:0;padding:8px 0;min-width:220px;border:1px solid rgba(239,234,216,.14);border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.35);z-index:20}
  .app-top .menu.open{display:flex}
  .app-top .menu a{display:block;padding:12px 18px}
  .app-footer .cols{grid-template-columns:1fr}
}
