/* =========================================================
   OPEN ROADS — US Travel Blog Theme
   ========================================================= */

/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand — Sea & Cruises palette */
  --forest:         #1A6B8A;   /* ocean blue (primary) */
  --forest-dark:    #125270;   /* deep ocean */
  --forest-deep:    #0A2D45;   /* midnight navy */
  --lime:           #F0C040;   /* golden sunlight accent */
  --lime-dark:      #D4A030;   /* deeper gold */
  --cream:          #F0F7FC;   /* pale sky / sea foam */
  --sand:           #E3EFF7;   /* light sea mist */
  --sand-dark:      #C8DDE9;   /* sea haze */
  --warm-brown:     #4A7A8A;   /* sea glass teal */
  --earth:          #2E5F78;   /* mid ocean */
  --dusk:           #5BB8D4;   /* horizon blue */

  /* Surfaces */
  --surface:        #FFFFFF;
  --surface-warm:   var(--cream);
  --surface-sand:   var(--sand);
  --dark-bg:        #091E30;
  --dark-surface:   #0D2840;

  /* Text */
  --on-surface:       #0D1E2A;
  --on-surface-muted: #4E6A7A;
  --text-light:       #8AAAB8;
  --on-dark:          #E8F4F8;
  --on-dark-muted:    rgba(232, 244, 248, 0.72);

  /* Borders */
  --border:         #C2D9E8;
  --border-dark:    rgba(255,255,255,0.12);

  /* Radius */
  --radius:         8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-img:     16px;

  /* Typography */
  --font-headline: "Bitter", Georgia, serif;
  --font-body:     "Montserrat", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-w:  1200px;
  --gutter:       15px;   /* horizontal page padding */
  --section-py:   88px;

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Wave colors for section dividers */
  --wave-cream:   #F0F7FC;
  --wave-navy:    #0A2D45;
  --wave-mid:     #0D3A5C;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--on-surface);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  /* Subtle nautical pattern overlay */
  background-image: radial-gradient(circle at 20% 80%, rgba(26,107,138,.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(91,184,212,.04) 0%, transparent 50%);
}
.site-main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-decoration: none; transition: color .2s; }
a:hover { color: var(--forest-dark); }
/* Sea shimmer keyframe used by wave decorators */
@keyframes wave-shimmer {
  0%   { opacity: .6; transform: translateX(0); }
  50%  { opacity: .8; transform: translateX(-8px); }
  100% { opacity: .6; transform: translateX(0); }
}
button { font-family: var(--font-body); }

/* ── UTILITIES ─────────────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
  border: 2px solid transparent;
  line-height: 1;
}
.btn--accent  {
  background: var(--forest);
  color: #fff;
}
.btn--accent:hover {
  background: var(--forest-dark);
  color: #fff;
  box-shadow: 0 4px 18px rgba(61,107,90,.35);
}
.btn--outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn--outline:hover {
  background: var(--forest);
  color: #fff;
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}
.btn--full { width: 100%; }

/* Section head row */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.section-head__text { flex: 1; }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 8px;
}
.eyebrow--light { color: var(--lime); }

/* Section title */
.section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.15;
}

/* Section link  – animated underline */
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 2px solid var(--sand-dark);
  padding-bottom: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .2s, color .2s;
}
.section-link:hover { border-color: var(--forest); color: var(--forest-dark); }
.section-link svg { transition: transform .2s; }
.section-link:hover svg { transform: translateX(4px); }

/* No-post message */
.no-posts {
  font-style: italic;
  color: var(--on-surface-muted);
  padding: 24px 0;
}


/* ── HEADER (dark) ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 24, 40, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: transform .35s var(--ease-out), box-shadow .3s var(--ease-out), background .3s;
  will-change: transform;
}
/* Slid out of view while scrolling down (toggled in main.js).
   Extra 4px so the gradient line under the header hides too. */
.site-header--hidden {
  transform: translateY(calc(-100% - 4px));
  box-shadow: none;
}
/* Thin animated gradient line along the bottom edge */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dusk), var(--lime), var(--dusk), transparent);
  background-size: 200% 100%;
  opacity: .55;
  animation: header-line 10s linear infinite;
  pointer-events: none;
}
@keyframes header-line { to { background-position: 200% 0; } }
.site-header--scrolled {
  background: rgba(4, 16, 28, .98);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

/* Admin bar offset */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.header-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

/* Logo */
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 44px; width: auto; object-fit: contain; }
.header-logo .custom-logo-link { display: flex; align-items: center; transition: opacity .2s; }
.header-logo .custom-logo-link:hover { opacity: .85; }
.site-title-text {
  font-family: var(--font-headline);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: color .25s;
}
.site-title-text:hover { color: var(--lime); }

/* Primary nav */
.header-nav { justify-self: center; }
.header-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 2px;
}
.header-nav .nav-list > li > a {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 14px;
  border-radius: 100px;
  transition: color .2s, background .2s;
}
/* Gold dot appears under the hovered / current item */
.header-nav .nav-list > li > a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  transform: translateX(-50%) scale(0);
  transition: transform .25s var(--ease-out);
}
.header-nav .nav-list > li > a:hover,
.header-nav .nav-list > li.current-menu-item > a { color: #fff; background: rgba(255,255,255,.07); }
.header-nav .nav-list > li > a:hover::before,
.header-nav .nav-list > li.current-menu-item > a::before { transform: translateX(-50%) scale(1); }

/* Desktop dropdown */
.header-nav .nav-list > li { position: relative; }
.header-nav .nav-list li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: 2px;
  transition: transform .2s;
}
.header-nav .nav-list li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }
.header-nav .nav-list li.menu-item-has-children .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,.1);
  border-top: 2px solid var(--lime);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
/* Hover bridge so the menu doesn't close in the gap */
.header-nav .nav-list li.menu-item-has-children .sub-menu::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -14px;
  height: 14px;
}
.header-nav .nav-list li.menu-item-has-children:hover .sub-menu,
.header-nav .nav-list li.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.header-nav .nav-list .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
  transition: color .2s, background .2s, padding-left .25s;
}
.header-nav .nav-list .sub-menu a:hover { color: #fff; background: rgba(255,255,255,.06); padding-left: 26px; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* Burger button */
.burger-btn {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.burger-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.burger-bar {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width .2s, transform .3s, opacity .3s;
}
.burger-bar:nth-child(1) { width: 20px; }
.burger-bar:nth-child(2) { width: 14px; }
.burger-bar:nth-child(3) { width: 20px; }
.burger-btn:hover .burger-bar:nth-child(2) { width: 20px; }
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 20px; }
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; }
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 20px; }

/* ── MOBILE NAV (dark drawer) ───────────────────────────── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 18, .6);
  z-index: 299;
  backdrop-filter: blur(3px);
}
.nav-backdrop.is-open { display: block; }

.nav-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 90vw);
  background:
    radial-gradient(ellipse 80% 40% at 0% 100%, rgba(240,192,64,.08), transparent 70%),
    var(--forest-deep);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform .38s var(--ease-out);
  box-shadow: 6px 0 40px rgba(0,0,0,.4);
  overflow-y: auto;
}
.nav-menu.is-open { transform: translateX(0); }

.nav-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.nav-menu__brand {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.nav-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.nav-close:hover { background: var(--lime); border-color: var(--lime); color: var(--forest-deep); }

.nav-menu__body { padding: 8px 0; }
.nav-menu .menu { list-style: none; }
.nav-menu .menu li a {
  display: block;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  padding: 14px 24px;
  border-left: 3px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.nav-menu .menu li a:hover {
  color: #fff;
  background: rgba(255,255,255,.05);
  border-left-color: var(--lime);
}
/* Mobile dropdown expand */
.nav-menu .menu li.menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu .menu li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  flex-shrink: 0;
  transition: transform .25s;
}
.nav-menu .menu li.menu-item-has-children.is-open > a::after { transform: rotate(180deg); }
.nav-menu .menu .sub-menu {
  display: none;
  list-style: none;
  background: rgba(0,0,0,.18);
}
.nav-menu .menu li.menu-item-has-children.is-open > .sub-menu { display: block; }
.nav-menu .menu .sub-menu a {
  padding-left: 36px;
  font-size: .9rem;
  border-left: none;
}

.nav-menu__subscribe {
  padding: 16px 24px 24px;
  flex-shrink: 0;
}
.nav-menu__subscribe .btn--accent { background: var(--lime); color: var(--forest-deep); }
.nav-menu__subscribe .btn--accent:hover { background: #fff; color: var(--forest-deep); }

/* ═══════════════════════════════════════════════
   HERO SECTION — Full-width slider
═══════════════════════════════════════════════ */

/* ── Section wrapper ── */
.hero-section {
  position: relative;
  height: 700px;
  overflow: hidden;
  background-color: var(--forest-deep);
}

/* ── Slider track: slides stack on top of each other ── */
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-color: var(--forest-deep);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease;
  will-change: opacity;
}
.hero-slide--active {
  opacity: 1;
  z-index: 1;
}

/* ── Overlay per slide ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(4, 14, 26, .55) 0%,
    rgba(10, 45, 69, .55) 55%,
    rgba(10, 45, 69, .20) 100%
  );
  z-index: 2;
}

/* ── Wave at bottom of hero ── */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23F0F7FC' d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  z-index: 10;
  pointer-events: none;
}

/* ── Compass rose ── */
.hero-compass {
  position: absolute;
  top: 60px; right: 60px;
  width: 140px; height: 140px;
  color: #fff;
  opacity: .07;
  z-index: 3;
  pointer-events: none;
}

/* ── Content wrap: full-width container, left-aligned ── */
.hero-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  /* No flex — children are absolutely positioned, no layout shift */
}

/* ── Individual content panels ──
   Always position: absolute so switching active slide never triggers
   a layout reflow. Left edge mirrors the container's padding:
   max(28px, 50% - 572px) = 28px at narrow viewports,
   (viewportW - 1200px)/2 + 28px at wide ones.                     */
.hero-content {
  position: absolute;
  top: 50%;
  left: max(28px, calc(50% - 572px));
  max-width: 800px;
  transform: translateY(calc(-50% + 14px));
  opacity: 0;
  transition: opacity .7s ease .2s, transform .7s ease .2s;
  pointer-events: none;
}
.hero-content--active {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
  /* position stays absolute — no switch, no 28px jerk */
}

.hero-heading {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,.82);
  max-width: 52ch;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 38px;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 2px solid var(--forest);
  transition: background .25s, border-color .25s, box-shadow .25s, transform .2s;
  text-decoration: none;
}
.hero-cta:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: #fff;
  box-shadow: 0 8px 32px rgba(26,107,138,.5);
  transform: translateY(-2px);
}

/* ── Controls row (arrows + dots) ── */
.hero-controls {
  position: absolute;
  bottom: 90px; /* above wave */
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  /* Mirror the container gutter exactly — same formula as .hero-content left */
  padding-left: max(28px, calc(50% - 572px));
  padding-right: 28px;
}
.hero-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.hero-arrow:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.7);
}

/* ── Dot indicators ── */
.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-dot {
  width: 28px; height: 3px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .25s, width .25s;
  padding: 0;
}
.hero-dot--active {
  background: var(--lime);
  width: 48px;
}

/* ── Auto-play progress bar ── */
.hero-progress {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.12);
  z-index: 6;
  overflow: hidden;
}
.hero-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--lime);
  animation: hero-progress-fill 6s linear infinite;
}
@keyframes hero-progress-fill {
  0%   { width: 0%; }
  100% { width: 100%; }
}


/* ═══════════════════════════════════════════════
   AROUND THE COUNTRY — Section 2
   Effect: Wave bottom edge → trails navy section
═══════════════════════════════════════════════ */
.guides-section {
  padding: var(--section-py) 0;
  padding-bottom: calc(var(--section-py) + 60px);
  background: var(--cream);
  position: relative;
  z-index: 2;
}
/* Wave bottom edge flowing into dark navy trails section */
.guides-section::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%230A2D45' d='M0,20 C180,60 360,0 540,30 C720,60 900,10 1080,35 C1260,60 1380,15 1440,25 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  z-index: 3;
  pointer-events: none;
}

/* ── SHARED CATEGORY BADGE ─────────────────────────────────── */
.vr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--forest);
  background: transparent;
  border: 1.5px solid var(--forest);
  padding: 3px 10px 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.vr-badge::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
  transition: background .2s;
}
.vr-badge:hover { background: var(--forest); color: #fff; }
.vr-badge:hover::before { background: #fff; }

/* Light variant — on dark image overlay */
.vr-badge--light {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
}
.vr-badge--light::before { background: #fff; }
.vr-badge--light:hover { background: rgba(255,255,255,.25); color: #fff; border-color: #fff; }

/* Ocean variant — for dark section */
.vr-badge--ocean {
  color: var(--lime);
  border-color: rgba(240,192,64,.45);
  background: rgba(240,192,64,.08);
}
.vr-badge--ocean::before { background: var(--lime); }
.vr-badge--ocean:hover { background: var(--lime); color: var(--forest-deep); border-color: var(--lime); }
.vr-badge--ocean:hover::before { background: var(--forest-deep); }

/* Gold variant — on dark image overlay */
.vr-badge--gold {
  color: var(--lime);
  border-color: rgba(240,192,64,.6);
  background: rgba(10,45,69,.45);
  backdrop-filter: blur(4px);
}
.vr-badge--gold::before { background: var(--lime); }
.vr-badge--gold:hover { background: var(--lime); color: var(--forest-deep); }
.vr-badge--gold:hover::before { background: var(--forest-deep); }

/* ── VOYAGE REPORT layout ───────────────────────────── */
.vr-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.vr-header__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}
.vr-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.1;
  margin: 0;
}
.vr-header__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--forest);
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--border);
  transition: border-color .2s, color .2s;
}
.vr-header__link:hover { border-color: var(--forest); color: var(--forest-dark); }
.vr-header__link svg { transition: transform .2s; }
.vr-header__link:hover svg { transform: translateX(4px); }

/* Asymmetric 2-col: hero card (left) + stack (right) */
.vr-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-img);
  overflow: hidden;
}

/* Hero card */
.vr-hero {
  position: relative;
  display: flex;
  flex-direction: column;
}
.vr-hero__img-link {
  display: block;
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 320px;
}
.vr-hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.vr-hero__img-link:hover .vr-hero__img { transform: scale(1.04); }
.vr-hero__img-placeholder {
  width: 100%; height: 100%; min-height: 320px;
  background: var(--sand-dark);
}
/* Gradient overlay on image for text */
.vr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,45,69,.82) 0%, rgba(10,45,69,.15) 55%, transparent 100%);
  pointer-events: none;
}
/* Text pinned to bottom of image */
.vr-hero__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 24px;
  z-index: 2;
}
.vr-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
.vr-hero__title a { color: #fff; transition: opacity .2s; }
.vr-hero__title a:hover { opacity: .85; }
.vr-hero__date {
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
}

/* Side stack — 4 compact horizontal cards */
.vr-stack {
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.vr-card {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
  flex: 1;
}
.vr-card:last-child { border-bottom: none; }
.vr-card:hover { background: var(--cream); }
.vr-card__img-link {
  display: block;
  flex-shrink: 0;
  width: 180px;
  overflow: hidden;
  position: relative;
}
.vr-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease-out);
}
.vr-card__img-link:hover .vr-card__img { transform: scale(1.06); }
.vr-card__img-placeholder {
  width: 100%; height: 100%; min-height: 90px;
  background: var(--sand-dark);
}
.vr-card__body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.vr-card__title {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
  margin: 0;
}
.vr-card__title a { color: inherit; transition: color .2s; }
.vr-card__title a:hover { color: var(--forest); }
.vr-card__date {
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-light);
}

/* ═══════════════════════════════════════════════
   TRACKS TO TRAILS — Section 3 (midnight navy, 3 cards)
   Effect: Overlaps guides with wave top; angled/diagonal bottom cut
═══════════════════════════════════════════════ */
.trails-section {
  padding: var(--section-py) 0;
  padding-top: calc(var(--section-py) + 50px);
  margin-top: -60px;
  background: var(--forest-deep);
  position: relative;
  z-index: 1;
  /* Diagonal bottom-right cut via clip-path */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
  padding-bottom: calc(var(--section-py) + 80px);
}

/* ── OPEN WATERS section layout ────────────────────── */
.ow-header {
  margin-bottom: 48px;
  text-align: center;
}
.ow-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
}
.ow-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}
.ow-sub {
  font-family: var(--font-body);
  font-size: clamp(.88rem, 1.3vw, 1rem);
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* 3-col grid with index accent numbers */
.ow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ow-card {
  background: rgba(10,45,69,.7);
  display: flex;
  flex-direction: column;
  transition: background .25s;
  position: relative;
}
.ow-card:hover { background: rgba(18,82,112,.75); }

/* Full-bleed image top */
.ow-card__img-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.ow-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease-out);
  filter: brightness(.88);
}
.ow-card__img-link:hover .ow-card__img { transform: scale(1.05); filter: brightness(1); }
.ow-card__img-placeholder {
  width: 100%; height: 100%; min-height: 200px;
  background: rgba(26,107,138,.3);
}

/* Body with large number accent */
.ow-card__body {
  padding: 22px 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}
.ow-card__num {
  font-family: var(--font-headline);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,.1);
  flex-shrink: 0;
  letter-spacing: -.04em;
  margin-top: -4px;
  transition: color .25s;
}
.ow-card:hover .ow-card__num { color: rgba(240,192,64,.25); }
.ow-card__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ow-card__title {
  font-family: var(--font-body);
  font-size: clamp(.9rem, 1.3vw, 1.05rem);
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255,255,255,.92);
  margin-bottom: 8px;
}
.ow-card__title a { color: inherit; transition: opacity .2s; }
.ow-card__title a:hover { opacity: .75; }
.ow-card__date {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.38);
}


/* ═══════════════════════════════════════════════
   HAND-PICKED — Section 4 (cream bg, 4 equal cards)
   Effect: Skewed top edge continues diagonal from trails;
           decorative horizontal rule wave below header
═══════════════════════════════════════════════ */
.handpicked-section {
  padding: var(--section-py) 0;
  padding-top: calc(var(--section-py) + 80px);
  margin-top: -40px;
  background: var(--cream);
  position: relative;
  z-index: 2;
  /* Parallelogram top cut — reverse of trails diagonal */
  clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
}

/* ── CHART YOUR COURSE layout ────────────────────── */
.cyc-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}
.cyc-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}
.cyc-title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.1;
  margin: 0;
}
.cyc-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cyc-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.cyc-btn--outline {
  color: var(--on-surface);
  border: 1.5px solid var(--border);
  background: transparent;
}
.cyc-btn--outline:hover { border-color: var(--on-surface); color: var(--forest); }
.cyc-btn--solid {
  color: #fff;
  background: var(--forest);
  border: 1.5px solid var(--forest);
}
.cyc-btn--solid:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; }

/* 2-col: list left, big feature right */
.cyc-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-img);
  overflow: hidden;
}

/* Big feature card */
.cyc-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.cyc-feature__img-link {
  display: block;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.cyc-feature__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.cyc-feature__img-link:hover .cyc-feature__img { transform: scale(1.04); }
.cyc-feature__img-placeholder {
  width: 100%; height: 100%; min-height: 320px;
  background: var(--sand-dark);
}
.cyc-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,45,69,.88) 0%, rgba(10,45,69,.2) 50%, transparent 100%);
  pointer-events: none;
}
.cyc-feature__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  z-index: 2;
}
.cyc-feature__title {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
.cyc-feature__title a { color: #fff; transition: opacity .2s; }
.cyc-feature__title a:hover { opacity: .85; }
.cyc-feature__date {
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
}

/* Right list column */
.cyc-list {
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.cyc-item {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  flex: 1;
  transition: background .2s;
}
.cyc-item:last-child { border-bottom: none; }
.cyc-item:hover { background: var(--cream); }
.cyc-item__img-link {
  display: block;
  flex-shrink: 0;
  width: 180px;
  overflow: hidden;
  position: relative;
}
.cyc-item__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease-out);
}
.cyc-item__img-link:hover .cyc-item__img { transform: scale(1.07); }
.cyc-item__img-placeholder {
  width: 100%; height: 100%;
  background: var(--sand-dark);
}
.cyc-item__body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
}
.cyc-item__title {
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
  margin: 0;
}
.cyc-item__title a { color: inherit; transition: color .2s; }
.cyc-item__title a:hover { color: var(--forest); }
.cyc-item__date {
  font-size: .6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
}

/* (keep these old classes as they may be used elsewhere) */
.hp-head { display: none; }
.hp-divider { display: none; }
.hp-grid { display: none; }
.hp-card { display: none; }


/* ═══════════════════════════════════════════════
   REVIEWS — Full-width immersive slider
   Effect: Deep navy with animated wave bands +
           wave top coming from handpicked section
═══════════════════════════════════════════════ */
.reviews-section {
  position: relative;
  padding: 100px 0;
  padding-top: calc(100px + 50px);
  margin-top: -40px;
  background-color: #10182A;
  background-size: cover;
  background-position: bottom;
  background-attachment: scroll;
  overflow: hidden;
  z-index: 1;
}
/* Crosshatch map-grid background */
.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px, transparent 40px,
      rgba(255,255,255,.018) 40px, rgba(255,255,255,.018) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px, transparent 40px,
      rgba(255,255,255,.018) 40px, rgba(255,255,255,.018) 41px
    );
  pointer-events: none;
  z-index: 0;
}
/* Wave bottom — cream subscribe section flows in */
.reviews-section::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%23F0F7FC' d='M0,35 C200,0 400,70 600,35 C800,0 1000,70 1200,35 C1320,18 1400,42 1440,35 L1440,70 L0,70 Z'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  z-index: 3;
  pointer-events: none;
}
.reviews-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}
.reviews-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
}
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.reviews-title {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}

/* Slider wrapper */
.reviews-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.reviews-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 0;
}
.reviews-track {
  display: flex;
  transition: transform .55s var(--ease-out);
}
.review-slide {
  flex: 0 0 100%;
  padding: 40px 48px;
  background: rgba(0,0,0,.5);
  border: none;
  border-top: 3px solid var(--lime);
  border-radius: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
/* Decorative CSS open-quote top-right */
.review-slide::before {
  content: '\201C';
  position: absolute;
  top: 8px; right: 32px;
  font-family: var(--font-headline);
  font-size: 8rem;
  line-height: 1;
  color: var(--lime);
  opacity: .1;
  pointer-events: none;
}
.review-slide__quote {
  position: relative;
  margin-bottom: 0;
}
.review-slide__mark { display: none; }
.review-slide__quote p {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,.9);
  line-height: 1.75;
  max-width: 58ch;
  margin: 0 0 24px;
}
.review-slide__author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--lime);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.review-slide__author::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--lime);
  flex-shrink: 0;
}
.review-slide__author span {
  font-weight: 400;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
}

/* Arrows — square */
.reviews-arrow {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.reviews-arrow:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest-deep);
  transform: scale(1.05);
}

/* Dots — horizontal bar style */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.reviews-dot {
  width: 20px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: background .3s, width .3s;
}
.reviews-dot--active {
  background: var(--lime);
  width: 36px;
}


/* ═══════════════════════════════════════════════
   SUBSCRIBE SECTION
   Effect: Cream bg with large diagonal nautical
           stripe accents and sea-light radials;
           bottom wave into editor dark section
═══════════════════════════════════════════════ */
.subscribe-section {
  padding: var(--section-py) 0;
  padding-top: calc(var(--section-py) + 60px);
  padding-bottom: calc(var(--section-py) + 60px);
  margin-top: -50px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  z-index: 2;
}
/* Diagonal nautical stripe bands — like port stripe painting */
.subscribe-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 48px,
      rgba(26, 107, 138, .04) 48px,
      rgba(26, 107, 138, .04) 50px
    );
  pointer-events: none;
  z-index: 0;
}
/* Sea-light radial glow + wave bottom into editor */
.subscribe-section::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%230A2D45' d='M0,20 C120,50 300,0 480,28 C660,56 840,5 1020,28 C1200,51 1340,10 1440,22 L1440,70 L0,70 Z'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  z-index: 3;
  pointer-events: none;
}

/* Dark container wrapping both copy and form */
.subscribe-card {
  background: var(--forest-deep);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  box-shadow: 0 24px 72px rgba(0,0,0,.32);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
/* Gold porthole ring — top-right */
.subscribe-card::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 2px solid rgba(240,192,64,.12);
  background: radial-gradient(circle, rgba(91,184,212,.10) 0%, transparent 60%);
  pointer-events: none;
}
/* Radial glow — bottom-left */
.subscribe-card::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,192,64,.07) 0%, transparent 65%);
  pointer-events: none;
}

.subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  align-items: start;
  position: relative;
  z-index: 1;
}
.subscribe-inner__left {
  padding-right: 48px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.subscribe-inner__right {
  padding-left: 48px;
}
.subscribe-inner__left .eyebrow { margin-bottom: 12px; color: var(--lime); }
.subscribe-inner__title {
  font-family: var(--font-headline);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.subscribe-inner__sub {
  font-size: .92rem;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 44ch;
}
.subscribe-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.subscribe-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
}
.subscribe-perks li svg { color: var(--lime); flex-shrink: 0; }

/* Form area — subtle separation inside dark card */
.subscribe-form-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.subscribe-form-card::before,
.subscribe-form-card::after { display: none; }
.subscribe-form-card__label {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
}
.subscribe-form-card__note {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  font-style: italic;
  position: relative;
}

/* Contact Form 7 overrides */
.subscribe-form-card .wpcf7 { position: relative; }
.subscribe-form-card .wpcf7-form { display: flex; flex-direction: column; gap: 14px; }
.subscribe-form-card .wpcf7-form-control-wrap { display: block; }

/* Email + submit live in the same <p> separated by <br> — lay them out as a column */
.subscribe-form-card .form-fields p {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.subscribe-form-card .form-fields p br { display: none; }
.subscribe-form-card .form-privacy p { margin: 0; }

.subscribe-form-card input[type="text"],
.subscribe-form-card input[type="email"],
.subscribe-form-card textarea,
.subscribe-form-card select {
  width: 100%;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: .92rem;
  color: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.subscribe-form-card input:focus,
.subscribe-form-card textarea:focus,
.subscribe-form-card select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(200,227,123,.18);
  background: rgba(255,255,255,.13);
}
.subscribe-form-card input::placeholder,
.subscribe-form-card textarea::placeholder { color: rgba(255,255,255,.42); }

/* Submit button — lime with dark text */
.subscribe-form-card .wpcf7-submit {
  width: 100%;
  padding: 16px 28px;
  background: var(--lime);
  color: var(--forest-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
  position: relative;
}
.subscribe-form-card .wpcf7-submit:hover {
  background: #d5ed8c;
  box-shadow: 0 6px 24px rgba(200,227,123,.4);
  transform: translateY(-1px);
}

/* Acceptance / privacy checkbox */
.subscribe-form-card .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.subscribe-form-card .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.subscribe-form-card .wpcf7-acceptance input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--lime);
  cursor: pointer;
}
.subscribe-form-card .wpcf7-list-item-label {
  font-size: .8rem;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
}
.subscribe-form-card .wpcf7-list-item-label a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.subscribe-form-card .wpcf7-list-item-label a:hover { color: #d5ed8c; }

/* Validation & response */
.subscribe-form-card .wpcf7-not-valid-tip {
  font-size: .76rem;
  color: #ff9f9f;
  margin-top: 4px;
  display: block;
}
.subscribe-form-card .wpcf7-response-output {
  font-size: .84rem;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  margin-top: 8px;
  color: rgba(255,255,255,.8);
}
.subscribe-form-card .wpcf7-spinner {
  display: none;
}


/* ═══════════════════════════════════════════════
   ABOUT THE EDITOR
   Effect: Deep navy with geometric diamond/compass
           rose corner shapes and radial sea glow;
           top wave continues from subscribe
═══════════════════════════════════════════════ */
.editor-section {
  padding: var(--section-py) 0;
  padding-top: calc(var(--section-py) + 60px);
  margin-top: -50px;
  background: var(--forest-deep);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Bottom-left port-hole / compass rose accent */
.editor-section .editor-compass-deco {
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  border: 2px solid rgba(240,192,64,.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    0 0 0 30px rgba(91,184,212,.03),
    0 0 0 60px rgba(91,184,212,.02);
}
.editor-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

/* Portrait — circular, left column */
.editor-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.editor-portrait__frame {
  border-radius: 50%;
  overflow: hidden;
  width: 220px;
  height: 220px;
  aspect-ratio: 1/1;
  box-shadow:
    0 0 0 4px var(--forest-deep),
    0 0 0 8px rgba(240,192,64,.35),
    0 16px 48px rgba(0,0,0,.35);
  position: relative;
  z-index: 2;
}
.editor-portrait__frame::before { display: none; }
.editor-portrait__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* No rectangular offset — gold ring handled by box-shadow on frame */
.editor-portrait::after { display: none; }
.editor-portrait__placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 2px dashed rgba(255,255,255,.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.4);
  font-size: .84rem;
  text-align: center;
  padding: 24px;
}

/* Compass rose SVG — background deco */
.editor-terrain {
  position: absolute;
  bottom: -40px; right: -60px;
  width: 340px; height: 220px;
  color: var(--dusk);
  z-index: 0;
  pointer-events: none;
  opacity: .08;
}

/* Story text */
.editor-story { position: relative; }
.editor-story .eyebrow { display: block; margin-bottom: 12px; color: var(--lime); }
.editor-story__name {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.editor-story__role { display: none; }
.editor-story__bio {
  font-size: .96rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 28px;
}
.editor-story__bio p { margin-bottom: 12px; }
.editor-story__sig {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  opacity: .55;
  margin-bottom: 28px;
  letter-spacing: .02em;
}
/* Override btn--outline for dark background */
.editor-story .btn--outline {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.editor-story .btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}


/* ═══════════════════════════════════════════════
/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
/* Wave sits on the page background (cream) above the footer */
.footer-wave {
  display: block;
  line-height: 0;
  margin-top: -2px;
  background: var(--cream);
}
.footer-wave svg { display: block; width: 100%; height: 60px; }

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 45% 55% at 85% 70%, rgba(91,184,212,.09), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(240,192,64,.06), transparent 70%),
    #040E1A;
}
/* Subtle sea depth banding */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(180deg, transparent 0 40px, rgba(26,107,138,.04) 40px 41px);
  pointer-events: none;
}
.footer-deco-route {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  color: rgba(240,192,64,.16);
  pointer-events: none;
}
.footer-deco-compass {
  position: absolute;
  right: -60px;
  bottom: -70px;
  z-index: -1;
  width: 300px;
  height: 300px;
  color: rgba(255,255,255,.05);
  animation: footer-compass 40s linear infinite;
  pointer-events: none;
}
@keyframes footer-compass { to { transform: rotate(360deg); } }

/* 3 columns: brand + 2 menus */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 64px;
  padding-block: 64px 56px;
}

/* Brand column */
.footer-brand { margin-bottom: 20px; }
.footer-brand__name {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--on-dark);
  transition: color .2s;
}
.footer-brand__name:hover { color: var(--lime); }
.footer-brand .custom-logo-link { display: inline-block; line-height: 0; }
.footer-brand .custom-logo-link img { height: 44px; width: auto; max-width: 200px; }
.footer-brand__text {
  max-width: 42ch;
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(232,244,248,.62);
}
.footer-brand__text p + p { margin-top: 10px; }
.footer-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.footer-services li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(232,244,248,.75);
  transition: border-color .25s, color .25s;
}
.footer-services li:hover { border-color: rgba(240,192,64,.5); color: #fff; }
.footer-services .or-icon { color: var(--lime); }

/* Menu columns */
.footer-col__title {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 12px;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.footer-col__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--lime), var(--dusk));
}
.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(232,244,248,.66);
  transition: color .25s, padding-left .3s var(--ease-out);
}
/* Small gold dash slides in on hover */
.footer-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transform: translateY(-50%);
  transition: width .3s var(--ease-out);
}
.footer-menu a:hover,
.footer-menu .current-menu-item > a { color: #fff; padding-left: 18px; }
.footer-menu a:hover::before,
.footer-menu .current-menu-item > a::before { width: 10px; }
.footer-col__hint a {
  font-size: .82rem;
  color: var(--lime);
  border-bottom: 1px dashed rgba(240,192,64,.5);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(232,244,248,.4);
}
.footer-copy a { color: rgba(232,244,248,.6); transition: color .2s; }
.footer-copy a:hover { color: var(--lime); }
.footer-top {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: rgba(255,255,255,.75);
  transform: rotate(-90deg);
  transition: background .25s, color .25s, border-color .25s, transform .3s;
}
.footer-top:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest-deep);
  transform: rotate(-90deg) translateX(3px);
}


/* ═══════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════ */
/* .single-post padding only applies to <main>, not body */
main.single-post {
  padding: 32px 0 60px;
}
.single-container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

/* Post header */
.post-header { margin-bottom: 40px; }
/* Category chips — same pill as the homepage journal (.journal-cat) */
.post-header .or-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  margin: 0 6px 16px 0;
  border-radius: 100px;
  background: rgba(26, 107, 138, .1);
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  transition: background .25s, color .25s;
}
.post-header .or-chip::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.post-header .or-chip:hover { background: var(--forest); color: #fff; }
.post-title {
  font-family: var(--font-headline);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--on-surface);
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .8rem;
  color: var(--text-light);
  font-weight: 500;
}
.post-meta__item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-meta__item svg { flex-shrink: 0; color: var(--coral); }
.post-meta__sep { display: none; }
.post-meta__sep--show { display: inline; color: var(--border); }

/* Featured image */
.post-featured-img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(10, 45, 69, .16);
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16/9;
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Post content typography */
.post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--on-surface);
}
.post-content h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--on-surface);
  margin: 44px 0 18px;
}
.post-content h3 {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  margin: 36px 0 14px;
}
.post-content p { margin-bottom: 22px; }
.post-content a { color: var(--forest); border-bottom: 1px solid rgba(61,107,90,.3); transition: border-color .2s; }
.post-content a:hover { border-color: var(--forest); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 22px; }
.post-content li { margin-bottom: 8px; line-height: 1.75; }
.post-content blockquote {
  border-left: 4px solid var(--forest);
  padding: 18px 24px;
  margin: 32px 0;
  background: var(--sand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--on-surface-muted);
}
.post-content img {
  border-radius: var(--radius-img);
  margin: 28px 0;
}
.post-content figure {
  width: 100% !important;
  margin: 28px 0;
}
.post-content figcaption {
  width: 100% !important;
  font-size: .8rem;
  color: var(--on-surface-muted);
  font-style: italic;
  text-align: center;
  padding: 8px 4px 0;
  line-height: 1.6;
}

/* Post sidebar */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: 100px;
  align-self: start;
}

/* Sidebar widget */
.sidebar-widget__title {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--forest);
  display: inline-block;
}

/* Recent posts list */
.sidebar-recent {
  list-style: none;
}
.sidebar-recent__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-recent__item:first-child { padding-top: 0; }
.sidebar-recent__item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent__thumb-link {
  flex-shrink: 0;
  display: block;
  width: 72px; height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-recent__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s var(--ease-out);
}
.sidebar-recent__thumb-link:hover .sidebar-recent__thumb { transform: scale(1.06); }
.sidebar-recent__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.sidebar-recent__title {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
}
.sidebar-recent__title a { color: inherit; transition: color .2s; }
.sidebar-recent__title a:hover { color: var(--forest); }
.sidebar-recent__date {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-light);
}
.sidebar-empty { font-size: .84rem; color: var(--text-light); }

/* Sidebar card */
.post-sidebar .sidebar-widget {
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(10, 45, 69, .08);
}
/* Related posts */
.related-posts {
  margin-top: 60px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.related-posts__title {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--forest);
  display: inline-block;
}
.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Related cards — same postcard look as the homepage journal (.journal-card) */
.related-card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 0;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(10, 45, 69, .08);
  transition: transform .45s var(--ease-back), box-shadow .45s;
}
.related-card:hover {
  transform: translateY(-6px) rotate(-.5deg);
  box-shadow: 0 24px 46px rgba(10, 45, 69, .16);
}
.related-card__img-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px;
}
.related-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s var(--ease-out);
}
.related-card:hover .related-card__img { transform: scale(1.07); }
.related-card__img-placeholder {
  width: 100%; height: 100%;
  min-height: 140px;
  background: linear-gradient(135deg, var(--forest), var(--dusk));
}
.related-card__body {
  padding: 16px 8px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  gap: 10px;
}
.related-card__title {
  font-family: var(--font-headline);
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
  flex: 1;
}
.related-card__title a {
  color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .45s var(--ease-out), color .25s;
}
.related-card__title a:hover { color: var(--forest); background-size: 100% 2px; }

/* ═══════════════════════════════════════════════
   ARCHIVE / INDEX BLOG GRID
═══════════════════════════════════════════════ */
.archive-page { padding: 60px 0 100px; }
.archive-header {
  margin-bottom: 52px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.archive-header__eyebrow { display: block; margin-bottom: 8px; }
.archive-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.1;
}
.archive-header__desc {
  margin-top: 12px;
  font-size: .96rem;
  color: var(--on-surface-muted);
  max-width: 55ch;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 52px;
}
.post-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.post-card__img-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.post-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.post-card:hover .post-card__img { transform: scale(1.05); }
.post-card__img-placeholder { width: 100%; height: 220px; background: var(--sand-dark); }
.post-card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
}
.post-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--forest);
  background: transparent;
  border: 1.5px solid var(--forest);
  padding: 3px 10px 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.post-card__cat::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
  transition: background .2s;
}
.post-card__cat:hover { background: var(--forest); color: #fff; }
.post-card__cat:hover::before { background: #fff; }
.post-card__title {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--on-surface);
  margin-bottom: 12px;
}
.post-card__title a { color: inherit; transition: color .2s; }
.post-card__title a:hover { color: var(--forest); }
.post-card__excerpt {
  font-size: .875rem;
  color: var(--on-surface-muted);
  line-height: 1.68;
  flex: 1;
  margin-bottom: 18px;
}
.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--forest);
  align-self: flex-start;
  border-bottom: 2px solid rgba(61,107,90,.25);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.post-card__link:hover { border-color: var(--forest); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 800;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--on-surface);
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.pagination a:hover, .pagination .current {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  box-shadow: 0 10px 26px rgba(26, 107, 138, .3);
}
.pagination .dots { border-color: transparent; background: transparent; box-shadow: none; }
.pagination .pagination__prev { transform: rotate(180deg); }


/* ═══════════════════════════════════════════════
   PAGE TEMPLATE
═══════════════════════════════════════════════ */
.page-content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
}
.page-header {
  margin-bottom: 32px;
}
.page-header .or-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--forest);
  background: transparent;
  border: 1.5px solid var(--forest);
  padding: 3px 10px 3px 8px;
  border-radius: 3px;
  margin: 0 6px 14px 0;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.page-header .or-chip::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
  transition: background .2s;
}
.page-header .or-chip:hover { background: var(--forest); color: #fff; }
.page-header .or-chip:hover::before { background: #fff; }
.page-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 0;
  line-height: 1.1;
}
.page-content-wrap h1 {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 28px;
  line-height: 1.1;
}
.page-content-wrap .entry-content { font-size: .97rem; line-height: 1.85; color: var(--on-surface); }
.page-content-wrap .entry-content h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin: 40px 0 16px;
}
.page-content-wrap .entry-content p { margin-bottom: 20px; }
.page-content-wrap .entry-content a { color: var(--forest); border-bottom: 1px solid rgba(61,107,90,.3); }
.page-content-wrap .entry-content a:hover { border-color: var(--forest); }
.page-content-wrap .entry-content ul,
.page-content-wrap .entry-content ol { padding-left: 28px; margin-bottom: 20px; }
.page-content-wrap .entry-content li { margin-bottom: 8px; line-height: 1.75; }


/* ═══════════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════════ */
.error-page {
  position: relative;
  overflow: hidden;
  padding: 70px 0 110px;
  text-align: center;
}
.error-page__inner { position: relative; z-index: 1; }
.error-page__num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .08em;
  margin-bottom: 28px;
  font-family: var(--font-headline);
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 800;
  line-height: 1;
  color: var(--forest);
  letter-spacing: -.02em;
}
.error-page__num > span:not(.error-page__compass) {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* The "0" is a compass whose needle keeps searching */
.error-page__compass {
  display: grid;
  place-items: center;
  width: .82em;
  height: .82em;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-deep);
  box-shadow: 0 18px 40px rgba(212, 160, 48, .35), inset 0 0 0 6px rgba(255, 255, 255, .35);
}
.error-page__compass .or-icon {
  width: 62%;
  height: 62%;
  animation: error-compass 4s var(--ease-out) infinite;
}
@keyframes error-compass {
  0%   { transform: rotate(0); }
  30%  { transform: rotate(140deg); }
  45%  { transform: rotate(95deg); }
  70%  { transform: rotate(250deg); }
  85%  { transform: rotate(215deg); }
  100% { transform: rotate(360deg); }
}
.error-page .sec-head { margin-bottom: 32px; }
.error-page .sec-head__title { max-width: 22ch; }
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.error-page__links {
  max-width: 760px;
  margin: 52px auto 0;
  padding-top: 32px;
  border-top: 1px dashed var(--sand-dark);
}
.error-page__links-label {
  display: block;
  margin-bottom: 18px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}
.error-page__links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
}
.error-page__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: .86rem;
  font-weight: 700;
  color: var(--on-surface);
  box-shadow: 0 8px 22px rgba(10, 45, 69, .06);
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease-back);
}
.error-page__links a .or-icon { color: var(--forest); transition: color .25s; }
.error-page__links a:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  transform: translateY(-3px);
}
.error-page__links a:hover .or-icon { color: var(--lime); }
@media (max-width: 640px) {
  .error-page { padding: 50px 0 80px; }
  .error-page__actions .btn { width: 100%; }
  .error-page__links a { padding: 10px 16px; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .error-page__compass .or-icon { animation: none; }
}

/* ═══════════════════════════════════════════════
   SEARCH RESULTS
═══════════════════════════════════════════════ */
.search-page { padding: 60px 0 100px; }
.search-header { margin-bottom: 44px; }
.search-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 8px;
}
.search-header__count { font-size: .88rem; color: var(--text-light); }
.search-header__count strong { color: var(--on-surface); font-weight: 700; }


/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════ */

/* ── Nav collapses to hamburger at 1200px ── */
@media (max-width: 1200px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .burger-btn { display: flex; }
}

/* ── Tablet wide: 1024px ── */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  /* Voyage Report */
  .vr-layout { grid-template-columns: 1fr 400px; }

  /* Open Waters */
  .ow-grid { grid-template-columns: 1fr; }
  .ow-card__img-link { aspect-ratio: 16/9; }

  /* Chart Your Course */
  .cyc-layout { grid-template-columns: 400px 1fr; }

  .editor-inner { grid-template-columns: 220px 1fr; gap: 44px; }
  .single-container { grid-template-columns: 1fr 280px; gap: 44px; }
}

/* ── vr + cyc: collapse to 1-col, images on top, 2×2 cards ── */
@media (max-width: 960px) {

  /* Voyage Report */
  .vr-layout { grid-template-columns: 1fr; border-radius: var(--radius-md); gap: 16px; background: transparent; }
  .vr-hero__img-link { min-height: 280px; }
  .vr-stack { flex-direction: row; flex-wrap: wrap; }
  .vr-card { flex: 0 0 50%; border-right: 1px solid var(--border); flex-direction: column; }
  .vr-card:nth-child(2n) { border-right: none; }
  .vr-card:nth-child(3), .vr-card:nth-child(4) { border-bottom: none; }
  .vr-card__img-link { width: 100%; height: auto; aspect-ratio: 4/3; }
  .vr-card__body { justify-content: flex-start; }

  /* Chart Your Course */
  .cyc-layout { grid-template-columns: 1fr; border-radius: var(--radius-md); gap: 16px; background: transparent; }
  .cyc-feature { min-height: 280px; order: -1; }
  .cyc-list { flex-direction: row; flex-wrap: wrap; }
  .cyc-item { flex: 0 0 50%; flex-direction: column; border-right: none; border-bottom: 1px solid var(--border); }
  .cyc-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .cyc-item:nth-last-child(-n+2) { border-bottom: none; }
  .cyc-item__img-link { width: 100%; height: auto; aspect-ratio: 4/3; }
  .cyc-item__body { justify-content: flex-start; }
}

/* ── Tablet: 768px ── */
@media (max-width: 768px) {
  :root {
    --section-py: 60px;
    --container-w: 100%;
  }

  /* Header — already handled at 1200px above */

  /* Hero slider */
  .hero-section { height: 580px; }
  .hero-heading { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .hero-compass { width: 80px; height: 80px; top: 40px; right: 20px; }
  /* Controls: same max() formula, consistent with base style */
  .hero-controls { padding-left: 24px; padding-right: 24px; bottom: 96px; }
  /* Constrain content to viewport on tablet — add right edge */
  .hero-content { max-width: 100%; right: 24px; }

  /* Around the Country */
  .atc-featured { grid-template-columns: 1fr; }
  .atc-row { grid-template-columns: 1fr 1fr; }

  /* Trails */
  .trails-grid { grid-template-columns: 1fr; }

  /* Open Waters */
  .ow-grid { grid-template-columns: 1fr; border-radius: var(--radius-md); }
  .ow-card__img-link { aspect-ratio: 16/9; }

  /* Section curve: reduce radius on tablet */
  .guides-section { padding-bottom: calc(var(--section-py) + 40px); }
  .handpicked-section {
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    padding-top: calc(var(--section-py) + 40px);
  }
  .trails-section {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
    padding-bottom: calc(var(--section-py) + 40px);
  }

  /* Hand-Picked */
  .hp-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-head { flex-direction: column; gap: 20px; }

  /* Reviews */
  .review-slide { padding: 36px 28px; }
  .reviews-arrow { width: 42px; height: 42px; }

  /* Subscribe */
  .subscribe-card { padding: 30px 18px; border-radius: 18px; }
  .subscribe-form-card { padding: 24px 18px; }
  .subscribe-inner { grid-template-columns: 1fr; }
  .subscribe-inner__left { padding-right: 0; border-right: none; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .subscribe-inner__right { padding-left: 0; padding-top: 28px; }
  .subscribe-inner__sub { max-width: 100%; }

  /* Editor */
  .editor-inner { grid-template-columns: 1fr; gap: 36px; }
  .editor-portrait { max-width: 220px; margin: 0 auto; }
  .editor-terrain { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; padding-block: 48px 40px; }
  .footer-col--brand { grid-column: 1 / -1; }

  /* Single post */
  .single-container { grid-template-columns: 1fr; }
  .post-sidebar { display: flex; position: static; }
  .related-posts__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Archive */
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Section head: stack */
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── Mobile: 480px ── */
@media (max-width: 480px) {
  .hero-section { height: 540px; }
  .hero-heading { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .hero-sub { font-size: 1rem; }
  .hero-cta { padding: 12px 24px; font-size: .78rem; }
  /* On mobile: anchor content from top so it can't overlap controls.
     Switch from vertical-center to top-anchored positioning. */
  .hero-content {
    top: 18%;
    right: 20px;
    transform: translateY(14px); /* slide-up animation start */
  }
  .hero-content--active { transform: translateY(0); }
  /* Push controls to bottom of hero, well below any content */
  .hero-controls { padding-left: 20px; padding-right: 20px; bottom: 70px; gap: 10px; }

  /* Simplify section shape effects on small screens */
  .guides-section { padding-bottom: var(--section-py); }
  .guides-section::after { height: 40px; }
  .trails-section {
    clip-path: none;
    margin-top: -20px;
    padding-top: calc(var(--section-py) + 20px);
    padding-bottom: var(--section-py);
  }
  .handpicked-section {
    clip-path: none;
    margin-top: 0;
    padding-top: var(--section-py);
  }
  .reviews-section { margin-top: 0; padding-top: 80px; }
  .subscribe-section { margin-top: 0; padding-top: var(--section-py); }
  .editor-section { margin-top: 0; padding-top: var(--section-py); }

  /* Voyage Report — 1 per row on phone */
  .vr-layout { gap: 24px; }
  .vr-card { flex: 0 0 100%; border-right: none; flex-direction: column; }
  .vr-card:nth-child(3) { border-bottom: 1px solid var(--border); }
  .vr-card__img-link { aspect-ratio: 4/3; height: auto; }
  .vr-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Open Waters */
  .ow-grid { grid-template-columns: 1fr; }
  .ow-card__body { padding: 16px 18px 20px; }
  .ow-card__num { font-size: 2rem; }

  /* Chart Your Course — 1 per row on phone */
  .cyc-layout { gap: 24px; }
  .cyc-feature { min-height: 240px; }
  .cyc-item { flex: 0 0 100%; flex-direction: column; border-right: none; border-bottom: 1px solid var(--border); }
  .cyc-item:nth-child(odd) { border-right: none; }
  .cyc-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .cyc-item:last-child { border-bottom: none; }
  .cyc-item__img-link { aspect-ratio: 4/3; height: auto; }
  .cyc-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  .post-grid { grid-template-columns: 1fr; }

  .related-posts__grid { grid-template-columns: 1fr; }

  .atc-row { grid-template-columns: 1fr; }

  .hp-grid { grid-template-columns: 1fr; }

  .reviews-slider-wrap {
    display: grid;
    grid-template-areas: "viewport viewport" "prev next";
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .reviews-viewport { grid-area: viewport; width: 100%; }
  .reviews-prev { grid-area: prev; justify-self: end; }
  .reviews-next { grid-area: next; justify-self: start; }
  .reviews-arrow { width: 44px; height: 44px; }

  .subscribe-card { padding: 26px 12px; }
  .subscribe-form-card { padding: 20px 12px; border-radius: 14px; }
  .editor-portrait::after { display: none; }

  /* Footer nav: stack vertically on phone */
  .footer-grid { gap: 36px 20px; }
  .footer-menu a { font-size: .84rem; }
  .footer-deco-compass { width: 200px; height: 200px; }
}

/* ── Narrow: 1000px — hide 3rd related post card, expand 2-col grid ── */
@media (max-width: 1000px) {
  .related-card:nth-child(3) { display: none; }
  .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
}
/* Phone: 1 related post per row, all 3 shown (must come after the 1000px rule) */
@media (max-width: 640px) {
  .related-posts__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .related-card:nth-child(3) { display: flex; }
}

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reviews-section { background-attachment: scroll; }
}

/* ── Screen reader text ── */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}
