:root {
  --aqua: #12a4d8;
  --aqua-deep: #0b7fa8;
  --navy: #123a52;
  --foam: #eef7fb;
  --ink: #1a2d3a;
  --muted: #516574;
  --line: #d3e4ec;
  --white: #ffffff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --header-h: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1000px 420px at 0% -5%, rgba(18, 164, 216, 0.12), transparent 55%),
    radial-gradient(800px 360px at 100% 5%, rgba(18, 58, 82, 0.08), transparent 50%),
    var(--foam);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 58, 82, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  width: min(260px, 58vw);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover,
.nav a.is-active {
  color: var(--aqua-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 0.35rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--aqua);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--aqua-deep);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: #0d2c3e;
}

.btn-soft {
  background: #ececec;
  color: var(--ink);
  border: 1px solid #bdbdbd;
  padding: 0.55rem 1rem;
}

.btn-soft:hover {
  background: #e2e2e2;
  transform: none;
}

.nav .btn {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: var(--white);
  background: #02131f;
}

.hero-media,
.hero-media video,
.hero-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

.hero-media iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 19, 31, 0.25) 0%, rgba(2, 19, 31, 0.55) 45%, rgba(2, 19, 31, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2rem));
  margin-left: max(1rem, calc((100% - 1140px) / 2));
  padding: 4.5rem 0 4rem;
  animation: rise 0.95s var(--ease) both;
}

.brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  line-height: 1.3;
}

.hero p {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.boats {
  background:
    linear-gradient(165deg, rgba(18, 164, 216, 0.16), rgba(18, 58, 82, 0.08)),
    #dff1f8;
}

.boat-list {
  display: grid;
  gap: 2rem;
}

.boat {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(18, 58, 82, 0.12);
  animation: rise 0.7s var(--ease) both;
}

.boat:nth-child(2) { animation-delay: 0.05s; }
.boat:nth-child(3) { animation-delay: 0.1s; }
.boat:nth-child(4) { animation-delay: 0.15s; }

.boat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.boat img {
  width: 100%;
  aspect-ratio: 700 / 447;
  object-fit: cover;
  border-radius: 0.35rem;
}

.boat h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.boat .seats {
  margin: 0 0 0.7rem;
  color: var(--aqua-deep);
  font-weight: 600;
  font-size: 0.95rem;
}

.boat p {
  margin: 0;
  color: var(--muted);
}

.boats-cta {
  margin-top: 2rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.story-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.story-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.story-photo {
  min-height: 460px;
  border-radius: 0.4rem;
  background:
    linear-gradient(180deg, rgba(18, 164, 216, 0.08), rgba(2, 19, 31, 0.18)),
    url("../images/wild-horses.jpg") center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(10, 30, 40, 0.12);
}

.story-photo.has-image {
  background: url("../images/about.jpg") center / cover no-repeat;
}

.cta-banner {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.cta-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(2, 19, 31, 0.5), rgba(2, 19, 31, 0.55)),
    url("../images/wild-horses.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

.cta-content {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 2rem));
  padding: 6.5rem 0;
}

.cta-content h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 1.5rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo img {
  width: min(240px, 65vw);
}

.footer-contact {
  display: grid;
  gap: 0.55rem;
}

.footer-contact a {
  color: var(--muted);
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--aqua-deep);
}

.credit {
  margin: 1.5rem 0 0;
  text-align: center;
  color: #9aa8b2;
  font-size: 0.8rem;
}

.form-page {
  padding: 2.75rem 1rem 4rem;
}

.form-shell {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: 0 16px 40px rgba(10, 30, 40, 0.08);
  animation: rise 0.55s var(--ease) both;
}

.form-shell .intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.form-shell .intro p {
  margin: 0 0 0.85rem;
}

.form-shell h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-row.date-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 460px;
}

.sublabel {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #7a8b96;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(18, 164, 216, 0.35);
  border-color: var(--aqua);
}

.form-actions {
  margin-top: 1.25rem;
}

.alert {
  margin: 0 0 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.35rem;
  font-size: 0.95rem;
}

.alert-success {
  background: #e8f7ec;
  color: #1f6b35;
  border: 1px solid #b7e0c2;
}

.alert-error {
  background: #fdeceb;
  color: #8a1f18;
  border: 1px solid #f0c2be;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@media (max-width: 900px) {
  .boat {
    grid-template-columns: 1fr;
  }

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

  .story-photo {
    min-height: 320px;
  }

  .hero-content {
    margin-left: 1rem;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav a:not(.btn) {
    font-size: 0.88rem;
  }

  .cta-banner {
    min-height: 420px;
  }

  .cta-content {
    padding: 4rem 0;
  }

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