/* =========================================================
   DUNE — shared stylesheet
   Cream / Navy system extracted from the site + brochure PDFs
   ========================================================= */

:root {
  --cream:        #f8f6dd;
  --cream-dim:     #efeccb;
  --navy:         #06042a;
  --navy-soft:    #0c0a3a;
  --ink:          #14120a;
  --cream-text:   #f4f1dd;
  --cream-text-dim: #c8c5ab;
  --line-on-navy: rgba(244, 241, 221, 0.25);
  --line-on-cream:rgba(6, 4, 42, 0.15);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-family: var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-cream {
  background: var(--cream);
  color: var(--navy);
}
.btn-cream:hover { background: #fff; transform: translateY(-1px); }
.btn-dark {
  background: var(--navy);
  color: var(--cream);
  width: 100%;
  font-size: 0.9rem;
  padding: 16px 20px;
}
.btn-dark:hover { background: #16134c; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line-on-cream);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-logo span {
  display: block;
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  margin-top: -2px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-links li { margin-left: 30px; }
.nav-links li:first-child { margin-left: 0; }
.nav-links a {
  font-size: 0.86rem;
  color: #4a4838;
  letter-spacing: 0.01em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--line-on-cream);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px 40px 24px;
}
.mobile-nav li { border-bottom: 1px solid var(--line-on-cream); }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
}
.mobile-nav a[aria-current="page"] { font-weight: 600; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--cream-text);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,4,42,0.35) 0%, rgba(6,4,42,0.15) 45%, rgba(6,4,42,0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
}
.hero-inner h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  color: var(--cream-text);
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-eyebrow {
  margin: 18px 0 22px;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
}
.hero-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 560px;
  margin: 0 auto 34px;
}

/* ---------------- Generic section blocks ---------------- */
.section { padding: 90px 0; }
.section-navy { background: var(--navy); color: var(--cream-text); }
.section-cream { background: var(--cream); color: var(--ink); }

.section-navy h2, .section-navy h3 { color: var(--cream-text); }
.section-navy .body-text { color: var(--cream-text-dim); }

/* Split: intro + offer */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.offer-left {
  background: var(--navy);
  color: var(--cream-text-dim);
  padding: 70px 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.offer-left .intro-copy { font-size: 1.02rem; max-width: 440px; }
.offer-left img {
  border-radius: 2px;
  width: 100%;
  max-width: 440px;
  object-fit: cover;
}
.offer-right {
  background: var(--cream);
  padding: 70px 56px;
}
.offer-right h2 {
  font-size: 2.1rem;
  margin-bottom: 40px;
}
.offer-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line-on-cream);
}
.offer-item:last-child { }
.offer-item img {
  width: 120px;
  height: 88px;
  object-fit: cover;
  border-radius: 2px;
}
.offer-item h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.offer-item p {
  font-size: 0.92rem;
  color: #47452f;
}

/* Aft deck + contact split */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-photo {
  background-size: cover;
  background-position: center;
  min-height: 560px;
}
.contact-panel {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 70px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6,4,42,0.55);
}
.contact-panel-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.contact-panel-inner > p.lede {
  color: var(--cream-text);
  font-size: 1.05rem;
  font-style: italic;
  font-family: var(--serif);
  margin-bottom: 6px;
}
.contact-panel-inner h2 {
  color: var(--cream-text);
  font-size: 2rem;
  margin: 6px 0 30px;
}
.form-card {
  background: var(--cream);
  padding: 30px 28px;
  border-radius: 2px;
  text-align: left;
}
.form-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-field {
  margin-bottom: 18px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #b9b598;
  background: #fbfaf0;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 0.92rem;
  border-radius: 2px;
  resize: vertical;
}
.form-field textarea { min-height: 90px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
.form-note {
  font-size: 0.72rem;
  color: #6b6852;
  margin-top: 14px;
  text-align: center;
}
.form-status {
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
}
.form-status.ok { color: #1b6b3a; }
.form-status.err { color: #a3231c; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line-on-cream);
  padding: 44px 0 30px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}
.footer-logo span {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  font-weight: 400;
}
.footer-links {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: #4a4838;
}
.footer-links li { margin-left: 22px; }
.footer-links li:first-child { margin-left: 0; }
.footer-meta {
  font-size: 0.78rem;
  color: #6b6852;
  text-align: right;
}
.footer-meta a { text-decoration: underline; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .offer-grid, .split-grid { grid-template-columns: 1fr; }
  .offer-left, .offer-right { padding: 50px 28px; }
  .split-photo { min-height: 360px; }
  .wrap { padding: 0 22px; }
  .nav-inner { padding: 16px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-meta { text-align: left; }
}

@media (max-width: 520px) {
  .hero { min-height: 560px; }
  .hero-inner h1 { font-size: 3rem; }
  .form-card { padding: 24px 20px; }
}

/* =========================================================
   Interior page components (Our Story, Charter Season, etc.)
   ========================================================= */

/* Page banner: short navy or cream header with page title */
.page-banner {
  padding: 70px 0 50px;
}
.page-banner.on-navy { background: var(--navy); color: var(--cream-text); }
.page-banner.on-cream { background: var(--cream); color: var(--ink); }
.page-banner h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}
.page-banner .sub {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-top: 10px;
  font-weight: 400;
}

/* Photo hero banner with image background (Charter Season, Bookings) */
.photo-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 90px 0 70px;
  color: var(--cream-text);
}
.photo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6,4,42,0.72);
}
.photo-banner .wrap { position: relative; z-index: 1; }
.photo-banner h1 { color: var(--cream-text); }

/* Simple two-col content row */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
}
.content-row.reverse .content-media { order: 2; }
.content-row .content-media img {
  width: 100%;
  border-radius: 2px;
}
.content-copy h2 { font-size: 1.9rem; margin-bottom: 18px; }
.content-copy p { color: inherit; opacity: 0.85; }

/* Timeline / chapters strip */
.chapters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  text-align: center;
  padding: 30px 0 10px;
  border-top: 1px solid var(--line-on-cream);
  margin-top: 30px;
}
.chapters div { font-size: 0.92rem; max-width: 260px; }
.chapters strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: 4px; }

/* Story narrative block (navy, centered, generous line-length) */
.story-block {
  background: var(--navy);
  color: var(--cream-text-dim);
  padding: 80px 0;
}
.story-block .wrap { max-width: 820px; text-align: center; }
.story-block p { font-size: 1.15rem; line-height: 1.75; margin-bottom: 1.6em; }

/* Destination rows (Charter Season) */
.destination {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--line-on-navy);
}
.destination:first-of-type { border-top: none; }
.destination img { border-radius: 2px; width: 100%; height: 200px; object-fit: cover; }
.destination h3 { font-size: 1.1rem; letter-spacing: 0.05em; margin-bottom: 10px; }
.destination p { color: var(--cream-text-dim); }

/* Specs grid */
.specs-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line-on-cream);
  margin: 40px 0 10px;
}
.specs-top div {
  flex: 1 1 160px;
  text-align: center;
  padding: 22px 14px;
  border-left: 1px solid var(--line-on-cream);
}
.specs-top div:first-child { border-left: none; }
.specs-top strong { display: block; font-family: var(--serif); font-size: 1.5rem; }
.specs-top span { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #6b6852; }

.specs-list dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  margin: 0;
}
.specs-list dt {
  font-weight: 600;
  padding: 22px 20px 22px 0;
  border-top: 1px solid var(--line-on-cream);
}
.specs-list dd {
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line-on-cream);
  color: #47452f;
}

/* Cabins grid */
.cabins-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
}
.cabins-stats { display: flex; gap: 30px; }
.cabins-stats div { text-align: center; margin-left: 30px; }
.cabins-stats div:first-child { margin-left: 0; }
.cabins-stats strong { display: block; font-family: var(--serif); font-size: 1.6rem; }
.cabins-stats span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cream-text-dim); }
.cabins-lede { padding-bottom: 40px; font-size: 1.02rem; color: var(--cream-text-dim); max-width: 900px; }
.cabins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}
.cabin-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 2px; margin-bottom: 16px; }
.cabin-card .max-line { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream-text-dim); margin-bottom: 8px; }
.cabin-card p { color: var(--cream-text-dim); font-size: 0.94rem; margin-bottom: 10px; }
.cabin-card h3 { font-size: 1.15rem; letter-spacing: 0.03em; }

/* Crew cards */
.crew-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-on-navy);
}
.crew-card:last-of-type { border-bottom: none; }
.crew-card img { width: 100%; height: 260px; object-fit: cover; border-radius: 2px; }
.crew-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.crew-card p { color: var(--cream-text-dim); }

.crew-note {
  padding: 50px 0 10px;
  border-top: 1px solid var(--line-on-navy);
  margin-top: 30px;
}
.crew-note h4 { font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.crew-note p { color: var(--cream-text-dim); max-width: 900px; }

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 34px;
}
.testimonial p { font-size: 0.96rem; color: #47452f; }
.testimonial .source { font-size: 0.8rem; color: #6b6852; margin-top: 10px; }

/* Dining layout */
.dining-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.dining-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dining-photos img { width: 100%; height: 180px; object-fit: cover; border-radius: 2px; }
.dining-photos img.full { grid-column: 1 / -1; height: 260px; }
.dining-item {
  padding: 26px 0;
  border-top: 1px solid var(--line-on-navy);
}
.dining-item:first-child { border-top: none; }
.dining-item h3 { font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.dining-item p { color: var(--cream-text-dim); }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: 2px; }
.gallery-grid .wide { grid-column: 1 / -1; height: 420px; }
.gallery-grid .tall { height: 300px; }

/* Rates cards */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 34px;
}
.rate-card {
  background: rgba(248,246,221,0.06);
  border: 1px solid var(--line-on-navy);
}
.rate-card .tag {
  background: var(--navy-soft);
  text-align: center;
  padding: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-on-navy);
}
.rate-card h3 { text-align: center; padding: 20px 14px 10px; font-size: 1.15rem; }
.rate-card .price { text-align: center; padding: 10px 14px 26px; font-size: 0.92rem; color: var(--cream-text-dim); }
.rate-card .price strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--cream-text); margin-bottom: 4px; }

.itinerary-list { padding-top: 20px; }
.itinerary-item { padding: 20px 0; border-top: 1px solid var(--line-on-cream); }
.itinerary-item:first-child { border-top: none; }
.itinerary-item strong { font-family: var(--serif); font-size: 1.05rem; display: block; margin-bottom: 6px; }

/* Contact page (full page hero form) */
.contact-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6,4,42,0.55);
}
.contact-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 460px; text-align: center; }
.contact-hero-inner h1 {
  color: var(--cream-text);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 30px;
  font-family: var(--sans);
  font-weight: 700;
}

@media (max-width: 900px) {
  .content-row, .dining-grid { grid-template-columns: 1fr; gap: 30px; }
  .content-row.reverse .content-media { order: 0; }
  .cabins-grid { grid-template-columns: repeat(2, 1fr); }
  .crew-card { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rates-grid { grid-template-columns: 1fr; }
  .destination { grid-template-columns: 1fr; }
  .specs-list dl { grid-template-columns: 1fr; }
  .specs-list dt { padding-bottom: 6px; }
}

@media (max-width: 560px) {
  .cabins-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .wide, .gallery-grid .tall { height: 240px; }
  .cabins-stats { gap: 18px; }
}

