:root {
  --navy: #09273b;
  --navy-deep: #061c2b;
  --sea: #2b7587;
  --foam: #f4f8f8;
  --white: #ffffff;
  --ink: #102632;
  --muted: #5d7079;
  --line: #cad7dc;
  --red: #d7493e;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--navy);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(100%, var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--pad);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .01em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .92rem;
  letter-spacing: .08em;
}

nav { display: flex; gap: clamp(1rem, 2.5vw, 2.3rem); }
nav a {
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0,0,0,.38);
}
nav a:hover { text-decoration: underline; text-underline-offset: .35rem; }

.hero {
  position: relative;
  display: grid;
  min-height: min(860px, 92vh);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; object-position: center 52%; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(4,25,39,.88) 0%, rgba(4,25,39,.52) 52%, rgba(4,25,39,.08) 82%),
    linear-gradient(0deg, rgba(4,22,33,.82) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 10rem var(--pad) clamp(5rem, 11vh, 8rem);
}

.eyebrow,
.section-label,
.season,
.film-meta {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow { margin: 0 0 1.15rem; color: #d9edf1; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
}
h1 { max-width: 890px; margin-bottom: .9rem; font-size: clamp(3.1rem, 7.8vw, 7rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.6rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }

.hero-line {
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-style: italic;
}
.hero-actions,
.partner-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .82rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: #bd392f; }
.button-quiet { color: var(--white); border-color: rgba(255,255,255,.65); background: rgba(6,28,43,.22); }
.button-quiet:hover { background: rgba(255,255,255,.12); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
.button-outline:hover { background: rgba(255,255,255,.1); }

.position-note {
  position: absolute;
  z-index: 1;
  right: var(--pad);
  bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  color: rgba(255,255,255,.72);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--pad);
  background: var(--white);
}
.numbers div { padding: 2rem 1rem 2rem 0; border-bottom: 1px solid var(--line); }
.numbers strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; line-height: 1; }
.numbers span { color: var(--muted); font-size: .82rem; }

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
}
.section-label { display: flex; align-items: center; gap: .7rem; margin-bottom: clamp(2rem, 5vw, 4rem); color: var(--sea); }
.section-label span { color: var(--red); }
.section-label.light { color: #a9d0d8; }
.kicker { margin-bottom: 1rem; color: var(--sea); font-weight: 800; }

.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.story h2 { margin-bottom: 0; max-width: 680px; }
.story-copy { font-size: 1.08rem; }
.story-copy p { color: #304854; }
blockquote {
  margin: 2.3rem 0 0;
  padding: 1.6rem 0 0 1.7rem;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
}

.crew { padding-top: 2rem; }
.crew > h2 { max-width: 690px; margin-bottom: 3.5rem; }
.crew-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.crew-grid article { min-height: 250px; padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.crew-grid article + article { padding-left: 2rem; border-left: 1px solid var(--line); }
.crew-grid p { color: var(--muted); }
.crew-number { margin-bottom: 4rem; color: var(--red) !important; font-size: .75rem; font-weight: 800; }
.paw-note { display: inline-block; margin-top: .7rem; color: var(--sea); font-size: .83rem; font-weight: 800; }

.boat {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  width: 100%;
  max-width: none;
  padding: 0;
  color: var(--white);
  background: var(--navy);
}
.boat-image-wrap { position: relative; min-height: 640px; overflow: hidden; }
.boat-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: .8rem 1rem;
  color: var(--white);
  background: rgba(6,28,43,.78);
  font-size: .78rem;
}
.boat-copy { align-self: center; padding: clamp(4rem, 8vw, 8rem); }
.boat-copy .section-label { margin-bottom: 3rem; }
.boat-copy .kicker { color: #a9d0d8; }
.boat-copy h2 { margin-bottom: 1.5rem; }
.boat-copy > p:not(.kicker) { max-width: 560px; color: #d7e3e7; }
.boat-facts { margin: 2.5rem 0 0; border-top: 1px solid rgba(255,255,255,.22); }
.boat-facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.boat-facts dt { color: #9ec5ce; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.boat-facts dd { margin: 0; }

.rhythm h2 { max-width: 720px; margin-bottom: 3.5rem; }
.rhythm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.rhythm-grid article { min-height: 270px; padding: 2rem; color: var(--white); background: var(--navy); }
.rhythm-grid article:nth-child(2) { background: var(--sea); }
.rhythm-grid article:nth-child(3) { color: var(--ink); background: var(--foam); border: 1px solid var(--line); }
.season { margin-bottom: 4.2rem; color: #a9d0d8; }
.rhythm-grid article:nth-child(3) .season { color: var(--sea); }
.rhythm-grid p:last-child { margin-bottom: 0; opacity: .82; }

.watch { padding-top: 3rem; }
.watch-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.watch-heading .section-label { margin-bottom: 1.2rem; }
.watch-heading h2 { margin-bottom: 0; }
.text-link { color: var(--sea); font-weight: 800; text-underline-offset: .3rem; }
.film-grid { display: grid; grid-template-columns: 1.25fr .875fr .875fr; gap: 1.2rem; }
.film-card > a { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.film-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.film-card a:hover img { transform: scale(1.025); }
.play { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 3rem; height: 3rem; padding-left: .15rem; border-radius: 50%; color: var(--navy); background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.film-meta { margin: 1.15rem 0 .5rem; color: var(--sea); }
.film-card h3 { margin-bottom: 0; }

.partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 9rem);
  width: 100%;
  max-width: none;
  padding: clamp(5rem, 10vw, 9rem) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  color: var(--white);
  background: var(--navy-deep);
}
.partners .section-label { margin-bottom: 3rem; }
.partners .kicker { color: #a9d0d8; }
.partners-copy > p { color: #d3e0e4; font-size: 1.05rem; }
.partners-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; margin: 2rem 0 2.5rem; padding: 0; list-style: none; }
.partners-copy li { position: relative; padding-left: 1.2rem; font-size: .9rem; }
.partners-copy li::before { content: ""; position: absolute; left: 0; top: .7em; width: .45rem; height: .12rem; background: var(--red); }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  color: var(--white);
  background: #041620;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand div { display: grid; }
.footer-brand span:last-child { color: #94abb5; font-size: .82rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #d2e0e4; font-size: .85rem; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.13); color: #8198a2; font-size: .78rem; }

:focus-visible { outline: 3px solid #ffb5ad; outline-offset: 4px; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  nav { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.2rem; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .story-grid, .boat, .partners { grid-template-columns: 1fr; }
  .boat-image-wrap { min-height: 52vw; }
  .crew-grid, .rhythm-grid { grid-template-columns: 1fr; }
  .crew-grid article { min-height: 0; padding: 1.7rem 0; }
  .crew-grid article + article { padding-left: 0; border-left: 0; }
  .crew-number { margin-bottom: 1.5rem; }
  .rhythm-grid article { min-height: 0; }
  .season { margin-bottom: 2.5rem; }
  .film-grid { grid-template-columns: 1fr 1fr; }
  .featured-film { grid-column: 1 / -1; }
  .partners-copy ul { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { position: absolute; display: block; padding-top: 1.1rem; }
  .brand-name { font-size: .92rem; }
  nav { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
  nav a { font-size: .76rem; }
  .hero { min-height: 780px; }
  .hero-content { padding-top: 11.5rem; padding-bottom: 6rem; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.4rem); }
  .position-note { display: none; }
  .numbers div { padding: 1.4rem .7rem 1.4rem 0; }
  .story-grid { gap: 2rem; }
  .boat-image-wrap { min-height: 68vw; }
  .boat-copy { padding: 4rem var(--pad); }
  .film-grid { grid-template-columns: 1fr; }
  .featured-film { grid-column: auto; }
  .watch-heading { display: block; }
  .watch-heading .text-link { display: inline-block; margin-top: 1.2rem; }
  .partners { padding-inline: var(--pad); }
  footer { grid-template-columns: 1fr; padding-inline: var(--pad); }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Photographs from aboard Phoebe Jo. */
.boat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.boat-image-wrap { display: grid; place-items: center; min-height: 0; margin: 0; padding: 2rem; background: var(--navy-deep); }
.boat-image-wrap img { width: 100%; height: auto; max-height: 760px; object-fit: contain; }
.boat-image-wrap .image-caption { position: static; padding: 1rem 0 0; background: none; font-size: .875rem; color: #b9d2dc; }
.boat-copy { padding: clamp(2rem, 5vw, 5rem); }
.boat-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); width: min(100%, 1080px); margin: 0 auto; padding: 3rem var(--pad) 4rem; }
.boat-gallery figure { margin: 0; }
.boat-gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid #e7eff1; }
.boat-gallery figcaption { margin-top: .85rem; color: #b9d2dc; font-size: .875rem; }
.shorts-feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: 3rem; padding: clamp(1.5rem, 4vw, 3rem); border-top: 3px solid var(--red); background: var(--foam); }
.shorts-heading .film-meta { margin-top: 0; font-size: .875rem; }
.shorts-heading h3 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; }
.shorts-copy p { color: #304854; }
@media (max-width: 900px) {
  .boat { grid-template-columns: 1fr; }
  .boat-image-wrap { padding: 2rem var(--pad); }
  .boat-image-wrap img { max-height: 660px; }
  .boat-copy { padding: 3rem var(--pad); }
  .boat-gallery { padding-top: 0; }
}
@media (max-width: 620px) {
  .boat-gallery { grid-template-columns: 1fr; max-width: 460px; gap: 2rem; }
  .shorts-feature { grid-template-columns: 1fr; gap: 1.5rem; }
}
