/* Buoys of Man-o-War — site styles
   Measurements taken from the Wix site (980px content frame, Oct 2026). */

@font-face { font-family: "Pieces of Eight"; src: url("../fonts/pieces-of-eight.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Jost = stand-in for Brandon Grotesque Light, Nunito Sans = stand-in for Avenir Light */
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --teal: #2a7c6f;
  --teal-hover: #2c8d7e;
  --cream: #fffefc;
  --cream-2: #fffdf8;
  --mint: #bde9e2;
  --mint-80: rgba(189, 233, 226, 0.8);
  --mint-light: #cdf0ea;
  --pirate: "Pieces of Eight", Georgia, serif;
  --brandon: "Jost", "Brandon Grotesque", "Futura", sans-serif;
  --avenir: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--teal); font: 300 16px/30px var(--avenir); letter-spacing: .01em; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
p { margin: 0; }
b, strong { font-weight: 600; }

.frame { width: 980px; max-width: 100%; margin: 0 auto; position: relative; }
.pirate { font-family: var(--pirate); font-weight: 400; }
.brandon { font-family: var(--brandon); font-weight: 300; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--teal); }

/* ---------- Buttons (Wix style: flat teal, cream text, letter-spaced) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 142px; height: 40px; padding: 0 22px;
  background: var(--teal); color: var(--cream); text-decoration: none;
  font: 300 15px/1 var(--avenir); letter-spacing: .1em; border: 0; border-radius: 0; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--teal-hover); color: var(--cream); }
.btn.lg { font-size: 18px; letter-spacing: .1em; }
.center { text-align: center; }

/* ---------- Navigation ---------- */
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.nav a { display: block; font: 400 23px/45px var(--pirate); color: var(--teal); text-decoration: none; padding: 0 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-hover); }
.nav .more { position: relative; }
.nav .more ul { display: none; position: absolute; top: 100%; left: 0; background: var(--cream); flex-direction: column; min-width: 160px; box-shadow: 0 4px 14px rgba(0,0,0,.1); z-index: 30; }
.nav .more:hover ul, .nav .more:focus-within ul { display: flex; }
.nav-toggle { display: none; }

/* Home: nav floats on the hero, items spread out */
.hero .nav { position: absolute; top: 31px; left: 0; right: 0; z-index: 5; }
.hero .nav > ul > li { width: 180px; text-align: center; }
/* Sub-pages: cream bar on top */
.topbar { height: 114px; background: var(--cream); display: flex; align-items: flex-start; justify-content: center; padding-top: 40px; }
.topbar .nav a { line-height: 41px; }

/* ---------- Home hero ---------- */
.hero { position: relative; height: 740px; background: var(--teal) url("../img/hero-man-o-war-bay.jpg") center / cover no-repeat; text-align: center; }
.hero h1 { position: absolute; top: 293px; left: 0; right: 0; font: 400 72px/90px var(--pirate); color: var(--cream); }
.hero .btn { position: absolute; top: 505px; left: 50%; transform: translateX(-50%); }
.hero .tagline { position: absolute; top: 570px; left: 0; right: 0; font: 300 20px/33.4px var(--avenir); color: var(--cream); }
.hero-facts { display: none; }

/* ---------- Sub-page banner (blurred photo, as on Wix) ---------- */
.banner { height: 400px; background: var(--mint) url("../img/banner-pirates-bay.jpg") center / cover no-repeat; }

/* ---------- Home sections ---------- */
.offer { padding: 92px 0 52px; }
.offer .text { min-height: 210px; }
.offer h2, .locations h2, .about h2 { font: 400 40px/54px var(--pirate); text-align: center; }
.offer .text { width: 780px; max-width: 100%; margin: 23px auto 0; }
.text p:empty::before, .text .blank::before { content: "\200b"; }

.photo { width: 100%; height: 575px; object-fit: cover; }

.locations { background: var(--cream); padding: 50px 0 43px; }
.locations .top { background: var(--cream-2); margin: -50px 0 0; padding: 50px 0 65px; }
.locations .text { width: 778px; max-width: 100%; margin: 31px auto 0; text-align: justify; }
.locations .top .btn-wrap { margin-top: 45px; }
.locations .map-img { width: 931px; max-width: 100%; margin: 0 auto; }
.locations .dl { margin-top: 31px; }
.dl .btn { min-width: 255px; }

.about { padding: 38px 0 115px; }
.about .text { width: 780px; max-width: 100%; margin: 38px auto 0; text-align: justify; }

.fees { padding: 80px 0 0; height: 594px; }
.fees h2 { font: 400 38px/51px var(--pirate); text-align: center; }
.fees .cols { display: flex; gap: 139px; margin: 64px 0 0; padding-left: 25px; }
.fees .col { width: 225px; text-align: center; }
.fees .col h3 { font: 300 35px/42px var(--brandon); margin-bottom: 12px; white-space: nowrap; }
.fees .col p { font-size: 16px; line-height: 28.8px; }

.partners-band { background: var(--teal); height: 295px; }
.partners-band .frame { height: 100%; display: flex; align-items: center; }
.partners-band h2 { font: 400 56px/81px var(--pirate); color: var(--cream); width: 266px; padding-left: 25px; }
.partners-band .divider { width: 1px; height: 106px; background: rgba(255, 254, 252, .6); margin: 0 34px 0 33px; }
.partners-band .logos { display: flex; align-items: center; gap: 39px; }
.partners-band .logos figure { margin: 0; text-align: center; }
.partners-band figcaption { font: 400 11px/14px var(--brandon); color: var(--cream); margin-top: 6px; }

.partner-rows { padding: 96px 0 90px; }
.prow { display: flex; align-items: flex-start; gap: 32px; padding: 0 28px 0 43px; }
.prow:nth-child(2) { margin-top: 81px; }
.prow:nth-child(3) { margin-top: 95px; }
.prow:nth-child(4) { margin-top: 86px; }
.prow p { font-size: 16px; line-height: 28px; }
.ptext-590 { width: 590px; max-width: 100%; }
.ptext-657 { width: 657px; max-width: 100%; margin-top: 8px; }
.prow .logo-tha { width: 190px; flex: none; }
.prow .logo-eric { width: 301px; flex: none; margin-left: auto; }
.prow .logo-cpyc { width: 163px; flex: none; }
.prow .shell { width: 196px; flex: none; margin-left: auto; text-align: center; }
.prow .shell figcaption { font: 600 15px/19.5px var(--brandon); margin-top: 6px; }

/* Contact block (home + contact page) */
.contact { position: relative; }
.contact .cols { display: flex; align-items: flex-start; padding: 60px 0 0; }
.contact .info { margin-left: -57px; flex: none; }
form.cform { margin-left: 173px; flex: none; }
.contact .info { width: 460px; text-align: center; font-size: 15px; line-height: 28.125px; }
.contact .info h2 { font: 300 40px/54px var(--brandon); text-transform: uppercase; margin-bottom: 20px; }
.contact .info .gap { height: 20px; }
.contact-page .contact .info h1 { margin-bottom: 29px; }
.contact-page .contact .info h2 { font: 400 40px/45px var(--pirate); text-transform: none; margin-bottom: 29px; }
.contact-page .contact .cols { padding-top: 60px; }

form.cform { width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 10px; }
.cform .full { grid-column: 1 / -1; }
.cform label { display: block; font: 300 15px/15px var(--avenir); padding-left: 5px; margin-bottom: 2px; }
.cform input, .cform textarea {
  width: 100%; height: 50px; font: 300 15px var(--avenir); color: var(--teal); background: transparent;
  border: 0; border-bottom: 1px solid var(--teal); padding: 3px 3px 3px 5px; border-radius: 0;
}
.cform textarea { height: 116px; resize: vertical; padding-top: 11px; }
.cform ::placeholder { color: var(--teal); opacity: .75; }
.cform input:focus, .cform textarea:focus { outline: none; border-bottom: 2px solid #174f47; }
.cform button { grid-column: 1 / -1; height: 47px; margin-top: 7px; font-size: 18px; justify-content: center; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; text-align: center; font-size: 18px; line-height: 22px; min-height: 22px; }
.form-status.error { color: #a33a2a; font-size: 15px; }

.place-map { position: relative; height: 470px; margin-top: 16px; background: #e9eef0; }
.place-map #place-map { height: 100%; }
.place-map .dl { position: absolute; top: 25px; left: calc(50% - 490px + 21px); z-index: 500; }
.contact-page .place-map .dl { left: calc(50% - 490px + 50px); top: 30px; }

/* Subscribe */
.subscribe { height: 204px; padding-top: 20px; text-align: center; }
.subscribe h2 { font: 300 29px/40px var(--brandon); }
.subscribe form { display: flex; justify-content: center; margin-top: 20px; position: relative; }
.subscribe input[type=email] { width: 444px; max-width: calc(100% - 73px); height: 56px; border: 2px solid #373b4d; background: var(--cream); padding: 3px 3px 3px 24px; font: 400 14px Georgia, serif; color: #000; border-radius: 0; }
.subscribe .btn { min-width: 73px; width: 73px; height: 56px; padding: 0; font-size: 15px; letter-spacing: .05em; }
.subscribe .form-status { position: absolute; top: 64px; left: 0; right: 0; font-size: 15px; }

/* ---------- Moorings page ---------- */
.construction { padding: 29px 0 0; text-align: center; }
.construction h1 { font: 400 50px/67px var(--pirate); }
.construction .text { width: 782px; max-width: 100%; margin: 24px auto 0; text-align: justify; font-size: 17px; line-height: 28.4px; }
.construction .setup { width: 701px; margin: 51px auto 0; }
.construction .forces { width: 569px; margin: 44px auto 0; }
.identification { padding: 117px 0 0; text-align: center; }
.identification h2 { font: 400 50px/72px var(--pirate); }
.identification .text { width: 658px; max-width: 100%; margin: 16px auto 0; text-align: justify; font-size: 18px; line-height: 32.4px; }
.identification .btn-wrap { margin-top: 14px; }
.panel { width: 648px; max-width: 100%; margin: 18px auto 0; background: var(--mint-80); display: flex; gap: 78px; padding: 20px 35px 20px 19px; text-align: left; }
.panel + .panel { margin-top: 53px; }
.panel img { width: 257px; height: 297px; object-fit: cover; flex: none; }
.panel img.contain { object-fit: contain; }
.panel h3 { font: 300 22px/31px var(--brandon); margin: 15px 0 36px; }
.panel p { font-size: 15px; line-height: 28px; }
.map-section { padding: 70px 0 0; }
.map-section h2 { font: 400 50px/72px var(--pirate); text-align: center; }
.map-section .map-wrap { width: 931px; max-width: 100%; margin: 20px auto 0; }
#mooring-map { height: 560px; border: 1px solid rgba(42,124,111,.3); background: #a9c7e3; }
.map-note { font-size: 14px; line-height: 22px; text-align: center; margin-top: 10px; }

.buoy-icon {
  width: 28px !important; height: 28px !important; margin: -14px 0 0 -14px !important;
  border-radius: 50%; background: #4b1a4b; color: #fff; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center; font: 600 12px var(--avenir);
  box-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.leaflet-popup-content { font: 300 14px/1.5 var(--avenir); color: var(--teal); margin: 12px 16px; }
.leaflet-popup-content b { font: 400 20px var(--pirate); display: block; }

/* ---------- Bookings page ---------- */
.book-intro { padding: 73px 0 0; text-align: center; }
.book-intro h1 { font: 400 50px/56px var(--pirate); }
.book-intro .sub { font-size: 18px; line-height: 32px; margin-top: 31px; text-transform: uppercase; }
.book-intro .lead { font-size: 20px; line-height: 24px; margin-top: 4px; }
.book-intro .btn-wrap { margin-top: 20px; }
.rates-wrap { width: 600px; max-width: 100%; margin: 33px auto 0; padding: 18px; background: var(--mint-light); border-top: 3px solid var(--teal); }
.rates-table { width: 100%; border-collapse: collapse; color: var(--teal); font: 400 15px/1.4 var(--avenir); }
.rates-table caption { margin-bottom: 10px; font: 400 25px/1.2 var(--pirate); }
.rates-table th, .rates-table td { padding: 9px 6px; border-bottom: 1px solid rgba(42,124,111,.25); text-align: center; }
.rates-table th:first-child { text-align: left; }
.rates-note { margin-top: 12px; font-size: 14px; line-height: 21px; }
.schedule { background: var(--mint-light); margin-top: 28px; padding: 73px 0 60px; }
.schedule h2 { font: 400 50px/56px var(--pirate); text-align: center; }
.schedule .text { width: 604px; max-width: 100%; margin: 31px auto 0; font-size: 18px; line-height: 31.5px; }
.schedule ul { margin: 0; padding-left: 32px; }
.checks { padding: 99px 0 0; }
.checks h2 { font: 400 50px/56px var(--pirate); margin-left: 181px; }
.checks table { margin: 32px 0 0 181px; border-collapse: collapse; }
.checks td, .checks th { padding: 0; height: 45px; vertical-align: top; text-align: left; }
.checks td:first-child, .checks th:first-child { width: 175px; font-size: 20px; line-height: 24px; font-weight: 300; }
.checks td:last-child, .checks th:last-child { font-size: 16px; line-height: 24px; }
.checks th:last-child { font-weight: 600; }
.terms { background: var(--mint-80); margin-top: 24px; padding: 42px 0 66px; }
.terms h2 { font: 400 50px/56px var(--pirate); margin-left: 193px; }
.terms .text { width: 586px; margin: 68px 0 0 192px; font-size: 18px; line-height: 30.2px; }

/* ---------- Footer (sub-pages + home) ---------- */
footer.site-footer { text-align: center; font-size: 15px; line-height: 28px; padding: 50px 20px 18px; }
main:has(.subscribe) + footer.site-footer { padding-top: 0; }
footer.site-footer .copy { font-size: 14px; line-height: 25px; margin-top: 19px; }
footer.site-footer .br-line { font-size: 14px; line-height: 22px; margin-top: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Phones / small screens ---------- */
@media (max-width: 1000px) {
  .frame { padding: 0 16px; }
  .fees { height: auto; padding-bottom: 60px; }
  .fees .cols { flex-direction: column; align-items: center; gap: 40px; padding-left: 0; }
  .contact .info { margin-left: 0; }
  form.cform { margin-left: 30px; }
  .prow { padding: 0; }
  .checks h2, .terms h2 { margin-left: 0; text-align: center; }
  .checks table { margin: 32px auto 0; }
  .terms .text { margin: 30px auto 0; width: auto; max-width: 586px; }
  .place-map .dl, .contact-page .place-map .dl { left: 16px; }
}
@media (max-width: 760px) {
  body { line-height: 28px; }
  .nav-toggle { display: block; position: absolute; top: 14px; right: 16px; z-index: 10; background: var(--cream); color: var(--teal); border: 1px solid var(--teal); font: 400 14px var(--avenir); padding: 8px 14px; cursor: pointer; }
  .nav > ul { display: none; position: absolute; top: 56px; right: 16px; flex-direction: column; background: var(--cream); padding: 10px 20px; box-shadow: 0 6px 20px rgba(0,0,0,.15); z-index: 20; }
  .nav.open > ul { display: flex; }
  .hero .nav > ul > li { width: auto; text-align: left; }
  .nav .more ul { position: static; display: flex; box-shadow: none; }
  .nav .more > a { display: none; }
  .topbar { height: 64px; padding: 0; position: relative; }
  .hero { height: 560px; }
  .hero h1 { top: 150px; font-size: 40px; line-height: 50px; padding: 0 16px; }
  .hero .btn { top: 270px; }
  .hero .tagline { top: 330px; font-size: 17px; line-height: 27px; padding: 0 16px; }
  .hero { height: min(72svh, 560px); min-height: 440px; background-position: center 45%; }
  .hero h1 { top: 22%; font-size: clamp(36px, 10vw, 44px); line-height: 1.12; }
  .hero .btn { top: 50%; min-width: 170px; height: 48px; }
  .hero .tagline { top: calc(50% + 62px); font-size: 16px; line-height: 24px; }
  .hero-facts { display: block; position: absolute; top: calc(50% + 145px); left: 0; right: 0; padding: 0 16px; color: var(--cream); font: 600 16px/24px var(--avenir); }
  .banner { height: 220px; }
  .photo { height: 300px; }
  .offer { padding: 50px 0 30px; }
  .offer h2, .locations h2, .about h2, .fees h2 { font-size: 32px; line-height: 42px; }
  .about { padding: 40px 0 50px; }
  .partners-band { height: auto; padding: 30px 0; }
  .partners-band .frame { flex-direction: column; }
  .partners-band h2 { width: auto; padding: 0; }
  .partners-band .divider { display: none; }
  .partners-band .logos { flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 12px; }
  .partners-band .logos img { height: 70px; width: auto; }
  .partner-rows { padding: 50px 0; }
  .prow, .prow.rev { flex-direction: column; align-items: center; gap: 18px; }
  .prow.rev > :first-child { order: 2; }
  .prow .logo-eric, .prow .shell { margin-left: 0; }
  .prow .logo-eric { width: 240px; }
  .contact .cols { flex-direction: column; align-items: center; gap: 40px; padding: 40px 16px 0; }
  .contact .info, form.cform, .contact-page .contact .info { width: 100%; max-width: 460px; margin-left: 0; }
  .construction h1, .identification h2, .map-section h2, .book-intro h1, .schedule h2, .checks h2, .terms h2, .services h1 { font-size: 36px; line-height: 46px; }
  .panel { flex-direction: column; gap: 10px; align-items: center; padding: 20px; }
  .panel h3 { margin: 0 0 10px; }
  #mooring-map { height: 440px; }
  .checks td:first-child, .checks th:first-child { width: 120px; font-size: 16px; }

  .hero .tagline br, .hero h1 br.d { display: none; }
  .text, .locations .text, .about .text, .construction .text, .identification .text, .services .text, .terms .text { text-align: left !important; hyphens: manual; }
  .place-map .dl, .contact-page .place-map .dl { left: 56px; top: 12px; }
  .place-map .dl .btn { min-width: 0; font-size: 15px; height: 36px; padding: 0 14px; }
  .subscribe { height: auto; padding: 30px 16px 40px; }
  .subscribe .form-status { position: static; margin-top: 8px; }
  .subscribe form { flex-wrap: wrap; }
  .locations .map-img { width: 100%; }
  .construction .setup, .construction .forces, .rates-wrap, .services .svc-img { width: 100%; }
  .rates-wrap { padding: 12px 8px; overflow-x: auto; }
  .rates-table { min-width: 490px; font-size: 14px; }
  .rates-note { text-align: left; }
  .panel img { width: 100%; max-width: 257px; }
  footer.site-footer { padding-top: 24px; }
  .identification { padding-top: 60px; }
  .construction .setup, .construction .forces { margin-top: 30px; }
  .checks { padding-top: 60px; }
  .checks table { width: 100%; margin: 24px 0 0; table-layout: fixed; }
  .checks td, .checks th { height: auto; padding: 9px 6px; vertical-align: top; }
  .checks td:first-child, .checks th:first-child { width: 96px; font-size: 14px; line-height: 20px; }
  .checks td:last-child, .checks th:last-child { font-size: 15px; line-height: 21px; }
  .checks tbody tr + tr { border-top: 1px solid rgba(42,124,111,.18); }
  .place-map { height: 320px; }
  .map-section { padding-top: 50px; }
}

/* ---- Review fixes (Claude, 30 Oct 2026) ---- */
/* Small text on mint backgrounds: darker teal for WCAG AA contrast (teal on mint was ~4:1) */
.panel, .schedule, .terms, .rates-wrap, .rates-table { color: #1f6b60; }
.panel h3, .schedule h2, .terms h2, .rates-table caption { color: #1f6b60; }
/* Medium screens (tablets, landscape phones): the Wix layout lets the form stick out past the 980px frame */
@media (max-width: 1120px) {
  .contact .info { margin-left: 0; }
  form.cform { margin-left: auto; margin-right: 0; }
  .contact .cols { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 1000px) {
  .partners-band { height: auto; padding: 30px 0; }
  .partners-band .frame { flex-wrap: wrap; justify-content: center; }
  .partners-band .logos { flex-wrap: wrap; justify-content: center; gap: 24px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .contact .info, form.cform { width: calc(50% - 20px); }
}

/* ---- Fixes 30 Oct 2026 (2) ---- */
/* Same menu position on every page: sub-page menu uses the same spread layout as the home hero */
.topbar { padding-top: 31px; }
.topbar .nav > ul > li { width: 180px; text-align: center; }
.topbar .nav a { line-height: 45px; }
@media (max-width: 760px) { .topbar { padding-top: 0; } .topbar .nav > ul > li { width: auto; text-align: left; } }

/* Peek booking window. Peek's script adds the window at the end of the page without styling it,
   which left ~500px of empty space below the footer. Hidden until Peek adds the "active" class. */
.spinnaker-modal { display: none; }
.spinnaker-modal.active { display: block; position: fixed; inset: 0; z-index: 10000; }
#spinnaker-modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; padding: 56px 12px 12px; }
#spinnaker-modal-content { width: 100%; max-width: 780px; height: 100%; background: #fff; overflow: auto; -webkit-overflow-scrolling: touch; }
#spinnaker-modal-content iframe { width: 100%; border: 0; display: block; }
#spinnaker-modal-close { position: absolute; top: 10px; right: 12px; z-index: 1; color: #fff; background: rgba(0, 0, 0, .45); font: 600 15px/1 var(--avenir); padding: 10px 14px; cursor: pointer; }
#spinnaker-modal-loading { display: none; }

/* ---- Motion (2026-10-30) ---- */
/* Fade between pages (Chrome, Edge, Safari 18+; other browsers just switch instantly) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: ease; }
/* Sections slide in slightly as you scroll (class added by site.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
/* Hero text fades in on load */
.hero h1, .hero .btn, .hero .tagline, .hero-facts { animation: heroIn 1s ease both; }
.hero .btn { animation-delay: .15s; }
.hero .tagline { animation-delay: .3s; }
.hero-facts { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.photo { transition: none; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .hero h1, .hero .btn, .hero .tagline, .hero-facts { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- No focus boxes (Jacob's rule, 30 Oct 2026): never draw a box/outline around a selected field, button or link. ----
   Keyboard users still see where they are: fields get a thicker dark underline, buttons darken, links get underlined. */
*, *:focus, *:focus-visible { outline: none !important; }
input, textarea, select, button { -webkit-tap-highlight-color: transparent; box-shadow: none; }
input:not([type=checkbox]):focus, textarea:focus, select:focus { border-bottom: 2px solid #174f47 !important; }
.subscribe input[type=email]:focus { border: 2px solid #174f47 !important; }
.btn:focus-visible, button:focus-visible { background: #174f47; }
a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; }
.nav a:focus-visible { color: #174f47; text-decoration: underline; }
.cform .updates { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font: 300 15px/22px var(--avenir); padding-left: 5px; margin-top: 4px; cursor: pointer; }
.cform .updates input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); border: 0 !important; flex: none; }

/* ---- Rates graphic: original rope drawing + live text (30 Oct 2026) ---- */
@font-face { font-family: "Delius"; src: url("../fonts/delius-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
.rates-art {
  position: relative; width: 904px; max-width: 100%; margin: 33px auto 0; aspect-ratio: 1896 / 1018;
  background: #88a5cc url("../img/mooring-rates-bg.png") center / 100% 100% no-repeat;
  container-type: inline-size; color: #fff; font-family: "Delius", var(--avenir); letter-spacing: 0;
}
.rates-art .ra { position: absolute; margin: 0; line-height: 1.2; font-size: 3.1cqw; text-align: left; }
.ra-title { left: 26%; width: 50%; top: 18.5%; text-align: center !important; font-size: 3.6cqw !important; }
.ra-len   { left: 2%; width: 21%; top: 26%; text-align: right !important; font-size: 3.3cqw !important; }
.ra-h1    { left: 26.5%; width: 25%; top: 37.5%; text-align: center !important; font-size: 3.4cqw !important; }
.ra-h2    { left: 52.5%; width: 23%; top: 33%; text-align: center !important; font-size: 3.4cqw !important; line-height: 1.05 !important; }
.ra-h3    { left: 77.5%; width: 21%; top: 19%; text-align: center !important; font-size: 3.4cqw !important; }
.ra-h3 small { display: block; font-size: 1.85cqw; line-height: 1.15; margin-top: .3em; }
.ra-sizes { left: 5%; width: 20%; top: 50.5%; line-height: 1.39 !important; font-family: var(--avenir); font-weight: 300; }
.ra-c1    { left: 30%; width: 22%; top: 50.5%; line-height: 1.39 !important; font-family: var(--avenir); font-weight: 300; }
.ra-c2    { left: 55.5%; width: 18%; top: 52%; line-height: 1.39 !important; text-align: center !important; font-family: var(--avenir); font-weight: 300; }
.ra-c3    { left: 77.5%; width: 19%; top: 51.5%; line-height: 1.39 !important; text-align: center !important; font-family: var(--avenir); font-weight: 300; }
.ra-note  { left: 5.4%; width: 90%; top: 82%; font-size: 1.95cqw !important; line-height: 1.33 !important; }
/* screen readers + phones use the simple table */
.rates-simple { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; margin: 0; }
@media (max-width: 600px) {
  .rates-art { display: none; }
  .rates-simple { position: static !important; width: 100%; height: auto; overflow: visible; clip: auto; white-space: normal; margin: 33px auto 0; padding: 12px 8px; }
}

/* ---- Fixes 30 Oct 2026 (3): wider Terms, larger menu, clearer Peek close button ---- */
/* Terms text uses more of the page width (was 586px) */
.terms .text { width: 760px; max-width: 100%; }
@media (max-width: 1000px) { .terms .text { width: auto; max-width: 760px; } }
/* Menu a bit larger so it sits better next to the 50px headings (was 23px) */
.nav a { font-size: 28px; }
@media (max-width: 760px) { .nav a { font-size: 24px; } }
/* Peek window: box centred, Close sits on the box's top-right corner as a clear pill button */
#spinnaker-modal-content { margin: 0 auto; }
#spinnaker-modal-close {
  top: 12px; right: max(12px, calc((100% - 780px) / 2));
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #1f6b60; border-radius: 999px;
  font: 600 16px/1 var(--avenir); letter-spacing: .02em; padding: 9px 18px 9px 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .3); transition: background .2s, color .2s;
}
#spinnaker-modal-close::before { content: "\2715"; font-size: 14px; }
#spinnaker-modal-close:hover { background: #1f6b60; color: #fff; }

/* ---- Fixes 30 Oct 2026 (4): centred sections, wide menu, phone top bar ---- */
/* Centre the sections that were offset to the left (Wix positions) */
.checks h2, .terms h2 { margin-left: 0; text-align: center; }
.checks table { margin: 32px auto 0; }
.terms .text { margin: 40px auto 0; }
.contact .cols { justify-content: center; gap: 60px; }
.contact .info, form.cform { margin-left: 0; margin-right: 0; }
@media (max-width: 1000px) { .contact .cols { gap: 40px; } }

/* Desktop + tablet menu: spread over the middle of the page, size follows the screen width */
.nav a.nav-title { display: none; }
.nav > ul { width: min(1080px, calc(100vw - 48px)); margin: 0 auto; }
.hero .nav > ul > li, .topbar .nav > ul > li { flex: 1; width: auto; text-align: center; }
.nav a { font-size: clamp(28px, 2.8vw, 40px); }
.topbar .nav { width: 100%; }

/* Phones: title bar + ship's-wheel menu button, menu drops down as a card */
@media (max-width: 760px) {
  .nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 12px 0 18px; }
  .hero .nav { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,0)); }
  .topbar { height: 64px; display: block; box-shadow: 0 1px 0 rgba(42,124,111,.15); }
  .nav-title { display: block; font: 400 25px/1 var(--pirate); color: var(--teal); text-decoration: none; white-space: nowrap; padding: 0; }
  .hero .nav-title { color: var(--cream); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
  .nav a.nav-title { display: block; font-size: 25px; line-height: 1; padding: 0; }

  .nav-toggle { position: static; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
    background: var(--cream); color: var(--teal); box-shadow: 0 2px 10px rgba(0,0,0,.18); cursor: pointer; transition: background .3s, color .3s; }
  .nav-toggle .wheel { width: 30px; height: 30px; transition: transform .6s cubic-bezier(.3,1.3,.5,1); }
  .nav.open .nav-toggle { background: var(--teal); color: var(--cream); }
  .nav.open .nav-toggle .wheel { transform: rotate(225deg); }

  .nav > ul { display: flex; flex-direction: column; position: absolute; top: calc(100% + 6px); left: 12px; right: 12px; width: auto; margin: 0;
    padding: 8px 0; background: var(--cream); border-radius: 16px; border-top: 3px solid var(--teal); box-shadow: 0 14px 40px rgba(0,0,0,.22); z-index: 20;
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.97); transform-origin: top right;
    transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s; }
  .nav.open > ul { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .hero .nav > ul > li, .topbar .nav > ul > li, .nav > ul > li { flex: none; width: auto; text-align: center; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
  .nav > ul > li + li { border-top: 1px solid rgba(42,124,111,.14); margin: 0 24px; }
  .nav > ul > li:first-child { margin: 0 24px; }
  .nav.open > ul > li { opacity: 1; transform: none; }
  .nav.open > ul > li:nth-child(1) { transition-delay: .05s; }
  .nav.open > ul > li:nth-child(2) { transition-delay: .1s; }
  .nav.open > ul > li:nth-child(3) { transition-delay: .15s; }
  .nav.open > ul > li:nth-child(4) { transition-delay: .2s; }
  .nav > ul a, .hero .nav > ul a, .topbar .nav > ul a { font-size: 30px; line-height: 58px; padding: 0; }
  .nav > ul a[aria-current="page"] { text-decoration: underline wavy rgba(42,124,111,.55) 1.5px; text-underline-offset: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav > ul, .nav > ul > li, .nav-toggle .wheel { transition: none !important; }
}

/* ---- Phone title bar (5): buoy logo + centred title, wheel button on the right ---- */
@media (max-width: 760px) {
  .nav { justify-content: center; padding: 0 64px; }
  .nav a.nav-title { display: flex; align-items: center; gap: 8px; }
  .nav-logo { width: 30px; height: 35px; flex: none; margin-top: 4px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.18)); }
  .nav-toggle { position: absolute; right: 12px; top: 50%; translate: 0 -50%; }
}
@media (max-width: 380px) {
  .nav { padding: 0 58px 0 52px; }
  .nav a.nav-title { font-size: 21px; gap: 6px; }
  .nav-logo { width: 26px; height: 30px; }
}

/* ---- Phone top bar stays at the top while scrolling (6) ---- */
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .topbar { position: sticky; top: 0; z-index: 50; }
  .hero .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
  /* Home: once you scroll past the top of the photo the bar turns cream like on the other pages */
  .hero .nav.scrolled { background: var(--cream); box-shadow: 0 1px 0 rgba(42,124,111,.15), 0 4px 14px rgba(0,0,0,.08); }
  .hero .nav.scrolled .nav-title { color: var(--teal); text-shadow: none; }
}

/* ---- Phone top bar (7): bigger title + logo, more room at top and right ---- */
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .nav, .topbar { height: 76px; }
  .nav { padding: 8px 64px 0; }
  .nav a.nav-title { font-size: 28px; gap: 8px; }
  .nav-logo { width: 34px; height: 40px; }
  .nav-toggle { width: 44px; height: 44px; right: 16px; top: calc(50% + 4px); }
  .nav-toggle .wheel { width: 29px; height: 29px; }
}
@media (max-width: 420px) {
  .nav { padding: 8px 64px 0 20px; }
  .nav a.nav-title { font-size: 26px; gap: 7px; }
  .nav-logo { width: 32px; height: 37px; }
}
@media (max-width: 385px) {
  .nav { padding: 8px 60px 0 16px; }
  .nav a.nav-title { font-size: 24px; gap: 6px; }
  .nav-logo { width: 29px; height: 34px; }
  .nav-toggle { right: 12px; }
}
@media (max-width: 340px) {
  .nav a.nav-title { font-size: 21px; }
  .nav-logo { width: 25px; height: 30px; }
}

/* ---- No stretched images (8): keep each picture's own proportions on every screen ---- */
.locations .map-img, .construction .setup, .construction .forces { height: auto; }
.partners-band .logos img { width: auto !important; height: auto; max-height: 70px; max-width: 100%; }
@media (max-width: 760px) { .partners-band .logos img { height: 70px; max-width: none; } }

/* ---- Rates on phones (9): three cards in the style of the rope drawing (no sideways scrolling) ---- */
.rates-simple { color: var(--cream-2); }
@media (max-width: 600px) {
  .rates-simple { background: #88a5cc; padding: 22px 16px 18px; margin: 30px auto 0; border-radius: 4px; box-shadow: 0 6px 18px rgba(29,60,90,.18); text-align: left; }
  .rates-simple .rc-title { font: 400 30px/1.15 var(--pirate); color: var(--cream-2); text-align: center; margin: 0 0 6px; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
  .rc-list { display: grid; gap: 0; }
  .rc { padding: 16px 4px 14px; position: relative; }
  .rc::before { content: ""; position: absolute; left: -16px; right: -16px; top: 0; height: 12px; background: url("../img/rope-h.png") repeat-x left center / auto 12px; }
  .rc h3 { font: 400 25px/1.2 var(--pirate); color: var(--cream-2); margin: 4px 0 8px; }
  .rc dl { margin: 0; }
  .rc dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; border-bottom: 1px dashed rgba(255,253,248,.35); }
  .rc dl div:last-child { border-bottom: 0; }
  .rc dt { font: 400 16px/1.4 var(--avenir); color: rgba(255,253,248,.92); }
  .rc dd { margin: 0; font: 600 20px/1.3 var(--avenir); color: #fff; white-space: nowrap; }
  .rc dd small { font: 400 13px var(--avenir); opacity: .85; }
  .rc-note { position: relative; margin: 0; padding-top: 18px; font: 400 14px/1.5 var(--avenir); color: rgba(255,253,248,.95); }
  .rc-note::before { content: ""; position: absolute; left: -16px; right: -16px; top: 0; height: 12px; background: url("../img/rope-h.png") repeat-x left center / auto 12px; }
}

/* ---- Phone bar (10): title + logo centred in the space left of the wheel, so the gap on the left equals the gap to the button ---- */
@media (max-width: 760px) { .nav { padding: 8px 60px 0 0; } }
@media (max-width: 385px) { .nav { padding: 8px 56px 0 0; } }

/* =====================================================================
   Phone layout (11) — one consistent system for all pages, 30 Oct 2026
   20px side margins, left-aligned text edge to edge, one text size,
   same heading style and the same spacing between every section.
   ===================================================================== */
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.65; }
  .frame { padding: 0 20px; }
  main section .frame { text-align: left; }

  /* Equal, tighter spacing for every section */
  .offer, .locations, .about, .fees, .partner-rows, .construction, .identification,
  .book-intro, .schedule, .checks, .terms, .contact, .contact-page .contact { padding: 44px 0 !important; margin: 0 !important; height: auto !important; min-height: 0 !important; }
  .locations .top { margin: 0; padding: 0 0 28px; }
  .offer .text { min-height: 0; }
  .construction, .identification, .book-intro { text-align: left; }
  p.blank { display: none; }

  /* Headings: pirate font, left, with a short teal line underneath */
  main section h1, main section h2:not(.rc-title),
  .contact .info h1, .contact .info h2, .contact-page .contact .info h1, .contact-page .contact .info h2 {
    font: 400 34px/1.12 var(--pirate) !important; text-align: left !important; text-transform: none !important;
    margin: 0 0 22px !important; letter-spacing: .01em; color: #1f6b60;
  }
  main section h1::after, main section h2:not(.rc-title)::after, .contact .info h1::after, .contact .info h2::after {
    content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--teal); margin-top: 10px;
  }
  .partners-band h2 { text-align: center !important; color: var(--cream) !important; margin: 0 auto 10px !important; width: auto; padding: 0; }
  .partners-band h2::after { margin: 10px auto 0; background: var(--cream); }

  /* Body text: one size, full width, left */
  .text, .text p, .prow p, .fees .col p, .panel p, .schedule .text, .terms .text, .construction .text, .identification .text,
  .locations .text, .about .text, .offer .text, .contact .info, .book-intro .lead {
    font-size: 16px !important; line-height: 1.65 !important; width: 100% !important; max-width: none !important;
    margin-left: 0 !important; margin-right: 0 !important; text-align: left !important;
  }
  .text { margin-top: 0 !important; }
  .text p + p, .terms .text p + p { margin-top: 12px; }

  /* Buttons: full width, easy to tap */
  .btn-wrap, .center.btn-wrap, .locations .top .btn-wrap, .identification .btn-wrap, .book-intro .btn-wrap { margin-top: 22px !important; text-align: left; }
  .btn-wrap .btn, .locations .dl .btn { display: flex; width: 100%; height: 50px; justify-content: center; align-items: center; border-radius: 8px; }
  .hero .btn { border-radius: 8px; }

  /* Pictures */
  .photo { height: 240px; }
  .locations .map-img, .construction .setup, .construction .forces { width: 100% !important; border-radius: 10px; margin-top: 22px !important; }
  .locations .dl { margin-top: 16px; }

  /* Bookings intro */
  .book-intro .sub { font-size: 13px; line-height: 1.4; letter-spacing: .1em; margin: -8px 0 6px; }
  .book-intro .lead { margin-top: 0; }
  .rates-simple { border-radius: 12px !important; margin-top: 28px !important; }

  /* "What are your fees used for": cards */
  .fees .cols { flex-direction: column; gap: 14px; margin: 0; padding: 0; align-items: stretch; }
  .fees .col { width: 100%; text-align: left; background: var(--mint-light); border-radius: 12px; padding: 18px 18px 16px; color: #1f6b60; }
  .fees .col h3 { font: 400 23px/1.2 var(--brandon); margin: 0 0 6px; white-space: normal; }

  /* Partner rows: logo on top, text below */
  .partners-band { padding: 36px 0 30px; }
  .prow, .prow.rev { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0; margin: 0 0 32px !important; }
  .prow:last-child { margin-bottom: 0 !important; }
  .prow img, .prow figure { order: -1; margin: 0 !important; width: auto !important; max-width: 70%; max-height: 96px; object-fit: contain; }
  .prow figure img { max-height: 80px; }
  .prow .shell { text-align: left; }

  /* Moorings: info panels as cards */
  .panel { flex-direction: column; gap: 14px; padding: 16px !important; border-radius: 12px; margin-top: 22px !important; width: 100%; }
  .panel + .panel { margin-top: 16px !important; }
  .panel img { width: 100% !important; height: 220px; border-radius: 8px; }
  .panel h3 { font: 400 22px/1.25 var(--brandon); margin: 0 0 6px; }

  /* Schedule + checks + terms */
  .schedule ul { padding-left: 20px; margin-top: 8px; }
  .checks table { width: 100%; margin: 0 !important; }
  .terms .text { margin-top: 0 !important; }

  /* Contact */
  .contact .cols { flex-direction: column; gap: 26px; padding: 0 20px !important; align-items: stretch; }
  .contact .info { width: 100% !important; max-width: none !important; }
  .contact .info .gap { height: 10px; }
  form.cform { width: 100% !important; max-width: none !important; margin: 0 !important; }
  form.cform button { border-radius: 8px; height: 50px; }
  .place-map { height: 300px; margin-top: 0; }
  .place-map .dl, .contact-page .place-map .dl { top: 12px; left: 56px; right: 12px; }
  .place-map .dl .btn { width: auto; border-radius: 8px; }
  .subscribe { height: auto; padding: 40px 20px 8px; text-align: left; }
  .subscribe h2 { font: 400 30px/1.15 var(--pirate); }
  .subscribe form { justify-content: stretch; }
  .subscribe input[type=email] { flex: 1; width: auto; max-width: none; border-radius: 8px 0 0 8px; font-family: var(--avenir); font-size: 16px; }
  .subscribe .btn { border-radius: 0 8px 8px 0; }

  footer.site-footer { padding: 36px 20px 24px; }
}
@media (max-width: 760px) {
  .panel img { max-width: none !important; }
  .checks td:first-child, .checks th:first-child { width: auto !important; white-space: nowrap; padding-right: 14px !important; font-size: 14px !important; }
  .checks td, .checks th { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 760px) { .panel { align-items: stretch; } .panel img:not(.contain) { height: auto; object-fit: initial; } }
@media (max-width: 760px) { .checks table { table-layout: auto; } .checks td:first-child, .checks th:first-child { width: 6.5em !important; min-width: 6.5em; } }

/* ---- Phone layout (12): centred headings + partner logos, justified paragraphs, kmz button, map below the menu ---- */
/* The map (Leaflet) sits in its own layer so the menu and top bar always stay on top of it */
.place-map { z-index: 0; isolation: isolate; }
.topbar, .hero .nav { z-index: 1000; }
@media (max-width: 760px) {
  main section h1, main section h2:not(.rc-title),
  .contact .info h1, .contact .info h2, .contact-page .contact .info h1, .contact-page .contact .info h2, .subscribe h2 { text-align: center !important; }
  main section h1::after, main section h2:not(.rc-title)::after, .contact .info h1::after, .contact .info h2::after { margin-left: auto; margin-right: auto; }
  .book-intro .sub { text-align: center; }

  .text, .text p, .prow p, .fees .col p, .panel p, .schedule .text > p, .terms .text, .terms .text p, .construction .text, .identification .text,
  .locations .text, .about .text, .offer .text, .book-intro .lead {
    text-align: justify !important; hyphens: auto !important; -webkit-hyphens: auto !important;
  }
  .contact .info, .contact .info p { text-align: center !important; }

  .prow, .prow.rev { align-items: center; }
  .prow img, .prow figure { align-self: center; }
  .prow .shell { text-align: center; }
  .prow p, .prow .ptext-590, .prow .ptext-657 { align-self: stretch; }

  /* Moorings page: kmz link becomes the same button as on the home page */
  .panel a[href$=".kmz"] { display: flex; width: 100%; height: 50px; justify-content: center; align-items: center; border-radius: 8px;
    background: var(--teal); color: var(--cream); text-decoration: none; font: 300 15px/1 var(--avenir); letter-spacing: .1em; }
  .panel p:has(> a[href$=".kmz"]) { margin-top: 18px !important; }
}

/* Partner logos link to the partners' websites */
.partner-link { display: inline-block; line-height: 0; transition: transform .2s, opacity .2s; }
.partner-link:hover { transform: translateY(-2px); opacity: .9; }
.prow .partner-link { flex: none; }
@media (max-width: 760px) { .prow .partner-link { order: -1; align-self: center; } .prow .partner-link img { order: 0; } }
.prow .partner-link:has(.logo-eric) { margin-left: auto; } @media (max-width: 760px) { .prow .partner-link:has(.logo-eric) { margin-left: 0; } }

/* =====================================================================
   Desktop + tablet layout (13) — same design language as the phone layout (11/12), 31 Oct 2026
   Pirate headings with a short teal line, one body text size, rounded buttons,
   cards for fees and info panels, rounded pictures, even spacing, top bar stays visible.
   ===================================================================== */
@media (min-width: 761px) {
  html { scroll-padding-top: 100px; }

  /* Top bar stays at the top while scrolling (like on phones) */
  .topbar { position: sticky; top: 0; height: 96px; padding-top: 24px; box-shadow: 0 1px 0 rgba(42,124,111,.12); }
  .hero .nav { position: fixed; top: 0; left: 0; right: 0; padding: 24px 0 16px; transition: background .3s, box-shadow .3s, padding .3s; }
  .hero .nav.scrolled { background: var(--cream); padding: 14px 0 10px; box-shadow: 0 1px 0 rgba(42,124,111,.15), 0 4px 14px rgba(0,0,0,.08); }
  .nav > ul a[aria-current="page"] { text-decoration: underline wavy rgba(42,124,111,.55) 1.5px; text-underline-offset: 10px; }

  /* Hero: same quick facts line as on phones */
  .hero-facts { display: block; position: absolute; top: 652px; left: 0; right: 0; margin: 0; color: var(--cream); font: 600 18px/26px var(--avenir); letter-spacing: .02em; }
  .hero .btn { height: 46px; min-width: 170px; }

  /* Even spacing between sections */
  .offer, .about, .partner-rows, .construction, .identification, .book-intro, .checks { padding: 88px 0 !important; margin: 0 !important; height: auto !important; min-height: 0 !important; }
  .fees { padding: 88px 0 96px !important; height: auto !important; }
  .schedule, .terms { padding: 80px 0 88px !important; margin: 0 !important; }
  .locations { padding: 0 0 88px; }
  .locations .top { margin: 0; padding: 88px 0 56px; }
  .offer .text { min-height: 0; }
  p.blank { display: none; }
  .identification { padding-top: 0 !important; }

  /* Headings: pirate font, centred, short teal line underneath */
  main section h1, main section h2:not(.rc-title):not(.visually-hidden),
  .contact .info h1, .contact .info h2, .contact-page .contact .info h1, .contact-page .contact .info h2 {
    font: 400 clamp(40px, 3.6vw, 50px)/1.15 var(--pirate) !important; text-align: center !important; text-transform: none !important;
    margin: 0 0 34px !important; letter-spacing: .01em; color: #1f6b60;
  }
  main section h1::after, main section h2:not(.rc-title):not(.visually-hidden)::after, .contact .info h1::after, .contact .info h2::after {
    content: ""; display: block; width: 56px; height: 3px; border-radius: 2px; background: var(--teal); margin: 14px auto 0;
  }
  .partners-band h2 { font: 400 56px/81px var(--pirate) !important; color: var(--cream) !important; text-align: left !important; margin: 0 !important; }
  .partners-band h2::after { display: none !important; }
  .subscribe h2 { font: 400 34px/1.2 var(--pirate); color: #1f6b60; }

  /* Body text: one size and line height everywhere, same width, justified like on phones */
  .text, .text p, .prow p, .panel p, .schedule .text, .terms .text, .terms .text p, .construction .text, .identification .text,
  .locations .text, .about .text, .offer .text, .book-intro .lead {
    font-size: 17px !important; line-height: 1.75 !important;
  }
  .offer .text, .locations .text, .about .text, .construction .text, .identification .text, .terms .text {
    width: 760px !important; max-width: 100% !important; margin: 0 auto !important;
    text-align: justify !important; hyphens: auto; -webkit-hyphens: auto;
  }
  .text p + p, .terms .text p + p { margin-top: 12px; }
  .schedule .text { width: 640px; margin: 0 auto !important; }
  .schedule ul { margin-top: 10px; }

  /* Buttons: rounded, a little taller */
  .btn { border-radius: 8px; height: 46px; padding: 0 28px; transition: background .2s, box-shadow .2s; }
  .btn:hover { box-shadow: 0 6px 16px rgba(42,124,111,.25); }
  .btn-wrap, .center.btn-wrap, .locations .top .btn-wrap, .identification .btn-wrap, .book-intro .btn-wrap { margin-top: 32px !important; }
  .dl .btn { min-width: 255px; }

  /* Pictures: rounded corners, a soft shadow */
  .locations .map-img, .construction .setup, .construction .forces { border-radius: 12px; }
  .locations .map-img { box-shadow: 0 8px 28px rgba(31,107,96,.14); }
  .construction .setup { margin-top: 48px; }
  .construction .forces { margin-top: 40px; }
  .rates-art { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 28px rgba(29,60,90,.2); }

  /* Bookings intro */
  .book-intro .sub { font-size: 14px; line-height: 1.4; letter-spacing: .14em; margin: -12px 0 10px; }
  .book-intro .lead { margin-top: 0; }

  /* "What are your fees used for": three cards */
  .fees .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0; padding: 0; }
  .fees .col { width: auto; text-align: left; background: var(--mint-light); border-radius: 14px; padding: 26px 26px 24px; color: #1f6b60; }
  .fees .col h3 { font: 400 28px/1.2 var(--brandon); margin: 0 0 10px; white-space: normal; color: #1f6b60; }
  .fees .col p { font-size: 16px; line-height: 1.7; text-align: left; }

  /* Partner rows: even gaps */
  .prow:nth-child(n) { margin-top: 0; }
  .prow + .prow { margin-top: 72px; }
  .prow { align-items: center; }

  /* Moorings: info panels as rounded cards, kmz link as a button */
  .panel { width: 760px; gap: 40px; padding: 24px !important; border-radius: 14px; margin-top: 32px !important; align-items: center; }
  .panel + .panel { margin-top: 24px !important; }
  .panel img { border-radius: 10px; }
  .panel h3 { font: 400 26px/1.25 var(--brandon); margin: 0 0 10px; }
  .panel p { font-size: 16px !important; line-height: 1.7 !important; }
  .panel a[href$=".kmz"] { display: inline-flex; height: 46px; padding: 0 24px; align-items: center; border-radius: 8px;
    background: var(--teal); color: var(--cream); text-decoration: none; font: 300 15px/1 var(--avenir); letter-spacing: .1em; transition: background .2s, box-shadow .2s; }
  .panel a[href$=".kmz"]:hover { background: var(--teal-hover); box-shadow: 0 6px 16px rgba(42,124,111,.25); }
  .panel p:has(> a[href$=".kmz"]) { margin-top: 18px !important; }

  /* Maintenance checks: tidy table with thin lines, one font size */
  .checks table { width: 760px; max-width: 100%; margin: 0 auto !important; }
  .checks td, .checks th { height: auto; padding: 12px 10px; vertical-align: top; }
  .checks td:first-child, .checks th:first-child { width: 150px; font-size: 16px; line-height: 24px; white-space: nowrap; }
  .checks td:last-child, .checks th:last-child { font-size: 16px; line-height: 24px; }
  .checks thead th { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid rgba(42,124,111,.3); }
  .checks tbody tr + tr { border-top: 1px solid rgba(42,124,111,.16); }

  /* Contact + subscribe */
  .contact .cols { padding-top: 88px; }
  .contact-page .contact .cols { padding-top: 88px; }
  .contact .info { font-size: 16px; line-height: 1.75; }
  form.cform button { border-radius: 8px; height: 50px; }
  .place-map { margin-top: 72px; }
  .subscribe { height: auto; padding: 56px 20px 40px; }
  .subscribe input[type=email] { border: 2px solid var(--teal); border-right: 0; border-radius: 8px 0 0 8px; font: 400 16px var(--avenir); color: #1f6b60; }
  .subscribe .btn { border-radius: 0 8px 8px 0; }
  .subscribe .form-status { position: static; margin-top: 10px; }
  footer.site-footer { padding-top: 40px; }
}

/* ---- Desktop tweaks (14): tighter spacing, menu marker as a short bar ---- */
@media (min-width: 761px) {
  /* Sections closer together; when two cream sections meet, the second one starts closer */
  .offer, .about, .partner-rows, .construction, .book-intro, .checks { padding: 64px 0 !important; }
  .fees { padding: 64px 0 72px !important; }
  .schedule, .terms { padding: 60px 0 64px !important; }
  .locations { padding: 0 0 24px; }
  .locations .top { padding: 64px 0 40px; }
  .about { padding-top: 40px !important; }
  .identification { padding: 8px 0 64px !important; }
  .partner-rows { padding-top: 72px !important; }
  .prow + .prow { margin-top: 56px; }
  main section h1, main section h2:not(.rc-title):not(.visually-hidden),
  .contact .info h1, .contact .info h2, .contact-page .contact .info h1, .contact-page .contact .info h2 { margin-bottom: 26px !important; }
  main section h1::after, main section h2:not(.rc-title):not(.visually-hidden)::after, .contact .info h1::after, .contact .info h2::after { margin-top: 12px; }
  .btn-wrap, .center.btn-wrap, .locations .top .btn-wrap, .identification .btn-wrap, .book-intro .btn-wrap { margin-top: 26px !important; }
  .locations .dl { margin-top: 24px; }
  .construction .setup { margin-top: 36px; }
  .construction .forces { margin-top: 28px; }
  .contact .cols, .contact-page .contact .cols { padding-top: 64px; }
  .place-map { margin-top: 56px; }
  .subscribe { padding: 44px 20px 28px; }
}

/* Current page in the menu: a short rounded bar under the word; other items get it on hover */
.nav > ul a { position: relative; }
.nav > ul a[aria-current="page"] { text-decoration: none !important; }
.nav > ul a::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: 34px; height: 3px; border-radius: 3px;
  background: var(--teal); transform: translateX(-50%) scaleX(0); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.nav > ul a[aria-current="page"]::after { transform: translateX(-50%) scaleX(1); }
.nav > ul a:hover::after { transform: translateX(-50%) scaleX(.6); }
.nav > ul a[aria-current="page"]:hover::after { transform: translateX(-50%) scaleX(1); }
.hero .nav:not(.scrolled) > ul a::after { box-shadow: 0 1px 3px rgba(0,0,0,.2); }
@media (max-width: 760px) { .nav > ul a::after { bottom: 8px; width: 28px; } }
@media (prefers-reduced-motion: reduce) { .nav > ul a::after { transition: none; } }

/* ---- Menu bar (15): longer; hover grows to full length but faint, press/current = solid, so no jump between them ---- */
.nav > ul a::after { width: 48px; opacity: .4; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.nav > ul a:hover::after, .nav > ul a:focus-visible::after { transform: translateX(-50%) scaleX(1); }
.nav > ul a:active::after, .nav > ul a[aria-current="page"]::after { transform: translateX(-50%) scaleX(1); opacity: 1; transition-duration: .35s, .1s; }
@media (max-width: 760px) { .nav > ul a::after { width: 40px; } }

/* ---- Justified text everywhere (16): body paragraphs and list items on every page and screen size ----
   Centred on purpose: hero, contact address, logo captions, bookings intro lines, headings. */
.fees .col p, .prow p, .panel p, .schedule .text, .schedule .text p, .schedule li, .rc-note, .terms .text p,
.offer .text p, .locations .text p, .about .text p, .construction .text p, .identification .text p {
  text-align: justify !important; hyphens: auto; -webkit-hyphens: auto;
}

/* ---- Top bar (17): one compact size everywhere (the scrolled home bar); home bar no longer changes size, only its background fades in ---- */
@media (min-width: 761px) {
  html { scroll-padding-top: 84px; }
  .hero .nav, .hero .nav.scrolled { padding: 14px 0 10px; transition: background .3s, box-shadow .3s; }
  .topbar { height: auto; padding: 14px 0 10px; }
}

/* ---- Newsletter + partner logos (18) ---- */
.subscribe .sub-lead { margin: -14px auto 18px; max-width: 640px; font-size: 16px; line-height: 1.6; text-align: center; }
@media (max-width: 760px) {
  /* Partner logos on phones: a bit bigger, centred in a 2 × 2 grid */
  .partners-band .logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; justify-items: center; align-items: center; width: 100%; max-width: 360px; margin: 14px auto 0; }
  .partners-band .logos > * { margin: 0 auto; }
  .partners-band .logos img { height: 88px !important; max-height: 88px; width: auto !important; max-width: 100%; margin: 0 auto; }
  .partners-band .logos figure img { height: 76px !important; }
  .subscribe .sub-lead { margin: -8px 0 16px; }
  .subscribe input[type=email] { border: 2px solid var(--teal); border-right: 0; color: #1f6b60; }
}

/* ---- Newsletter title (19): long title, so a smaller size than the section headings ---- */
main section.subscribe h2#sub-h { font: 400 32px/1.25 var(--pirate) !important; max-width: 720px; text-wrap: balance; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 760px) { main section.subscribe h2#sub-h { font-size: 25px !important; } }

/* ---- Phone fixes (20, 31 Oct 2026): no zoom on form fields, no grey tap box on links/menu ---- */
/* iPhones zoom into any field with text smaller than 16px, so fields are 16px on touch screens */
@media (max-width: 1000px), (pointer: coarse) {
  input, textarea, select, .cform input, .cform textarea, .subscribe input[type=email] { font-size: 16px !important; }
}
/* No grey/blue box when tapping a link, menu item or the menu button; the menu only shows its underline bar */
a, button, label, .nav-toggle, .nav a { -webkit-tap-highlight-color: transparent; }
.nav a, .nav a:hover, .nav a:active, .nav a:focus, .nav a:focus-visible { background: none !important; box-shadow: none !important; }
/* Title "Buoys of Man-o-War": no box, no underline when hovered or pressed */
.nav a.nav-title, .nav a.nav-title:hover, .nav a.nav-title:active, .nav a.nav-title:focus, .nav a.nav-title:focus-visible { background: none !important; box-shadow: none !important; text-decoration: none !important; -webkit-tap-highlight-color: transparent; }
.nav a.nav-title::after { display: none !important; }

/* ---- Partner logos (21, 31 Oct 2026): centred on phones in every browser ----
   The link spans the full row and the logo's max width is fixed (not a % of the link, which iPhone browsers resolve differently) */
@media (max-width: 760px) {
  .partner-rows .partner-link { display: flex !important; justify-content: center; align-self: stretch !important; width: 100%; margin: 0 !important; }
  .partner-rows .partner-link img { max-width: min(70vw, 260px) !important; margin: 0 auto !important; }
  .partner-rows figure.shell { align-self: stretch !important; width: 100% !important; max-width: none !important; text-align: center; }
}
