:root {
    --navy: #0c1f49;
    --red: #a52320;
    --ink: #303030;
    --muted: #60636b;
    --light: #f5f5f5;
    --line: #e1e2e5;
    --gutter: clamp(18px, 2.4vw, 36px);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
    font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #268ac5;
    outline-offset: 3px;
}
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { line-height: 1.12; margin: 0 0 .65em; letter-spacing: -.027em; }
h1 { font-size: clamp(32px, 4vw, 54px); }
h2 { font-size: clamp(26px, 3vw, 39px); }
h3 { font-size: clamp(19px, 2vw, 25px); }
address { font-style: normal; }
.container { width: min(100%, 1460px); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(35px, 5vw, 74px); }
.centre { text-align: center; }
.skip-link { position: absolute; left: 12px; top: -100px; background: #fff; padding: 8px; z-index: 20; }
.skip-link:focus { top: 12px; }
.contact-bar { background: var(--red); color: #fff; font-size: 13px; }
.bar-inner { min-height: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: 18px; }
.contact-bar a { text-decoration: none; }
.facebook { border-radius: 100%; background: #fff; color: var(--red); text-align: center; width: 15px; height: 15px; font-weight: 750; line-height: 16px; margin-left: 14px; }
.site-header { background: #fff; }
.header-inner { display: flex; min-height: 114px; align-items: center; justify-content: space-between; gap: 22px; }
.logo { width: clamp(143px, 17.7vw, 236px); height: auto; }
.header-inner nav { display: flex; gap: clamp(12px, 2.3vw, 38px); align-items: center; }
.header-inner nav a { text-decoration: none; font-weight: 650; white-space: nowrap; }
.header-inner nav a[aria-current] { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; max-width: 100%; padding: 11px 34px; border-radius: 99px; border: 0; background: var(--red); color: #fff; font-weight: 650; text-decoration: none; text-align: center; }
.button:hover { filter: brightness(.9); }
.button.navy { background: var(--navy); font-weight: 500; }
.button.white { background: #fff; color: var(--navy); }
.menu-toggle, .header-inner nav .mobile-contact { display: none; }
.photo-panel { background-color: var(--navy); background-image: linear-gradient(#07142832,#07142862),var(--photo); background-size: cover; background-position: center; color: #fff; }
.home-hero { min-height: clamp(435px, 51.3vw, 790px); display: flex; align-items: center; }
.home-hero h1, .featured h1 { margin-bottom: .8em; }
.home-hero .button, .footer-callout .button, .service-hero .button { text-transform: uppercase; }
.hero-overline { font-size: clamp(23px, 2.5vw, 32px); margin-bottom: 10px; font-weight: 350; }
.latest-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 29px 0 16px; text-align: left; }
.latest-row .boat-card { scroll-snap-align: start; }
.carousel-controls { display: flex; justify-content: center; gap: 10px; margin-block: 15px 25px; }
.carousel-controls button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); }
.boat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
.boat-card { overflow: hidden; border-radius: 13px; background: var(--light); }
.boat-image { min-height: 55px; position: relative; }
.boat-image img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.boat-copy { padding: 20px; }
.boat-copy h3 { margin-bottom: 7px; }
.boat-copy a { text-decoration: none; }
.boat-copy a:hover, .footer-content a:hover { text-decoration: underline; }
.price { color: var(--red); font-weight: 750; }
.boat-copy .price { margin: 8px 0; font-size: 20px; }
.stock-tag { background: var(--navy); color: #fff; position: absolute; top: 10px; left: 10px; padding: 5px 12px; border-radius: 5px; text-transform: uppercase; font-size: 12px; font-weight: 750; text-decoration: none; }
.stock-tag.inline { position: static; display: inline-block; }
.mini-specs { display: flex; flex-wrap: wrap; font-size: 13px; gap: 6px 12px; padding-block: 5px 14px; }
.mini-specs small { display: block; color: var(--muted); font-size: 11px; }
.read-more { color: var(--red); font-weight: 650; }
.services-home { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.services-home section { display: flex; min-height: 275px; align-items: end; padding: clamp(25px, 5vw, 62px); border-radius: 20px; }
.services-home .marina { min-height: 400px; grid-column: 1/-1; }
.services-home p { max-width: 45ch; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
blockquote { margin: 0; padding: 24px; background: var(--light); border-radius: 12px; }
cite { font-style: normal; font-weight: 700; }
.featured { width: min(calc(100% - 28px), 1460px); min-height: clamp(450px, 52vw, 770px); margin-inline: auto; padding: 32px 35px 100px; display: flex; align-items: end; justify-content: space-between; gap: 26px; border-radius: 24px; background-position: center top; }
.featured h1, .featured p:last-child { margin-bottom: 0; }
.featured h1 a { text-decoration: none; }
.sourcing-callout { position: relative; z-index: 1; width: min(calc(100% - 2 * var(--gutter)), 1400px); margin-top: -78px; display: grid; grid-template-columns: 2fr 1fr; gap: 30px; padding-block: 38px; border-radius: 14px; background: #f6f6f6; }
.eyebrow { color: var(--red); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .02em; }
.stock-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.stock-filters a { border: 1px solid var(--line); border-radius: 30px; padding: 7px 14px; text-decoration: none; }
.stock-filters a[aria-current] { background: var(--navy); color: white; border-color: var(--navy); }
.listing { padding-top: 36px; }
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1.7fr 1fr; gap: 17px; height: clamp(280px,39vw,580px); }
.gallery-photo { overflow: hidden; min-height: 0; border-radius: 14px; }
.gallery-photo:first-child { grid-row: span 2; }
.gallery:has(.gallery-photo:only-of-type) { grid-template-columns: 1fr; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery-button { position: absolute; bottom: 20px; right: 35px; background: #fff; color: #252525; }
.lightbox { color: #fff; background: #152031; width: min(95vw, 1450px); max-height: 94dvh; border: 0; padding: 50px 55px 16px; border-radius: 12px; }
.lightbox::backdrop { background: #090f18d9; }
.lightbox figure { margin: auto; text-align: center; }
.lightbox img { max-height: 74dvh; margin: auto; object-fit: contain; }
.lightbox button { position: absolute; border: 0; border-radius: 50%; color: #fff; background: #ffffff29; width: 40px; height: 40px; font-size: 27px; line-height: 1; }
.lightbox-close { top: 9px; right: 9px; }
.lightbox-prev { top: 47%; left: 7px; }
.lightbox-next { top: 47%; right: 7px; }
.lightbox figcaption { margin-top: 8px; }
.listing-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; margin-top: 35px; }
.listing-layout h1 { font-size: clamp(28px, 3vw, 38px); }
.listing-layout h1 .price { display: inline-block; margin-left: .25em; }
.listing-aside { align-self: start; background: var(--light); padding: clamp(19px, 3vw, 45px); border-radius: 13px; }
.listing-aside h2 { font-size: 24px; }
.breadcrumbs { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.lead { font-size: clamp(18px, 1.55vw, 23px); }
.prose { overflow-wrap: anywhere; }
.prose :is(h2,h3,h4,h5):not(:first-child) { margin-top: 1.25em; }
.prose p { max-width: 83ch; }
.specifications { padding: 22px; border: 1px solid var(--line); border-radius: 12px; margin: 28px 0; }
.specifications dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; }
.specifications dd { margin: 0; font-weight: 650; }
.specifications dt { color: var(--muted); }
.service-hero { min-height: clamp(340px,40vw,590px); display: flex; align-items: center; }
.service-section { border-bottom: 1px solid var(--line); }
.service-section:first-child h2 { font-size: clamp(26px, 3.5vw, 45px); }
.with-photo, .contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: start; }
.with-photo img { border-radius: 14px; width: 100%; max-height: 480px; object-fit: cover; }
.service-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.service-cards a { display: flex; align-items: end; min-height: 200px; text-decoration: none; border-radius: 14px; padding: 18px; }
.marina-hero { width: min(calc(100% - 28px),1460px); margin: auto; padding: clamp(24px,5.25vw,78px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; border-radius: 26px; background: var(--navy); color: #fff; overflow: hidden; }
.marina-hero h1 { max-width: 14ch; font-weight: 370; }
.marina-hero .eyebrow { color: #fff; background: #ffffff40; border-radius: 20px; display: inline-block; padding: 6px 14px; }
.marina-review { margin: 26px 0; }
.marina-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.marina-images img { aspect-ratio: 1.64; width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.enquiry { background: var(--light); padding: clamp(20px,3vw,40px); border-radius: 13px; margin: 24px 0 35px; scroll-margin-top: 20px; }
.contact-layout .enquiry { margin-top: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.fields > label { display: grid; gap: 5px; font-weight: 650; min-width: 0; }
.fields input:not([type=checkbox], [type=radio]), .fields select, .fields textarea {
    width: 100%; background: #fff; border: 1px solid #a5a9b1; padding: 9px 11px; border-radius: 5px; font-weight: 400;
}
.wide { grid-column: 1 / -1; }
.choices { border: 1px solid var(--line); padding: 9px; margin: 0; border-radius: 5px; }
.choices label { display: block; }
fieldset legend { font-weight: 650; }
.notice, .error { padding: 12px; border-radius: 6px; }
.notice { background: #e3f6e8; color: #194828; }
.error { background: #fbe6e4; color: #871b12; }
.footer-callout { text-align: center; padding: clamp(42px,6vw,85px) 0; }
.footer-callout p { max-width: 55ch; margin-inline: auto; }
.footer-content { padding-block: 43px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 18px; align-items: start; }
.footer-content .logo { max-width: 175px; margin-bottom: 12px; }
.footer-content nav { display: grid; }
.footer-content a { text-decoration: none; }
.footer-content h2 { font-size: 21px; }
.badge { max-width: min(100%,150px); }
.copyright { padding-block: 15px; border-top: 1px solid var(--line); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; }
.admin { max-width: 1050px; }
.admin .stack { margin-bottom: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.admin .rows { padding: 0; list-style: none; }
.admin .rows li { margin-bottom: 1px; padding: 12px 15px; background: var(--light); display: flex; gap: 12px; justify-content: space-between; }
.admin .fields { padding: 22px; background: var(--light); border-radius: 10px; }
.admin dt { font-weight: 650; }
.admin dd { margin: 0 0 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1050px) {
    .header-inner { gap: 14px; min-height: 92px; }
    .header-inner nav { gap: 14px; font-size: 14px; }
    .header-contact { padding-inline: 19px; }
    .boat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    .contact-bar a { font-size: 12px; }
    .bar-inner { justify-content: space-between; gap: 6px; }
    .facebook { display: none; }
    .header-inner { min-height: 79px; position: relative; flex-wrap: wrap; }
    .menu-toggle { display: inline-block; background: var(--navy); color: #fff; border: 0; border-radius: 30px; padding: 8px 18px; }
    .header-inner nav { display: none; flex-basis: 100%; padding: 0 0 15px; font-size: 16px; }
    .header-inner nav.is-open { display: grid; }
    .header-contact { display: none; }
    .header-inner nav .mobile-contact { display: inline-flex; justify-self: start; }
    .latest-row { grid-auto-columns: calc((100% - 24px) / 2); }
    .boat-grid, .service-cards, .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listing-layout, .with-photo, .contact-layout, .marina-hero { grid-template-columns: 1fr; }
    .listing-aside { grid-row: 1; }
    .marina-images { grid-template-columns: repeat(4,1fr); }
    .featured { padding: 24px 20px 110px; }
    .featured > p { display: none; }
    .sourcing-callout { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 490px) {
    .contact-bar a { font-size: 10px; }
    .contact-bar .bar-inner { padding-inline: 12px; }
    .gallery { display: block; height: auto; }
    .gallery-photo:first-child { display: block; }
    .gallery-photo:not(:first-child) { display: none; }
    .gallery-photo img { aspect-ratio: 1.45; }
    .gallery-button { right: 10px; bottom: 10px; min-height: 38px; padding: 8px 14px; }
    .fields, .boat-grid, .testimonials, .services-home { grid-template-columns: 1fr; }
    .latest-row { grid-auto-columns: 87%; }
    .specifications dl { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .services-home .marina { min-height: 340px; }
    .marina-images { grid-template-columns: 1fr 1fr; }
}
