/* Plus Jakarta Sans (SIL Open Font License), served from this site.
   Variable weight 200-800; latin-ext covers č ć š ž đ and the like. */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Eseker, Murter: boat rental
   Colours -------------------------------------------------------------- */
:root {
  --bg: #ffffff;           /* page background */
  --surface: #ffffff;      /* cards, panels, menus */
  --field: #ffffff;        /* form fields */
  --tint: #f6f5f2;         /* light grey sections */
  --band: #111111;         /* top bar, footer and black sections */
  --text: #1d1d1f;
  --heading: #111111;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --link: #111111;
  --accent: #0d385b;       /* the one accent colour: the navy of the logo */
  --accent-light: #9cc3e6; /* the same blue, lighter, for the black top bar */
  --chip-bg: #f2f1ed;      /* spec chips, menu hover */
  --chip-text: #3a3a3c;
  --media-bg: #ebeae6;     /* behind photos while they load */
  --nav-bg: #ffffff;
  --btn-bg: #1b1b1b;       /* main button */
  --btn-text: #ffffff;
  --btn-hover: #3a3a3a;
  --focus: #6a6a6a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05), 0 2px 10px rgba(0, 0, 0, .04);
  --shadow-lg: 0 18px 44px -16px rgba(0, 0, 0, .22);

  /* Shapes and layout */
  --r: 10px;
  --r-lg: 14px;
  --wrap: 1180px;
  --gutter: 1.25rem;
  --nav-h: 60px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

/* Dark mode. It applies when the visitor picks it with the switch in the top
   bar (data-theme="dark"), or when their device is set to dark and they have
   not picked light. The same values are needed in both places. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0e0f; --surface: #171718; --field: #121213; --tint: #131314; --band: #080808;
    --text: #e9e9eb; --heading: #f5f5f7; --muted: #9b9ba1; --line: rgba(255, 255, 255, .09);
    --link: #f2f2f2; --chip-bg: rgba(255, 255, 255, .06); --chip-text: #d4d4d8;
    --media-bg: #1f1f21; --nav-bg: #0e0e0f;
    --btn-bg: #f2f2f2; --btn-text: #0e0e0f; --btn-hover: #d9d9dc; --focus: #a1a1a6;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5); --shadow-lg: 0 18px 44px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0e0f; --surface: #171718; --field: #121213; --tint: #131314; --band: #080808;
  --text: #e9e9eb; --heading: #f5f5f7; --muted: #9b9ba1; --line: rgba(255, 255, 255, .09);
  --link: #f2f2f2; --chip-bg: rgba(255, 255, 255, .06); --chip-text: #d4d4d8;
  --media-bg: #1f1f21; --nav-bg: #0e0e0f;
  --btn-bg: #f2f2f2; --btn-text: #0e0e0f; --btn-hover: #d9d9dc; --focus: #a1a1a6;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5); --shadow-lg: 0 18px 44px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* On a big monitor the page may use a little more width. */
@media (min-width: 1500px) { :root { --wrap: 1320px; --gutter: 2rem; } }

/* Base ----------------------------------------------------------------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;   /* iOS must not inflate text in landscape */
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  /* clip, not hidden: hidden turns the body into a scroll container in some
     browsers, which stops the sticky header from sticking. */
  overflow-x: hidden;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.h1-sm { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }
.h2-sm { font-size: 1.6rem; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-align: center;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-hover); }
/* On a photo or a black section the main button is always white. */
.hero .btn-primary, .pagehead .btn-primary, .dark .btn-primary { background: #fff; color: #111; }
.hero .btn-primary:hover, .pagehead .btn-primary:hover, .dark .btn-primary:hover { background: #e8e8e8; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { border-color: var(--line); color: var(--heading); background: var(--surface); }
.btn-outline:hover { border-color: var(--muted); }
.btn-sm { padding: .6em 1.15em; font-size: .86rem; }

/* Top bar -------------------------------------------------------------- */
.topbar { background: var(--band); color: rgba(255, 255, 255, .82); font-size: .82rem; letter-spacing: .02em; }
.topbar .wrap { display: flex; align-items: center; gap: .4rem 1.4rem; padding: .45rem 0; min-width: 0; }
.topbar a { display: inline-flex; align-items: center; gap: .4em; min-width: 0; }
.topbar a:hover { color: #fff; }
.top-contact { display: inline-flex; align-items: center; gap: 1.4rem; min-width: 0; }
.top-mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .years { margin-left: auto; color: var(--accent-light); font-weight: 600; white-space: nowrap; }
.langs { display: inline-flex; gap: .15rem; flex: none; }
.lang-btn {
  background: none; border: 1px solid transparent; color: rgba(255, 255, 255, .6);
  font: inherit; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  padding: .3em .6em; border-radius: 100px; cursor: pointer; transition: .2s var(--ease);
}
.lang-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.lang-btn.on { background: var(--accent-light); border-color: var(--accent-light); color: var(--accent); font-weight: 700; }

/* Light and dark switch, next to the languages. It holds a sun and a moon
   and shows the one for the theme currently in use. */
.theme-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 32px; height: 32px; margin-left: .45rem; padding: 0;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px; color: rgba(255, 255, 255, .85); cursor: pointer;
  font-size: .95rem; line-height: 1; transition: .2s var(--ease);
}
.theme-btn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}

.topbar .ic { flex: none; opacity: .75; }
/* Phones: the top bar stays, as one row. The contacts shrink to round icon
   buttons on the left, the languages and the light/dark switch sit on the
   right. The full number and address are also in the menu (.menu-extra). */
.menu-extra { display: none; }
@media (max-width: 820px) {
  .topbar .wrap { flex-wrap: nowrap; gap: .5rem; padding: .4rem 0; }
  .topbar .years, .topbar .t { display: none; }
  .top-contact { gap: .35rem; }
  .top-contact a {
    width: 32px; height: 32px; justify-content: center; border-radius: 100px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  }
  .top-contact a:hover { background: rgba(255, 255, 255, .18); }
  .topbar .ic { opacity: 1; }
  .langs { margin-left: auto; gap: .1rem; }
  .lang-btn { padding: .34em .5em; letter-spacing: .03em; }
  .theme-btn { margin-left: .2rem; }
  .nav ul .menu-extra {
    display: flex; flex-direction: column; gap: .1rem;
    margin-top: .6rem; padding-top: .7rem; border-top: 1px solid var(--line);
  }
  .nav ul .menu-extra a { font-size: .98rem; color: var(--muted); padding: .55em 1em; }
}
@media (max-width: 340px) {
  .top-contact a { width: 30px; height: 30px; }
  .lang-btn { padding: .3em .4em; }
}

/* Navigation ----------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--nav-bg); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 1.1rem; padding: .6rem 0; min-height: var(--nav-h); }
.brand {
  display: flex; align-items: baseline; gap: .55rem; margin-right: auto; white-space: nowrap;
  font-weight: 800; font-size: clamp(1.1rem, 4.4vw, 1.3rem); letter-spacing: -.03em; color: var(--heading);
}
.brand span { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* The logo, navy for light mode and white for dark mode. */
.brand img { display: block; height: 50px; width: auto; }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .brand .logo-dark { display: block; }
}
@media (max-width: 640px) { .brand img { height: 42px; } }
.nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; align-items: center; }
.nav ul a {
  display: block; padding: .55em .9em; border-radius: var(--r); font-size: .94rem; font-weight: 500;
  color: var(--heading); transition: background .2s, color .2s;
}
.nav ul a:hover { background: var(--chip-bg); }
.nav ul a.active { font-weight: 650; text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 2px; }
.nav-book { margin-left: .5rem; }
/* The "Send an enquiry" item inside the menu is for the phone menu only;
   on a wide screen the separate button next to the menu does that job. */
.nav ul .btn-book { display: none; }
.burger {
  display: none; position: relative; width: 44px; height: 44px; flex: none; padding: 0;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); cursor: pointer;
}
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--heading); border-radius: 2px; transition: .3s var(--ease); }
.burger i:nth-child(1) { top: 15px; }
.burger i:nth-child(2) { top: 21px; }
.burger i:nth-child(3) { top: 27px; }
.burger.open i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav ul {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--surface); padding: .8rem var(--gutter) 1.4rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    /* a long menu on a short phone scrolls instead of running off the screen */
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
    /* visibility keeps the closed menu out of the tab order */
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav ul.open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .nav ul a { padding: .8em 1em; font-size: 1.05rem; }
  /* ".nav ul a" would otherwise give the button the normal link colours */
  .nav ul a.btn-book, .nav ul a.btn-book:hover { display: flex; margin: .7rem 0 0; background: var(--btn-bg); color: var(--btn-text); }
  .nav .nav-book { display: none; }
  /* the open menu covers the page, so the page must not scroll under it */
  body.menu-open { overflow: hidden; }
}

/* Hero (home page) ----------------------------------------------------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Banner slideshow: photos sit on top of each other and fade in turn. */
.hero-media img.slide { position: absolute; inset: 0; }
img.slide { opacity: 0; transition: opacity 1.4s ease; }
img.slide.on { opacity: 1; }
/* darkens the photo so the white text stays readable */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 42%, rgba(0, 0, 0, .7) 100%);
}
.hero .wrap { padding: clamp(2.5rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero-inner { max-width: 50rem; }
/* A little smaller than other h1s so the headline fits on two lines. */
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero .lede {
  font-size: clamp(1rem, 1.7vw, 1.2rem); font-weight: 500; color: #fff; max-width: 40rem;
  /* a soft shadow keeps it readable over light parts of the photos */
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .35);
}
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
@media (max-width: 560px) {
  .hero-cta .btn { flex: 1 1 12rem; }
}
/* On wide screens the banner is a 3:1 strip (at most 640px tall), so photos
   cropped to 3:1 show whole; the text stays centred in it. */
@media (min-width: 900px) {
  .hero { display: grid; align-content: center; min-height: min(33.4vw, 640px); }
}
/* Phones and tablets: one fixed banner height, roomy enough for the longest
   language, so HR, EN, DE and IT pages all look the same whatever wraps. */
@media (max-width: 899px) {
  .hero { display: grid; align-content: center; min-height: 450px; }
  .pagehead { display: grid; align-content: center; min-height: 250px; }
}
@media (max-width: 359px) { .hero { min-height: 480px; } }

/* Page header (inner pages) -------------------------------------------- */
.pagehead { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: #111; }
.pagehead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pagehead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .75)); }
.pagehead .wrap { padding: clamp(2.5rem, 9vw, 6rem) 0 clamp(2rem, 6vw, 4rem); }
@media (min-width: 900px) {
  .pagehead { display: grid; align-content: center; min-height: min(25vw, 480px); }
}
.pagehead p {
  color: #fff; font-weight: 500; max-width: 42rem; margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .35);
}
.back-link { margin-bottom: 1.4rem; }

/* Boat pages: no banner, the boat itself is the first thing on screen. */
.boathead .wrap { padding: clamp(1.1rem, 3vw, 1.8rem) 0 0; }
.boathead h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: .35rem 0 .2rem; }
.boathead p { color: var(--muted); font-weight: 500; margin: 0; }
.back-text { display: inline-block; color: var(--muted); font-size: .92rem; font-weight: 500; text-decoration: none; padding: .3rem 0; }
.back-text:hover { color: var(--text); text-decoration: underline; }
section.boat-sec { padding-top: clamp(1rem, 2.5vw, 1.6rem); }

/* Sections ------------------------------------------------------------- */
section { padding: clamp(2.75rem, 8vw, 6.5rem) 0; }
.sec-head { max-width: 42rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.sec-head p { color: var(--muted); font-size: 1.04rem; margin: 0; }
.sec-head .price-note { font-size: .88rem; margin-top: .4rem; }
.tint { background: var(--tint); }
.dark { background: var(--band); color: #fff; }
.dark .sec-head p, .dark .muted { color: rgba(255, 255, 255, .72); }

/* Call-to-action strip at the bottom of a page */
.band { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band-wrap { display: flex; gap: 1.6rem 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band-text { max-width: 36rem; }
.band-text h2 { margin-bottom: .4rem; }
.band-text p { margin: 0; }
.band .hero-cta { margin: 0; }

/* Fleet filters and sorting -------------------------------------------- */
.toolbar {
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 1.8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line);
}
.chip {
  padding: .5em 1.05em; border-radius: 100px; border: 1px solid var(--line); background: var(--surface);
  font-size: .87rem; font-weight: 550; color: var(--heading); cursor: pointer;
  white-space: nowrap; transition: .2s var(--ease);
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }
.toolbar .count { margin-left: auto; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.toolbar select {
  padding: .55em 1em; border-radius: 100px; border: 1px solid var(--line); max-width: 100%;
  background: var(--surface); font: inherit; font-size: .87rem; color: var(--heading); cursor: pointer;
}
/* On a wide screen the chips are simply part of the toolbar row. */
.filters { display: contents; }
/* On a phone the chips become one row you swipe sideways,
   with the sorting on its own line underneath. */
@media (max-width: 760px) {
  .toolbar { gap: .7rem .6rem; }
  .filters {
    flex: 1 0 100%; display: flex; gap: .5rem; min-width: 0;
    overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .2rem; scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters .chip { scroll-snap-align: start; }
  /* both may shrink, so a long German label never widens the page */
  .toolbar select { flex: 1 1 10rem; min-width: 0; }
  .toolbar .count { min-width: 0; }
}
.fleet-empty { padding: 2.5rem 0; color: var(--muted); }

/* Heading between our own boats and the partner boats */
.group-head { margin: 0 0 1.5rem; }
.groups .grid + .group-head { margin-top: 3.4rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.group-head h3 { font-size: 1.3rem; letter-spacing: -.01em; margin: 0; }
.group-head p { margin: .45rem 0 0; color: var(--muted); font-size: .93rem; max-width: 46rem; }

/* Cards ---------------------------------------------------------------- */
/* One card per row on a phone, two on a tablet, three on a computer. */
.grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; } }

.card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--media-bg); }
.card-media.square { aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-price {
  position: absolute; right: .85rem; bottom: .85rem; z-index: 2;
  padding: .45em .95em; border-radius: 100px; white-space: nowrap;
  font-weight: 700; font-size: .95rem; background: var(--surface); color: var(--heading);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.card-price small { font-weight: 500; color: var(--muted); font-size: .74rem; }
.card-body { padding: 1.25rem 1.35rem 1.45rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .7rem; }
.card-body .excerpt { font-size: .93rem; color: var(--muted); margin-bottom: 1.2rem; }
.card-body .go { margin-top: auto; font-weight: 650; font-size: .92rem; color: var(--link); display: inline-flex; gap: .45em; }
.go .arrow { transition: transform .3s var(--ease); }
.card:hover .go .arrow { transform: translateX(4px); }
.zoom { cursor: zoom-in; }

/* "New" and "Partner boat" labels. A boat can have both, so they stack. */
.badges {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
}
.badges-row { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 1rem; }
.badge {
  padding: .38em .85em; border-radius: 100px; white-space: nowrap;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  background: var(--accent); color: #fff;
}
.badge-alt { background: #1b1b1b; color: #fff; }

/* Boat specs as small grey chips */
.specs { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.specs li {
  padding: .32em .7em; border-radius: 8px; background: var(--chip-bg);
  font-size: .8rem; font-weight: 550; color: var(--chip-text);
}

/* Photo gallery: two across on a phone */
.gal { grid-template-columns: repeat(auto-fill, minmax(min(210px, 46%), 1fr)); gap: .8rem; }
@media (min-width: 700px) { .gal { gap: 1.5rem; } }

/* "Good to know" points -------------------------------------------------- */
.features { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.feature { padding: 1.6rem; border-radius: var(--r); background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .1); }
.feature h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.feature p { font-size: .92rem; color: rgba(255, 255, 255, .7); margin: 0; }
/* The boxes share row tracks, so the paragraphs line up even when one title wraps. */
@supports (grid-template-rows: subgrid) {
  .feature { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
}
/* Two per row on a tablet, all four in a row on a computer. */
@media (min-width: 620px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* Photo and text side by side ------------------------------------------ */
.split { display: grid; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--muted); }
.prose h2 + p { font-size: 1.05rem; }
.order1 { order: 1; }
.order2 { order: 2; }
@media (max-width: 860px) { .order1, .order2 { order: 0; } }
.extra-price { font-size: 1.6rem; color: var(--heading); }

/* Boat page ------------------------------------------------------------ */
.detail { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); grid-template-columns: 1.35fr .85fr; align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
.detail > * { min-width: 0; }
.shot { border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; background: var(--media-bg); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(96px, 30%), 1fr)); gap: .6rem; margin-top: .9rem; }
/* height: auto is needed: with width and height set on the tag the browser
   would ignore aspect-ratio and stretch the thumbnails. */
.thumbs img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 8px; cursor: pointer; opacity: .75; transition: opacity .2s;
}
.thumbs img:hover, .thumbs img.on { opacity: 1; }
.boat-about { margin-top: 2.2rem; }
.boat-about h2 { font-size: 1.5rem; }
.panel {
  position: sticky; top: calc(var(--nav-h) + 16px); padding: 1.75rem; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .panel { position: static; } }
.panel .price { font-size: clamp(2rem, 7vw, 2.5rem); font-weight: 750; letter-spacing: -.035em; color: var(--heading); }
.panel .price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.panel dl { margin: 1.4rem 0; display: grid; gap: .1rem; }
.panel dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; font-weight: 600; text-align: right; }
.panel .btn { width: 100%; }
.panel .note { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }
.panel .price + .note { margin-top: -.4rem; }

/* Lightbox (full-screen photos) ---------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10, 10, 10, .95);
  display: none; place-items: center; padding: 1.5rem;
}
.lightbox.open { display: grid; }
/* Every photo opens in the same 4:3 frame, the shape all the photos are cut
   to, so each one shows at exactly the same size. One that isn't quite 4:3
   is trimmed at the edges to fill it. */
.lightbox img {
  width: min(1200px, 94vw, calc(84vh * 4 / 3)); aspect-ratio: 4 / 3;
  border-radius: 8px; object-fit: cover;
}
.lightbox button {
  position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.3rem; cursor: pointer; transition: .2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .26); }
.lightbox .lb-close { top: 1.4rem; right: 1.4rem; }
.lightbox .lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
/* On a phone the arrows move to a bar under the photo. */
@media (max-width: 640px) {
  .lightbox { padding: .75rem; align-content: center; }
  .lightbox img { width: min(94vw, calc(68vh * 4 / 3)); }
  .lightbox button { width: 52px; height: 52px; }
  .lightbox .lb-close { top: .8rem; right: .8rem; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: none; }
  .lightbox .lb-prev { left: 22%; }
  .lightbox .lb-next { right: 22%; }
}

/* Contact and legal notice --------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: .85fr 1.15fr; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid > * { min-width: 0; }
.info-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.4rem; }
.info-list li > div { min-width: 0; }
.info-list a { overflow-wrap: anywhere; }
.info-list b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 650; }

/* Enquiry form */
form.enquiry { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { form.enquiry { grid-template-columns: 1fr; } }
form.enquiry .full { grid-column: 1 / -1; }
form.enquiry label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: .4rem; color: var(--heading); }
form.enquiry input, form.enquiry textarea, form.enquiry select {
  width: 100%; max-width: 100%; padding: .8em 1em; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--field); color: var(--text); font: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
/* Below 16px iOS Safari zooms in when a field is tapped, and never zooms back out. */
@media (max-width: 900px) {
  form.enquiry input, form.enquiry textarea, form.enquiry select { font-size: 16px; }
}
form.enquiry input:focus, form.enquiry textarea:focus, form.enquiry select:focus {
  outline: 0; border-color: var(--muted); box-shadow: 0 0 0 3px rgba(127, 127, 127, .18);
}
form.enquiry textarea { resize: vertical; min-height: 130px; }
/* "Who drives the boat?": a box like the other fields, split into two
   buttons. The radio inputs stay in the page for keyboards and screen
   readers, but only the labels around them are seen. */
form.enquiry fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
form.enquiry legend { padding: 0; margin-bottom: .4rem; font-size: .84rem; font-weight: 600; color: var(--heading); }
.switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--field);
}
form.enquiry .switch label {
  display: flex; align-items: center; justify-content: center; margin: 0; padding: .6em .8em;
  border-radius: 7px; text-align: center; cursor: pointer;
  font-size: .95rem; font-weight: 500; color: var(--muted); transition: background .2s, color .2s;
}
form.enquiry .switch label:hover { color: var(--heading); }
form.enquiry .switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
form.enquiry .switch label:has(input:checked) { background: var(--btn-bg); color: var(--btn-text); }
form.enquiry .switch label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
/* hidden field that only spam bots fill in */
form.enquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; margin: .9rem 0 0; }
.form-status { margin: .9rem 0 0; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-status:empty { display: none; }
.form-status.busy { color: var(--muted); }
.form-status.ok { color: #2ea36a; }
.form-status.warn { color: #d08a2e; }

/* Date fields. The visible box is plain text, so it reads dd/mm/yyyy in every
   country. A hidden real date input behind the calendar button only opens the
   device's own date picker. */
.date-field { position: relative; }
.date-field input[type="text"] { padding-right: 3rem; }
.date-pick {
  position: absolute; top: 50%; right: .4rem; transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  font-size: 1.05rem; line-height: 1; opacity: .75;
}
.date-pick:hover { opacity: 1; background: var(--chip-bg); }
.date-native {
  position: absolute; right: 1rem; bottom: 0; width: 1px; height: 1px;
  padding: 0; border: 0; opacity: 0; pointer-events: none;
}

/* Google map (loading="lazy" keeps it from loading until it is scrolled to) */
.map-box { margin-top: 2rem; border-radius: var(--r-lg); overflow: hidden; }
.map-box iframe { display: block; width: 100%; height: 300px; border: 0; }

/* Footer --------------------------------------------------------------- */
footer { background: var(--band); color: rgba(255, 255, 255, .74); padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .93rem; }
footer a { overflow-wrap: anywhere; }
footer a:hover { color: #fff; }
footer .badge-25 { width: 150px; height: auto; margin-bottom: 1rem; }
.foot-bottom {
  margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem; display: flex; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap;
}

/* Call and enquiry bar fixed to the bottom of the screen on phones ------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: var(--nav-bg); border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; }
.mobile-cta .btn-outline { flex: 0 0 4.5rem; }
.mcta-call .ic { width: 20px; height: 20px; }
/* The footer gets extra bottom padding so the bar never covers its last line. */
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  footer { padding-bottom: 78px; }
  .foot-bottom { margin-top: 2.2rem; }
}

/* 404 page ------------------------------------------------------------- */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound .wrap { max-width: 30rem; text-align: center; }
.notfound h1 { font-size: 2.6rem; margin: .3rem 0 0; }
.notfound .muted { margin: .6rem 0 1.6rem; }
