:root {
  --deep: #003366;
  --wave: #0a4277;
  --navy: #000080;
  --link: #0033cc;
  --seen: #551a8b;
  --panel: #e3eefa;
  --stripe: #e6f0ff;
  --red: #cc0000;
  --cream: #ffff99;
  --frame: #99b3d9;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--deep);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 14px 6px 44px;
  font: 1rem/1.5 Arial, Helvetica, sans-serif;
  color: #000;
  background-color: var(--deep);
  background-image:
    radial-gradient(circle at 50% 0, transparent 0 10px, var(--wave) 10px 12px, transparent 12px),
    radial-gradient(circle at 0 100%, transparent 0 10px, var(--wave) 10px 12px, transparent 12px),
    radial-gradient(circle at 100% 100%, transparent 0 10px, var(--wave) 10px 12px, transparent 12px);
  background-size: 32px 16px;
}

body.bar-open {
  padding-bottom: 170px;
}

html:has(body.bar-open) {
  scroll-padding-bottom: 190px;
}

a {
  color: var(--link);
}

a:visited {
  color: var(--seen);
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #ffcc00;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cream);
  color: #000;
  padding: 8px 12px;
  z-index: 30;
}

.skip:focus {
  left: 6px;
}

.page {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 4px solid var(--navy);
  box-shadow: 0 0 0 3px #fff, 0 8px 22px rgba(0, 0, 0, 0.55);
}

.top {
  position: relative;
  background: var(--deep);
  border-bottom: 4px double var(--navy);
}

.top img {
  display: block;
  width: 100%;
  height: clamp(124px, 29.3vw, 234px);
  object-fit: cover;
  object-position: 50% 60%;
}

.brand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  text-align: center;
  font-family: "Arial Black", "Arial Bold", Gadget, sans-serif;
  font-weight: 900;
  font-size: clamp(1.6875rem, 7vw, 3.375rem);
  line-height: 1;
  color: #fff;
  text-decoration: none;
  text-shadow: 2px 0 var(--navy), -2px 0 var(--navy), 0 2px var(--navy), 0 -2px var(--navy), 2px 2px var(--navy), -2px -2px var(--navy), 2px -2px var(--navy), -2px 2px var(--navy), 0 5px 8px rgba(0, 0, 0, 0.6);
}

.brand:visited,
.brand:hover {
  color: #fff;
}

.tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 3px 8px;
  text-align: center;
  font: italic bold 0.875rem/1.3 Arial, Helvetica, sans-serif;
  color: #fff;
  background: rgba(0, 0, 80, 0.82);
}

.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.menu {
  padding: 12px 10px;
  background: var(--panel);
  border-bottom: 3px double var(--navy);
}

.menu ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 10px;
  font: bold 0.875rem/1.2 Arial, Helvetica, sans-serif;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 0 #002a66;
  background: linear-gradient(#1a6fd6, #0a52b4);
  border: 2px outset #7fb8ff;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 #8cc4ff, 1px 2px 0 #002a66;
}

.menu a:visited {
  color: #fff;
}

.menu a::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: conic-gradient(#cc0000 0 25%, #fff 0 50%, #cc0000 0 75%, #fff 0);
  -webkit-mask: radial-gradient(circle, transparent 0 4px, #000 5px);
  mask: radial-gradient(circle, transparent 0 4px, #000 5px);
}

.menu a:hover {
  color: #fff;
  background: linear-gradient(#0a52b4, #1a6fd6);
}

.menu a.here,
.menu a[aria-current] {
  color: var(--navy);
  text-shadow: none;
  background: linear-gradient(#ffe680, #f0b800);
  border-color: #fff2b3;
  box-shadow: inset 0 1px 0 #fff8d6, 1px 2px 0 #7a5c00;
}

.side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 12px 10px 16px;
  background: var(--panel);
  border-top: 3px double var(--navy);
}

.side h2 {
  margin: 0;
  padding: 4px 8px;
  font: bold 0.875rem/1.4 Arial, Helvetica, sans-serif;
  color: #fff;
  text-align: left;
  background: var(--navy);
  border: 0;
}

.box {
  overflow-wrap: anywhere;
  background: #fff;
  border: 3px solid var(--navy);
  font-size: 0.875rem;
}

.box > *:not(h2) {
  margin-left: 8px;
  margin-right: 8px;
}

.news dl {
  margin: 8px;
}

.news dt {
  font-weight: bold;
  color: var(--red);
}

.news dd {
  margin: 0 0 10px;
}

.call p {
  margin-top: 8px;
  margin-bottom: 8px;
}

.call a[href^="tel"] {
  white-space: nowrap;
}

main {
  min-width: 0;
  padding: 16px 14px 24px;
}

main::after {
  content: "";
  display: block;
  clear: both;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  text-align: center;
  font-family: "Arial Black", "Arial Bold", Gadget, sans-serif;
  font-weight: 900;
  font-size: clamp(1.4375rem, 5.5vw, 1.875rem);
  border-bottom: 3px double var(--navy);
}

h2 {
  margin: 26px 0 10px;
  text-align: center;
  font-family: "Arial Black", "Arial Bold", Gadget, sans-serif;
  font-weight: 900;
  font-size: clamp(1.1875rem, 4.6vw, 1.375rem);
  border-bottom: 2px dotted #3399ff;
  padding-bottom: 6px;
}

h3 {
  margin: 20px 0 6px;
  font-size: 1.0625rem;
}

p,
ul,
ol,
dl {
  margin: 0 0 12px;
}

ul {
  list-style: square;
}

li {
  margin-bottom: 4px;
}

hr {
  clear: both;
  height: 3px;
  margin: 22px 0;
  border: 0;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--frame);
}

.lead {
  text-align: center;
  font-size: 1.125rem;
}

.kicker {
  margin: 0 0 2px;
  text-align: center;
  font-weight: bold;
  color: var(--red);
}

.centre {
  text-align: center;
}

.hero {
  display: block;
  width: 100%;
  height: auto;
  border: 4px ridge var(--frame);
}

.photo {
  margin: 6px auto 14px;
  text-align: center;
}

.photo a {
  display: inline-block;
  padding: 3px;
  background: #fff;
  border: 4px ridge var(--frame);
}

.photo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.photo figcaption {
  max-width: 260px;
  margin: 4px auto 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #333;
}

.plan {
  display: block;
  width: 100%;
  height: auto;
  margin: 8px 0;
  border: 3px solid var(--navy);
}

.plan-scroll {
  margin: 8px 0;
  overflow-x: auto;
}

.plan-scroll .plan {
  min-width: 34rem;
  margin: 0;
}

.plan-small {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.cap {
  margin: 0 0 12px;
  text-align: center;
  font-size: 0.8125rem;
  color: #333;
}

.offer {
  margin: 20px 0;
  padding: 12px 14px;
  background: var(--cream);
  border: 3px dashed var(--red);
}

.offer h2 {
  margin: 0 0 8px;
  border: 0;
  padding: 0;
}

.new {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  font: bold 0.8125rem/1.4 Arial, Helvetica, sans-serif;
  color: #fff;
  vertical-align: middle;
  background: var(--red);
  border-radius: 3px;
  transform: rotate(-6deg);
}

.new::after {
  content: "!";
}

.btn {
  display: inline-block;
  min-height: 44px;
  padding: 10px 18px;
  font: bold 0.9375rem/1.3 Arial, Helvetica, sans-serif;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 0 #002a66;
  background: linear-gradient(#1a6fd6, #0a52b4);
  border: 3px outset #7fb8ff;
  border-radius: 8px;
  cursor: pointer;
}

.btn:visited {
  color: #fff;
}

.btn:hover {
  color: #fff;
  background: linear-gradient(#0a52b4, #1a6fd6);
}

.btn.plain {
  color: #000;
  text-shadow: none;
  background: linear-gradient(#fafafa, #d2d2d2);
  border-color: #fff;
}

.btn.plain:hover {
  color: #000;
  background: linear-gradient(#d2d2d2, #fafafa);
}

.cruise {
  display: flow-root;
  padding: 12px 0;
  border-top: 1px solid var(--frame);
}

.cruise h3 {
  margin-top: 0;
}

.cruise .photo {
  float: right;
  margin: 0 0 8px 14px;
}

.table-wrap {
  margin: 12px 0 16px;
  overflow: auto;
  container-type: inline-size;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 4px solid var(--navy);
  font-size: 0.9375rem;
}

caption {
  padding: 6px 4px;
  text-align: left;
  font-weight: bold;
  color: var(--navy);
}

th,
td {
  padding: 7px 9px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #6680b3;
}

thead th {
  color: #fff;
  background: var(--navy);
}

tbody th {
  background: #fff;
}

tbody tr:nth-child(even) {
  background: var(--stripe);
}

tbody tr:nth-child(even) th {
  background: var(--stripe);
}

.timetable {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.875rem;
}

.timetable td:first-child,
.timetable th:first-child {
  white-space: nowrap;
}

.num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@container (width < 540px) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  caption {
    display: block;
    width: 100%;
  }

  tr {
    padding: 4px 0;
    border-bottom: 3px solid var(--navy);
  }

  tbody th,
  td {
    border: 0;
    padding: 3px 9px;
    text-align: left;
    white-space: normal;
  }

  td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: bold;
  }

  .num {
    text-align: left;
  }
}

.note {
  font-size: 0.875rem;
  color: #333;
}

dl.glossary dt {
  margin-top: 12px;
  font-weight: bold;
  color: var(--navy);
}

dl.glossary dd {
  margin: 2px 0 0;
}

.form-box {
  padding: 14px 14px 18px;
  background: #f4f8ff;
  border: 4px groove var(--navy);
}

.form-box h2 {
  margin-top: 0;
}

fieldset {
  min-width: 0;
  margin: 0 0 16px;
  padding: 8px 12px 10px;
  border: 2px groove var(--navy);
}

legend {
  padding: 0 6px;
  font-weight: bold;
  color: var(--navy);
}

.field {
  margin: 0 0 14px;
}

.field label,
.field .label {
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
}

.field .hint {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8125rem;
  color: #333;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  font: inherit;
  color: #000;
  background: #fff;
  border: 2px inset #6680b3;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 6px;
}

.choice input {
  flex: none;
  width: 22px;
  min-height: 22px;
  margin-top: 3px;
}

.choice label {
  margin: 0;
  font-weight: normal;
}

.star {
  color: var(--red);
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid,
[aria-invalid="true"] {
  background: #fff0f0;
  border-color: var(--red);
}

.err {
  margin: 4px 0 0;
  font-weight: bold;
  color: var(--red);
}

.err::before {
  content: "Error: ";
}

.summary {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: #fff0f0;
  border: 3px solid var(--red);
}

.summary-title {
  margin: 0 0 6px;
  font-weight: bold;
  color: var(--red);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.buttons button {
  width: auto;
}

button {
  min-height: 44px;
  padding: 10px 20px;
  font: bold 1rem/1.3 Arial, Helvetica, sans-serif;
  color: #fff;
  text-shadow: 1px 1px 0 #002a66;
  background: linear-gradient(#1a6fd6, #0a52b4);
  border: 3px outset #7fb8ff;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: linear-gradient(#0a52b4, #1a6fd6);
}

button.plain {
  color: #000;
  text-shadow: none;
  background: linear-gradient(#fafafa, #d2d2d2);
  border-color: #fff;
}

button.plain:hover {
  background: linear-gradient(#d2d2d2, #fafafa);
}

.thanks {
  padding: 14px 16px;
  background: var(--cream);
  border: 3px solid var(--navy);
}

.foot {
  padding: 0 14px 18px;
  font-size: 0.875rem;
  background: #fff;
}

.foot p {
  margin-bottom: 8px;
}

.foot-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.foot-menu li {
  margin: 0;
}

.foot-menu li + li::before {
  content: "|";
  margin: 0 8px;
  color: #333;
}

.foot address {
  margin: 0 0 8px;
  font-style: normal;
}

.stamp {
  margin-top: 12px;
  text-align: center;
  font-size: 0.8125rem;
  color: #333;
}

.link-button {
  min-height: 0;
  padding: 0;
  font: inherit;
  color: var(--link);
  text-decoration: underline;
  text-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
}

.link-button:hover {
  color: var(--red);
  background: none;
}

.gate,
.pic-dialog {
  max-width: min(94vw, 1100px);
  padding: 14px;
  color: #000;
  background: #fff;
  border: 6px ridge var(--frame);
}

.gate {
  width: min(94vw, 480px);
  text-align: center;
  background: var(--cream);
  border-color: var(--navy);
}

.gate h2 {
  margin-top: 0;
}

.gate .buttons {
  justify-content: center;
}

.pic-dialog {
  text-align: center;
}

.pic-dialog img {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto 10px;
}

a,
button,
summary {
  touch-action: manipulation;
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(0, 0, 60, 0.78);
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: var(--cream);
  border-top: 4px solid var(--navy);
}

.cookie-bar p {
  max-width: 560px;
  margin: 0;
  font-size: 0.875rem;
}

.cookie-bar .buttons {
  gap: 8px;
}

.lone {
  max-width: 560px;
  margin: 40px auto;
  padding: 20px 22px;
  text-align: center;
  background: #fff;
  border: 4px solid var(--navy);
  box-shadow: 0 0 0 3px #fff;
}

.lone h1 {
  border: 0;
}

@media (min-width: 720px) {
  .cols {
    grid-template-columns: 192px minmax(0, 1fr);
    grid-template-areas:
      "menu main"
      "side main";
    grid-template-rows: auto 1fr;
  }

  .menu {
    grid-area: menu;
    border-bottom: 0;
    border-right: 3px double var(--navy);
  }

  .menu ul {
    grid-template-columns: minmax(0, 1fr);
  }

  main {
    grid-area: main;
    padding: 18px 22px 28px;
  }

  .side {
    grid-area: side;
    align-content: start;
    border-top: 0;
    border-right: 3px double var(--navy);
  }

  .photo.right {
    float: right;
    margin: 4px 0 10px 16px;
  }

  .photo.left {
    float: left;
    margin: 4px 16px 10px 0;
  }
}

@media (max-width: 380px) {
  .menu a {
    gap: 6px;
    padding: 6px 7px;
    font-size: 0.8125rem;
  }

  .cruise .photo {
    float: none;
    margin: 0 auto 8px;
  }
}
