/* [hidden] must beat any author display rule (an empty places-left pill once showed). */
[hidden] { display: none !important; }

/* Drake Supper Club — homepage + BVI shared styles. Brand-matched to sicily.sailchecker.com. */

:root {
  --sc-navy:        #0e3a5c;
  --sc-gold:        #e8b448;
  --sc-teal:        #1c75bc;
  --drake-blue:     #1c75bc;
  --drake-light:    #5299d3;
  --sc-white:       #ffffff;
  --sc-light:       #f3f6fa;
  --sc-cream:       #faf8f3;
  --font-sans:      "Open Sans", system-ui, sans-serif;
  --font-heading:   "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--sc-navy);
  line-height: 1.6;
  background: var(--sc-white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--sc-teal); text-decoration: none; }
a:hover { color: var(--sc-gold); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Top bar ===== */
.topbar {
  border-bottom: 1px solid rgba(28,117,188,0.08);
  background: var(--sc-white);
}
.topbar .container { padding: 1.25rem 1.5rem; }
.topbar .logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.topbar .logo img.shield { height: 36px; width: auto; }
.topbar .logo img.wordmark { height: 22px; width: auto; }
.topbar .crumbs {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sc-teal);
}
.topbar .crumbs a { color: var(--sc-teal); }
.topbar .crumbs a:hover { color: var(--sc-gold); }

/* ===== Drake home hero (cream, brand-led) ===== */
.home-hero {
  padding: 5rem 1.5rem 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--sc-cream) 0%, var(--sc-white) 100%);
}
.home-hero .shield {
  height: clamp(120px, 16vw, 168px);
  width: auto;
  display: block;
  margin: 0 auto 1.5rem;
}
.home-hero .wordmark {
  height: clamp(36px, 5vw, 56px);
  width: auto;
  display: block;
  margin: 0 auto 1.5rem;
}
.home-hero .tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--sc-teal);
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

/* ===== About / explanation ===== */
.about {
  padding: 1rem 1.5rem 4rem;
  text-align: center;
  background: var(--sc-white);
}
.about-inner {
  max-width: 720px;
  margin: 0 auto;
}
.about p {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--sc-navy);
  margin-bottom: 1.25rem;
}
.about p strong { color: var(--sc-teal); }
.about .pull {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--sc-teal);
  margin: 2rem auto 0;
  max-width: 56ch;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(28,117,188,0.18);
  border-bottom: 1px solid rgba(28,117,188,0.18);
}

/* ===== Trip cards ===== */
.trips-section {
  padding: 3rem 1.5rem 5rem;
  background: var(--sc-light);
}
.trips-section h2 {
  font-family: var(--font-heading);
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--sc-teal);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.trips-section .sub {
  text-align: center;
  font-size: 0.92rem;
  color: var(--sc-navy);
  opacity: 0.75;
  margin-bottom: 2.5rem;
}

.trips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.trip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 1.75rem;
  border: 1px solid rgba(28,117,188,0.18);
  border-radius: 14px;
  background: var(--sc-white);
  text-decoration: none;
  color: var(--sc-navy);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 4px 14px rgba(14,58,92,0.07);
  min-height: 240px;
  overflow: hidden;
}
.trip-card:hover {
  border-color: var(--sc-gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(14,58,92,0.14);
}
.trip-card.no-link { cursor: default; }
.trip-card.no-link:hover {
  border-color: rgba(28,117,188,0.18);
  transform: none;
  box-shadow: 0 4px 14px rgba(14,58,92,0.07);
}
.trip-card-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(150deg, #0a2a40 0%, #1c75bc 65%, #0e3a5c 100%);
}
.trip-card-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.trip-card:hover .trip-card-hero img { transform: scale(1.06); }
.trip-card-hero .badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
}
.trip-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.75rem 0;
}
.trip-card .badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(14,58,92,0.55);
  color: #fff;
  backdrop-filter: blur(2px);
}
.badge-past   { background: rgba(14,58,92,0.72); color: #fff; }
.badge-active { background: var(--sc-gold); color: var(--sc-navy); }
.badge-soon   { background: rgba(28,117,188,0.75); color: #fff; }

/* ===== Trip filter pills + Trips/Dinners tabs ===== */
.view-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.view-tab {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--sc-teal);
  background: transparent;
  color: var(--sc-teal);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.view-tab[aria-selected="true"] {
  background: var(--sc-teal);
  color: #fff;
}
.filter-pills {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-pill {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(28,117,188,0.3);
  background: var(--sc-white);
  color: var(--sc-navy);
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 140ms ease, background 140ms ease, color 140ms ease;
}
.filter-pill[aria-pressed="true"] {
  opacity: 1;
  background: var(--sc-navy);
  color: #fff;
  border-color: var(--sc-navy);
}

.dinners-list {
  max-width: 640px;
  margin: 0 auto;
  border-top: 1px solid rgba(28,117,188,0.14);
}
.dinners-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(28,117,188,0.14);
  font-size: 0.95rem;
}
.dinners-list .dinner-date {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--sc-teal);
  white-space: nowrap;
}
.dinners-list .dinner-name { flex: 1; text-align: right; }
@media (max-width: 700px) {
  .dinners-list li { flex-direction: column; gap: 0.15rem; }
  .dinners-list .dinner-name { text-align: left; }
}
.dinners-note {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 0.85rem;
  opacity: 0.65;
  text-align: center;
}
.trip-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin: 1rem 0 0.35rem;
  color: var(--sc-teal);
  letter-spacing: -0.01em;
}
.trip-card .where {
  font-size: 0.82rem;
  color: var(--sc-navy);
  opacity: 0.7;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}
.trip-card p {
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  color: var(--sc-navy);
  flex: 1;
}
.trip-card .arrow {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sc-teal);
  margin-top: auto;
}
.trip-card:hover:not(.no-link) .arrow { color: var(--sc-gold); }
.trip-card .meta-note {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--sc-navy);
  opacity: 0.55;
  font-style: italic;
}

/* ===== BVI page-specific hero (photo background) ===== */
.bvi-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-image: url('/photos/bvi-27/hero-beach-chairs-2012.jpg');
  background-position: center 72%;
  color: var(--sc-white);
  overflow: hidden;
}
.bvi-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,58,92,0.20) 0%, rgba(14,58,92,0.60) 100%);
  pointer-events: none;
}
.bvi-hero .container { position: relative; z-index: 1; padding: 6rem 1.5rem; }
.bvi-hero .eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 1.25rem;
}
.bvi-hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.02;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  color: var(--sc-white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.bvi-hero .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  max-width: 56ch;
  margin: 0 0 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* ===== Buttons / CTAs (shared) ===== */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: var(--sc-gold);
  color: var(--sc-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 22px rgba(232,180,72,0.32);
  transition: transform 120ms ease, box-shadow 120ms ease;
  border: none;
  cursor: pointer;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(232,180,72,0.45);
  color: var(--sc-navy);
}
.cta-ghost {
  background: transparent;
  color: var(--sc-white);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: none;
}
.cta-ghost:hover {
  border-color: var(--sc-gold);
  color: var(--sc-gold);
  background: rgba(0,0,0,0.15);
}
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ===== BVI body sections ===== */
.bvi-body {
  padding: 4.5rem 0;
  background: var(--sc-white);
}
.bvi-body h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--sc-teal);
  margin-bottom: 1rem;
}
.bvi-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sc-teal);
  margin: 1.5rem 0 0.5rem;
}
.bvi-body p { margin-bottom: 1rem; max-width: 64ch; }
.bvi-body ul { padding-left: 1.25rem; max-width: 64ch; }
.bvi-body li { margin: 0.35rem 0; }

.bvi-gallery {
  background: var(--sc-light);
  padding: 4rem 0;
}
.bvi-gallery .strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.bvi-gallery figure { margin: 0; }
.bvi-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  box-shadow: 0 6px 18px rgba(14,58,92,0.15);
}
.bvi-gallery figcaption {
  font-size: 0.8rem;
  color: var(--sc-navy);
  opacity: 0.7;
  text-align: center;
  margin-top: 0.5rem;
}

/* ===== Modal (Expression of interest) ===== */
dialog.eoi {
  border: none;
  border-radius: 14px;
  background: var(--sc-white);
  color: var(--sc-navy);
  padding: 0;
  max-width: 480px;
  width: calc(100% - 2rem);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(14,58,92,0.45);
}
dialog.eoi::backdrop {
  background: rgba(14,58,92,0.55);
  backdrop-filter: blur(4px);
}
dialog.eoi form { padding: 2rem 2rem 1.5rem; }
dialog.eoi h3 {
  font-family: var(--font-heading);
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  color: var(--sc-teal);
}
dialog.eoi .sub {
  color: var(--sc-navy);
  opacity: 0.75;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
dialog.eoi label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sc-navy);
  opacity: 0.7;
  margin: 0 0 0.4rem;
}
dialog.eoi input,
dialog.eoi textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  margin: 0 0 1.1rem;
  background: var(--sc-light);
  border: 1px solid rgba(28,117,188,0.18);
  border-radius: 8px;
  color: var(--sc-navy);
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
}
dialog.eoi textarea { resize: vertical; min-height: 88px; }
dialog.eoi input:focus,
dialog.eoi textarea:focus {
  outline: none;
  border-color: var(--sc-teal);
  background: var(--sc-white);
}
dialog.eoi .actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
dialog.eoi .cta-ghost {
  background: transparent;
  color: var(--sc-navy);
  border: 1px solid rgba(14,58,92,0.3);
  box-shadow: none;
}
dialog.eoi .cta-ghost:hover {
  border-color: var(--sc-teal);
  color: var(--sc-teal);
  background: transparent;
}
.status {
  font-size: 0.88rem;
  margin: 0.75rem 0 0;
  color: var(--sc-navy);
  opacity: 0.75;
}
.status.ok { color: #2c7a3a; opacity: 1; }
.status.err { color: #b13d3d; opacity: 1; }

/* ===== Footer ===== */
.site-footer {
  background: var(--sc-navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}
.site-footer a { color: var(--sc-gold); text-decoration: none; }
.site-footer a:hover { color: var(--sc-white); }

/* ===== Mobile ===== */
@media (max-width: 700px) {
  .topbar .logo img.shield { height: 30px; }
  .topbar .logo img.wordmark { display: none; }
  .home-hero { padding: 3rem 1.25rem 2rem; }
  .about { padding: 0.5rem 1.25rem 3rem; }
  .trips-section { padding: 2.5rem 1.25rem 4rem; }
  .bvi-hero .container { padding: 4.5rem 1.25rem; }
  .bvi-body { padding: 3rem 0; }
  .bvi-gallery img { height: 200px; }
  dialog.eoi {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    border-radius: 14px 14px 0 0;
    margin: 0 0 auto 0;
    position: fixed;
    bottom: 0; left: 0; top: auto;
  }
}

/* ===== Featured image (banner above the home hero) ===== */
.featured {
  width: 100%;
  height: clamp(280px, 42vh, 460px);
  overflow: hidden;
  background: var(--sc-cream);
  position: relative;
}
.featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured::after {
  /* Soft fade to the cream of the hero below — keeps the brand block grounded */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent 0%, var(--sc-cream) 100%);
  pointer-events: none;
}
/* Pull the home-hero up slightly so it tucks into the fade */
.home-hero { padding-top: 2.5rem; }

@media (max-width: 700px) {
  .featured { height: clamp(220px, 36vh, 320px); }
}

/* ===== Force light-mode rendering + bulletproof image sizing =====
   Opera/Vivaldi's "force dark on web pages" mode can both invert colours and
   strip image dimension constraints — these rules push back as far as a
   stylesheet can.  */
:root { color-scheme: light only; }
.home-hero .shield {
  max-height: 168px !important;
  max-width: 168px !important;
  width: auto !important;
  height: auto !important;
}
.home-hero .wordmark {
  max-height: 56px !important;
  max-width: min(520px, 90vw) !important;
  width: auto !important;
  height: auto !important;
}

/* ===== Recap page hero (trip and supper pages; each page sets its own background image) ===== */
.recap-hero { color: #fff; padding: 6rem 1.5rem 4rem; }
.recap-hero .eyebrow { color: var(--sc-gold); font-family: var(--font-heading); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 1.25rem; }
.recap-hero h1 { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; margin: 0 0 1rem; letter-spacing: -0.02em; }
.recap-hero .lede { color: rgba(255,255,255,0.92); max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin: 0 0 1.5rem; }
@media (max-width: 700px) {
  .recap-hero { padding: 4.5rem 1.25rem 3rem; }
}

/* ===== Trip photo galleries (same look as Sicily '23 Snapshots) ===== */
.recap-gallery { background: var(--sc-light); padding: 4rem 0; }
.recap-gallery h2 { font-family: var(--font-heading); font-weight: 700; text-align: center; color: var(--sc-teal); margin-bottom: 2rem; font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.recap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.recap-grid figure { margin: 0; }
.recap-grid a { display: block; cursor: zoom-in; }
.recap-grid img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: 10px; display: block;
  box-shadow: 0 6px 18px rgba(14,58,92,0.15);
}
.recap-grid figcaption {
  font-size: 0.78rem; color: var(--sc-navy); opacity: 0.7;
  text-align: center; margin-top: 0.5rem;
}
.recap-gallery .credit { text-align: center; font-size: 0.8rem; color: var(--sc-navy); opacity: 0.85; margin-top: 1.5rem; }
@media (max-width: 700px) {
  .recap-gallery { padding: 3rem 0; }
  .recap-grid { padding: 0 1rem; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .recap-grid img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center 25%; }
  .recap-grid figure.span-all { grid-column: 1 / -1; }
}
dialog.photo-view { padding: 0; border: 0; background: transparent; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100dvh; }
dialog.photo-view[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
dialog.photo-view::backdrop { background: rgba(6,20,32,0.92); }
dialog.photo-view img { display: block; max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: 6px; margin: 0 auto; }
dialog.photo-view p { color: #fff; text-align: center; font-size: 0.9rem; margin: 0.6rem 0 0; }
dialog.photo-view button { position: fixed; top: 12px; right: 14px; background: rgba(255,255,255,0.15); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; }

/* ===== BVI '27 price table ===== */
.price-table-wrap { margin: 1.5rem 0; max-width: 900px; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(14,58,92,0.12); font-size: 0.95rem; }
.price-table th { background: var(--sc-teal); color: var(--sc-white); font-family: var(--font-heading); font-weight: 700; text-align: left; padding: 0.85rem 1rem; }
.price-table td { padding: 0.9rem 1rem; border-top: 1px solid #dde6ef; vertical-align: top; background: var(--sc-white); }
.price-table tbody tr:nth-child(even) td { background: #dcebf7; }
.price-table .amt { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: var(--sc-navy); white-space: nowrap; }
.price-table .pct { display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--sc-gold); color: var(--sc-navy); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 700px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr { border-top: 1px solid #dde6ef; }
  .price-table td { border-top: none; padding: 0.35rem 1rem; }
  .price-table td:first-child { padding-top: 0.9rem; }
  .price-table td:last-child { padding-bottom: 0.9rem; }
  .price-table td[data-label="Deposit"]::before { content: "Deposit "; opacity: 0.7; }
  .price-table td[data-label="Balance"]::before { content: "Balance by 20 Feb 2027 "; opacity: 0.7; }
}

.ethos-box { background: var(--sc-light); border-left: 6px solid var(--sc-gold); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 1.75rem 0; max-width: 820px; }
.ethos-box h3 { margin-top: 0; }
.ethos-box ul { list-style: none; padding-left: 0; max-width: none; }
.ethos-box li { margin: 0.6rem 0; }

.flight-table td.amt-sm { font-weight: 700; color: var(--sc-navy); white-space: nowrap; }
@media (max-width: 700px) {
  .flight-table td[data-label="From"]::before { content: "From "; opacity: 0.7; }
  .flight-table td[data-label="To"]::before { content: "To "; opacity: 0.7; }
}
.flight-table tr.ashore td { font-style: italic; }

.map-frame { position: relative; width: 100%; max-width: 900px; aspect-ratio: 1 / 1; max-height: 720px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(14,58,92,0.18); margin: 1rem 0 0.5rem; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cap { font-size: 0.85rem; opacity: 0.75; }
.route-table td:nth-child(4) { white-space: nowrap; }
@media (max-width: 700px) {
  .route-table td[data-label="NM"]::before { content: "Miles "; opacity: 0.7; }
  .incl-table td:empty { display: none; }
}

.yacht-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 900px; margin: 0.5rem 0 1rem; }
.yacht-pair figure { margin: 0; }
.yacht-pair img { width: 100%; height: 240px; object-fit: contain; background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(14,58,92,0.15); }
.yacht-pair figcaption { font-size: 0.8rem; opacity: 0.7; text-align: center; margin-top: 0.4rem; }
@media (max-width: 700px) { .yacht-pair { grid-template-columns: 1fr; } }

/* ===== Why Drake box + hero facts ===== */
.why-drake { background: #fff; border: 1px solid #dde6ef; border-left: 6px solid var(--sc-teal); border-radius: 10px; padding: 1.1rem 1.4rem; margin: 1.5rem 0; max-width: 820px; box-shadow: 0 6px 18px rgba(14,58,92,0.08); }
.why-drake h3 { margin-top: 0; }
.why-drake p { margin-bottom: 0.6rem; }
.about .why-drake { text-align: left; margin-left: auto; margin-right: auto; }
.hero-facts { list-style: none; padding: 0; margin: 0.5rem 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 760px; }
.hero-facts li { background: rgba(14,58,92,0.55); border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.95rem; color: #fff; }
.hero-facts strong { color: var(--sc-gold); }

/* ===== BVI '27 logbook wall + photo bands ===== */
.logbook { background: var(--sc-light); padding: 4rem 0; }
.logbook h2 { font-family: var(--font-heading); color: var(--sc-teal); font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: .4rem; }
.logbook .sub { max-width: 64ch; margin-bottom: 1.5rem; }
.logbook-wall { columns: 3 260px; column-gap: 1rem; }
.logbook-wall figure { break-inside: avoid; margin: 0 0 1rem; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(14,58,92,.12); }
.logbook-wall img { width: 100%; display: block; }
.logbook-wall figcaption { font-size: .82rem; padding: .5rem .7rem; color: var(--sc-navy); }
.logbook-wall .yr { display: inline-block; background: var(--sc-gold); color: var(--sc-navy); font-weight: 700; font-size: .72rem; border-radius: 999px; padding: .05rem .5rem; margin-right: .35rem; }
.photo-band { position: relative; height: 46vh; min-height: 260px; overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-band .band-cap { position: absolute; right: 1rem; bottom: .8rem; background: rgba(14,58,92,.7); color: #fff; font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; }
