:root {
  --color-sc-navy: #0e3a5c;           /* shifted bluer to harmonise with Drake brand */
  --color-sc-gold: #e8b448;
  --color-sc-teal: #1c75bc;           /* Drake dark blue — used for headings, links, accents */
  --color-drake-blue: #1c75bc;        /* Drake dark blue alias */
  --color-drake-light: #5299d3;       /* Drake light blue — secondary accent */
  --color-sc-white: #ffffff;
  --color-sc-light: #f3f6fa;          /* very subtle blue tint */
  --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(--color-sc-navy);
  line-height: 1.6;
  background: var(--color-sc-white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-sc-teal);
  line-height: 1.2;
  margin-bottom: 0.5em;
}
h1 { font-size: clamp(2rem, 6vw, 4rem); font-weight: 800; color: var(--color-sc-white); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin-bottom: 1em; }
strong { color: var(--color-sc-teal); }
a { color: var(--color-sc-teal); text-decoration: none; }
a:hover { color: var(--color-sc-gold); }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.muted { opacity: 0.75; font-size: 0.92rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6e6e6;
  z-index: 100;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  line-height: 1;
}
.logo-shield {
  height: 40px;
  width: auto;
  display: block;
}
.logo-img {
  height: 22px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .logo-shield { height: 34px; }
  .logo-img { display: none; }
}
.site-header nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.site-header nav a {
  color: var(--color-sc-navy);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-header nav a.cta {
  background: var(--color-sc-gold);
  color: var(--color-sc-navy);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}
.site-header nav a.cta:hover { background: #d8a338; }

/* Hero — full-bleed Sicily photo with dark overlay */
.hero {
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(180deg, rgba(14,58,92,0.55) 0%, rgba(14,58,92,0.85) 65%, rgba(14,58,92,0.92) 100%),
    url('https://sailchecker.com/wp-content/uploads/2019/06/sicily-view-colourful-house.jpg');
  background-size: cover;
  background-position: center 35%;
  background-color: var(--color-sc-navy);
  color: var(--color-sc-white);
  padding: 7rem 0 5.5rem;
  text-align: center;
  min-height: clamp(420px, 60vh, 640px);
  display: flex;
  align-items: center;
}
.hero > .container { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hero { background-attachment: scroll; }
  @supports (background-attachment: fixed) {
    @media (min-width: 1100px) {
      .hero { background-attachment: fixed; }
    }
  }
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-sc-gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero h1 { margin-bottom: 0.5rem; }
.hero-dates {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-sc-gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-lede {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.1s, box-shadow 0.2s, background 0.2s;
}
.btn-gold { background: var(--color-sc-gold); color: var(--color-sc-navy); }
.btn-gold:hover {
  background: #d8a338;
  color: var(--color-sc-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* Sections */
section { padding: 4rem 0; }
section:nth-of-type(even) { background: var(--color-sc-light); }

/* Route photo strip */
.route-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}
.route-strip figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(14,58,92,0.15);
  position: relative;
}
.route-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.route-strip figure:hover img {
  transform: scale(1.06);
}
.route-strip figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1rem 0.7rem;
  background: linear-gradient(180deg, transparent 0%, rgba(14,58,92,0.85) 90%);
  color: var(--color-sc-white);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
}
@media (max-width: 700px) {
  .route-strip { grid-template-columns: 1fr; gap: 0.75rem; }
  .route-strip figure { aspect-ratio: 16 / 10; }
}

/* Ensure callout card fits split-text column */
.split-text .callout-card,
.split-text .cabin-pair-tip {
  max-width: 100%;
}

/* Route map */
.route-map {
  margin: 2rem auto;
  max-width: 720px;
  text-align: center;
}
.route-map img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(14,58,92,0.15);
  background: var(--color-sc-white);
  padding: 1rem;
}
.route-map figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--color-sc-navy);
  opacity: 0.65;
  font-style: italic;
}
.route-map figcaption a {
  color: var(--color-sc-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Route */
.days {
  list-style: none;
  margin-top: 2rem;
}
.days li {
  padding: 1.5rem 0;
  border-bottom: 1px solid #d8d8d8;
}
.days li:last-child { border-bottom: none; }
.days h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.days .day-name { flex: 1 1 auto; }
.days .mileage {
  font-size: 0.78rem;
  background: var(--color-sc-gold);
  color: var(--color-sc-navy);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.grid > div {
  background: var(--color-sc-white);
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--color-sc-gold);
  box-shadow: 0 2px 8px rgba(26,58,74,0.06);
}
.grid h3 { color: var(--color-sc-teal); margin-bottom: 0.75rem; }
.grid p { margin-bottom: 0; font-size: 0.95rem; }

/* Prices */
.big-price { font-size: 1.3rem; text-align: center; margin: 1rem 0 0.25rem; }
.big-price strong {
  display: block;
  color: var(--color-sc-teal);
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-top: 0.25rem;
}
.prices .muted { text-align: center; margin-bottom: 2rem; }
.incl-excl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.incl-excl > div {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--color-sc-white);
  box-shadow: 0 2px 8px rgba(26,58,74,0.06);
}
.incl-excl h3 { color: var(--color-sc-teal); margin-bottom: 1rem; }
.incl ul, .excl ul { list-style: none; }
.incl li, .excl li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.incl li::before { content: "✓"; color: var(--color-sc-gold); font-weight: 700; position: absolute; left: 0; }
.excl li::before { content: "×"; color: #b13e3e; font-weight: 700; position: absolute; left: 0; font-size: 1.2em; line-height: 1; }

/* Signup — section. prefix bumps specificity to beat section:nth-of-type(even) */
section.signup {
  background: var(--color-sc-navy);
  color: var(--color-sc-white);
}
.signup h2 { color: var(--color-sc-white); }
.signup p, .signup-lede { color: rgba(255,255,255,0.92); }
.signup-lede { max-width: 720px; margin: 0 auto 1rem; text-align: center; }
.signup-lede strong { color: var(--color-sc-gold); }

.req {
  color: var(--color-sc-gold);
  font-weight: 700;
  margin-left: 0.15em;
}

#signup-form {
  max-width: 760px;
  margin: 2rem auto 0;
}

.form-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-sc-gold);
}
.form-section h3 {
  color: var(--color-sc-gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.section-intro {
  font-size: 0.92rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}
.section-note {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 1rem;
  margin-bottom: 0;
  font-style: italic;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid label.full { grid-column: 1 / -1; }

#signup-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-sc-white);
}
#signup-form label > input,
#signup-form label > select,
#signup-form label > textarea {
  display: block;
}
#signup-form .req {
  display: inline;
}
#signup-form input,
#signup-form select,
#signup-form textarea {
  margin-top: 0.4rem;
  padding: 0.7rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: var(--color-sc-white);
  color: var(--color-sc-navy);
  width: 100%;
  font-weight: 400;
}
#signup-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%231a3a4a' d='M4 6l4 4 4-4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2rem;
}
#signup-form input:focus,
#signup-form select:focus,
#signup-form textarea:focus {
  outline: 2px solid var(--color-sc-gold);
  outline-offset: 1px;
  border-color: var(--color-sc-gold);
}
.field-note {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 0.3rem;
  font-style: italic;
}

#signup-form > button {
  display: block;
  margin: 2rem auto 0;
  padding: 1rem 2.5rem;
}
.form-note {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.75rem;
}
.alt-contact {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255,255,255,0.85);
}
.alt-contact a {
  color: var(--color-sc-gold);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--color-sc-navy);
  color: var(--color-sc-white);
  padding: 2.5rem 0;
  text-align: center;
  border-top: 4px solid var(--color-sc-gold);
}
.site-footer p { margin: 0.4rem 0; color: rgba(255,255,255,0.95); }
.site-footer a { color: var(--color-sc-gold); }
.site-footer .muted { opacity: 0.6; font-size: 0.82rem; }
.footer-anchor {
  color: var(--color-sc-gold);
  margin-right: 0.15em;
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  opacity: 0.85;
  margin-top: 1rem !important;
}
.powered-by a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-sc-white) !important;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
  text-decoration: none;
}
.powered-by a:hover {
  opacity: 1;
  color: var(--color-sc-gold) !important;
}
.powered-by img {
  border-radius: 50%;
  vertical-align: middle;
  border: 1px solid rgba(255,255,255,0.15);
}
.powered-by span {
  font-weight: 600;
}
.powered-by .sc-svg {
  height: 22px;
  width: auto;
  display: block;
  border-radius: 0;
  border: none;
}

/* Section h2 — gold underline accent (works for both .container and .split-grid layouts) */
section > .container > h2,
section > .split-grid > .split-text > h2,
section > .container.weather-container > h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.7rem;
  margin-bottom: 1.2rem;
}
section > .container > h2::after,
section > .split-grid > .split-text > h2::after,
section > .container.weather-container > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--color-sc-gold);
  border-radius: 2px;
}

/* ========================================================
   SPLIT SECTIONS — text + image side-by-side
   ======================================================== */
.split-section {
  overflow: hidden;
}
.split-section .split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.split-section .split-text > * { max-width: 540px; }
.split-section .split-text > p:last-child { margin-bottom: 0; }
.split-section.image-right .split-image { order: 2; }
.split-section.image-right .split-text { order: 1; }
.split-section.image-left .split-image { order: 1; }
.split-section.image-left .split-text { order: 2; }

.split-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(14,58,92,0.18);
}
.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,58,92,0.18) 100%);
  pointer-events: none;
  border-radius: inherit;
}
.split-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.split-image:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .split-section .split-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .split-section.image-left .split-image,
  .split-section.image-right .split-image,
  .split-section.image-left .split-text,
  .split-section.image-right .split-text {
    order: unset;
  }
  .split-section .split-image { order: -1; aspect-ratio: 16 / 10; }
}
section.signup > .container > h2::after,
section.hero > .container > h2::after { background: var(--color-sc-gold); }

/* Fancy section dividers — gold line with anchor glyph in the middle */
section + section::before {
  content: "⚓";
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-sc-gold);
  margin: -2.5rem auto 2.5rem;
  opacity: 0.65;
  position: relative;
  line-height: 1;
  letter-spacing: normal;
}
section + section::after {
  content: "";
  position: absolute;
  top: -1.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(232,180,72,0.5) 20%,
    rgba(232,180,72,0.5) 38%,
    transparent 44%,
    transparent 56%,
    rgba(232,180,72,0.5) 62%,
    rgba(232,180,72,0.5) 80%,
    transparent 100%);
  pointer-events: none;
}
section { position: relative; }

/* Logo image — Drake Supper Club PNG */
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
@media (max-width: 420px) {
  .logo-img { height: 22px; }
}

/* Weather & Sea section */
section.weather {
  background: var(--color-sc-light);
  background-image:
    radial-gradient(circle at 50% 18%, rgba(232,180,72,0.06) 0%, transparent 40%),
    linear-gradient(180deg, var(--color-sc-light) 0%, #fafaf5 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
section.weather > .container.weather-container > h2 { margin-left: auto; margin-right: auto; }
section.weather > .container.weather-container > h2::after { left: 50%; transform: translateX(-50%); }
section.weather > .container > p { max-width: 640px; margin-left: auto; margin-right: auto; }

/* The big sun */
.weather-sun {
  width: clamp(180px, 30vw, 280px);
  height: clamp(180px, 30vw, 280px);
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(232,180,72,0.35));
  transform-origin: 140px 140px;
  transition: filter 0.4s ease;
}
.weather-sun .sun-boat {
  transform-origin: 140px 140px;
}
.weather-sun:hover {
  animation: sun-spin 30s linear infinite;
  filter: drop-shadow(0 6px 26px rgba(232,180,72,0.5));
}
.weather-sun:hover .sun-boat {
  animation: sun-boat-counter 30s linear infinite;
}
@keyframes sun-spin {
  to { transform: rotate(360deg); }
}
@keyframes sun-boat-counter {
  to { transform: rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .weather-sun:hover, .weather-sun:hover .sun-boat { animation: none; }
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.weather-stat {
  background: var(--color-sc-white);
  padding: 1.25rem 1rem;
  border-radius: 8px;
  border-top: 4px solid var(--color-sc-gold);
  text-align: center;
  box-shadow: 0 2px 8px rgba(26,58,74,0.06);
}
.weather-stat .stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-sc-navy);
  opacity: 0.65;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.weather-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-sc-teal);
  line-height: 1.1;
}
.weather-note {
  text-align: center;
  font-size: 0.92rem;
  opacity: 0.85;
  max-width: 640px;
  margin: 1rem auto 0;
  font-style: italic;
}

/* Early-bird badge */
.badge-wrap { text-align: center; margin-bottom: 1rem; }
.early-bird-badge {
  display: inline-block;
  background: var(--color-sc-gold);
  color: var(--color-sc-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(232,180,72,0.4);
}

/* How to pay — defensive specificity */
section.pay {
  background: var(--color-sc-white);
}

/* Cabins & Cabin-Mates — the policy section */
section.cabins {
  background: var(--color-sc-light);
}
.callout-card {
  background: var(--color-sc-white);
  border-left: 5px solid var(--color-sc-gold);
  padding: 1.5rem 1.75rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(26,58,74,0.1);
  max-width: 760px;
}
.callout-card h3 {
  color: var(--color-sc-teal);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.callout-card p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.cabin-pair-tip {
  background: rgba(232,180,72,0.14);
  border: 1px solid rgba(232,180,72,0.35);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  max-width: 760px;
}
.cabin-pair-tip strong {
  color: var(--color-sc-teal);
}

/* Form: little tag chip beside field labels */
.field-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-sc-gold);
  color: var(--color-sc-navy);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.pay h2 { text-align: center; }
.pay-lede {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.pay-disclaimer {
  max-width: 640px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.88rem;
}

.payment-card {
  background: var(--color-sc-white);
  border-radius: 12px;
  border-top: 6px solid var(--color-sc-gold);
  box-shadow: 0 4px 20px rgba(26,58,74,0.1);
  padding: 2rem;
  max-width: 640px;
  margin: 1.5rem auto 0;
}
.payment-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-sc-teal);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-align: center;
}
.bank-details {
  display: grid;
  gap: 0;
  margin: 1.25rem 0;
}
.bank-details > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: baseline;
}
.bank-details > div:last-child { border-bottom: none; }
.bank-details dt {
  font-weight: 600;
  color: var(--color-sc-navy);
  font-size: 0.85rem;
  opacity: 0.7;
}
.bank-details dd {
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  color: var(--color-sc-navy);
  word-break: break-word;
  font-weight: 600;
}
.payment-note {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.75rem;
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

/* Back-to-top floating button */
#back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-sc-gold);
  color: var(--color-sc-navy);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(26,58,74,0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s, box-shadow 0.2s;
  z-index: 200;
  border: 2px solid var(--color-sc-navy);
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--color-sc-navy);
  color: var(--color-sc-gold);
  box-shadow: 0 6px 22px rgba(26,58,74,0.35);
}
#back-to-top:active {
  transform: translateY(1px);
}
@media (max-width: 500px) {
  #back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .site-header nav a:not(.cta) { display: none; }
  .hero { padding: 4rem 0 3rem; }
  section { padding: 3rem 0; }
  .incl-excl { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-section { padding: 1.25rem; }
  .bank-details > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.6rem 0;
  }
  .bank-details dt { opacity: 0.6; font-size: 0.78rem; }
  .payment-card { padding: 1.5rem; }
}

/* ===== Hero kicker (under the lede) ===== */
.hero-kicker {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--color-sc-gold);
  margin: -0.25rem 0 1.75rem;
  letter-spacing: 0.01em;
}

/* ===== Quote dividers (parallax photo + Drake shield watermark) ===== */
.quote-divider {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
@supports (-webkit-touch-callout: none) {
  .quote-divider { background-attachment: scroll; }
}
.quote-divider::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,58,92,0.45) 0%, rgba(14,58,92,0.65) 100%);
  pointer-events: none;
}
.quote-divider .quote-shield {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  z-index: 2;
  height: 42px;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}
.quote-divider blockquote {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  padding: 0 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  color: #fff;
  text-align: center;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
}
.quote-divider .quote-mark {
  display: block;
  font-size: 3.5rem;
  line-height: 0.4;
  margin-bottom: 1.25rem;
  color: var(--color-sc-gold);
  opacity: 0.85;
}
.quote-divider blockquote cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
}

/* ===== Soundtrack (YouTube) section ===== */
.soundtrack {
  background: var(--color-sc-light);
  padding: 4rem 0;
}
.soundtrack h2 { text-align: center; }
.soundtrack > .container > p { text-align: center; max-width: 50ch; margin: 0 auto 2rem; color: var(--color-sc-navy); opacity: 0.8; }
.video-frame {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(14,58,92,0.25);
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 700px) {
  .quote-divider { padding: 3.5rem 1.25rem; min-height: 42vh; }
  .quote-divider .quote-shield { height: 32px; top: 1rem; left: 1rem; }
  .soundtrack { padding: 3rem 0; }
}

/* ===== Snapshot gallery (Drake-trip photos) ===== */
.snapshots {
  padding: 4rem 0;
  background: var(--color-sc-light);
}
.snapshots h2 { text-align: center; margin-bottom: 0.5rem; }
.snapshots .muted {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 2rem;
  font-size: 0.92rem;
  color: var(--color-sc-navy);
  opacity: 0.75;
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.snapshot-grid figure { margin: 0; }
.snapshot-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);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.snapshot-grid img:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(14,58,92,0.22); }

/* ===== Two-CTA strip on signup section ===== */
.signup-cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin: 2rem 0 1rem;
}
.btn-ghost {
  background: transparent;
  color: var(--color-sc-teal);
  border: 1px solid var(--color-sc-teal);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}
.btn-ghost:hover {
  background: var(--color-sc-teal);
  color: #fff;
}

/* ===== Modal dialog (shared) ===== */
dialog.modal {
  border: none;
  border-radius: 14px;
  background: var(--color-sc-white);
  color: var(--color-sc-navy);
  padding: 0;
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(14,58,92,0.5);
}
dialog.modal::backdrop {
  background: rgba(14,58,92,0.6);
  backdrop-filter: blur(4px);
}

/* ===== Simple EoI modal ===== */
dialog.eoi-modal {
  width: calc(100% - 2rem);
  max-width: 460px;
  overflow-y: auto;
}
dialog.eoi-modal form { padding: 2rem 2rem 1.5rem; }
dialog.eoi-modal h3 {
  font-family: var(--font-heading);
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  color: var(--color-sc-teal);
}
dialog.modal .modal-sub {
  color: var(--color-sc-navy);
  opacity: 0.75;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
dialog.eoi-modal label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-sc-navy);
  opacity: 0.7;
  margin: 0 0 0.4rem;
}
dialog.eoi-modal .opt { font-size: 0.7rem; text-transform: none; letter-spacing: normal; opacity: 0.6; font-weight: 400; }
dialog.eoi-modal input,
dialog.eoi-modal textarea {
  display: block;
  width: 100%;
  padding: 0.8rem 0.95rem;
  margin: 0 0 1.1rem;
  background: var(--color-sc-light);
  border: 1px solid rgba(28,117,188,0.18);
  border-radius: 8px;
  color: var(--color-sc-navy);
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
}
dialog.eoi-modal textarea { resize: vertical; min-height: 88px; }
dialog.eoi-modal input:focus,
dialog.eoi-modal textarea:focus {
  outline: none;
  border-color: var(--color-sc-teal);
  background: #fff;
}
.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.modal-status {
  font-size: 0.88rem;
  margin: 0.75rem 0 0;
  color: var(--color-sc-navy);
  opacity: 0.75;
}
.modal-status.ok { color: #2c7a3a; opacity: 1; }
.modal-status.err { color: #b13d3d; opacity: 1; }

/* ===== Reserve cabin modal (multi-step) ===== */
dialog.reserve-modal {
  width: calc(100% - 2rem);
  max-width: 760px;
}
.reserve-modal-inner {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}
.reserve-header {
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid rgba(14,58,92,0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.reserve-header h3 {
  font-family: var(--font-heading);
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
  color: var(--color-sc-teal);
}
.reserve-header .modal-sub { font-size: 0.88rem; margin: 0; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-sc-navy);
  opacity: 0.55;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}
.modal-close:hover { opacity: 1; color: var(--color-sc-teal); }

.step-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 1rem 2rem;
  background: var(--color-sc-light);
  border-bottom: 1px solid rgba(14,58,92,0.08);
}
.step-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-sc-white);
  border: 1.5px solid rgba(14,58,92,0.2);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-sc-navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 140ms ease;
}
.step-dot:hover { border-color: var(--color-sc-teal); color: var(--color-sc-teal); }
.step-dot.active { border-color: var(--color-sc-gold); background: var(--color-sc-gold); color: var(--color-sc-navy); }
.step-dot.done { border-color: var(--color-sc-teal); background: var(--color-sc-teal); color: #fff; }

#reserve-form-slot {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 2rem 1.5rem;
}
#reserve-form-slot .form-section {
  display: none;
  border-left: none;
  padding-left: 0;
  background: transparent;
  margin: 0;
}
#reserve-form-slot .form-section.step-active { display: block; }
#reserve-form-slot .form-section h3 {
  font-family: var(--font-heading);
  color: var(--color-sc-teal);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.reserve-footer {
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(14,58,92,0.08);
  background: var(--color-sc-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.reserve-footer .step-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sc-navy);
  opacity: 0.7;
}
.reserve-footer .btn-ghost:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Mobile */
@media (max-width: 700px) {
  .snapshot-grid img { height: 200px; }

  dialog.eoi-modal,
  dialog.reserve-modal {
    width: 100%;
    max-width: 100%;
    max-height: 96vh;
    margin: 0 0 auto 0;
    border-radius: 14px 14px 0 0;
    position: fixed;
    bottom: 0; left: 0; top: auto;
  }
  .reserve-header { padding: 1.25rem 1.25rem 0.75rem; }
  .step-progress { padding: 0.75rem 1.25rem; }
  #reserve-form-slot { padding: 1rem 1.25rem 1.25rem; }
  .reserve-footer { padding: 0.85rem 1.25rem 1rem; }
}
