:root {
  --hull: #1c2226;
  --hull-soft: #2b3338;
  --river: #dfe6e4;
  --river-deep: #c6d2cf;
  --signal: #b8352b;
  --brass: #a8873a;
  --paper: #f7f9f8;
  --ink: #1c2226;
  --muted: #4c5a60;
  --display: "Zilla Slab", Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--river);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--body);
}
a { color: var(--signal); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

/* Top bar */
.bar { background: var(--hull); color: var(--paper); }
.bar .wrap {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-top: .9rem; padding-bottom: .9rem;
}
.bar .home {
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  color: var(--paper); text-decoration: none;
}
.bar nav { display: flex; gap: 1.25rem; }
.bar nav a { color: var(--paper); text-decoration: none; font-weight: 600; }
.bar nav a:hover { color: #f3c6a0; }
.bar nav a[aria-current="page"] { color: #d9c48f; }

/* Hero painted like a tug's hull, red boot-top stripe at the waterline */
.hull {
  background: var(--hull);
  color: var(--paper);
  padding: 4.5rem 0 3.5rem;
  position: relative;
}
.hull::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -14px;
  height: 14px; background: var(--signal);
  box-shadow: 0 6px 0 var(--river-deep);
}
.hull h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: .95;
  letter-spacing: .02em;
  margin: 0 0 1.5rem;
  color: #fbfbf7;
}
.hull h1 span { display: block; }
.hull h1 .port {
  font-size: .38em; letter-spacing: .06em; color: #d9c48f; margin-top: .9rem;
}
.hull p { max-width: 36rem; margin: 0; font-size: 1.2rem; color: #d7dedc; }
.hull.short { padding: 3rem 0 2.5rem; }
.hull.short h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 1rem; }

section { padding: 4.5rem 0 1rem; }
h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.1; margin: 0 0 1rem;
}
.lede { max-width: 40rem; color: var(--muted); margin: 0 0 2rem; }

/* About */
.about-grid {
  display: grid; gap: 2rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.about-grid h3 {
  font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin: 0 0 .4rem;
  padding-top: .75rem; border-top: 3px solid var(--hull);
}
.about-grid p { margin: 0; color: var(--muted); max-width: 32rem; }

.to-gallery {
  display: inline-block; margin-top: 2.5rem;
  font: 600 1.05rem var(--body);
  color: var(--paper); background: var(--hull);
  padding: .75rem 1.4rem; text-decoration: none;
  border-bottom: 4px solid var(--signal);
}
.to-gallery:hover { background: var(--signal); }

/* Video */
.videos { display: grid; gap: 3.5rem; }
.video {
  margin: 0;
  max-width: 56rem;
}
.video .frame {
  position: relative; aspect-ratio: 16 / 9;
  background: var(--hull);
  border-bottom: 6px solid var(--signal);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption {
  font-family: var(--display); font-weight: 500; font-size: 1.3rem;
  margin-top: .9rem;
}

/* Photo gallery */
.gallery {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  grid-auto-flow: dense;
}
.gallery button {
  all: unset; cursor: zoom-in; display: block; position: relative;
  background: var(--hull-soft); aspect-ratio: 4 / 3; overflow: hidden;
}
.gallery button.wide { grid-column: span 2; aspect-ratio: 8 / 3; }
@media (max-width: 34rem) { .gallery button.wide { grid-column: auto; aspect-ratio: 4 / 3; } }
.gallery figure { margin: 0; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem .8rem .6rem;
  background: linear-gradient(transparent, rgba(20,24,27,.85));
  color: #fff; font-size: .95rem; line-height: 1.3;
}
.gallery button:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* Lightbox */
dialog {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 70rem);
  color: var(--paper);
}
dialog::backdrop { background: rgba(14,17,19,.92); }
dialog img { max-width: 100%; max-height: 78vh; display: block; margin: 0 auto; }
dialog p { text-align: center; margin: .8rem 0 0; }
.lb-controls { display: flex; justify-content: center; gap: .75rem; margin-top: 1rem; }
.lb-controls button {
  font: 600 1rem var(--body); color: var(--paper); background: var(--hull-soft);
  border: 1px solid #5d6a70; padding: .5rem 1.1rem; cursor: pointer;
}
.lb-controls button:hover { background: var(--signal); border-color: var(--signal); }

/* Contact */
.visit {
  background: var(--paper);
  border-left: 6px solid var(--signal);
  padding: 1.75rem 1.75rem 1.5rem;
  max-width: 44rem;
}
.visit p { margin: 0 0 .75rem; }

footer {
  margin-top: 5rem; background: var(--hull); color: #b9c3c0;
  padding: 2rem 0; font-size: .95rem;
}
