* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}
a {
  color: #136c73;
  text-underline-offset: 0.18em;
}
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid #d49e3e;
  outline-offset: 4px;
}
.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.boats-intro {
  padding-block: 64px 42px;
  color: white;
}
.boats-intro h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 1.1;
  margin: 0.2em 0;
}
.boats-intro > p:not(.eyebrow) {
  max-width: 690px;
  font-size: 1.15rem;
  color: #dce9eb;
}
.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #25777b;
  margin: 0 0 0.7rem;
}
.boats-intro .eyebrow,
.other-boat .eyebrow {
  color: #f3d79b;
}
.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.section-links a {
  border: 1px solid #ffffff55;
  color: white;
  border-radius: 24px;
  padding: 7px 17px;
  text-decoration: none;
}
.section-links a:hover {
  background: #ffffff15;
}
.boat-story {
  background: #f8fbfa;
  border-radius: 18px;
  overflow: hidden;
}
h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.2;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  margin: 0 0 22px;
}
h3 {
  font-size: 1.2rem;
  margin: 16px 0 10px;
}
p {
  margin: 0 0 1em;
}
.boat-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 32px;
  padding: 42px;
}
.hero-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
figure {
  margin: 0;
  min-width: 0;
}
figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #b1ccd6;
}
figcaption {
  font-size: 0.83rem;
  line-height: 1.5;
  color: #536870;
  margin-top: 10px;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #16787d;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 12px;
}
.action:hover {
  background: #105e65;
}
.key-dimensions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 25px 42px;
  background: #e7f0ef;
  gap: 20px;
}
.key-dimensions dt {
  font-size: 0.8rem;
}
.key-dimensions dd {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
}
.key-dimensions dd span {
  font-size: 0.9rem;
  font-weight: 400;
}
.story-section {
  padding: 42px;
  border-top: 1px solid #dce7e5;
}
.story-section > p {
  max-width: 900px;
}
.build-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 42px;
}
.step {
  font-size: 0.85rem;
  color: #297c7e;
  font-weight: 700;
}
.build-grid h3 {
  margin-top: 6px;
}
.build-grid p {
  font-size: 0.96rem;
}
.legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 30px;
}
.legend p {
  padding: 16px;
  border-left: 3px solid #239094;
  background: white;
  font-size: 0.9rem;
  margin: 0;
}
.legend strong {
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.94rem;
  margin: 20px 0 24px;
  table-layout: fixed;
}
caption {
  text-align: left;
  color: #536870;
  font-size: 0.87rem;
  padding-bottom: 12px;
}
th,
td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid #dce7e5;
  vertical-align: top;
  overflow-wrap: anywhere;
}
thead {
  background: #e7f0ef;
}
thead th:nth-child(1) {
  width: 36%;
}
thead th:nth-child(2) {
  width: 20%;
}
tbody th {
  font-weight: 500;
}
tbody tr:nth-child(even) {
  background: #f0f5f3;
}
.note {
  font-size: 0.89rem;
  color: #50666d;
}
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0;
}
.operation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.limits {
  background: #edf3f1;
}
.sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sources li {
  padding: 12px 0;
  border-bottom: 1px solid #dce7e5;
}
.sources li span {
  display: block;
  font-size: 0.87rem;
  color: #536870;
}
.sources .note {
  margin-top: 24px;
}
.other-boat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: white;
  padding-block: 50px;
}
.other-boat h2 {
  margin-bottom: 12px;
}
.other-boat p {
  max-width: 600px;
}
.boats-footer {
  border-top: 1px solid #ffffff33;
  padding-block: 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #dce9eb;
  font-size: 0.85rem;
}
.boats-footer a {
  color: white;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
@media (max-width: 800px) {
  .boat-hero {
    grid-template-columns: 1fr;
  }
  .boat-hero figure {
    max-width: 650px;
  }
  .key-dimensions {
    grid-template-columns: 1fr 1fr;
  }
  .operation {
    grid-template-columns: 1fr;
  }
  .legend {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .legend strong {
    display: inline;
  }
  .boats-intro {
    padding-top: 38px;
  }
  .other-boat {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .boat-hero,
  .story-section {
    padding: 26px 20px;
  }
  .key-dimensions {
    padding: 22px 20px;
    gap: 18px 12px;
  }
  .key-dimensions dd {
    font-size: 1.65rem;
  }
  .build-grid,
  .image-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .section-links {
    gap: 8px;
  }
  .section-links a {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  table {
    font-size: 0.8rem;
  }
  th,
  td {
    padding: 10px 6px;
  }
  thead th:nth-child(1) {
    width: 35%;
  }
  thead th:nth-child(2) {
    width: 23%;
  }
  .boats-footer {
    flex-direction: column;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
