/* My Ocean Tours. Navy blue and white. Layout follows the supplied template: white sticky header, photo hero with
   action cards, centred section headers, lifting cards, accordion FAQ and a multi-column footer. */
:root {
  --navy: #071a35;
  --navy-2: #1b4a8a;
  --paper: #ffffff;
  --mist: #eef3f9;
  --ink: #0c1f3a;
  --ink-soft: #51627a;
  --rule: #d4deea;
  --coral: #8fb4e8; /* light navy tint: focus rings and small accents */
  --coral-deep: #1b4a8a;
  --plum: #1b4a8a;
  --teal: #0f3a73;
  --aqua: #c4d8f5;
  /* chart */
  --deep: #f5f8fc;
  --shallow: #e3ecf8;
  --land: #cfdcee;
  --land-edge: #8fa6c6;
  --display: "Outfit", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --text: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* template tokens */
  --accent: var(--navy);          /* buttons and highlights; set to #ff6b6b for the template's coral */
  --accent-hover: var(--navy-2);
  --accent-soft: #e3ecf8;
  --shadow-sm: 0 1px 3px rgba(7, 26, 53, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(7, 26, 53, 0.1), 0 2px 4px -1px rgba(7, 26, 53, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(7, 26, 53, 0.1), 0 4px 6px -2px rgba(7, 26, 53, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(7, 26, 53, 0.12), 0 10px 10px -5px rgba(7, 26, 53, 0.05);
  --t: 0.3s ease;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px;
  --measure: 68ch;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 75rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: clip; margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--plum); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; color: var(--ink); padding: 0.5rem 1rem; z-index: 5; }
.quiet { color: var(--ink-soft); font-size: 0.95rem; }
mark.todo { background: #dbe6f7; color: var(--navy); outline: 1px dashed var(--navy-2); padding: 0 0.25em; border-radius: 2px; font-style: normal; }

.button, .search button {
  display: inline-block; background: var(--navy); color: #fff; border: 0; cursor: pointer;
  font: 700 1.02rem/1.2 var(--display); text-decoration: none; padding: 0.85rem 1.3rem; border-radius: 6px;
}
.button:hover, .search button:hover { background: var(--navy-2); color: #fff; }
.closing .button { background: #fff; color: var(--navy); }
.closing .button:hover { background: var(--aqua); color: var(--navy); }

/* ---------- Template layer: header ---------- */
.container { width: 100%; max-width: calc(var(--max) + 3rem); margin: 0 auto; padding: 0 1.5rem; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.site-head { background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
.util { background: var(--navy); color: #c9d8ec; font-size: 0.85rem; max-height: 3rem; overflow: hidden; transition: max-height var(--t), opacity var(--t); }
.util-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; max-width: calc(var(--max) + 3rem); margin: 0 auto; padding: 0.45rem 1.5rem; }
.util-links { display: inline-flex; gap: 1.5rem; }
.util a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.util a:hover { color: var(--aqua); }
.fixed-head .site-head.is-floating .util { max-height: 0; opacity: 0; }
.fixed-head .site-head { overflow: visible; }
.fixed-head .site-head.is-floating { overflow: clip; }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; max-width: calc(var(--max) + 3rem); margin: 0 auto; padding: 0.85rem 1.5rem; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 44px; height: 44px; transition: width var(--t), height var(--t); }
.brand span { font: 800 1.45rem/1 var(--display); letter-spacing: -0.01em; }
.brand:hover { color: var(--navy-2); }
.site-head ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; }
.site-head nav a { font: 500 1rem/1.2 var(--text); color: var(--ink); text-decoration: none; position: relative; display: inline-block; padding: 0.35rem 0; transition: color 0.2s ease; }
.site-head nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width var(--t); }
.site-head nav a:not(.nav-cta):hover::after, .site-head nav a[aria-current]::after { width: 100%; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--navy); }
.site-head nav a.nav-cta { display: inline-flex; align-items: center; gap: 0.5rem; border: 2px solid var(--accent); color: var(--accent); font: 600 1rem/1.2 var(--display); padding: 0.55rem 1.1rem; border-radius: var(--radius-sm); transition: background-color var(--t), color var(--t); }
.site-head nav a.nav-cta:hover { background: var(--accent); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.4rem; font-size: 1.6rem; color: var(--navy); cursor: pointer; border-radius: 6px; }

/* Fixed header (enabled by script): flush at the top, pops out as a floating bar on scroll */
.fixed-head { scroll-padding-top: 6rem; }
.fixed-head body { padding-top: var(--head-h, 4.6rem); }
.fixed-head .site-head { position: fixed; left: 0; right: 0; border: 1px solid transparent; border-radius: 0;
  transition: top var(--t), left var(--t), right var(--t), border-radius var(--t), border-color var(--t), box-shadow var(--t), background-color var(--t); }
.fixed-head .site-head .head-inner { transition: padding var(--t); }
.fixed-head .site-head.is-floating { top: 0.75rem; left: 0.75rem; right: 0.75rem; border-radius: 14px; border-color: var(--rule);
  background-color: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-hover); }
.fixed-head .site-head.is-floating .head-inner { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.fixed-head .site-head.is-floating .brand img { width: 36px; height: 36px; }
@media (prefers-reduced-motion: reduce) {
  .site-head, .site-head *, .site-head *::after { transition: none !important; }
}
@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; }
  .site-head nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 10px 14px rgba(7, 26, 53, 0.08); border-radius: 0 0 14px 14px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); visibility: hidden; transition: clip-path 0.4s ease-in-out, visibility 0s 0.4s; }
  .site-head nav.open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; transition: clip-path 0.4s ease-in-out; }
  .site-head ul { flex-direction: column; align-items: stretch; gap: 0.25rem; padding: 1rem 1.5rem 1.4rem; }
  .site-head nav a { display: block; padding: 0.7rem 0; }
  .site-head nav a.nav-cta { justify-content: center; margin-top: 0.5rem; }
}

/* ---------- Template layer: hero ---------- */
.top { color: #fff; }
.hero { position: relative; min-height: min(66vh, 36rem); display: flex; align-items: center; padding: clamp(3rem, 7vw, 5rem) 0 clamp(5rem, 9vw, 7rem);
  background: radial-gradient(120% 140% at 85% 0%, #123566 0%, var(--navy) 60%) center / cover no-repeat; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(7, 26, 53, 0.88), rgba(7, 26, 53, 0.45)); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-title { color: #fff; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; max-width: 16ch; margin-bottom: 1.1rem; line-height: 1.1; text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.hero-subtitle p { color: rgba(255, 255, 255, 0.92); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 36rem; margin: 0 0 1.5rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.hero .search { margin-bottom: 1.5rem; }
.hero-slim { min-height: 0; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem; display: block; max-width: none; background: linear-gradient(135deg, var(--navy) 0%, #123566 100%); }
.hero-slim > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.hero-slim h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
.hero-slim .search { margin-bottom: 0; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; color: #fff; font-weight: 600; font-size: 0.98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-points .ico { background: rgba(255, 255, 255, 0.18); border-radius: 50%; padding: 0.25rem; width: 1.5rem; height: 1.5rem; }
/* Search panel docks over the bottom edge of the hero; quick actions sit directly under it */
.search-dock { position: relative; z-index: 3; padding-bottom: clamp(2rem, 4vw, 3rem); }
.search-dock .search { margin-top: -3rem; box-shadow: 0 18px 40px rgba(7, 26, 53, 0.18); border: 1px solid var(--rule); }
.hero-actions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.action-card { display: flex; align-items: center; gap: 0.9rem; background: #fff; padding: 1rem 1.1rem; border-radius: var(--radius-md); text-decoration: none; color: var(--ink); border: 1px solid var(--rule);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--navy-2); color: var(--ink); }
.action-icon { width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--mist); border-radius: 50%; font-size: 1.3rem; color: var(--navy); transition: background-color var(--t), color var(--t); }
.action-card:hover .action-icon { background: var(--navy); color: #fff; }
.action-card h3 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.action-card p { font-size: 0.85rem; line-height: 1.35; color: var(--ink-soft); margin: 0; }
.action-arrow { margin-left: auto; color: var(--navy-2); font-size: 1.1rem; opacity: 0; transform: translateX(-8px); transition: opacity var(--t), transform var(--t); display: inline-flex; }
.action-card:hover .action-arrow, .action-card:focus-visible .action-arrow { opacity: 1; transform: translateX(0); }
.hero-img-note { margin: 1.5rem 0 0; font-size: 0.85rem; color: #c9d8ec; border: 1px dashed #6f8fbd; border-radius: 6px; padding: 0.5rem 0.8rem; display: inline-block; }

/* ---------- Template layer: sections ---------- */
main > .full { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
main:has(> .full) { max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
.py-section { padding: clamp(3rem, 7vw, 5rem) 0; }
.bg-light { background: #f6f9fc; }
.section-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.8rem; }
.section-header p { color: var(--ink-soft); font-size: 1.1rem; max-width: 38rem; margin: 0 auto; }
.section-header h2::after { content: ""; display: block; width: 3.5rem; height: 3px; border-radius: 2px; background: var(--navy-2); margin: 0.9rem auto 0; }
.center-more { text-align: center; margin: 2.5rem 0 0; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; background: var(--accent); color: #fff; padding: 0.8rem 1.75rem; border-radius: var(--radius-sm);
  font: 600 1rem/1.2 var(--display); text-decoration: none; border: 0; cursor: pointer; box-shadow: var(--shadow-md); transition: background-color var(--t), transform var(--t), box-shadow var(--t); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-large { padding: 1rem 2.25rem; font-size: 1.125rem; border-radius: 50px; }
.btn-text { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--accent); font: 600 1rem/1.3 var(--display); text-decoration: none; position: relative; }
.btn-text::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--t); }
.btn-text:hover { color: var(--accent); }
.btn-text:hover::after { width: 100%; }
.btn-text .ico { transition: transform var(--t); }
.btn-text:hover .ico { transform: translateX(4px); }
.button, .search button { transition: background-color var(--t), transform var(--t), box-shadow var(--t); }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); padding: 2.5rem 0; color: #fff; }
.cta-flex { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.cta-text p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; max-width: 38rem; margin: 0; }
.cta-banner .btn-primary { background: #fff; color: var(--navy); white-space: nowrap; }
.cta-banner .btn-primary:hover { background: var(--aqua); color: var(--navy); }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.service-item { background: #fff; padding: 2.25rem 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); text-align: center; transition: transform var(--t), box-shadow var(--t); }
.service-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.service-icon { width: 66px; height: 66px; margin: 0 auto 1.25rem; background: var(--accent-soft); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: background-color var(--t), color var(--t); }
.service-item:hover .service-icon { background: var(--accent); color: #fff; }
.service-item h3 { margin-bottom: 0.7rem; font-size: 1.15rem; }
.service-item p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.services-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.service-card-premium { background: #fff; padding: 2.5rem 1.75rem; border-radius: var(--radius-md); text-align: center; box-shadow: 0 5px 15px rgba(7, 26, 53, 0.06); border: 1px solid var(--rule); border-bottom: 4px solid transparent;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1rem; }
.service-card-premium:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(7, 26, 53, 0.12); border-bottom-color: var(--navy-2); }
.icon-wrapper { width: 80px; height: 80px; background: var(--accent-soft); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem; transition: background-color var(--t), color var(--t); }
.service-card-premium:hover .icon-wrapper { background: var(--navy); color: #fff; }
.service-card-premium h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.service-card-premium p { color: var(--ink-soft); margin: 0; }

.destination-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.destination-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dest-card { border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); display: flex; flex-direction: column; }
.dest-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-8px); }
.dest-img { position: relative; overflow: hidden; }
.dest-img .img-card { border-radius: 0; transition: transform 0.5s ease; }
.dest-card:hover .dest-img .img-card { transform: scale(1.05); }
.dest-badge { position: absolute; top: 1rem; left: 1rem; background: var(--accent); color: #fff; padding: 0.25rem 0.75rem; border-radius: 20px; font: 700 0.78rem/1.4 var(--display); }
.dest-info { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; position: relative; background: #fff; }
.dest-info h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.dest-info h3 a { color: var(--ink); text-decoration: none; }
.dest-info h3 a:hover { color: var(--navy-2); }
.dest-info p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 0.9rem; }
.dest-info .dest-sum { font-size: 0.95rem; }
.dest-info .season { margin-bottom: 1rem; max-width: none; }
.dest-info .btn-text { margin-top: auto; align-self: flex-start; }
#ports .season-key { justify-content: center; margin: 2rem 0 0; }
#ports .where { margin-top: 3rem; align-items: center; }
#ports .where h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

/* Section eyebrow */
.section-eyebrow { display: inline-block; font: 700 0.8rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy-2); background: var(--mist); padding: 0.35rem 0.85rem; border-radius: 20px; margin-bottom: 0.75rem; border: 1px solid var(--rule); }

/* Ports Filter Bar */
.ports-filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 2rem 0 2.5rem; }
.port-filter-btn { background: #fff; border: 1px solid var(--rule); padding: 0.6rem 1.15rem; border-radius: 30px; font: 600 0.88rem/1 var(--display); color: var(--ink); cursor: pointer; transition: all var(--t); display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 2px 5px rgba(7, 26, 53, 0.04); }
.port-filter-btn:hover { border-color: var(--navy-2); color: var(--navy-2); background: #f4f8fd; }
.port-filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 4px 12px rgba(7, 26, 53, 0.2); }
.port-filter-btn .filter-count { background: #eef3f9; color: var(--ink); padding: 0.15rem 0.5rem; border-radius: 12px; font-size: 0.75rem; font-weight: 700; transition: all var(--t); }
.port-filter-btn.active .filter-count { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* Ports Luxury Grid */
.ports-luxury-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin-bottom: 3.5rem; }

/* Port Card Luxury */
.port-card-luxury { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--rule); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.port-card-luxury:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); border-color: #bcd0e8; }
.port-card-visual { position: relative; overflow: hidden; background: var(--mist); }
.port-card-visual .img-card { border-radius: 0; width: 100%; }
.port-card-visual img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.port-card-luxury:hover .port-card-visual img { transform: scale(1.06); }
.port-visual-badges { position: absolute; top: 0.85rem; left: 0.85rem; right: 0.85rem; display: flex; justify-content: space-between; align-items: center; pointer-events: none; z-index: 2; }
.port-badge-coast { background: rgba(7, 26, 53, 0.85); backdrop-filter: blur(8px); color: #fff; padding: 0.3rem 0.7rem; border-radius: 20px; font: 700 0.74rem/1.2 var(--display); letter-spacing: 0.02em; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.port-badge-berth { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); color: var(--navy); padding: 0.3rem 0.65rem; border-radius: 20px; font: 600 0.74rem/1.2 var(--display); display: flex; align-items: center; gap: 0.35rem; box-shadow: 0 2px 6px rgba(0,0,0,0.12); }
.port-badge-berth .ico { width: 0.8rem; height: 0.8rem; stroke-width: 2.2; }

/* Port Card Content */
.port-card-content { padding: 1.4rem 1.4rem 1.35rem; display: flex; flex-direction: column; flex: 1; gap: 0.75rem; background: #fff; }
.port-card-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.port-title { font-size: 1.35rem; margin: 0; font-family: var(--display); }
.port-title a { color: var(--ink); text-decoration: none; transition: color var(--t); }
.port-title a:hover { color: var(--navy-2); }
.port-cruises-count { font-size: 0.76rem; font-weight: 700; color: var(--teal); background: #e3ecf8; padding: 0.2rem 0.55rem; border-radius: 12px; white-space: nowrap; font-family: var(--display); }
.port-summary { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.48; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Weather Season Block */
.port-weather-block { background: var(--mist); padding: 0.65rem 0.85rem; border-radius: 8px; border: 1px solid rgba(212, 222, 234, 0.5); }
.weather-label { display: flex; justify-content: space-between; font-size: 0.74rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.35rem; font-family: var(--display); }
.port-weather-block .season { display: flex; gap: 2px; width: 100%; max-width: none; margin: 0; }
.port-weather-block .season .mo { flex: 1; height: 9px; border-radius: 2px; }

/* Meta Pills */
.port-meta-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.78rem; color: var(--ink-soft); }
.meta-pill { background: #fff; border: 1px solid var(--rule); padding: 0.22rem 0.55rem; border-radius: 6px; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 500; }
.meta-pill .ico { width: 0.8rem; height: 0.8rem; color: var(--navy-2); }

/* Card Actions */
.port-card-actions { margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.btn-port-guide { font: 600 0.88rem var(--display); color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; transition: transform var(--t), color var(--t); }
.btn-port-guide:hover { color: var(--navy-2); transform: translateX(3px); }
.btn-port-cruises { background: #eef3f9; color: var(--navy); padding: 0.45rem 0.95rem; border-radius: 6px; font: 600 0.82rem/1.2 var(--display); text-decoration: none; transition: all var(--t); }
.btn-port-cruises:hover { background: var(--navy); color: #fff; }

/* Ports Chart Deck */
.ports-chart-deck { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--rule); box-shadow: var(--shadow-md); overflow: hidden; margin-top: 2rem; }
.chart-deck-header { background: linear-gradient(135deg, #071a35 0%, #0f2d57 100%); color: #fff; padding: 1.35rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.chart-deck-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255, 255, 255, 0.12); color: #fff; padding: 0.25rem 0.65rem; border-radius: 12px; font: 700 0.72rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; }
.chart-deck-badge .ico { width: 0.85rem; height: 0.85rem; }
.chart-deck-title h3 { color: #fff; font-size: 1.25rem; margin: 0.4rem 0 0; font-family: var(--display); }
.chart-deck-coords { font-family: monospace; font-size: 0.82rem; color: #a5c7f0; background: rgba(0, 0, 0, 0.2); padding: 0.35rem 0.75rem; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.08); }
.chart-deck-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; padding: 2rem; align-items: start; }
.chart-deck-visual { background: var(--mist); border-radius: var(--radius-md); padding: 1rem; border: 1px solid var(--rule); }
.chart-deck-visual .chart { margin: 0; }
.chart-deck-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.chart-legend-block h4 { font-size: 1.15rem; margin-bottom: 0.4rem; font-family: var(--display); }
.chart-sidebar-desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; margin: 0 0 1rem; }
.chart-season-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.chart-season-pills li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.88rem; color: var(--ink); }
.chart-season-pills li span.mo { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; display: inline-block; }
.chart-season-pills li strong { min-width: 5.5rem; font-size: 0.88rem; font-family: var(--display); }
.chart-season-pills li span:last-child { color: var(--ink-soft); font-size: 0.82rem; }
.chart-stats-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; background: var(--mist); padding: 1.15rem 1rem; border-radius: var(--radius-sm); text-align: center; border: 1px solid var(--rule); }
.chart-stat .stat-num { display: block; font: 800 1.65rem/1 var(--display); color: var(--navy); }
.chart-stat .stat-label { display: block; font-size: 0.75rem; color: var(--ink-soft); font-weight: 600; margin-top: 0.35rem; }
.chart-sidebar-cta { display: flex; flex-direction: column; gap: 0.75rem; }
.chart-sidebar-cta .btn-primary { width: 100%; text-align: center; justify-content: center; }

.about-flex { display: flex; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.about-image { flex: 2; min-width: 0; }
.about-image .img-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-content { flex: 3; min-width: 0; }
.about-content h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.25rem; }
.about-content > p { color: var(--ink-soft); font-size: 1.05rem; }
.about-content .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 1.5rem 0 0; }
.check-list { list-style: none; margin: 1.75rem 0; padding: 0; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.8rem; font-weight: 500; }
.check-list .ico { color: var(--accent); background: var(--accent-soft); padding: 0.35rem; border-radius: 50%; width: 1.7rem; height: 1.7rem; }

.faq-wrapper { max-width: 50rem; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--rule); border-radius: 8px; margin-bottom: 0.9rem; box-shadow: 0 2px 8px rgba(7, 26, 53, 0.04); transition: box-shadow var(--t), border-color var(--t); overflow: hidden; }
.faq-item:hover { box-shadow: 0 4px 12px rgba(7, 26, 53, 0.1); }
.faq-item summary { padding: 1.15rem 1.25rem; font: 600 1.05rem/1.35 var(--display); color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { font-size: 1.4rem; color: var(--navy-2); transition: transform var(--t); display: inline-flex; }
.faq-item[open] { border-color: var(--navy-2); }
.faq-item[open] summary { border-bottom: 1px solid var(--rule); color: var(--navy-2); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-content { padding: 1.15rem 1.25rem; color: var(--ink-soft); line-height: 1.7; }
.faq-content p { margin: 0; }
.closing-wrap { padding-bottom: 0; }
.closing-wrap .closing { margin-top: 0; }

/* Search bar */
.search {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.6fr) auto; gap: 0;
  background: #fff; color: var(--ink); border-radius: 10px; padding: 0.5rem; box-shadow: 0 18px 40px rgba(2, 10, 26, 0.45);
}
.search label { display: block; padding: 0.55rem 1rem 0.5rem; border-right: 1px solid var(--rule); min-width: 0; }
.search label span { display: block; font: 600 0.82rem var(--display); color: var(--ink-soft); }
.search select {
  width: 100%; border: 0; background: transparent; color: var(--ink); font: 600 1.08rem/1.5 var(--text);
  padding: 0.1rem 0; margin-left: -0.2rem; cursor: pointer; border-radius: 3px;
}
.search label:last-of-type { border-right: 0; }
.search button { margin-left: 0.5rem; padding: 0 1.6rem; font-size: 1.08rem; min-height: 3.4rem; }

main { padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }

/* Sections and index rows */
.band { padding-top: clamp(2.75rem, 6vw, 4.25rem); }
.band > h2 { margin-bottom: 0.6rem; }
.group { margin-top: 2.25rem; }
.group > h2 { font-size: 1.1rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--ink); }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--ink-soft); max-width: 58ch; }
.more { font: 600 1.02rem var(--display); margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.band > .rows { margin-top: 1.25rem; }
.rows li { border-bottom: 1px solid var(--rule); }
.rows a { display: grid; gap: 0.2rem 2rem; padding: 1rem 0; text-decoration: none; color: inherit; }
.row-title { font: 700 1.25rem/1.2 var(--display); color: var(--ink); }
a:hover .row-title { color: var(--plum); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.row-sum { color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.row-meta { font: 500 0.9rem var(--display); color: var(--ink-soft); }
.guide-list a { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr) 11rem; align-items: baseline; }
.guide-list .row-meta { text-align: right; }
.ports-list { border-top: 0; }
.ports-list li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 13rem; gap: 0 1.5rem; align-items: center; padding: 0.6rem 0; }
.ports-list a { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); align-items: baseline; }

/* Landing page */
.route-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.route-grid a { display: flex; flex-direction: column; gap: 0.5rem; height: 100%; padding: 1.25rem 1.35rem 1.35rem; background: var(--mist); border-radius: 10px; text-decoration: none; color: inherit; border-top: 4px solid var(--navy); }
.route-grid a:hover { background: #e2ebf6; border-top-color: var(--navy-2); }
.route-len { font: 600 0.9rem var(--display); color: var(--teal); }
.route-grid .row-meta { margin-top: auto; padding-top: 0.5rem; }
.steps { list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font: 750 2.2rem/1 var(--display); color: var(--coral-deep); margin-bottom: 0.6rem; }
.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.where { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1.25rem; }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; margin: 1.25rem 0 0; border-top: 1px solid var(--rule); }
.qa > div { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.qa dt { font: 700 1.15rem/1.25 var(--display); margin-bottom: 0.35rem; }
.qa dt a { color: var(--ink); text-decoration: none; }
.qa dt a:hover { color: var(--plum); text-decoration: underline; }
.qa dd { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.closing { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.75rem, 4vw, 3rem); background: var(--navy); color: #fff; border-radius: 12px; }
.closing h2 { margin-bottom: 0.6rem; }
.closing p { max-width: 56ch; color: #c9d8ec; }
.closing .more a:not(.button) { color: #fff; }

/* Image cards: a photo, or a labelled placeholder until one is added to static/images/ */
.img-card { margin: 0; width: 100%; border-radius: 10px; overflow: hidden; background: var(--mist); }
.img-card img { width: 100%; height: 100%; object-fit: cover; }
.img-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: 0.75rem; color: var(--navy); border: 2px dashed #8fa6c6; background: repeating-linear-gradient(135deg, #f3f7fc 0 14px, #e9f0f9 14px 28px); }
.img-empty svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.img-empty figcaption { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; max-width: 100%; }
.img-empty strong { font: 700 0.98rem/1.2 var(--display); }
.img-empty span { font-size: 0.8rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.top .img-empty, .closing .img-empty { color: #fff; border-color: #6f8fbd; background: repeating-linear-gradient(135deg, #0d274c 0 14px, #12305c 14px 28px); }
.top .img-empty span, .closing .img-empty span { color: #c9d8ec; }
.hero-home { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero-home .hero-copy p { font-size: 1.25rem; max-width: 40ch; color: #c9d8ec; margin: 0; }
.hero-home .search { grid-column: 1 / -1; }
.route-grid .img-card { border-radius: 6px; margin-bottom: 0.4rem; }
.how { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1.5rem; }
.how .steps { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.closing { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.ports-list .img-card { border-radius: 6px; }
.ports-list .img-empty { padding: 0.25rem; border-width: 1px; }
.ports-list .img-empty figcaption { display: none; }
.cruise > .img-card { border-radius: 0; height: 100%; aspect-ratio: auto !important; min-height: 11rem; }
.cruise > .img-empty { border-width: 0 2px 0 0; }
.doc > .img-card { margin-bottom: 2.25rem; }
.book-grid { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.book-grid .img-card { box-shadow: var(--shadow-md); }

/* Chart */
.chart { margin: 0; }
.chart-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; background: var(--deep); }
.chart svg { min-width: 600px; width: 100%; background: linear-gradient(#fff8, #fff8), var(--shallow); }
.chart .grid line { stroke: #c3d2e6; stroke-width: 0.6; }
.chart .grid text { font: 500 9px var(--display); fill: var(--ink-soft); }
.chart .land polygon { fill: var(--land); stroke: var(--land-edge); stroke-width: 1; stroke-linejoin: round; }
.chart .sea text { font: italic 400 13px Georgia, serif; fill: var(--ink-soft); letter-spacing: 0.08em; }
.chart .route polyline { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 5; stroke-linecap: round; opacity: 0.7; }
.chart .ports a { text-decoration: none; }
.chart .ports .hit { fill: transparent; }
.chart .ports .dot { fill: var(--navy); stroke: #fff; stroke-width: 1.5; }
.chart .ports text { font: 700 12.5px var(--display); fill: var(--ink); paint-order: stroke; stroke: #f5f8fc; stroke-width: 3.5px; stroke-linejoin: round; }
.chart .ports a:hover .dot, .chart .ports a:focus-visible .dot { fill: var(--plum); r: 6.5; }
.chart .ports a:hover text, .chart .ports a:focus-visible text { fill: var(--plum); }
.chart .ports a:focus-visible { outline: none; }
.chart .ports a:focus-visible .hit { stroke: var(--plum); stroke-width: 2; }
.chart figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.8rem; max-width: 60ch; }

/* Season strip: one cell per month */
.season { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; max-width: 20rem; margin-bottom: 0.5rem; }
.mo { display: block; height: 0.85rem; border-radius: 1px; position: relative; }
.mo.g { background: var(--navy); }
.mo.m { background: #a9bfdd; }
.mo.r { background: repeating-linear-gradient(135deg, var(--navy-2) 0 1.5px, #fff 1.5px 5px); box-shadow: inset 0 0 0 1px var(--navy-2); }
.season .mo i { position: absolute; top: 100%; left: 0; right: 0; text-align: center; font: 500 0.68rem/1.7 var(--display); color: var(--ink-soft); font-style: normal; }
.season:has(i) { margin-bottom: 1.6rem; }
.season-key { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; font: 500 0.88rem var(--display); color: var(--ink-soft); margin: 1rem 0 0; }
.season-key > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.season-key .mo { width: 0.85rem; }
.season-table { margin: 1.5rem 0 2rem; overflow-x: auto; }
.season-table table { border-collapse: collapse; width: 100%; margin-top: 0.75rem; }
.season-table th, .season-table td { text-align: left; padding: 0.55rem 1rem 0.55rem 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.season-table thead th { font: 600 0.9rem var(--display); color: var(--ink-soft); }
.season-table tbody th { font: 700 1rem var(--display); white-space: nowrap; }
.season-table .season { margin: 0; min-width: 12rem; }
.season-table .season i { display: none; }

/* Search results */
.results { padding-top: 2rem; }
.result-count { font: 700 1.25rem var(--display); margin-bottom: 1rem; }
.cruise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.cruise { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 15rem; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; scroll-margin-top: 1rem; }
.cruise:target { border-color: var(--coral-deep); box-shadow: 0 0 0 2px var(--coral); }
.cruise-main { padding: 1.4rem 1.5rem; }
.cruise-main h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.cruise-main > p { color: var(--ink-soft); max-width: 60ch; }
.cruise dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.9rem 1.5rem; margin: 1rem 0 0; }
.cruise dt { font: 600 0.82rem var(--display); color: var(--ink-soft); }
.cruise dd { margin: 0; font-weight: 600; font-size: 1rem; line-height: 1.4; }
.cruise-side { background: var(--mist); padding: 1.4rem 1.25rem; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 0.75rem; text-align: center; }
.cruise-side p { margin: 0; font: 600 0.95rem var(--display); color: var(--ink-soft); }
.empty { background: var(--mist); border-radius: 10px; padding: 2rem; }
.empty h2 { margin-bottom: 0.5rem; }
.note-line { margin-top: 1.5rem; max-width: 70ch; }

/* Booking form */
.book { max-width: 46rem; }
.book fieldset { border: 0; border-top: 2px solid var(--ink); margin: 0 0 2rem; padding: 1.25rem 0 0; }
.book legend { font: 700 1.3rem var(--display); padding: 0 0.75rem 0 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; }
.field span { display: block; font: 600 0.95rem var(--display); margin-bottom: 0.35rem; }
.field small { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.35rem; }
.field.wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--text); color: var(--ink); background: #fff;
  border: 1px solid #94a6bd; border-radius: 6px; padding: 0.7rem 0.8rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--coral); outline-offset: 1px; border-color: var(--ink); }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 1.25rem; font-size: 1rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; flex: none; accent-color: var(--navy); }
.form-msg { background: var(--mist); border-left: 4px solid var(--coral-deep); padding: 0.8rem 1rem; font-weight: 600; }
.form-msg.ok { border-left-color: var(--navy); }
.after-form { max-width: 46rem; margin-top: 2.5rem; }

/* Inner pages open with a full-width navy banner */
.page-head { margin: 0 calc(50% - 50vw) 2.5rem; padding: clamp(2.25rem, 5vw, 3.5rem) calc(50vw - 50%); max-width: none; background: linear-gradient(135deg, var(--navy) 0%, #123566 100%); color: #fff; }
.page-head h1 { color: #fff; margin-bottom: 0.8rem; max-width: 22ch; font-size: clamp(2rem, 4.5vw, 3rem); }
.page-head .lede { color: #c9d8ec; margin-bottom: 0; }
.page-head .crumb { color: #a9c0de; }
.page-head a { color: #fff; }
.page-head .season-key { color: #c9d8ec; }
.page-head .mo.g { background: #fff; }
.page-head .mo.r { background: repeating-linear-gradient(135deg, #fff 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px #fff; }
.page-head:has(+ .img-card) { padding-bottom: clamp(5rem, 9vw, 7rem); margin-bottom: 0; }
.page-head + .img-card { margin-top: clamp(-5.5rem, -7vw, -3.5rem); position: relative; box-shadow: var(--shadow-hover); border-radius: var(--radius-md); }
.group > h2 { border-bottom: 0; font-size: 1.35rem; padding-bottom: 0; margin-bottom: 1.25rem; }
.group { margin-top: 3rem; }
.group:first-of-type { margin-top: 0; }
.index-grid { margin-bottom: 1rem; }
.book-side { position: sticky; top: 6rem; display: grid; gap: 1.25rem; }
.side-card { background: #f6f9fc; border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 1.4rem 1.5rem; }
.side-card h2 { font-size: 1.15rem; margin-bottom: 0.8rem; }
.side-card ol { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); font-size: 0.97rem; }
.side-card li { margin-bottom: 0.5rem; }
.side-card li::marker { color: var(--navy); font-weight: 700; }
.side-contact { list-style: none; margin: 0; padding: 0; }
.side-contact li { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; padding: 0; }
.book fieldset { background: #fff; border: 1px solid var(--rule) !important; border-radius: var(--radius-md); padding: 1.5rem !important; box-shadow: var(--shadow-sm); }
.book legend { float: left; width: 100%; margin-bottom: 1.1rem; padding: 0; }
.book legend + * { clear: both; }
.facts { background: #f6f9fc; border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 1.4rem 1.5rem; }
.facts dl > div:last-child { border-bottom: 0; margin-bottom: 0.5rem; }
.cruise { box-shadow: var(--shadow-sm); transition: box-shadow var(--t), transform var(--t); }
.cruise:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* Articles */
.crumb { font: 500 0.95rem var(--display); margin-bottom: 0.9rem; }
.doc-grid { display: grid; grid-template-columns: 17rem minmax(0, var(--measure)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.facts { position: sticky; top: 6rem; font-size: 0.97rem; line-height: 1.5; }
.facts dl { margin: 0; }
.facts dl > div { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.facts dt { font: 700 0.95rem var(--display); margin-bottom: 0.35rem; }
.facts dd { margin: 0; color: var(--ink-soft); }
.facts .season-key { margin: 0 0 1.25rem; }
.facts .button { display: block; text-align: center; }
.via { list-style: none; margin: 0; padding: 0; }
.via li { margin-bottom: 0.4rem; }
.via a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }
.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.4rem 0 0.8rem; font-size: clamp(1.4rem, 2.6vw, 1.75rem); scroll-margin-top: 1rem; }
.prose h3 { margin: 1.8rem 0 0.4rem; scroll-margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; padding-left: 0.2rem; }
.prose li::marker { color: var(--coral-deep); font-family: var(--display); font-weight: 700; }
.note { background: var(--mist); border-left: 4px solid var(--teal); padding: 1rem 1.25rem; margin: 1.6rem 0; border-radius: 0 6px 6px 0; }
.note p { margin: 0; }
.glossary .prose h3 { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.glossary .prose h2 + h3 { border-top: 0; padding-top: 0; }
.questions .prose h3 { font-size: 1.25rem; }
.along { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3.5rem; border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.along a { font: 700 1.25rem/1.2 var(--display); color: var(--ink); text-decoration: none; }
.along a:hover { color: var(--plum); }
.along a span { display: block; font: 500 0.9rem var(--display); color: var(--ink-soft); margin-bottom: 0.3rem; }
.along a[rel="next"] { text-align: right; }

/* ---------- Template layer: footer (every page on the site is linked here) ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: clamp(3rem, 7vw, 5rem) 0 0; margin-top: clamp(3.5rem, 8vw, 6rem); font-size: 0.95rem; }
.footer a { color: inherit; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { color: #fff; margin-bottom: 1.1rem; }
.footer-logo:hover { color: var(--aqua); }
.footer-brand p { margin-bottom: 1.25rem; max-width: 20rem; }
.footer-links h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1.1rem; }
.footer-links ul + h3 { margin-top: 1.75rem; }
.footer-links ul, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; line-height: 1.35; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.8rem; }
.footer-contact .ico { color: #fff; margin-top: 0.25rem; }
.footer-contact a:hover { color: #fff; }
.footer-disclaimer { text-align: center; max-width: 52rem; margin: 0 auto 2rem; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.5rem 0; text-align: center; }
.footer-bottom p { margin: 0; }
.footer mark.todo { background: transparent; color: #c9d8ec; outline-color: #6f8fbd; }

@media (max-width: 64rem) {
  .hero-actions-grid, .service-grid, .destination-grid, .destination-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ports-luxury-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-deck-body { grid-template-columns: minmax(0, 1fr); }
  .services-card-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .about-flex { flex-direction: column; align-items: stretch; }
  .about-image { max-width: 26rem; }
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search label { border-right: 0; border-bottom: 1px solid var(--rule); }
  .search button { grid-column: 1 / -1; margin: 0.5rem 0 0; }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .where, .hero-home, .how, .closing, .book-grid { grid-template-columns: minmax(0, 1fr); }
  .how > .img-card, .book-grid .img-card { display: none; }
  .book-side { position: static; }
  .util-inner > span:first-child { display: none; }
  .util-inner { justify-content: center; }
  .cruise { grid-template-columns: 11rem minmax(0, 1fr); }
  .cruise-side { grid-column: 1 / -1; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { position: static; }
  .facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 2rem; }
  .guide-list a { grid-template-columns: minmax(0, 1fr); }
  .guide-list .row-meta { text-align: left; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .hero { min-height: 0; }
  .cta-flex { flex-direction: column; text-align: center; }
  .cta-banner .btn-primary { white-space: normal; }
  .hero-actions-grid { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .search-dock .search { margin-top: -2.5rem; }
  .util-links { gap: 1rem; font-size: 0.8rem; }
  .service-grid, .destination-grid, .destination-grid.three, .about-content .steps { grid-template-columns: minmax(0, 1fr); }
  .ports-luxury-grid { grid-template-columns: minmax(0, 1fr); }
  .chart-deck-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .chart-deck-body { padding: 1.25rem; gap: 1.5rem; }
  .ports-filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
  .port-filter-btn { flex-shrink: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand span { font-size: 1.25rem; }
  body { font-size: 1rem; }
  .route-grid, .steps, .qa, .fields { grid-template-columns: minmax(0, 1fr); }
  .ports-list li { grid-template-columns: 4.5rem minmax(0, 1fr); padding-bottom: 0.9rem; }
  .ports-list .season { grid-column: 2; }
  .cruise > .img-card { min-height: 0; aspect-ratio: 16 / 9 !important; }
  .cruise > .img-empty { border-width: 0 0 2px; }
  .ports-list a { grid-template-columns: minmax(0, 1fr); padding-bottom: 0.6rem; }
  .cruise { grid-template-columns: minmax(0, 1fr); }
  .cruise-side { grid-column: auto; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .site-head nav, .nav-toggle, .footer, .along, .skip, .search { display: none; }
  .top { background: #fff; color: #000; }
}
