/*!
 * Ridgeline — theme styles
 * Layout: the front page is one long climb. A full-bleed illustrated hero (trailhead),
 * the booking form overlapping it (basecamp), then sections as camps up to a summit CTA.
 * A fixed altitude gauge on the right reads the climb as you scroll.
 */

:root {
  --pine: #16302a;
  --pine-2: #2a4a40;
  --moss: #4f7a4a;
  --blaze: #e2632b;
  --blaze-ink: #b8461a;
  --glacier: #9fc6d6;
  --snow: #f4f6f1;
  --paper: #ffffff;
  --stone: #5d6a64;
  --line: rgba(22, 48, 42, .13);

  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Martian Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--snow); color: var(--pine);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blaze-ink); }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blaze); color: #fff; }
button { font: inherit; color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; z-index: 1000; top: 10px; left: 10px; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; border-radius: 8px; }
.rl-ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -.2em; }
.rl-ic.is-flip { transform: scaleX(-1); }
.rl-mono { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.rl-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.rl-wrap--wide { max-width: calc(1120px + 2 * var(--gutter)); }
.rl-wrap--text { max-width: calc(740px + 2 * var(--gutter)); }

/* ---------- Type ---------- */
.rl-kicker { margin: 0 0 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blaze-ink); }
.rl-kicker a { text-decoration: none; }
.rl-kicker--light { color: #fff; opacity: .92; }
.rl-h1, .rl-h2, .rl-h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 0; text-wrap: balance; letter-spacing: .005em; }
.rl-h1 { font-size: clamp(44px, 7vw, 84px); }
.rl-h2 { font-size: clamp(36px, 5vw, 60px); }
.rl-h2--light { color: #fff; }
.rl-h3 { font-size: 30px; }
.rl-lede { font-size: 19px; color: var(--stone); max-width: 52ch; margin: 14px 0 0; }
.rl-small { font-size: 13px; color: var(--stone); margin: 10px 0 0; }

/* ---------- Buttons ---------- */
.rl-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 0;
  background: var(--blaze); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 10px 24px -12px rgba(226, 99, 43, .8);
}
.rl-btn:hover { background: var(--blaze-ink); color: #fff; transform: translateY(-2px); }
.rl-btn .rl-ic { transition: transform .3s var(--ease); }
.rl-btn:hover .rl-ic { transform: translateY(2px); }
.rl-btn--ghost { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rl-btn--ghost:hover { background: #fff; color: var(--pine); }
.rl-btn--small { padding: 10px 18px; font-size: 14.5px; box-shadow: none; }
.rl-btn--block { width: 100%; justify-content: center; }
.rl-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--pine); }
.rl-link .rl-ic { transition: transform .3s var(--ease); }
.rl-link:hover .rl-ic { transform: translateX(4px); }
.rl-round { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--pine); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.rl-round:hover { background: var(--pine); color: #fff; }

/* ---------- Header ---------- */
.rl-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 246, 241, .9); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid var(--line); transition: background .35s, border-color .35s, color .35s; }
.admin-bar .rl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rl-header { top: 46px; } }
.has-hero .rl-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-hero .rl-header.is-scrolled, .has-hero.nav-open .rl-header { background: rgba(244, 246, 241, .92); color: var(--pine); border-color: var(--line); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
.rl-header__inner { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rl-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 25px; text-transform: uppercase; letter-spacing: .02em; color: inherit; }
.rl-brand:hover { color: inherit; }
.rl-brand svg { width: 32px; height: 32px; color: var(--blaze); }
.custom-logo { max-height: 48px; width: auto; }
.rl-nav { display: flex; align-items: center; gap: 28px; }
.rl-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.rl-menu a { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; padding-block: 6px; }
.rl-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blaze); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.rl-menu a:hover::after, .rl-menu .current-menu-item > a::after, .rl-menu .current_page_item > a::after { transform: scaleX(1); }
.rl-menu a:hover { color: inherit; }
.rl-menu .sub-menu { display: none; }
.rl-nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 50%; }
.rl-nav-toggle .rl-ic { width: 26px; height: 26px; }
.rl-nav-toggle__close { display: none; }

@media (max-width: 880px) {
  .rl-nav-toggle { display: grid; place-items: center; }
  .rl-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px; padding: 24px var(--gutter) 32px; background: var(--snow); color: var(--pine); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); }
  .admin-bar .rl-nav { top: calc(var(--header-h) + 46px); }
  .nav-open .rl-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .rl-nav-toggle__open { display: none; }
  .nav-open .rl-nav-toggle__close { display: block; }
  .rl-menu { flex-direction: column; gap: 4px; }
  .rl-menu a { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; text-transform: uppercase; padding-block: 4px; }
  .rl-nav__cta { justify-content: center; }
}

/* ---------- Altitude rail ---------- */
.rl-rail { position: fixed; right: clamp(10px, 1.6vw, 26px); top: 50%; transform: translateY(-50%); height: 56vh; z-index: 40; width: 60px; pointer-events: none; opacity: 0; transition: opacity .5s; }
.rl-rail.is-on { opacity: 1; }
.rl-rail__track { position: absolute; right: 8px; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: rgba(22, 48, 42, .15); }
.rl-rail__fill { position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 3px; background: var(--blaze); }
.rl-rail__marker { position: absolute; right: -6px; top: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--blaze); transform: translateY(-50%); }
.rl-rail__val { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 11px; font-weight: 600; white-space: nowrap; background: var(--pine); color: #fff; padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.rl-rail__tick { position: absolute; right: 0; width: 19px; height: 2px; background: rgba(22, 48, 42, .3); }
.rl-rail__tick span { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--stone); opacity: 0; transition: opacity .3s; }
.rl-rail__tick.is-near span { opacity: 1; }
.rl-rail.is-dark .rl-rail__track { background: rgba(255, 255, 255, .35); }
.rl-rail.is-dark .rl-rail__tick { background: rgba(255, 255, 255, .5); }
.rl-rail.is-dark .rl-rail__tick span { color: #fff; }
@media (max-width: 1100px) { .rl-rail { display: none; } }

/* ---------- Hero ---------- */
.rl-hero { position: relative; isolation: isolate; color: #fff; min-height: min(100svh, 900px); display: flex; align-items: flex-end; padding-block: calc(var(--header-h) + 60px) 200px; overflow: hidden; background: var(--pine); }
.rl-hero__bg { position: absolute; inset: -6% 0 0 0; z-index: -2; will-change: transform; }
.rl-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.rl-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 22, 30, .45) 0%, rgba(10, 22, 30, .05) 35%, rgba(12, 26, 22, .55) 78%, rgba(22, 48, 42, .9) 100%); }
.rl-hero__contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: rgba(255, 255, 255, .14); }
.rl-hero__contours ellipse { stroke-dasharray: 4 7; animation: rl-contour 60s linear infinite; }
@keyframes rl-contour { to { stroke-dashoffset: -400; } }
.rl-hero__inner { position: relative; }
.rl-hero__title { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .84; font-size: clamp(64px, 13vw, 190px); letter-spacing: -.005em; text-shadow: 0 6px 40px rgba(0, 0, 0, .25); }
.rl-hero__title span, .rl-hero__title em { display: block; }
.rl-hero__title em { font-style: normal; color: #ffb48a; -webkit-text-stroke: 0; }
.rl-hero__title span { animation: rl-rise 1s var(--ease) both; }
.rl-hero__title em { animation: rl-rise 1s .12s var(--ease) both; }
@keyframes rl-rise { from { opacity: 0; transform: translateY(40px); } }
.rl-hero__title--trek { font-size: clamp(54px, 9vw, 130px); }
.rl-hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.rl-hero__text { max-width: 46ch; font-size: 19px; margin: 0 0 22px; text-shadow: 0 1px 16px rgba(0, 0, 0, .35); }
.rl-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.rl-stats { display: flex; gap: clamp(20px, 3vw, 44px); margin: 0; }
.rl-stats div { display: flex; flex-direction: column-reverse; }
.rl-stats dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.rl-stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.rl-hero--trek { min-height: min(78svh, 720px); padding-bottom: 70px; }
.rl-hero--trek .rl-hero__text { margin-top: 18px; }

/* ---------- Booking section ---------- */
.rl-book { position: relative; z-index: 2; margin-top: -150px; padding-bottom: clamp(60px, 8vw, 110px); }
.rl-book .spb { box-shadow: 0 40px 80px -40px rgba(10, 30, 25, .55); }
.rl-book--trek { margin-top: 0; padding-top: 30px; }
.rl-book .rl-prose { max-width: 740px; margin: 0 auto 24px; }
.rl-notice { background: #fff; border: 1.5px dashed var(--blaze); border-radius: var(--radius); padding: 28px; text-align: center; font-size: 17px; }

/* ---------- Sections ---------- */
.rl-section { padding-block: clamp(64px, 9vw, 120px); }
.rl-section--tight { padding-block: clamp(40px, 6vw, 72px); }
.rl-head { margin-bottom: clamp(28px, 4vw, 48px); }
.rl-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.rl-head--split .rl-lede { margin: 0; max-width: 44ch; }
.rl-scroller-btns { display: flex; gap: 10px; }

/* Trek cards */
.rl-treks { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1060px) { .rl-treks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rl-treks { grid-template-columns: minmax(0, 1fr); } }
.rl-trek { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line), 0 20px 40px -32px rgba(22, 48, 42, .5); transition: transform .45s var(--ease), box-shadow .45s; }
.rl-trek:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 34px 60px -34px rgba(22, 48, 42, .6); }
.rl-trek__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; display: block; background: var(--pine-2); }
.rl-trek__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rl-trek:hover .rl-trek__media img { transform: scale(1.06); }
.rl-trek__alt { position: absolute; left: 14px; top: 14px; font-family: var(--mono); font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .92); color: var(--pine); padding: 5px 10px; border-radius: 999px; }
.rl-trek__body { padding: 20px 22px 22px; display: grid; gap: 8px; flex: 1; }
.rl-trek__region { margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--stone); }
.rl-trek__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: .95; text-transform: uppercase; }
.rl-trek__title a { text-decoration: none; }
.rl-trek__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 18px; align-items: center; font-size: 14px; color: var(--pine-2); }
.rl-trek__facts li { display: inline-flex; align-items: center; gap: 6px; }
.rl-trek__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.rl-price { font-family: var(--mono); font-weight: 600; font-size: 16px; }
.rl-price small { font-weight: 400; font-size: 11px; color: var(--stone); }

/* Profiles */
.rl-profile { width: 100%; height: auto; overflow: visible; }
.rl-profile--mini { height: 54px; }
.rl-profile-area { fill: rgba(79, 122, 74, .14); }
.rl-profile-line { fill: none; stroke: var(--moss); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rl-trek:hover .rl-profile-line { stroke: var(--blaze); }
.rl-trek:hover .rl-profile-area { fill: rgba(226, 99, 43, .12); }
.rl-profile--big { height: 200px; }
.rl-profile--big .rl-profile-line { stroke: var(--blaze); stroke-width: 2.5; }
.rl-profile--big .rl-profile-area { fill: rgba(226, 99, 43, .12); }
.rl-grid { stroke: var(--line); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.rl-axis { font-family: var(--mono); font-size: 10px; fill: var(--stone); text-anchor: end; }
.rl-peak { fill: #fff; stroke: var(--blaze); stroke-width: 3; vector-effect: non-scaling-stroke; }

/* Effort meter */
.rl-effort { display: inline-flex; gap: 3px; align-items: center; }
.rl-effort i { width: 6px; height: 14px; border-radius: 3px; background: #dfe4dc; }
.rl-effort i.on { background: var(--moss); }
.rl-effort.is-hard i.on { background: var(--blaze); }

/* Steps — the cards rise like a staircase */
.rl-steps { background: linear-gradient(180deg, var(--snow), #e6eee6); }
.rl-stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: end; }
.rl-stair { background: var(--paper); border-radius: var(--radius); padding: 24px; position: relative; margin-bottom: calc((var(--i) - 1) * 34px); box-shadow: 0 20px 40px -34px rgba(22, 48, 42, .55); }
.rl-stair::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--moss), var(--blaze)); opacity: calc(.25 + var(--i) * .19); }
.rl-stair__n { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--blaze-ink); }
.rl-stair h3 { margin: 10px 0 8px; font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; }
.rl-stair p { margin: 0; font-size: 15px; color: var(--stone); }
@media (max-width: 900px) { .rl-stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rl-stair { margin-bottom: 0; } }
@media (max-width: 520px) { .rl-stairs { grid-template-columns: minmax(0, 1fr); } }

/* Values band */
.rl-values { position: relative; background: var(--pine); color: #dfe8e1; padding-block: clamp(70px, 9vw, 120px); overflow: hidden; }
.rl-values::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(ellipse at 85% 20%, transparent 0 26px, rgba(255, 255, 255, .05) 26px 27px); pointer-events: none; }
.rl-values__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.rl-values__inner > p { margin: 0; font-size: 19px; max-width: 48ch; }
.rl-values__list { grid-column: 1 / -1; list-style: none; margin: 30px 0 0; padding: 30px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rl-values__list li { display: grid; gap: 4px; }
.rl-values__list .rl-ic { width: 28px; height: 28px; color: #ffb48a; margin-bottom: 8px; }
.rl-values__list strong { font-family: var(--display); font-size: 46px; font-weight: 800; color: #fff; line-height: 1; }
.rl-values__list span { font-size: 14.5px; }
@media (max-width: 800px) { .rl-values__inner { grid-template-columns: minmax(0, 1fr); } .rl-values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Stories */
.rl-stories { padding-bottom: clamp(64px, 8vw, 100px); }
.rl-scroller { --sp: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sp); padding: 6px var(--sp) 24px; scrollbar-width: none; }
.rl-scroller::-webkit-scrollbar { display: none; }
.rl-story { flex: 0 0 min(420px, 84vw); scroll-snap-align: start; margin: 0; background: var(--paper); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 20px 40px -34px rgba(22, 48, 42, .55); }
.rl-story__q { width: 36px; height: 36px; color: var(--blaze); }
.rl-story blockquote { margin: 0; font-size: 18.5px; line-height: 1.5; flex: 1; }
.rl-story blockquote p { margin: 0; }
.rl-story figcaption { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--stone); border-top: 1px dashed var(--line); padding-top: 16px; }
.rl-story figcaption strong { display: block; color: var(--pine); font-size: 15px; }
.rl-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pine); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; flex: none; }
.rl-story__alt { margin-left: auto; text-align: right; font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.rl-story__alt b { display: block; font-size: 15px; color: var(--blaze-ink); letter-spacing: 0; }

/* Journal cards */
.rl-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 22px; }
.rl-post { display: flex; flex-direction: column; gap: 16px; }
.rl-post__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; display: block; background: var(--pine-2); }
.rl-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rl-post:hover .rl-post__media img { transform: scale(1.05); }
.rl-post__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.rl-post__title a { text-decoration: none; }
.rl-post__body p { margin: 8px 0 0; color: var(--stone); font-size: 15.5px; }
.rl-post__body p.rl-kicker { margin: 0 0 8px; font-size: 11.5px; color: var(--blaze-ink); }
.rl-post__body p.rl-postmeta { font-size: 11px; margin-top: 12px; }
.rl-postmeta { display: flex; gap: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--stone) !important; }

/* CTA */
.rl-cta { background: linear-gradient(180deg, #e6eee6, var(--snow)); padding-block: clamp(70px, 10vw, 130px); text-align: center; }
.rl-cta__inner { display: grid; justify-items: center; gap: 26px; }
.rl-cta__flag { width: 54px; height: 54px; color: var(--blaze); stroke-width: 1.5; }
.rl-cta .rl-h2 { max-width: 18ch; }

/* Page heads & prose */
.rl-pagehead { padding-block: calc(var(--header-h) - 20px + clamp(30px, 6vw, 80px)) clamp(26px, 4vw, 48px); background: linear-gradient(180deg, #e6eee6, var(--snow)); }
.has-hero .rl-pagehead { padding-top: calc(var(--header-h) + 60px); }
.rl-pagehead--post .rl-postmeta { margin-top: 18px; }
.rl-feature { margin-block: 10px 40px; }
.rl-feature img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; }
.rl-prose { font-size: 18px; }
.rl-prose > * { margin-block: 0 1.1em; }
.rl-prose h2, .rl-prose h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; margin-top: 1.6em; }
.rl-prose h2 { font-size: 38px; }
.rl-prose h3 { font-size: 28px; }
.rl-prose blockquote { margin-inline: 0; padding-left: 22px; border-left: 4px solid var(--blaze); font-size: 21px; font-style: italic; }
.rl-prose ul, .rl-prose ol { padding-left: 1.3em; }
.rl-prose li::marker { color: var(--blaze); }
.rl-prose img { border-radius: 14px; }
.rl-prose hr { border: 0; border-top: 1px dashed var(--line); margin-block: 2em; }
.rl-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rl-prose th, .rl-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.rl-prose .wp-block-table th, .rl-prose .wp-block-table td { border: 0; border-bottom: 1px solid var(--line); }
.rl-prose .wp-block-table thead { border-bottom: 2px solid var(--pine); }
.rl-prose .wp-block-table { overflow-x: auto; }
.rl-prose blockquote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.rl-prose details { background: #fff; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.rl-prose summary { font-weight: 700; cursor: pointer; }
.rl-prose th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.rl-prose .wp-block-columns { gap: 28px; }
.rl-prose .alignwide { max-width: min(1100px, 92vw); margin-inline: auto; position: relative; left: 50%; transform: translateX(-50%); width: 100vw; }
.rl-article__foot { margin-top: 2em; }
.rl-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.rl-postnav { padding-block: 30px 60px; }
.rl-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rl-postnav a { display: grid; gap: 4px; text-decoration: none; font-family: var(--display); font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.rl-postnav .nav-next { text-align: right; }
.rl-page-body { padding-bottom: clamp(50px, 7vw, 90px); }

/* Trek single */
.rl-factbar { background: var(--pine); color: #fff; }
.rl-factbar__inner { display: flex; flex-wrap: wrap; gap: 14px 46px; margin: 0 auto; padding-block: 22px; }
.rl-factbar dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.rl-factbar dd { margin: 4px 0 0; font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1; }
.rl-factbar .rl-effort i { height: 18px; width: 7px; background: rgba(255, 255, 255, .2); }
.rl-factbar .rl-effort i.on { background: #ffb48a; }
.rl-trek-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.rl-trek-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.rl-panel { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 40px -34px rgba(22, 48, 42, .55); }
.rl-panel__h { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.rl-months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.rl-months li { text-align: center; padding: 8px 0; border-radius: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.rl-months .is-prime { background: var(--blaze); color: #fff; font-weight: 600; }
.rl-months .is-shoulder { background: #fbe0d2; color: var(--blaze-ink); }
.rl-months .is-off { background: #eef1ec; color: var(--stone); }
.rl-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; }
.rl-dot:first-child { margin-left: 0; }
.rl-dot.is-prime { background: var(--blaze); } .rl-dot.is-shoulder { background: #fbe0d2; } .rl-dot.is-off { background: #eef1ec; }
@media (max-width: 900px) { .rl-trek-layout { grid-template-columns: minmax(0, 1fr); } .rl-trek-aside { position: static; } }

/* Search, pagination, comments, 404 */
.rl-search { display: flex; max-width: 460px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; margin-block: 20px; }
.rl-search input { flex: 1; border: 0; background: transparent; font: inherit; padding: 10px 16px; min-width: 0; }
.rl-search input:focus { outline: none; }
.rl-search button { border: 0; background: var(--pine); color: #fff; border-radius: 999px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.pagination .nav-links { display: flex; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--pine); color: #fff; }
.rl-comments { padding-bottom: 60px; }
.rl-comment-list { list-style: none; padding: 0; }
.rl-comment-list .comment-body { background: #fff; border-radius: 16px; padding: 18px; margin-bottom: 14px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.rl-404 { padding-block: calc(var(--header-h) + 80px) 120px; background: radial-gradient(ellipse at 80% 0%, #e6eee6, var(--snow)); }

/* ---------- Footer ---------- */
.rl-footer { position: relative; background: var(--pine); color: #c9d6cd; margin-top: 70px; }
.rl-footer__ridge { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: 70px; fill: var(--pine); }
.rl-footer__inner { max-width: var(--wrap); margin-inline: auto; padding: 50px var(--gutter) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.rl-footer .rl-brand { color: #fff; }
.rl-footer__brand p { max-width: 36ch; margin: 14px 0 18px; }
.rl-footer__h { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; }
.rl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rl-footer a { text-decoration: none; }
.rl-footer a:hover { color: #ffb48a; }
.rl-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.rl-footer__contact .rl-ic { margin-top: 3px; color: #ffb48a; }
.rl-social { display: flex !important; gap: 10px !important; }
.rl-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.rl-footer__base { max-width: var(--wrap); margin-inline: auto; padding: 18px var(--gutter) 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.rl-footer__widgets { margin-top: 28px; display: grid; gap: 18px; }
.rl-footer__widgets h2, .rl-footer .widget-title { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
@media (max-width: 800px) { .rl-footer__inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Reveal ---------- */
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(30px); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .rl-hero__title span, .rl-hero__title em, .rl-hero__contours ellipse { animation: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .rl-hero { padding-bottom: 170px; }
  .rl-hero__foot { flex-direction: column; align-items: flex-start; }
  .rl-book { margin-top: -120px; }
  .rl-head--split { align-items: flex-start; }
  .rl-postnav .nav-links { grid-template-columns: minmax(0, 1fr); }
  .rl-postnav .nav-next { text-align: left; }
}
