/* 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; }
}
