/* Tighten category archive spacing above footer */
.category .sh-section {
    padding-bottom: var(--sh-space-lg);
}/* ==========================================================================
   Sailing Hobo — Component & Layout Styles
   Uses tokens.css variables throughout — don't hard-code colours/spacing
   here, add a token instead if something new is genuinely needed.
   ========================================================================== */

/* ---- Reset-ish basics ---- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--sh-bg-body);
  color: var(--sh-text-body);
  font-family: var(--sh-font-body);f
  font-size: var(--sh-text-base);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.sh-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--sh-color-gold); color: var(--sh-color-navy-deep);
  padding: var(--sh-space-xs) var(--sh-space-sm);
}
.sh-skip-link:focus { left: var(--sh-space-sm); top: var(--sh-space-xs); }

/* ---- Shared layout helpers ---- */
.sh-section-inner {
  max-width: var(--sh-content-width);
  margin: 0 auto;
  padding: 0 var(--sh-space-md);
}
.sh-section-inner--narrow { max-width: var(--sh-content-width-narrow); }
.sh-section { padding: var(--sh-space-2xl) 0; }
.sh-text-center { text-align: center; }

.sh-eyebrow {
  font-size: var(--sh-text-xs);
  font-weight: var(--sh-fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sh-accent-hover);
  margin: 0 0 var(--sh-space-xs);
}
.sh-eyebrow--center { text-align: center; }
.sh-eyebrow--on-dark { color: var(--sh-color-gold); }

.sh-heading-lg {
  font-family: var(--sh-font-display);
  font-weight: var(--sh-fw-black);
  font-size: var(--sh-text-2xl);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sh-space-sm);
  color: var(--sh-color-navy-deep);
}
.sh-heading-lg--center { text-align: center; max-width: 44rem; margin-left: auto; margin-right: auto; }
.sh-heading--on-dark { color: var(--sh-color-cream); }
.sh-heading-location { color: var(--sh-accent-hover); }

.sh-body-lg { font-size: var(--sh-text-lg); line-height: 1.5; }
.sh-body-lg--center { text-align: center; max-width: 40rem; margin: 0 auto var(--sh-space-md); }
.sh-body--on-dark { color: var(--sh-sand, var(--sh-color-sand)); }

.sh-prose p { margin: 0 0 var(--sh-space-sm); }
.sh-signature { font-family: var(--sh-font-serif); font-style: italic; font-size: var(--sh-text-lg); margin: var(--sh-space-sm) 0; }

.sh-section-cta { text-align: center; margin-top: var(--sh-space-lg); }

/* ---- Buttons ---- */
.sh-btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: var(--sh-fw-bold);
  font-size: var(--sh-text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9em 1.6em;
  border-radius: var(--sh-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sh-btn--primary { background: var(--sh-color-gold); color: var(--sh-color-navy-deep); }
.sh-btn--primary:hover { background: var(--sh-accent-hover); }
.sh-btn--outline { background: transparent; border-color: currentColor; color: var(--sh-color-navy-deep); }
.sh-btn--outline:hover { background: var(--sh-color-navy-deep); color: var(--sh-color-cream); }
.sh-btn--on-dark.sh-btn--outline { color: var(--sh-color-cream); }
.sh-btn--text { background: none; padding: 0; border: none; color: var(--sh-accent-hover); text-transform: none; letter-spacing: normal; font-size: var(--sh-text-base); }
.sh-btn--text.sh-btn--on-dark { color: var(--sh-color-gold); }

/* ---- Header ---- */
.sh-site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, position 0s;
}
body:not(.sh-transparent-header) .sh-site-header {
  position: relative;
  background: var(--sh-color-navy-deep);
}
.sh-site-header.sh-header--scrolled {
  position: fixed;
  background: var(--sh-color-navy-deep);
  box-shadow: var(--sh-shadow-header);
}

.sh-header-inner {
  max-width: var(--sh-content-width);
  margin: 0 auto;
  padding: var(--sh-space-sm) var(--sh-space-md);
  display: flex; align-items: center; gap: var(--sh-space-md);
}

.sh-logo { display: flex; align-items: center; gap: var(--sh-space-xs); text-decoration: none; color: var(--sh-color-cream); }
.sh-logo-mark { font-size: 1.75rem; }
.sh-logo-title { display: block; font-family: var(--sh-font-serif); font-size: var(--sh-text-lg); letter-spacing: 0.06em; text-transform: uppercase; }
.sh-logo-tagline { display: block; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }

.sh-primary-nav { margin-left: auto; }
.sh-primary-nav-list { list-style: none; display: flex; gap: var(--sh-space-md); margin: 0; padding: 0; }
.sh-primary-nav-list a {
  text-decoration: none; color: var(--sh-color-cream);
  font-size: var(--sh-text-sm); font-weight: var(--sh-fw-semibold);
  letter-spacing: 0.05em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.sh-primary-nav-list a:hover,
.sh-primary-nav-list .current-menu-item > a { border-bottom-color: var(--sh-color-gold); }

.sh-header-actions { display: flex; align-items: center; gap: var(--sh-space-xs); }
.sh-icon-btn {
  background: none; border: none; color: var(--sh-color-cream);
  font-size: 1.1rem; cursor: pointer; padding: var(--sh-space-2xs);
}
.sh-hamburger, .sh-hamburger::before, .sh-hamburger::after {
  display: block; width: 22px; height: 2px; background: currentColor;
}
.sh-hamburger { position: relative; }
.sh-hamburger::before, .sh-hamburger::after { content: ""; position: absolute; left: 0; }
.sh-hamburger::before { top: -7px; }
.sh-hamburger::after { top: 7px; }

.sh-header-search-form { display: none; position: absolute; right: var(--sh-space-md); top: 100%; background: var(--sh-color-navy-deep); padding: var(--sh-space-xs); }
.sh-header-search-form.is-open { display: block; }
.sh-header-search-form input { padding: var(--sh-space-2xs) var(--sh-space-xs); border: 1px solid var(--sh-border-color-on-dark); background: transparent; color: var(--sh-color-cream); }

.sh-mobile-nav { display: none; background: var(--sh-color-navy-deep); }
.sh-mobile-nav.is-open { display: block; }
.sh-mobile-nav-list { list-style: none; margin: 0; padding: var(--sh-space-sm) var(--sh-space-md); display: flex; flex-direction: column; gap: var(--sh-space-sm); }
.sh-mobile-nav-list a { color: var(--sh-color-cream); text-decoration: none; font-size: var(--sh-text-base); text-transform: uppercase; letter-spacing: 0.05em; }

@media (min-width: 769px) { .sh-menu-toggle { display: none; } }
@media (max-width: 768px) { .sh-primary-nav { display: none; } }

/* ---- Hero (Section 01) ---- */
.sh-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background-color: var(--sh-color-navy-deep);
  background-size: cover;
  background-position: center 65%;
  color: var(--sh-color-cream);
  overflow: hidden;
}
.sh-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,26,47,0.55) 0%, rgba(10,26,47,0.15) 40%, rgba(10,26,47,0.75) 100%);
}
.sh-hero-content {
  position: relative; z-index: 1;
  max-width: var(--sh-content-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--sh-space-2xl) var(--sh-space-md) var(--sh-space-xl);
  text-align: right;
  margin-left: auto;
}
.sh-hero-headline {
  font-family: var(--sh-font-display);
  font-weight: var(--sh-fw-black);
  font-size: var(--sh-text-hero);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sh-space-sm);
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.sh-hero-line { display: block; }
.sh-hero-brandline {
  font-family: var(--sh-font-serif); font-style: italic;
  font-size: var(--sh-text-lg); color: var(--sh-color-gold);
  margin: 0 0 var(--sh-space-xs);
}
.sh-hero-supporting { font-size: var(--sh-text-lg); max-width: 34rem; margin: 0 0 var(--sh-space-md) auto; }
.sh-hero-ctas { display: flex; gap: var(--sh-space-sm); justify-content: flex-end; flex-wrap: wrap; }
.sh-hero-ctas .sh-btn--outline { color: var(--sh-color-cream); }

.sh-hero-scroll {
  position: absolute; bottom: var(--sh-space-md); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--sh-space-2xs);
  color: var(--sh-color-cream); text-decoration: none;
  font-size: var(--sh-text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  z-index: 1;
}
.sh-hero-scroll-chevron { font-size: 1.5rem; animation: sh-bounce 2s infinite; }
@keyframes sh-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 768px) {
  .sh-hero-content { text-align: left; margin-left: 0; padding-top: 7rem; }
  .sh-hero-supporting { margin: 0 0 var(--sh-space-md) 0; }
  .sh-hero-ctas { justify-content: flex-start; }
  .sh-hero { background-position: 70% center; }
}

/* ---- Split sections (Welcome, Latest Adventure, HOBO1) ---- */
.sh-split { display: grid; gap: var(--sh-space-lg); align-items: center; }
@media (min-width: 900px) {
  .sh-split--55-45 { grid-template-columns: 55% 1fr; }
  .sh-split--45-55 { grid-template-columns: 45% 1fr; }
  .sh-split--50-50 { grid-template-columns: 1fr 1fr; }
  .sh-split--reverse { direction: rtl; }
  .sh-split--reverse > * { direction: ltr; }
}
.sh-split-media img, .sh-image-placeholder { border-radius: var(--sh-radius-md); width: 100%; }
.sh-image-placeholder {
  aspect-ratio: 4 / 3; background: var(--sh-color-sand);
  display: flex; align-items: center; justify-content: center;
  color: var(--sh-color-charcoal); font-size: var(--sh-text-sm); text-align: center; padding: var(--sh-space-sm);
}

.sh-stat-row { display: flex; gap: var(--sh-space-lg); margin: var(--sh-space-md) 0; padding: 0; }
.sh-stat { text-align: left; }
.sh-stat-value { font-family: var(--sh-font-display); font-weight: var(--sh-fw-black); font-size: var(--sh-text-xl); color: var(--sh-accent-hover); margin: 0; }
.sh-stat-label { font-size: var(--sh-text-xs); text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }

/* ---- Journey timeline (Section 04) ---- */
.sh-journey-timeline {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sh-space-sm);
  list-style: none; padding: 0; margin: var(--sh-space-lg) 0 0;
}
.sh-journey-stop a {
  display: flex; flex-direction: column; align-items: center; gap: var(--sh-space-2xs);
  text-decoration: none; color: var(--sh-color-navy-deep);
  background: var(--sh-color-white); border: 1px solid var(--sh-border-color);
  border-radius: var(--sh-radius-md); padding: var(--sh-space-sm) var(--sh-space-md);
  min-width: 9rem; text-align: center;
}
.sh-journey-stop-index {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--sh-color-gold); color: var(--sh-color-navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: var(--sh-fw-bold); font-size: var(--sh-text-xs);
}
.sh-journey-stop-name { font-weight: var(--sh-fw-bold); text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--sh-text-sm); }
.sh-journey-stop-region { font-size: var(--sh-text-xs); opacity: 0.7; }
.sh-journey-placeholder { text-align: center; opacity: 0.7; font-style: italic; }

/* ---- Card grids (editorial cards, destination cards) ---- */
.sh-card-grid { display: grid; gap: var(--sh-space-md); margin-top: var(--sh-space-lg); }
.sh-card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sh-card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sh-card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.sh-editorial-card { background: var(--sh-color-white); border-radius: var(--sh-radius-md); overflow: hidden; box-shadow: var(--sh-shadow-card); }
.sh-editorial-card-media { display: block; aspect-ratio: 4/3; overflow: hidden; }
.sh-editorial-card-media img { width: 100%; height: 100%; object-fit: cover; }
.sh-editorial-card-body { padding: var(--sh-space-sm); }
.sh-editorial-card-date { font-size: var(--sh-text-xs); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; }
.sh-editorial-card-title { font-size: var(--sh-text-lg); margin: var(--sh-space-2xs) 0; line-height: 1.25; }
.sh-editorial-card-title a { text-decoration: none; color: var(--sh-color-navy-deep); }
.sh-editorial-card-excerpt { font-size: var(--sh-text-sm); opacity: 0.8; margin: 0; }

.sh-destination-card { display: block; text-decoration: none; color: inherit; }
.sh-destination-card-media { aspect-ratio: 1/1; border-radius: var(--sh-radius-md); overflow: hidden; margin-bottom: var(--sh-space-xs); }
.sh-destination-card-media img { width: 100%; height: 100%; object-fit: cover; }
.sh-destination-card-title { font-size: var(--sh-text-lg); margin: 0 0 var(--sh-space-2xs); color: var(--sh-color-navy-deep); }
.sh-destination-card-desc { font-size: var(--sh-text-sm); opacity: 0.8; margin: 0; }

/* ---- Sailing & Gear tiles (Section 07) ---- */
.sh-gear-tile {
  display: block; text-decoration: none; color: var(--sh-color-cream);
  background: var(--sh-color-navy); border-radius: var(--sh-radius-md);
  padding: var(--sh-space-md); border-left: 4px solid var(--sh-color-gold);
}
.sh-gear-tile-title { font-size: var(--sh-text-lg); margin: 0 0 var(--sh-space-2xs); }
.sh-gear-tile-desc { font-size: var(--sh-text-sm); opacity: 0.85; margin: 0; }

/* ---- Watch section (Section 09, dark) ---- */
.sh-section--watch { background: var(--sh-color-navy-deep); color: var(--sh-color-cream); }
.sh-video-facade {
  position: relative; aspect-ratio: 16/9; border-radius: var(--sh-radius-md); overflow: hidden;
  cursor: pointer; margin-top: var(--sh-space-lg);
}
.sh-video-facade img { width: 100%; height: 100%; object-fit: cover; }
.sh-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--sh-color-gold); color: var(--sh-color-navy-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.sh-video-secondary-grid { margin-top: var(--sh-space-md); }
.sh-video-secondary-grid .sh-video-facade { margin-top: 0; }
.sh-video-trigger { border: none; }

/* ---- Join the Crew (Section 10) ---- */
.sh-section--join { background: linear-gradient(180deg, var(--sh-color-ocean-blue), var(--sh-color-navy-deep)); color: var(--sh-color-cream); }
.sh-newsletter-form { display: flex; gap: var(--sh-space-xs); justify-content: center; flex-wrap: wrap; margin: var(--sh-space-md) 0 var(--sh-space-xs); }
.sh-newsletter-form input {
  padding: 0.9em 1.2em; border-radius: var(--sh-radius-sm); border: 1px solid var(--sh-border-color-on-dark);
  background: rgba(255,255,255,0.08); color: var(--sh-color-cream); min-width: 260px;
}
.sh-newsletter-reassurance { font-size: var(--sh-text-xs); opacity: 1; }

/* ---- Footer (Section 11) ---- */
.sh-site-footer { background: var(--sh-color-navy-deep); color: var(--sh-color-cream); padding-top: var(--sh-space-xl); }
.sh-footer-inner {
  max-width: var(--sh-content-width); margin: 0 auto; padding: 0 var(--sh-space-md) var(--sh-space-lg);
  display: grid; gap: var(--sh-space-lg);
  grid-template-columns: 1.5fr repeat(4, 1fr);
}
.sh-footer-tagline { font-family: var(--sh-font-serif); font-style: italic; opacity: 0.8; }
.sh-footer-heading { font-size: var(--sh-text-xs); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 var(--sh-space-xs); opacity:1;color: var(--sh-color-cream) !important; }
.sh-site-footer .sh-footer-heading { color: var(--sh-color-cream) !important; opacity: 1 !important; }
.sh-footer-menu, .sh-social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sh-space-2xs); }
.sh-footer-menu a, .sh-social-list a { color: var(--sh-color-cream); text-decoration: none; opacity: 0.85; }
.sh-footer-menu a:hover, .sh-social-list a:hover { opacity: 1; text-decoration: underline; }
.sh-footer-bottom { border-top: 1px solid var(--sh-border-color-on-dark); padding: var(--sh-space-sm) var(--sh-space-md); text-align: center; font-size: var(--sh-text-xs); opacity: 0.6; }

@media (max-width: 900px) {
  .sh-footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---- Article template ---- */
.sh-article { max-width: var(--sh-content-width-narrow); margin: 0 auto; padding: var(--sh-space-xl) var(--sh-space-md); }
.sh-breadcrumbs { font-size: var(--sh-text-xs); opacity: 0.65; margin-bottom: var(--sh-space-sm); }
.sh-breadcrumbs a { text-decoration: none; color: inherit; }
.sh-breadcrumbs--center { text-align: center; }
.sh-article-title { font-family: var(--sh-font-display); font-size: var(--sh-text-2xl); font-weight: var(--sh-fw-black); line-height: 1.1; margin: 0 0 var(--sh-space-xs); }
.sh-article-meta { font-size: var(--sh-text-sm); opacity: 0.65; margin-bottom: var(--sh-space-md); }
.sh-article-featured-image { margin: 0 0 var(--sh-space-lg); }
.sh-article-featured-image img { border-radius: var(--sh-radius-md); width: 100%; }
.sh-disclosure { background: var(--sh-color-sand); border-radius: var(--sh-radius-sm); padding: var(--sh-space-sm); font-size: var(--sh-text-sm); margin-bottom: var(--sh-space-md); }
.sh-article-content { font-size: var(--sh-text-lg); }
.sh-author-block { border-top: 1px solid var(--sh-border-color); margin-top: var(--sh-space-lg); padding-top: var(--sh-space-md); }
.sh-author-block-name { font-weight: var(--sh-fw-bold); margin: 0; }
.sh-author-block-bio { font-size: var(--sh-text-sm); opacity: 0.75; margin: 0; }

.sh-archive-header { padding: var(--sh-space-xl) 0 var(--sh-space-md); }
.sh-pagination { text-align: center; margin-top: var(--sh-space-md);}/* Captain's Log archive spacing fix */
.sh-archive-header {
    padding-bottom: var(--sh-space-md);
	
