:root {
  --deep: #063b4c;
  --ink: #102f36;
  --ocean: #087f8c;
  --foam: #f5faf9;
  --paper: #ffffff;
  --coral: #ee6c4d;
  --line: #cbdcdd;
  --muted: #526d72;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
}

.site-header.solid {
  position: relative;
  background: var(--deep);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.brand-mark::after {
  position: absolute;
  top: 11px;
  left: -6px;
  width: 36px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: rotate(-8deg);
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  font-size: .93rem;
}

nav a {
  position: relative;
  padding: 26px 0 24px;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .2s ease;
}

nav a:hover::after,
nav a:focus-visible::after,
nav a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(760px, 86vh);
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep) url("/assets/ocean-hero.webp") center center / cover no-repeat;
  color: #fff;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 30, 40, .79) 0%, rgba(2, 30, 40, .4) 44%, rgba(2, 30, 40, .06) 78%), linear-gradient(0deg, rgba(2, 30, 40, .38), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 90vw);
  padding: 150px 5vw 82px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #d6f7f2;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--ocean); }

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

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  font-weight: 500;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .91);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ocean);
  font-weight: 750;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-link:focus-visible { text-decoration-color: currentColor; }

.hero-link { color: #fff; }

.fact-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 5vw;
  background: var(--deep);
  color: #fff;
}

.fact {
  display: grid;
  min-height: 155px;
  align-content: center;
  gap: 7px;
  padding: 28px clamp(18px, 3vw, 48px);
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.fact:last-child { border-right: 1px solid rgba(255, 255, 255, .18); }

.fact strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
}

.fact span { color: #c9dedf; }

.section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: clamp(40px, 8vw, 130px);
  padding: clamp(70px, 10vw, 140px) 7vw;
}

.section h2,
.page-title h1 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 500;
}

.intro-copy {
  max-width: 650px;
  font-size: 1.15rem;
}

.intro-copy p { margin-bottom: 26px; }

.ocean-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--foam);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ocean-list article {
  min-height: 340px;
  padding: 42px 30px;
  border-right: 1px solid var(--line);
}

.ocean-list article:last-child { border-right: 0; }

.ocean-number {
  display: block;
  margin-bottom: 72px;
  color: var(--coral);
  font-size: .82rem;
  font-weight: 800;
}

.ocean-list h3 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.ocean-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .95rem;
}

.closing { background: #edf6f3; }
.closing > p { max-width: 650px; font-size: 1.15rem; }

.page-title {
  padding: clamp(80px, 12vw, 160px) 7vw;
  background: var(--deep);
  color: #fff;
}

.page-title h1 { max-width: 900px; margin-bottom: 28px; }
.page-title > p:last-child { max-width: 720px; margin-bottom: 0; color: #cfe2e2; font-size: 1.2rem; }
.page-title.compact { padding-bottom: 110px; }

.story { border-bottom: 1px solid var(--line); }
.story.alt { background: var(--foam); }
.story-heading span { display: block; margin-bottom: 36px; color: var(--coral); font-weight: 800; }
.story-heading h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
.story-copy { max-width: 680px; font-size: 1.08rem; }
.story-copy p:last-child { margin-bottom: 0; }

.policy {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.policy > div {
  padding: 0 clamp(26px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.policy > div:first-child { padding-left: 0; }
.policy > div:last-child { padding-right: 0; border-right: 0; }
.policy h2 { margin-bottom: 20px; font-size: 1.75rem; }
.policy p { margin-bottom: 0; color: var(--muted); }

footer {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 30px;
  align-items: center;
  padding: 48px 5vw;
  background: #042c39;
  color: #d8e7e8;
}

.footer-brand { color: #fff; }
footer p { max-width: 500px; margin-bottom: 0; font-size: .9rem; }
.footer-links { display: flex; gap: 24px; font-size: .9rem; }
.footer-links a { text-underline-offset: 4px; }

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
  background: var(--deep);
  color: #fff;
  text-align: center;
}

.not-found main { max-width: 720px; }
.not-found h1 { margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 500; }
.not-found main > p:not(.eyebrow) { margin-bottom: 32px; color: #cfe2e2; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid #fff;
  border-radius: 4px;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible { background: #fff; color: var(--deep); }

@media (max-width: 980px) {
  .ocean-list { grid-template-columns: repeat(2, 1fr); }
  .ocean-list article:nth-child(2n) { border-right: 0; }
  .ocean-list article:last-child { grid-column: 1 / -1; min-height: 260px; }
  .ocean-number { margin-bottom: 42px; }
  .policy { grid-template-columns: 1fr; }
  .policy > div, .policy > div:first-child, .policy > div:last-child { padding: 34px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .policy > div:last-child { border-bottom: 0; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .site-header { position: relative; min-height: auto; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 5vw 0; background: var(--deep); }
  nav { width: 100%; gap: 22px; overflow-x: auto; font-size: .88rem; }
  nav a { flex: 0 0 auto; padding: 12px 0 16px; }
  nav a::after { bottom: 8px; }
  .hero { min-height: 620px; }
  .hero-content { padding: 80px 5vw 54px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.6rem); overflow-wrap: anywhere; }
  .fact-band { grid-template-columns: 1fr; }
  .fact { min-height: 118px; padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .fact:last-child { border-right: 0; border-bottom: 0; }
  .section { grid-template-columns: 1fr; gap: 30px; padding: 72px 5vw; }
  .ocean-list { grid-template-columns: 1fr; }
  .ocean-list article, .ocean-list article:nth-child(2n), .ocean-list article:last-child { grid-column: auto; min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .ocean-list article:last-child { border-bottom: 0; }
  .page-title { padding: 78px 5vw; }
  .page-title.compact { padding-bottom: 78px; }
  footer { grid-template-columns: 1fr; padding: 42px 5vw; }
  .footer-links { grid-column: auto; }
}

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