/* ============================================
   INLET ADVENTURES — Custom Design System
   ============================================ */

:root,
[data-theme='light'] {
  --color-bg: #f8f6f0;
  --color-surface: #f4f1ea;
  --color-surface-2: #efebe2;
  --color-surface-offset: #e8e3d8;
  --color-surface-dynamic: #ddd7ca;
  --color-divider: #d9d4c8;
  --color-border: #c8c2b4;

  --color-text: #1e2a30;
  --color-text-muted: #5d6a70;
  --color-text-faint: #9aa5a8;
  --color-text-inverse: #f9f8f4;

  --color-primary: #0d5c75;
  --color-primary-hover: #0a4458;
  --color-primary-active: #073242;
  --color-primary-highlight: #c3dce4;

  --color-accent: #2a8b9d;
  --color-accent-hover: #1f7080;

  --color-success: #437a22;
  --color-success-highlight: #d4dfcc;
  --color-gold: #d19900;

  --shadow-sm: 0 1px 3px rgba(30,42,48,0.08);
  --shadow-md: 0 4px 16px rgba(30,42,48,0.10);
  --shadow-lg: 0 16px 48px rgba(30,42,48,0.16);

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16,1,0.3,1);

  --content-narrow: 640px;
  --content-default: 1080px;
  --content-wide: 1280px;

  --header-total-h: 88px;

  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

[data-theme='dark'] {
  --color-bg: #131a1e;
  --color-surface: #182024;
  --color-surface-2: #1d262b;
  --color-surface-offset: #1e2832;
  --color-surface-dynamic: #28333a;
  --color-divider: #28333a;
  --color-border: #354249;
  --color-text: #d4dde0;
  --color-text-muted: #7a8a8f;
  --color-text-faint: #4f5d62;
  --color-text-inverse: #1e2a30;
  --color-primary: #4ea8c0;
  --color-primary-hover: #2e90a8;
  --color-primary-active: #1a7088;
  --color-primary-highlight: #2a3d45;
  --color-accent: #5cb8ca;
  --color-accent-hover: #3ea0b2;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #131a1e;
    --color-surface: #182024;
    --color-surface-2: #1d262b;
    --color-surface-offset: #1e2832;
    --color-surface-dynamic: #28333a;
    --color-divider: #28333a;
    --color-border: #354249;
    --color-text: #d4dde0;
    --color-text-muted: #7a8a8f;
    --color-text-faint: #4f5d62;
    --color-text-inverse: #1e2a30;
    --color-primary: #4ea8c0;
    --color-primary-hover: #2e90a8;
    --color-primary-active: #1a7088;
    --color-primary-highlight: #2a3d45;
    --color-accent: #5cb8ca;
    --color-accent-hover: #3ea0b2;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  }
}

/* ============================================
   Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.15;
  font-weight: 500;
}

p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection { background: color-mix(in oklab, var(--color-primary) 25%, transparent); color: var(--color-text); }

:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

a, button, [role='button'], input, textarea, select {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}

button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Layout
   ============================================ */
.container { width: 100%; max-width: var(--content-default); margin: 0 auto; padding-inline: var(--space-6); }
.section { padding-block: clamp(var(--space-10), 5vw, var(--space-16)); }
.eyebrow { display: inline-block; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.eyebrow-light { color: #a8d4df; }
.eyebrow-gold { color: #f7c948; text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
.section-title { font-size: var(--text-2xl); color: var(--color-text); margin-bottom: var(--space-4); }
.section-subtitle { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; line-height: 1.5; }
.section-header-center { text-align: center; max-width: 700px; margin: 0 auto var(--space-8); }
.section-header-center .section-subtitle { margin-inline: auto; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.02em;
  border-radius: var(--radius-full); text-decoration: none; border: 1.5px solid transparent;
  white-space: nowrap; transition: all var(--transition-interactive);
}
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.btn-sunset { background: linear-gradient(120deg, #f7c948, #f2994a 55%, #e8635a); color: #241206; border-color: transparent; box-shadow: 0 6px 20px rgba(232, 99, 90, 0.35); }
.btn-sunset:hover { background: linear-gradient(120deg, #ffd35c, #ff9f52, #f0716a); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(232, 99, 90, 0.45); }
.btn-sunset:active { transform: translateY(0); }
.btn-ghost-gold { background: transparent; color: #ffe9c2; border-color: rgba(247, 201, 72, 0.55); }
.btn-ghost-gold:hover { background: rgba(247, 201, 72, 0.14); border-color: rgba(247, 201, 72, 0.85); color: #fff; }
.btn-sm { padding: var(--space-2) var(--space-5); }
.btn-lg { padding: var(--space-4) var(--space-10); font-size: var(--text-base); }
.btn-xl { padding: var(--space-5) var(--space-16); font-size: var(--text-lg); font-weight: 700; display: inline-block; }

/* ============================================
   Header
   ============================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background var(--transition-interactive), box-shadow var(--transition-interactive); }
.header-inner { max-width: var(--content-wide); margin: 0 auto; padding: var(--space-2) var(--space-6); display: flex; align-items: stretch; gap: var(--space-5); }
.header.scrolled { background: color-mix(in oklab, var(--color-bg) 95%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #f7c948 20%, #f2994a 50%, #f7c948 80%, transparent); opacity: 0; transition: opacity var(--transition-interactive); }
.header:not(.scrolled)::after { opacity: 0.85; }

.logo { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; flex-shrink: 0; }
.logo-text-only { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.4); transition: color var(--transition-interactive); }
.header.scrolled .logo-text-only { color: var(--color-text); text-shadow: none; }
.logo-img { width: 48px; height: 48px; border-radius: var(--radius-md); object-fit: cover; border: 1.5px solid rgba(247,201,72,0.65); box-shadow: 0 2px 10px rgba(0,0,0,0.35); transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive); }
.header.scrolled .logo-img { border-color: color-mix(in oklab, var(--color-gold) 55%, transparent); box-shadow: var(--shadow-sm); }
.logo-lg .logo-img { width: 72px; height: 72px; }

.header-content { display: flex; flex-direction: column; justify-content: center; gap: var(--space-1); flex: 1; min-width: 0; }
.header-toolbar { position: relative; display: flex; align-items: center; gap: var(--space-4); flex-wrap: nowrap; }
.header-toolbar .theme-toggle { margin-left: auto; }
.header-location { display: block; margin: 0; padding: 0; white-space: nowrap; text-align: center; }
.header.scrolled .header-location { color: var(--color-accent); text-shadow: none; }

.nav { display: flex; align-items: stretch; gap: 0; flex-wrap: nowrap; }
.header-inner .btn-sunset { margin-left: auto; align-self: center; }
.nav a {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; white-space: nowrap; min-height: 2.4em;
  padding: 0 var(--space-3); margin: 0 1px;
  font-size: var(--text-sm); font-weight: 600; line-height: 1.2;
  color: rgba(255,255,255,0.85); text-decoration: none; position: relative;
  transition: color var(--transition-interactive);
}
.nav a + a { border-left: 1.5px solid rgba(255,255,255,0.2); }
.header.scrolled .nav a + a { border-left-color: var(--color-border); }
.header.scrolled .nav a { color: var(--color-text-muted); }
.nav a:hover { color: #fff; }
.header.scrolled .nav a:hover { color: var(--color-text); }
.nav a::after { content: ''; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 2px; height: 2px; border-radius: 1px; background: #f2994a; opacity: 0; transition: opacity var(--transition-interactive); }
.header.scrolled .nav a::after { background: var(--color-accent); }
.nav a:hover::after { opacity: 1; }

.theme-toggle { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-full); color: rgba(255,255,255,0.85); flex-shrink: 0; }
.header.scrolled .theme-toggle { color: var(--color-text-muted); }
.theme-toggle:hover { background: rgba(255,255,255,0.12); color: #fff; }
.header.scrolled .theme-toggle:hover { background: var(--color-surface-offset); color: var(--color-text); }

/* ============================================
   Splash / Slideshow
   ============================================ */
.splash { position: relative; min-height: calc(100vh - 120px); display: flex; flex-direction: column; overflow: hidden; }

.slideshow { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1200ms ease-in-out; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8,30,40,0.75) 0%, rgba(8,30,40,0.4) 50%, rgba(8,30,40,0.3) 100%), linear-gradient(180deg, rgba(8,30,40,0.3) 0%, rgba(8,30,40,0.1) 40%, rgba(8,30,40,0.6) 100%); }
.slide-caption { position: absolute; bottom: 15%; right: 8%; text-align: right; z-index: 2; max-width: 320px; }
.slide-caption h2 { font-size: var(--text-xl); color: #fff; margin-bottom: var(--space-1); text-shadow: 0 2px 8px rgba(0,0,0,0.5); letter-spacing: 0.01em; white-space: nowrap; }
.slide-caption p { font-size: var(--text-sm); color: rgba(255,255,255,0.85); text-shadow: 0 1px 4px rgba(0,0,0,0.5); margin: 0; }

/* Hero row — real flex layout so the text column and photo card share space below the fixed header, at any viewport height */
.hero-row { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-10); max-width: var(--content-wide); margin: 0 auto; width: 100%; padding: var(--space-6) var(--space-6) var(--space-10); box-sizing: border-box; }

/* Rotating trip-photo showcase card — positioned to the right side, same slot as the old logo card */
.hero-showcase { position: relative; z-index: 1; flex: 0 0 auto; width: clamp(280px, 32vw, 460px); aspect-ratio: 4 / 5; border-radius: var(--radius-xl); overflow: hidden; border: 6px solid var(--color-gold); box-shadow: 0 16px 56px rgba(0,0,0,0.6), 0 0 40px rgba(209,153,0,0.35); margin-right: clamp(var(--space-6), 6vw, var(--space-16)); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.12) brightness(1.05) contrast(1.03); }
.hero-showcase-dots { position: absolute; bottom: var(--space-3); left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; }
.hero-showcase-dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: rgba(255,255,255,0.5); transition: all 300ms ease; }
.hero-showcase-dot.active { background: #fff; width: 16px; }

.splash-content { max-width: 640px; flex: 1 1 480px; min-width: 0; }
.splash-title { font-size: var(--text-hero); font-weight: 600; color: #fff; line-height: 1; letter-spacing: -0.02em; margin-bottom: var(--space-6); text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 4px 32px rgba(0,0,0,0.4); }
.splash-title-compact { font-size: clamp(1.9rem, 0.5rem + 3.2vw, 3.5rem); line-height: 1.15; }
.text-sunrise { background: linear-gradient(100deg, #ffe9a8, #f7c948 40%, #d19900 85%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 4px 20px rgba(209,153,0,0.3)); }
.splash-subtitle { font-size: var(--text-lg); color: rgba(255, 240, 224, 0.92); max-width: 560px; line-height: 1.5; margin-bottom: var(--space-8); text-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 2px 16px rgba(0,0,0,0.35); }
.splash-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Slide dots */
.slide-dots { position: absolute; bottom: var(--space-8); left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: var(--space-2); }
.slide-dot { width: 10px; height: 10px; border-radius: var(--radius-full); background: rgba(255,255,255,0.35); border: none; padding: 0; cursor: pointer; transition: all var(--transition-interactive); }
.slide-dot.active { background: #fff; width: 28px; }

/* Slide arrows */
.slide-arrow { position: absolute; bottom: var(--space-8); transform: none; z-index: 3; width: 48px; height: 48px; border-radius: var(--radius-full); background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); color: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); transition: all var(--transition-interactive); }
.slide-arrow:hover { background: rgba(255,255,255,0.3); }
.slide-prev { left: var(--space-6); }
.slide-next { right: var(--space-6); }

.splash-scroll-hint { position: absolute; bottom: var(--space-8); right: var(--space-6); z-index: 2; color: rgba(255,255,255,0.6); animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ============================================
   Adventures
   ============================================ */
.section-adventures { background: var(--color-bg); }
.adventure-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.adventure-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition-interactive), box-shadow var(--transition-interactive); }
.adventure-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.adventure-card-featured { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.adventure-card-img { aspect-ratio: 4/3; overflow: hidden; }
.adventure-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.16,1,0.3,1); }
.adventure-card:hover .adventure-card-img img { transform: scale(1.04); }
.adventure-card-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.adventure-badge { align-self: flex-start; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); background: var(--color-primary-highlight); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); }
.adventure-card-body h3 { font-size: var(--text-lg); color: var(--color-text); }
.adventure-card-body p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.adventure-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-3); }
.difficulty { font-size: var(--text-xs); font-weight: 600; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); }
.difficulty.easy { color: var(--color-success); background: var(--color-success-highlight); }
.difficulty.hard { color: #c25b4e; background: #f4ddd8; }
.adventure-meta .price { font-size: var(--text-sm); font-weight: 700; color: var(--color-primary); }

/* ============================================
   Inlet Express Schedule — Multi-Route
   ============================================ */
.section-schedule { background: var(--color-surface); }
.schedule-route { margin-bottom: var(--space-12); }
.schedule-route:last-of-type { margin-bottom: var(--space-8); }
.schedule-route-title { font-size: var(--text-lg); color: var(--color-text); text-align: center; margin-bottom: var(--space-6); padding-bottom: var(--space-3); border-bottom: 2px solid var(--color-divider); }
.schedule-table-wrapper { overflow-x: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); margin-bottom: var(--space-4); }
.schedule-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--color-bg); min-width: 400px; overflow: hidden; border-radius: var(--radius-xl); }
.schedule-table thead { background: var(--color-primary); }
.schedule-table th { padding: var(--space-4) var(--space-5); text-align: left; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; }
.schedule-table th:first-child { border-top-left-radius: var(--radius-xl); }
.schedule-table th:last-child { border-top-right-radius: var(--radius-xl); }
.schedule-table td { padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-divider); font-size: var(--text-sm); color: var(--color-text); }
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius-xl); }
.schedule-table tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius-xl); }
.schedule-table tbody tr { transition: background var(--transition-interactive); }
.schedule-table tbody tr:hover { background: var(--color-surface-2); }
.run-time { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--color-primary); }
.schedule-last-run { background: color-mix(in oklab, var(--color-primary) 6%, var(--color-bg)); }
.schedule-last-run .run-time { color: var(--color-primary); }

/* Mobile schedule cards */
.schedule-mobile { display: none; }
.schedule-mobile-col { display: flex; flex-direction: column; gap: var(--space-3); }
.schedule-mobile-heading { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: var(--space-2); text-align: center; }
.schedule-mobile-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-4); text-align: center; }
.schedule-mobile-time { display: block; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--color-primary); }
.schedule-mobile-last { border-color: var(--color-primary); background: color-mix(in oklab, var(--color-primary) 6%, var(--color-bg)); }

.schedule-pricing { display: flex; align-items: center; gap: var(--space-8); background: var(--color-primary); border-radius: var(--radius-xl); padding: var(--space-8) clamp(var(--space-6), 4vw, var(--space-12)); color: #fff; flex-wrap: wrap; }
.schedule-price-left { display: flex; align-items: baseline; gap: var(--space-2); flex-shrink: 0; }
.schedule-price-num { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; color: #fff; line-height: 1; }
.schedule-price-unit { font-size: var(--text-sm); color: rgba(255,255,255,0.7); white-space: nowrap; }
.schedule-price-note { flex: 1; min-width: 240px; font-size: var(--text-sm); color: rgba(255,255,255,0.85); line-height: 1.6; }
.schedule-pricing .btn-primary { background: #fff; color: var(--color-primary); border-color: #fff; }
.schedule-pricing .btn-primary:hover { background: var(--color-surface-offset); }

/* ============================================
   Journey
   ============================================ */
.section-journey { background: var(--color-bg); }
.journey-step { display: grid; grid-template-columns: auto 1fr 1fr; gap: var(--space-8); align-items: center; padding-block: var(--space-6); border-bottom: 1px solid var(--color-divider); }
.journey-step:last-child { border-bottom: none; }
.journey-step-reverse .journey-content { order: 2; }
.journey-step-reverse .journey-image { order: 1; }
.journey-number { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; color: var(--color-accent); opacity: 0.7; line-height: 1; align-self: start; padding-top: var(--space-1); }
.journey-title { font-size: var(--text-xl); margin-bottom: var(--space-3); color: var(--color-text); }
.journey-content p { color: var(--color-text-muted); line-height: 1.7; }
.journey-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.journey-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.16,1,0.3,1); }
.journey-image:hover img { transform: scale(1.04); }
.img-rounded { border-radius: var(--radius-xl); width: 100%; height: 100%; object-fit: cover; }

/* Journey Blocks */
.journey-block { margin-bottom: var(--space-12); scroll-margin-top: 80px; }
.journey-block:last-child { margin-bottom: 0; }
.journey-block-header { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-6) 0 var(--space-2); border-top: 2px solid var(--color-primary); margin-bottom: var(--space-2); }
.journey-block-title { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-text); margin: 0; }
.journey-block-tag { font-size: var(--text-sm); color: var(--color-primary); background: var(--color-primary-highlight); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); font-weight: 600; }

/* Vessel Section */
.section-vessel { background: var(--color-surface); }
.vessel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-10); align-items: center; }
.vessel-content p { color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-6); }
.vessel-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.vessel-features li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text); }
.vessel-features svg { color: var(--color-accent); flex-shrink: 0; }
.vessel-images { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.vessel-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }

/* Adventure Card Journey Button */
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-block { display: block; width: 100%; text-align: center; margin-top: var(--space-2); }

/* ============================================
   What to Bring
   ============================================ */
.section-bring { background: var(--color-surface); }
.bring-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: stretch; }
.bring-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--space-8); }
.bring-card-title { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; color: var(--color-text); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-5); }
.bring-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.bring-list li { display: flex; align-items: flex-start; gap: var(--space-3); }
.bring-list svg { color: var(--color-accent); flex-shrink: 0; margin-top: 3px; }
.bring-item-name { display: block; font-size: var(--text-base); font-weight: 600; color: var(--color-text); }
.bring-item-tip { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin-top: var(--space-1); }
.bring-note { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: auto; padding: var(--space-4) var(--space-5); background: color-mix(in oklab, var(--color-gold) 12%, transparent); border: 1px solid color-mix(in oklab, var(--color-gold) 35%, transparent); border-radius: var(--radius-md); }
.bring-note svg { color: var(--color-gold); flex-shrink: 0; margin-top: 2px; }
.bring-note p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }

/* ============================================
   Gallery
   ============================================ */
.section-gallery { background: var(--color-surface); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: var(--space-4); }
.gallery-item { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.16,1,0.3,1); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-large { grid-column: span 2; grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }

/* ============================================
   Videos
   ============================================ */
.section-videos { background: var(--color-bg); }

/* Video Button Bar */
.video-button-bar { display: flex; justify-content: center; margin-bottom: var(--space-10); }
.video-btn-main {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-5) var(--space-12);
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600;
  background: var(--color-primary); color: #fff;
  border-radius: var(--radius-full); border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-interactive);
}
.video-btn-main:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.video-btn-main:active { transform: translateY(0); }
.video-btn-main svg { flex-shrink: 0; }

.video-player-wrapper { max-width: 800px; margin: 0 auto var(--space-12); }
.video-player { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: #000; }
.video-poster { position: absolute; inset: 0; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; border-radius: var(--radius-full); background: rgba(255,255,255,0.9); color: var(--color-primary); display: flex; align-items: center; justify-content: center; border: none; transition: all var(--transition-interactive); }
.video-play-btn:hover { background: #fff; transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.video-poster-label { position: absolute; bottom: var(--space-4); left: var(--space-5); color: #fff; font-family: var(--font-display); font-size: var(--text-lg); text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.video-embed { position: absolute; inset: 0; }
.video-embed iframe { width: 100%; height: 100%; border: none; }
.video-instructions { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.6; }
.video-instructions code { background: var(--color-surface-offset); padding: 2px 6px; border-radius: var(--radius-sm); font-family: 'Courier New', monospace; font-size: var(--text-xs); }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.video-thumb { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; border: none; padding: 0; cursor: pointer; background: #000; transition: transform var(--transition-interactive), box-shadow var(--transition-interactive); }
.video-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); background: rgba(0,0,0,0.4); color: #fff; transition: background var(--transition-interactive); }
.video-thumb:hover .video-thumb-overlay { background: rgba(0,0,0,0.25); }
.video-thumb-overlay svg { width: 28px; height: 28px; opacity: 0.9; }
.video-thumb-overlay span { font-size: var(--text-xs); font-weight: 600; text-align: center; padding: 0 var(--space-2); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* ============================================
   Reviews
   ============================================ */
.section-reviews { background: var(--color-surface); }
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: var(--space-6); margin: 0 auto var(--space-8); padding: var(--space-5) var(--space-8); background: var(--color-bg); border-radius: var(--radius-xl); max-width: 560px; text-align: center; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.reviews-score { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); border-right: 1px solid var(--color-border); padding-right: var(--space-8); }
.reviews-score-num { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; color: var(--color-primary); line-height: 1; }
.reviews-stars { display: flex; gap: 2px; color: var(--color-gold); }
.reviews-count { font-size: var(--text-xs); color: var(--color-text-muted); margin: 0; }
.reviews-tagline { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; line-height: 1.5; flex: 1; min-width: 140px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.review-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); transition: transform var(--transition-interactive), box-shadow var(--transition-interactive); }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-stars { display: flex; gap: 2px; color: var(--color-gold); }
.review-text { font-size: var(--text-base); color: var(--color-text); line-height: 1.7; font-style: italic; flex: 1; margin: 0; }
.review-author { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); }
.review-avatar { width: 44px; height: 44px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: var(--text-sm); font-weight: 700; color: #fff; flex-shrink: 0; }
.review-name { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); margin: 0; }
.review-location { font-size: var(--text-xs); color: var(--color-text-muted); margin: 0; }

/* ============================================
   Booking CTA
   ============================================ */
.section-cta { position: relative; padding: 0; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,50,65,0.92) 0%, rgba(7,30,40,0.85) 100%); }
.cta-content { position: relative; z-index: 1; padding-block: clamp(var(--space-10), 5vw, var(--space-16)); max-width: 680px; }
.cta-title { font-size: var(--text-3xl); color: #fff; margin-bottom: var(--space-4); }
.cta-subtitle { font-size: var(--text-lg); color: rgba(255,255,255,0.85); margin-bottom: var(--space-10); line-height: 1.5; }
.signup-divider { display: flex; align-items: center; gap: var(--space-4); margin: var(--space-8) 0; }
.signup-divider::before, .signup-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.2); }
.signup-divider span { color: rgba(255,255,255,0.5); font-size: var(--text-sm); }
.signup-form { background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-8); }
.signup-label { color: rgba(255,255,255,0.85); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.signup-row { display: flex; gap: var(--space-3); }
.signup-row input { flex: 1; padding: var(--space-3) var(--space-4); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-md); color: #fff; font-size: var(--text-sm); font-family: var(--font-body); }
.signup-row input::placeholder { color: rgba(255,255,255,0.5); }
.signup-row input:focus { outline: none; border-color: var(--color-accent); background: rgba(255,255,255,0.15); }
.signup-row .btn { white-space: nowrap; }
.form-note { font-size: var(--text-xs); color: rgba(255,255,255,0.6); text-align: center; margin-top: var(--space-4); line-height: 1.6; }

/* ============================================
   Footer
   ============================================ */
.footer { background: var(--color-text); color: rgba(255,255,255,0.7); padding-top: var(--space-10); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-10); padding-bottom: var(--space-8); }
.logo-footer { margin-bottom: var(--space-3); }
.logo-img-footer { width: 120px; height: auto; border-radius: var(--radius-md); border: 2px solid rgba(247,201,72,0.55); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.footer-tagline { font-size: var(--text-sm); color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer h4 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-links a:hover { color: var(--color-accent); }
.footer-contact p { font-size: var(--text-sm); color: rgba(255,255,255,0.6); margin-bottom: var(--space-1); }
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact a:hover { color: var(--color-accent); }
.footer-hours { color: rgba(255,255,255,0.4) !important; font-size: var(--text-xs) !important; margin-top: var(--space-3) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: var(--space-6) var(--space-6); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; max-width: var(--content-wide); margin: 0 auto; }
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.4); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-location { white-space: normal; font-size: var(--text-xs); line-height: 1.3; }
  .logo-lg .logo-img { width: 56px; height: 56px; }
  .adventure-cards { grid-template-columns: 1fr; }
  .journey-step { grid-template-columns: 1fr; gap: var(--space-4); }
  .journey-number { font-size: var(--text-xl); }
  .journey-step-reverse .journey-content { order: 0; }
  .journey-step-reverse .journey-image { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item-large { grid-column: span 2; grid-row: span 2; }
  .gallery-item-wide { grid-column: span 2; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-summary { flex-direction: column; gap: var(--space-4); padding: var(--space-6); }
  .reviews-score { border-right: none; border-bottom: 1px solid var(--color-border); padding-right: 0; padding-bottom: var(--space-4); }
  .form-row, .form-row:nth-child(2) { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .splash-actions { flex-direction: column; align-items: stretch; }
  .splash-actions .btn { justify-content: center; }
  .signup-row { flex-direction: column; }
  .schedule-table-wrapper { display: none; }
  .schedule-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .schedule-pricing { flex-direction: column; text-align: center; gap: var(--space-6); }
  .schedule-price-left { justify-content: center; }
  .slide-caption { display: none; }
  .slide-arrow { display: none; }
  .splash-scroll-hint { display: none; }
  .vessel-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .bring-grid { grid-template-columns: 1fr; }
  .vessel-features { grid-template-columns: 1fr; }
  .hero-row { flex-direction: column; justify-content: center; align-items: center; gap: var(--space-6); padding: var(--space-4) var(--space-6) var(--space-8); }
  .hero-showcase { width: clamp(180px, 55vw, 260px); aspect-ratio: 4 / 5; margin: 0 auto; border-width: 4px; }
  .splash-content { text-align: center; margin: 0 auto; }
  .splash-subtitle { margin-left: auto; margin-right: auto; }
  .splash-actions { justify-content: center; }
}

@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-large, .gallery-item-wide { grid-column: span 1; grid-row: span 1; }
  .video-grid { grid-template-columns: 1fr; }
  .schedule-mobile { grid-template-columns: 1fr; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: var(--space-4); max-width: var(--content-narrow); margin: 0 auto; }
.faq-item { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; color: var(--color-text); padding-right: var(--space-8); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 0; font-family: var(--font-body); font-size: var(--text-lg); font-weight: 400; color: var(--color-accent); transition: transform var(--transition-interactive); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: var(--space-4); color: var(--color-text-muted); line-height: 1.6; }


/* ===== Homer Ferry co-brand block ===== */
.homerferry-band {
  background: linear-gradient(180deg, var(--color-surface-2) 0%, var(--color-surface) 100%);
  border-bottom: 1px solid var(--color-divider);
  padding: calc(var(--header-total-h) + 12px) 0 18px 0;
}
@media (max-width: 900px) {
  .homerferry-band { padding: calc(var(--header-total-h) + 20px) 0 16px 0; }
}
@media (max-width: 620px) {
  .homerferry-band { padding: calc(var(--header-total-h) + 32px) 0 14px 0; }
}
.homerferry-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.homerferry-seal {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15,26,30,0.16);
}
.homerferry-band-text { text-align: left; }
.homerferry-wordmark {
  font-family: 'Zodiak', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  color: var(--color-primary);
  margin: 0 0 4px 0;
  line-height: 1;
  letter-spacing: -0.01em;
}
.homerferry-tagline {
  font-family: 'Satoshi', system-ui, sans-serif;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin: 0;
  max-width: 520px;
  line-height: 1.45;
}
.homerferry-tagline a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--color-primary-highlight);
}
.homerferry-tagline a:hover { color: var(--color-primary-hover); }
@media (max-width: 620px) {
  .homerferry-band-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .homerferry-band-text { text-align: center; }
  .homerferry-seal { width: 84px; height: 84px; }
}

/* ===== Homer Ferry schedule title ===== */
.homerferry-schedule-title {
  font-family: 'Zodiak', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--color-primary);
  margin: 0 0 8px 0;
  line-height: 1;
  letter-spacing: -0.015em;
  text-align: center;
}

/* ===== Light-mode header — make solid at rest so the co-brand band doesn't bleed through =====
   The site's fixed header was originally transparent at rest, expecting a dark
   image behind it. Now that a cream co-brand band sits behind it in light mode,
   the transparent header washes out. Apply the "scrolled" state permanently in
   light mode. Dark mode is unchanged. */
[data-theme='light'] .header,
:root:not([data-theme='dark']) .header {
  background: color-mix(in oklab, var(--color-bg) 95%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
/* Kill the animated gold gradient underline that was only meant for
   dark/transparent header states — it collides with the solid background */
[data-theme='light'] .header::after,
:root:not([data-theme='dark']) .header::after { opacity: 0 !important; }

/* Swap header text/logo colors to match a light background */
[data-theme='light'] .header .logo-text-only,
:root:not([data-theme='dark']) .header .logo-text-only {
  color: var(--color-text);
  text-shadow: none;
}
[data-theme='light'] .header .logo-img,
:root:not([data-theme='dark']) .header .logo-img {
  border-color: color-mix(in oklab, var(--color-gold) 55%, transparent);
  box-shadow: var(--shadow-sm);
}
[data-theme='light'] .header .header-location,
:root:not([data-theme='dark']) .header .header-location {
  color: var(--color-accent);
  text-shadow: none;
}
[data-theme='light'] .header .nav a,
:root:not([data-theme='dark']) .header .nav a {
  color: var(--color-text-muted);
}
[data-theme='light'] .header .nav a:hover,
:root:not([data-theme='dark']) .header .nav a:hover {
  color: var(--color-text);
}
[data-theme='light'] .header .nav a::after,
:root:not([data-theme='dark']) .header .nav a::after {
  background: var(--color-accent);
}
[data-theme='light'] .header .nav a + a,
:root:not([data-theme='dark']) .header .nav a + a {
  border-left-color: var(--color-border);
}
[data-theme='light'] .header .theme-toggle,
:root:not([data-theme='dark']) .header .theme-toggle {
  color: var(--color-text-muted);
}
[data-theme='light'] .header .theme-toggle:hover,
:root:not([data-theme='dark']) .header .theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}
