@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/raleway.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #1e3040;
  --teal: #78b2b4;
  --teal-dark: #4d8d90;
  --paper: #ffffff;
  --mist: #f5f8f8;
  --line: #56676b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Raleway", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 42px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: white;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(38px, 4vw, 52px);
}

.site-header {
  position: relative;
  z-index: 20;
  height: 240px;
  padding-top: 31px;
  background: white;
}

.brand {
  display: block;
  width: 130px;
  height: 110px;
  margin: 0 auto 12px;
}

.brand img {
  width: 110px;
  height: 110px;
  margin: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  width: min(940px, calc(100% - 60px));
  margin: 0 auto;
  padding-top: 15px;
  border-top: 1px solid rgba(30, 48, 64, 0.75);
}

.site-nav a {
  position: relative;
  color: #263d4c;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--teal-dark);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--teal-dark);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 980px;
  display: grid;
  place-items: center;
  color: white;
  background: url("assets/images/web/hero.jpg") center center / cover no-repeat;
  isolation: isolate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(160, 190, 210, 0.18);
}

.hero-copy {
  margin-top: -10px;
  padding: 30px;
  text-align: center;
  text-shadow: 0 1px 12px rgba(36, 56, 69, 0.14);
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(58px, 6.1vw, 86px);
  letter-spacing: 0.015em;
}

.hero p {
  margin-bottom: 0;
  font-size: 18px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-image {
  min-width: 0;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  display: grid;
  place-items: center;
  min-height: 680px;
  padding: 70px 12%;
  color: white;
  background: var(--teal);
}

.copy-inner {
  width: 100%;
  max-width: 530px;
}

.copy-inner p {
  margin-bottom: 27px;
  line-height: 1.8;
}

.copy-inner p:last-child {
  margin-bottom: 0;
}

.quote {
  font-size: 16px;
}

.section-pad {
  padding: 105px max(30px, 8vw) 120px;
}

.section-heading {
  margin: 0 auto 76px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 10px;
  color: var(--teal);
}

.section-heading p {
  margin-bottom: 0;
  font-size: 17px;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(60px, 8vw, 130px);
  width: min(1100px, 100%);
  margin: 0 auto;
}

.crew-member {
  text-align: center;
}

.crew-member > img {
  width: 250px;
  height: 250px;
  margin: 0 auto 40px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.9);
}

.crew-member:nth-child(2) > img {
  object-position: 50% 40%;
}

.crew-copy {
  max-width: 460px;
  margin: 0 auto;
}

.crew-copy h3 {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 36px;
}

.crew-copy .role {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 15px;
}

.crew-copy p:last-child {
  margin-bottom: 0;
  color: #5a676d;
  line-height: 1.8;
}

.boat-intro .split-copy {
  min-height: 610px;
}

.boat-intro .split-image img {
  object-position: center center;
}

.eyebrow {
  margin-bottom: 15px !important;
  font-size: 13px;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.boat-title h2 {
  margin-bottom: 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.spec-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--ink);
}

.spec-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.3, 1), opacity 400ms ease;
}

.spec-card:nth-child(2) img {
  object-position: 52% center;
}

.spec-card:hover img {
  transform: scale(1.035);
  opacity: 0.9;
}

.spec-card h3 {
  position: absolute;
  inset: auto 25px 49px;
  margin: 0;
  color: white;
  font-family: var(--sans);
  font-size: clamp(22px, 2.2vw, 30px);
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.gallery {
  padding-top: 94px;
}

.gallery-heading {
  padding: 0 25px 68px;
  text-align: center;
}

.gallery-heading p {
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-heading h2 {
  margin-bottom: 0;
  color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 310px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 0;
}

.gallery-item {
  appearance: none;
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #dfe8e8;
  cursor: zoom-in;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item::after {
  content: "View";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(34, 61, 69, 0.34);
  opacity: 0;
  transition: opacity 240ms ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.events {
  min-height: 430px;
  display: grid;
  place-items: center;
}

.events .section-heading {
  margin-bottom: 0;
}

.events .section-heading h2 {
  margin-bottom: 24px;
}

.events .section-heading p {
  color: #627178;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.contact-form-wrap {
  display: grid;
  place-items: center;
  padding: 80px max(30px, 8vw);
  color: white;
  background: var(--teal);
}

.contact-inner {
  width: min(560px, 100%);
}

.contact-inner h2 {
  margin-bottom: 39px;
}

.contact form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact label {
  display: block;
}

.contact label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 13px 2px;
  color: white;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0;
  outline: none;
  background: transparent;
  resize: vertical;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: rgba(255, 255, 255, 0.86);
}

.contact input:focus,
.contact textarea:focus {
  border-color: white;
  box-shadow: 0 1px 0 white;
}

.contact button[type="submit"] {
  justify-self: start;
  min-width: 128px;
  padding: 11px 25px;
  color: var(--teal-dark);
  border: 1px solid white;
  background: white;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.contact button[type="submit"]:hover {
  color: white;
  background: transparent;
}

.map {
  width: 100%;
  min-height: 680px;
  border: 0;
  filter: saturate(0.7);
}

footer {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 45px 20px;
  background: white;
}

footer img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

footer p {
  margin: 16px 0 0;
  font-size: 13px;
}

.lightbox {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(13, 29, 34, 0.88);
  backdrop-filter: blur(4px);
}

.lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: white;
  border: 0;
  background: transparent;
  font-size: 37px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 750ms ease, transform 750ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
  }

  .brand {
    width: 105px;
    height: 105px;
    margin: 0;
  }

  .brand img {
    width: 105px;
    height: 105px;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 47px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    height: 1px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    inset: 150px 0 auto;
    display: grid;
    gap: 0;
    width: 100%;
    max-height: calc(100vh - 150px);
    margin: 0;
    padding: 18px 30px 30px;
    border: 0;
    background: white;
    box-shadow: 0 18px 34px rgba(20, 48, 60, 0.12);
    transform: translateY(-120%);
    visibility: hidden;
    overflow-y: auto;
    opacity: 0;
    transition: transform 260ms ease, opacity 180ms ease, visibility 260ms;
  }

  .site-nav.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    padding: 11px 0;
    font-size: 15px;
    text-align: center;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 560px;
  }

  .split-copy {
    min-height: auto;
    padding: 80px max(32px, 10vw);
  }

  .crew-grid {
    grid-template-columns: 1fr;
    gap: 95px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec-card,
  .spec-card img {
    min-height: 520px;
    height: 520px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }

  .map {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .site-header {
    height: 124px;
    padding: 13px 19px;
  }

  .brand,
  .brand img {
    width: 92px;
    height: 92px;
  }

  .site-nav {
    inset: 124px 0 auto;
    max-height: calc(100vh - 124px);
  }

  .hero {
    min-height: 620px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero p {
    font-size: 15px;
  }

  .split-image {
    min-height: 430px;
  }

  .split-copy {
    padding: 65px 28px;
  }

  .section-pad {
    padding: 80px 25px 90px;
  }

  .section-heading {
    margin-bottom: 60px;
  }

  .crew-member > img {
    width: 210px;
    height: 210px;
  }

  .boat-intro .split-copy {
    min-height: 340px;
  }

  .spec-card,
  .spec-card img {
    min-height: 430px;
    height: 430px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 70px 27px;
  }

  .map {
    min-height: 430px;
  }

}
