:root {
  /* Deep nautical palette: navy, river-blue, warm ivory, signal gold */
  --ink:        #0a1f3d;   /* deep navy */
  --ink-deep:   #061429;
  --ink-soft:   #3a4a64;
  --paper:     #fbf6ec;    /* warm ivory */
  --paper-2:   #f1e7d3;
  --paper-3:   #ebdfc4;
  --rule:      #d9cdb1;
  --river:     #2c5f86;    /* river blue */
  --river-deep:#1a3f5c;
  --river-soft:#cfdfeb;
  --gold:      #b88a3e;
  --gold-soft: #e7cf94;
  --copper:    #a85a31;
  --max:       1180px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 6px 28px rgba(6, 20, 41, .10);
  --shadow-lg: 0 18px 48px rgba(6, 20, 41, .14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: var(--river-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--copper); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: "Fraunces", "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -.005em;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.22rem; }
h4 {
  font-family: "Inter", sans-serif;
  font-size: .82rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--river-deep); font-weight: 600;
  margin: 0 0 .8em;
}
p  { margin: 0 0 1.1em; }
.muted { color: var(--ink-soft); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin: .35em 0; }

.skip {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip:focus { left: 1rem; top: 1rem; width: auto; height: auto; padding: .5em 1em; background: var(--ink); color: #fff; z-index: 9999; }

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--river); font-weight: 600;
  margin: 0 0 .6em;
}
.eyebrow-gold {
  font-family: "Inter", sans-serif;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  margin: 0 0 .6em;
}

/* ---------------- Header ---------------- */
.site-header {
  background: rgba(251, 246, 236, .92);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: .55em;
  text-decoration: none; color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.32rem; font-weight: 600; letter-spacing: -.005em;
}
.brand-mark { color: var(--river); font-size: 1.4em; }
.primary-nav { display: flex; gap: 30px; }
.primary-nav a {
  color: var(--ink); text-decoration: none;
  font-family: "Inter", sans-serif; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.primary-nav a:hover { color: var(--copper); }
@media (max-width: 720px) {
  .primary-nav { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
  .primary-nav a { font-size: .78rem; letter-spacing: .08em; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-deep);
  color: #fbf6ec;
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .58; z-index: -1;
  filter: saturate(0.85) contrast(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,20,41,.78) 0%, rgba(26,63,92,.55) 60%, rgba(6,20,41,.85) 100%);
  z-index: -1;
}
.hero .wrap { padding-top: 110px; padding-bottom: 110px; max-width: 980px; }
.hero h1 { color: #fbf6ec; max-width: 18ch; }
.hero .lede { font-size: 1.18rem; max-width: 56ch; color: #efe4cb; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block; padding: 14px 26px;
  background: var(--gold); color: var(--ink) !important;
  border-radius: 999px; border: 1px solid transparent;
  font-family: "Inter", sans-serif; font-size: .86rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 18px rgba(184,138,62,.35);
}
.btn:hover { background: #d3a35a; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(184,138,62,.45); }
.btn-ghost {
  background: transparent; color: #fbf6ec !important;
  border: 1px solid rgba(251,246,236,.5);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(251,246,236,.1); }

/* ---------------- Section ---------------- */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 40px;
  border-bottom: 1px solid var(--rule); padding-bottom: 18px;
}
.section-head .eyebrow { color: var(--gold); margin: 0 0 .4em; }
.section-head h2 { margin: 0; }
.section-head a { font-family: "Inter", sans-serif; font-size: .85rem; letter-spacing: .04em; }

/* ---------------- Cards ---------------- */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none; color: inherit; display: block;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.card .eyebrow {
  color: var(--river); font-family: "Inter", sans-serif; font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; font-weight: 600;
}
.card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.card .meta {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: "Inter", sans-serif; font-size: .76rem;
  color: var(--ink-soft); letter-spacing: .04em;
}

/* ---------------- Page header ---------------- */
.page-head {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-head .eyebrow { color: var(--river); margin: 0 0 .9em; }
.page-head h1 { margin-bottom: .35em; }
.page-head .lede { font-size: 1.15rem; max-width: 70ch; color: var(--ink-soft); }
.breadcrumb {
  font-family: "Inter", sans-serif; font-size: .78rem;
  color: var(--ink-soft); margin-bottom: 1em; letter-spacing: .04em;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { color: var(--ink); }

/* ---------------- Detail layout ---------------- */
.detail {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px;
  padding: 60px 0;
}
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; gap: 40px; } }
.detail .sidebar {
  font-family: "Inter", sans-serif; font-size: .9rem;
  background: #fff; border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 24px 22px;
  align-self: start; position: sticky; top: 96px;
}
.detail .sidebar dl {
  margin: 0; display: grid; grid-template-columns: max-content 1fr;
  column-gap: 14px; row-gap: 9px;
}
.detail .sidebar dt {
  color: var(--ink-soft); text-transform: uppercase;
  letter-spacing: .12em; font-size: .7rem;
  align-self: center;
}
.detail .sidebar dd { margin: 0; color: var(--ink); font-weight: 500; }
.detail .sidebar h4 { margin-top: 26px; margin-bottom: 12px; }

.facts-bar {
  display: flex; flex-wrap: wrap; gap: 40px;
  padding: 24px 28px; margin: 28px 0 36px;
  background: var(--paper-2); border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.facts-bar .fact { font-family: "Inter", sans-serif; }
.facts-bar .fact .k {
  display: block; color: var(--ink-soft);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
}
.facts-bar .fact .v {
  display: block; color: var(--ink); font-size: 1.45rem; font-weight: 600;
  font-family: "Fraunces", Georgia, serif;
}

/* ---------------- Tables ---------------- */
.table-wrap { overflow-x: auto; }
table.cabins, table.itins, table.fleet {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; font-family: "Inter", sans-serif; font-size: .92rem;
}
table.cabins th, table.cabins td,
table.itins th, table.itins td,
table.fleet th, table.fleet td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top;
}
table th {
  background: var(--paper-2); font-weight: 600; color: var(--ink);
  letter-spacing: .04em; font-size: .82rem; text-transform: uppercase;
}
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: var(--paper); }

/* ---------------- Deck plan ---------------- */
.deck-plan { display: grid; gap: 14px; margin: 8px 0 24px; }
.deck-plan .deck {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 20px 24px; background: #fff;
  border: 1px solid var(--rule); border-radius: var(--radius);
}
@media (max-width: 700px) { .deck-plan .deck { grid-template-columns: 1fr; } }
.deck-plan .deck .name {
  font-family: "Fraunces", Georgia, serif; font-size: 1.08rem;
  color: var(--river-deep); font-weight: 600;
}
.deck-plan .deck .desc { color: var(--ink-soft); }

/* ---------------- Amenities ---------------- */
.amenities {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 28px; padding: 0; list-style: none;
}
.amenities li {
  position: relative; padding-left: 22px;
  font-family: "Inter", sans-serif; font-size: .92rem;
}
.amenities li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 10px; height: 10px; background: var(--gold);
  transform: rotate(45deg);
}

/* ---------------- Pills + utility ---------------- */
.pill {
  display: inline-block; padding: 5px 12px; margin: 0 4px 5px 0;
  font-family: "Inter", sans-serif; font-size: .76rem; letter-spacing: .04em;
  border-radius: 999px;
  background: var(--paper-2); color: var(--river-deep);
  border: 1px solid var(--rule);
  text-decoration: none;
}
a.pill:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------------- Filter ---------------- */
.filter {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 16px 20px; margin: 8px 0 32px;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.filter strong {
  font-family: "Inter", sans-serif; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ---------------- Recommended Reading band ---------------- */
.recommended-band {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 64px 0 56px;
  margin-top: 56px;
}
.recommended-band .rec-heading {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem; margin: 0 0 .35em; color: var(--ink);
  font-weight: 600;
}
.recommended-band .rec-sub {
  color: var(--ink-soft); max-width: 60ch; margin: 0 0 32px;
  font-size: .98rem;
}
.rec-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px 36px; padding: 0; margin: 0; list-style: none;
}
.rec-item {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.rec-link {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.04rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  line-height: 1.35; margin-bottom: 6px;
}
.rec-link:hover { color: var(--copper); text-decoration: underline; text-underline-offset: 4px; }
.rec-meta {
  display: block;
  font-family: "Inter", sans-serif; font-size: .76rem;
  color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase;
}

/* ---------------- Sidebar Recommended block (compact) ---------------- */
.sidebar-rec {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.sidebar-rec h4 {
  color: var(--gold); margin: 0 0 14px;
  font-size: .76rem; letter-spacing: .16em;
}
.sidebar-rec ul { list-style: none; padding: 0; margin: 0; }
.sidebar-rec li { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px dotted var(--rule); }
.sidebar-rec li:last-child { border-bottom: none; }
.sidebar-rec a {
  font-family: "Fraunces", Georgia, serif;
  display: block; line-height: 1.35;
  color: var(--ink); text-decoration: none; font-size: .96rem;
}
.sidebar-rec a:hover { color: var(--copper); text-decoration: underline; }
.sidebar-rec .sr-meta {
  display: block; font-size: .7rem; color: var(--ink-soft);
  letter-spacing: .08em; text-transform: uppercase; margin-top: 4px;
}

/* ---------------- Inline editorial link slots ---------------- */
.prose .inline-resource {
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  padding: 14px 20px; margin: 22px 0;
  font-size: .96rem; color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose .inline-resource a {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500; color: var(--river-deep);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--ink-deep);
  color: #c8d3df;
  padding: 72px 0 32px;
}
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { color: var(--gold); }
.site-footer a { color: #c8d3df; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .muted { color: #8294a8; }
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.copyright {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid #1a2e47;
  font-size: .8rem; color: #6f8194;
}

/* ---------------- Misc ---------------- */
article.prose p { font-size: 1.06rem; }
article.prose h2 { margin-top: 1.7em; }
article.prose h2:first-of-type { margin-top: .8em; }
article.prose ul li { margin: .3em 0; }
article.prose strong { color: var(--ink); }

.notice {
  border-left: 4px solid var(--gold);
  background: var(--paper-2);
  padding: 18px 22px; margin: 28px 0;
  font-size: .95rem;
}

/* small device fixes */
@media (max-width: 540px) {
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .section { padding: 56px 0; }
  .facts-bar { gap: 26px; padding: 20px; }
  .facts-bar .fact .v { font-size: 1.2rem; }
}
