/* =========================================================
   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;
  --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: 28px;
}

.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 ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: box-shadow .3s var(--ease-out);
}
.site-header--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

/* 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 28px;
  height: 72px;
  display: grid;
  grid-template-columns: 2fr 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; }
.site-title-text {
  font-family: var(--font-headline);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--on-surface);
  white-space: nowrap;
  transition: color .25s;
}
.site-title-text:hover { color: var(--forest); }

/* Primary nav */
.header-nav { justify-self: center; }
.header-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
}
.header-nav .nav-list a {
  color: var(--on-surface);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.header-nav .nav-list a:hover { color: var(--forest); background: var(--sand); }

/* 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% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,.11);
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.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;
  background: none;
  color: var(--on-surface);
  border-radius: 0;
  white-space: nowrap;
}
.header-nav .nav-list .sub-menu a:hover { color: var(--forest); background: var(--cream); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.header-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color .2s, background .2s;
}
.header-search-btn:hover { color: var(--forest); background: var(--sand); }

/* Burger button */
.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  border-radius: 4px;
  transition: background .2s;
}
.burger-btn:hover { background: var(--sand); }
.burger-bar {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width .2s, transform .3s, opacity .3s;
}
.burger-bar:nth-child(1) { width: 22px; }
.burger-bar:nth-child(2) { width: 16px; }
.burger-bar:nth-child(3) { width: 22px; }
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.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: 22px; }

/* Search bar */
.header-search-bar {
  border-top: 1px solid var(--border);
  background: var(--sand);
  padding: 14px 0;
  display: flex;
  justify-content: center;
}
.header-search-bar[hidden] { display: none; }
.header-search-bar .search-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: var(--container-w);
  padding-inline: 28px;
}
.header-search-bar input[type="search"] {
  flex: 1;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  outline: none;
  background: var(--surface);
  color: var(--on-surface);
  transition: border-color .2s;
  min-width: 0;
}
.header-search-bar input[type="search"]:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(61,107,90,.1);
}
.header-search-bar input[type="search"]::placeholder { color: var(--text-light); }
.header-search-bar button[type="submit"] {
  background: var(--forest);
  color: #fff;
  border: 2px solid var(--forest);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 28px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.header-search-bar button[type="submit"]:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

/* ── MOBILE NAV ─────────────────────────────────────────── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,31,28,.55);
  z-index: 299;
  backdrop-filter: blur(2px);
}
.nav-backdrop.is-open { display: block; }

.nav-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 90vw);
  background: var(--cream);
  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,.15);
  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 var(--border);
  flex-shrink: 0;
}
.nav-menu__brand {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--on-surface);
}
.nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color .2s, background .2s;
}
.nav-close:hover { color: var(--forest); background: var(--sand); }

/* ── Nav menu body: no flex-grow so subscribe follows immediately ── */
.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: var(--on-surface);
  padding: 14px 24px;
  border-left: 3px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.nav-menu .menu li a:hover {
  color: var(--forest);
  background: var(--sand);
  border-left-color: var(--forest);
}
/* 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: var(--sand);
}
.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;
}


/* ═══════════════════════════════════════════════
   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
═══════════════════════════════════════════════ */
.site-footer {
  background: #040E1A;
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
/* Subtle sea depth banding on footer */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 40px,
      rgba(26,107,138,.04) 40px,
      rgba(26,107,138,.04) 41px
    );
  pointer-events: none;
  z-index: 0;
}

/* Row 1: logo left, nav right */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 28px;
  position: relative;
  z-index: 1;
}

/* Brand */
.footer-brand__name {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--on-dark);
  transition: color .2s;
  text-decoration: none;
}
.footer-brand__name:hover { color: var(--lime); }
.footer-brand .custom-logo-link {
  display: block;
  line-height: 0;
}
.footer-brand .custom-logo-link img {
  height: 36px;
  width: auto;
  max-width: 160px;
}

/* Footer nav */
.footer-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  justify-content: flex-end;
}
.footer-nav__list a {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(240,234,226,.6);
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .2s;
}
.footer-nav__list a:hover { color: var(--lime); }

/* Row 2: copyright */
.footer-bottom {
  background: #040E1A;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  position: relative;
  z-index: 1;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(240,234,226,.38);
  text-align: center;
}
.footer-copy a { color: rgba(240,234,226,.55); transition: color .2s; text-decoration: none; }
.footer-copy a:hover { color: var(--lime); }
/* Wave top into footer */
.site-footer > .footer-wave-top {
  display: block;
  line-height: 0;
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════
   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: 28px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

/* Post header */
.post-header { margin-bottom: 40px; }
.post-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;
}
.post-header .or-chip::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
  transition: background .2s;
}
.post-header .or-chip:hover { background: var(--forest); color: #fff; }
.post-header .or-chip:hover::before { background: #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; }
.post-meta__sep { display: none; }
.post-meta__sep--show { display: inline; color: var(--border); }

/* Featured image */
.post-featured-img {
  width: 100%;
  border-radius: var(--radius-img);
  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 subscribe widget */
.sidebar-subscribe {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.sidebar-subscribe .sidebar-widget__title {
  color: var(--on-surface);
  border-bottom-color: var(--forest);
}
.sidebar-subscribe__sub {
  font-size: .84rem;
  color: var(--on-surface-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.sidebar-subscribe .wpcf7 { position: relative; }
.sidebar-subscribe .wpcf7-form { display: flex; flex-direction: column; gap: 10px; }
.sidebar-subscribe .wpcf7-form-control-wrap { display: block; }
.sidebar-subscribe .form-fields p { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.sidebar-subscribe .form-fields p br { display: none; }
.sidebar-subscribe .form-privacy p { margin: 0; }
.sidebar-subscribe input[type="email"] {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--on-surface);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.sidebar-subscribe input[type="email"]:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(61,107,90,.1);
}
.sidebar-subscribe input[type="email"]::placeholder { color: var(--text-light); }
.sidebar-subscribe .wpcf7-submit {
  width: 100%;
  padding: 13px 20px;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.sidebar-subscribe .wpcf7-submit:hover {
  background: var(--forest-dark);
  box-shadow: 0 4px 16px rgba(61,107,90,.25);
}
.sidebar-subscribe .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.sidebar-subscribe .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.sidebar-subscribe .wpcf7-acceptance input[type="checkbox"] { flex-shrink: 0; margin-top: 3px; accent-color: var(--forest); }
.sidebar-subscribe .wpcf7-list-item-label { font-size: .73rem; color: var(--on-surface-muted); line-height: 1.55; }
.sidebar-subscribe .wpcf7-list-item-label a { color: var(--forest); text-decoration: underline; }
.sidebar-subscribe .wpcf7-not-valid-tip { font-size: .73rem; color: #c0392b; }
.sidebar-subscribe .wpcf7-response-output { font-size: .78rem; padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--border); color: var(--on-surface-muted); }
.sidebar-subscribe .wpcf7-spinner { display: none; }

/* 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-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;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,.09);
}
.related-card__img-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.related-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease-out);
}
.related-card:hover .related-card__img { transform: scale(1.05); }
.related-card__img-placeholder {
  width: 100%; height: 100%;
  min-height: 140px;
  background: var(--sand);
}
.related-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
}
.related-card__tag {
  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;
}
.related-card__tag::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
  transition: background .2s;
}
.related-card__tag:hover { background: var(--forest); color: #fff; }
.related-card__tag:hover::before { background: #fff; }
.related-card__title {
  font-family: var(--font-headline);
  font-size: clamp(.9rem, 1.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--on-surface);
  margin-bottom: 10px;
  flex: 1;
}
.related-card__title a { color: inherit; transition: color .2s; }
.related-card__title a:hover { color: var(--forest); }
.related-card__date {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
}


/* ═══════════════════════════════════════════════
   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: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--on-surface);
  transition: background .2s, border-color .2s, color .2s;
}
.pagination a:hover, .pagination .current {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}


/* ═══════════════════════════════════════════════
   PAGE TEMPLATE
═══════════════════════════════════════════════ */
.page-content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 28px 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 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px;
}
.error-page__num {
  font-family: var(--font-headline);
  font-size: clamp(6rem, 16vw, 12rem);
  font-weight: 800;
  color: var(--forest);
  opacity: .12;
  line-height: 1;
  margin-bottom: -20px;
}
.error-page__icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  line-height: 1;
}
.error-page__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 14px;
}
.error-page__text {
  font-size: .97rem;
  color: var(--on-surface-muted);
  max-width: 44ch;
  margin: 0 auto 36px;
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════
   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: 36px 28px; }
  .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-inner { flex-direction: column; align-items: center; gap: 20px; }
  .footer-nav__list { justify-content: center; }

  /* 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-form-card { padding: 32px 24px; }
  .editor-portrait::after { display: none; }

  /* Footer nav: stack vertically on phone */
  .footer-nav__list { flex-direction: column; align-items: center; gap: 12px; }
}

/* ── 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); }
}

/* ── 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;
}
