/* Marina — clarity layer: the original Plus Jakarta Sans + Inter, the original MARINA wordmark,
   sentence-case buttons and calmer labels. Colours and rounded shapes stay as they are. */
:root {
  --serif: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, sans-serif;
  --caps: 700 11.5px/1.3 Inter, system-ui, sans-serif;
}
body {
  line-height: 1.55;
}
h1,
h2,
.sec-h h2,
.hhero h1,
.rhero h1,
.h2o h1,
.ghero h1 {
  font-family: var(--serif) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}
h2,
.sec-h h2 {
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}
h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.32em !important;
  font-size: 20px !important;
}
.foot .logo {
  font-size: 22px !important;
}
.kicker,
.h2o-eye,
.eyebrow,
.lbl,
.loc {
  font: var(--caps) !important;
  letter-spacing: 0.08em !important;
}
.nav a {
  font:
    600 14px Inter,
    system-ui,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.btn,
.pill-btn {
  font:
    600 15px/1 Inter,
    system-ui,
    sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.chip {
  font:
    600 13px Inter,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.qs-int span {
  font:
    600 13px Inter,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.qs-row label span,
.seastrip h3,
.sh-h b,
.fs-sec h3,
.g-h3,
.gline span,
.gfacts dt,
.gc-c,
.seagrid small,
.ss-d small,
.dashl b,
.cmp-h,
.tag {
  letter-spacing: 0.06em !important;
}
.h2o-proof {
  font:
    600 13px Inter,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.more {
  font:
    600 14px Inter,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.rg-n {
  font:
    700 13px Inter,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.mh-cat span {
  font:
    600 11px/1.3 Inter,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.mh-exp {
  font:
    600 13px Inter,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.tabbar a {
  font:
    600 10.5px Inter,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.pl-cur {
  letter-spacing: 0.04em;
}
.card .tt {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.card .pr b {
  font: 800 18px/1.2 var(--serif) !important;
}
.ss-d b,
.seagrid b,
.pl-p b,
.gn,
.pl-tot b,
.gspots b,
.gcard b,
.plancard h3,
.drp-h b,
.dm h4,
.fs-h h2,
.qs-row select,
.qs-row input,
.when-btn {
  font-family: var(--serif) !important;
  font-weight: 700 !important;
}
.qs-row select,
.qs-row input,
.when-btn {
  font-weight: 600 !important;
  font-size: 16px !important;
}
.ghero .lead,
.lead {
  line-height: 1.6;
}
.qs-int span {
  font:
    600 13px Inter,
    sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.f2 {
  border-top: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  padding: 18px !important;
}
/* home: live sea card over the hero (desktop only, fades in) */
.h2o-in {
  position: relative;
}
.h2o-live {
  position: absolute;
  right: 0;
  bottom: 118px;
  width: 248px;
  padding: 14px 16px 12px;
  border-radius: 18px;
  background: rgba(1, 32, 60, 0.58);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.h2o-live.on {
  opacity: 1;
  transform: none;
}
.hl-t {
  margin: 0 0 8px;
  font:
    700 11px Inter,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e9eef4;
}
.hl-t i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3bd58a;
  box-shadow: 0 0 0 0 rgba(59, 213, 138, 0.6);
  animation: hlp 2s infinite;
}
@keyframes hlp {
  70% {
    box-shadow: 0 0 0 8px rgba(59, 213, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 213, 138, 0);
  }
}
.h2o-live ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.h2o-live li a {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.h2o-live li b {
  font-weight: 700;
}
.h2o-live li b.ok {
  color: #7fe3b0;
}
.h2o-live li b.warn {
  color: #f3c979;
}
.h2o-live li b.bad {
  color: #f29a9a;
}
.hl-b {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #c9b27e;
  font:
    600 12.5px Inter,
    sans-serif;
  text-decoration: none;
}
@media (max-width: 1100px) {
  .h2o-live {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .h2o-live {
    transition: none;
  }
  .hl-t i {
    animation: none;
  }
}

/* footer: six columns on desktop, two on tablets, one on phones */
.foot-in {
  grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .foot-in {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .foot-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-in > div:first-child {
    grid-column: 1 / -1;
  }
}

/* live sea card: anchored to the hero, bottom-right, above the search bar */
.h2o {
  position: relative;
}
.h2o-in {
  position: static;
}
.h2o-live {
  top: auto;
  bottom: 110px;
  right: max(32px, calc((100% - 1280px) / 2 + 32px));
}

/* answer & comparison pages */
.art-w {
  max-width: 880px;
}
.art h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin: 6px 0 16px;
}
.art-answer {
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.art-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 0;
}
.art-points li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.art-points b {
  font-size: 17px;
}
.art-points p {
  margin: 4px 0 0;
  color: var(--mute);
}
.art-cmp {
  margin: 8px 0 8px;
}
.art .faq {
  margin-top: 36px;
}
.art-rel {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.art-rel a {
  display: block;
  padding: 8px 0;
  color: var(--ink);
  font-weight: 600;
}
.art-rel a:hover {
  text-decoration: underline;
}

/* footer credit line */
.copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* "opening harbour by harbour" — honest note for guests, invitation for boat owners */
.firsts {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.2s;
}
.firsts:hover {
  border-color: var(--ink);
}
.firsts svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: var(--brass);
  fill: none;
  stroke-width: 2;
}
.firsts em {
  font-style: normal;
  font-weight: 700;
}
.pv-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.pv-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: var(--brass);
  fill: none;
  stroke-width: 2;
  margin-top: 1px;
}
@media (max-width: 640px) {
  .firsts {
    border-radius: 16px;
  }
}
.h2o-under .firsts {
  order: 99;
  align-self: flex-start;
}

/* mobile: keep map pins underneath the sheet and the search bar */
.mh-map {
  isolation: isolate;
  z-index: 0;
}

/* map pins: city pins and cluster bubbles, anchored at the bottom-centre of their point */
.lf-pin {
  width: 0 !important;
  height: 0 !important;
}
.lf-pin > .pin {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(-50%, -6px);
  white-space: nowrap;
}
.pin-cl {
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  box-shadow: 0 6px 18px rgba(1, 32, 60, 0.25);
  cursor: pointer;
  border: 0;
}
.pin-cl b {
  font-size: 13px;
}
.pin-cl span {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 600;
}

/* MapLibre's own stylesheet sets .maplibregl-map { position: relative }, which would collapse the full-screen mobile map to 0 px */
.mh-map.maplibregl-map {
  position: absolute;
  inset: 0;
}

/* ---------- mobile polish ---------- */
/* category buttons: perfect circles that never squash */
.mh-cat i {
  flex: none;
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
  box-sizing: border-box;
}
/* full-screen mobile map: no zoom buttons (pinch to zoom), nothing behind the search bar */
.mh-map .leaflet-control-zoom,
.mh-map .maplibregl-ctrl-top-right {
  display: none;
}
/* buttons on dark heroes stay readable */
.ghero .btn.line,
.hhero .btn.line {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: transparent !important;
}
.ghero .btn.teal,
.hhero .btn.teal {
  background: #fff !important;
  color: var(--deep) !important;
}
.ghero .btn.teal svg,
.hhero .btn.teal svg {
  stroke: var(--deep);
}

/* small phones: header fits on one line (logo, language/currency, List free) */
.lsbtn.m {
  flex: none;
  overflow: visible;
}
@media (max-width: 420px) {
  .top .logo {
    font-size: 16px !important;
    letter-spacing: 0.2em !important;
  }
  .lsbtn.m {
    margin-right: 6px;
  }
  .lsbtn.m .ls-l,
  .lsbtn.m .ls-c {
    padding: 0 7px;
  }
  .m-hostcta {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
@media (max-width: 350px) {
  .lsbtn.m .ls-c {
    display: none;
  }
}

/* mobile sheet fully open: vertical list with full photos (no squashed images) */
.mh-row .card .ph{flex:none}
.mh-sheet[data-state='up'] .mh-row{flex:1 1 auto;min-height:0;flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto;scroll-snap-type:none;gap:14px;padding:4px 16px 24px;overscroll-behavior:contain}
.mh-sheet[data-state='up'] .mh-row .card{flex:none;width:100%}
.mh-sheet[data-state='up'] .mh-row .card .ph{aspect-ratio:16/10}
.mh-more{flex:none}
.mh-sheet:not([data-state='up']) .mh-row .mh-more{display:none}
.mh-grab,.mh-cats,.mh-head{flex:none}
