:root {
  --navy: #071522;
  --deep: #0a2231;
  --ocean: #0d5266;
  --teal: #2bb3b5;
  --foam: #e7f4f2;
  --sand: #e6c99b;
  --white: #f8fbfa;
  --muted: #a9bec2;
  --line: rgba(231, 244, 242, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); color: var(--navy); padding: .65rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 96px;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; width: max-content; }
.brand-mark {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  display: grid; place-items: center; position: relative; overflow: hidden; font-size: .62rem; letter-spacing: .08em;
}
.brand-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48%; background: var(--teal); opacity: .7; }
.brand-mark span { position: relative; z-index: 1; }
.brand-name { font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif; font-size: 1.25rem; font-weight: 600; letter-spacing: -.035em; }
nav { display: flex; gap: 2rem; }
nav a { font-size: .78rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; opacity: .85; }
nav a:hover, nav a:focus-visible { opacity: 1; color: var(--sand); }
.header-note { justify-self: end; color: rgba(255,255,255,.68); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: center; isolation: isolate; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3,13,23,.94) 0%, rgba(3,13,23,.78) 36%, rgba(3,13,23,.22) 72%, rgba(3,13,23,.15) 100%), linear-gradient(0deg, rgba(3,13,23,.68), transparent 35%); }
.hero-content { width: min(720px, 88vw); margin-left: clamp(1.25rem, 8vw, 8.5rem); padding: 10.5rem 0 8rem; }
.eyebrow, .overline { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--sand); }
.eyebrow span { width: 30px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif; margin-top: 0; font-weight: 500; letter-spacing: -.055em; line-height: 1.02; }
h1 { font-size: clamp(3.7rem, 7.4vw, 7.6rem); margin: 1.1rem 0 1.5rem; }
h1 em { color: var(--sand); font-style: normal; }
.hero-copy { max-width: 630px; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; gap: .75rem; margin-top: 2.25rem; }
.button { min-width: 225px; padding: .95rem 1.1rem; display: grid; grid-template-columns: 1fr auto; text-decoration: none; border: 1px solid rgba(255,255,255,.36); backdrop-filter: blur(12px); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.button:hover, .button:focus-visible { transform: translateY(-3px); border-color: var(--sand); }
.button-sail { background: rgba(7,21,34,.68); }
.button-dive { background: rgba(8,89,107,.62); }
.button-kicker { grid-column: 1 / -1; font-size: .61rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.button strong { font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif; font-size: 1rem; margin-top: .25rem; }
.button-arrow { align-self: end; color: var(--sand); }
.hero-footer { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 1.15rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid rgba(255,255,255,.18); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-footer p { margin: 0; color: rgba(255,255,255,.65); }
.hero-footer a { text-decoration: none; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 8.5rem); }
.intro { display: grid; grid-template-columns: .6fr 1.4fr .8fr; gap: clamp(2rem, 5vw, 6rem); background: var(--foam); color: var(--navy); }
.section-label { font-size: .67rem; text-transform: uppercase; letter-spacing: .15em; color: #567278; }
.section-label span { color: var(--ocean); margin-right: .5rem; }
.overline { color: var(--ocean); margin: 0 0 1.4rem; }
.intro h2, .manifesto h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
.intro-copy > p:last-child { max-width: 700px; color: #415c61; font-size: 1.08rem; }
blockquote { margin: auto 0 0; border-left: 1px solid #9ab3b5; padding-left: 1.4rem; color: #32545b; }
blockquote p { font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif; font-size: 1.25rem; line-height: 1.4; }
blockquote cite { font-size: .72rem; font-style: normal; text-transform: uppercase; letter-spacing: .12em; }

.worlds { display: grid; grid-template-columns: 1fr 1fr; }
.world-card { min-height: 670px; padding: clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.world-card::after { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; right: -190px; bottom: -160px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.sail-card { background: #10384a; }
.dive-card { background: #082936; }
.world-number { color: rgba(255,255,255,.5); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.status { color: var(--sand); display: flex; align-items: center; gap: .5rem; font-size: .67rem; text-transform: uppercase; letter-spacing: .15em; }
.status span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(230,201,155,.13); }
.world-card h2 { font-size: clamp(2.7rem, 5vw, 5.1rem); margin: 1.2rem 0; }
.world-card p:not(.status) { max-width: 550px; color: rgba(255,255,255,.68); }
.world-card a { position: relative; z-index: 1; display: inline-flex; justify-content: space-between; width: min(310px, 100%); margin-top: 1.6rem; padding-bottom: .65rem; border-bottom: 1px solid rgba(255,255,255,.4); text-decoration: none; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.world-card a:hover, .world-card a:focus-visible { color: var(--sand); border-color: var(--sand); }

.manifesto { background: #f3efe6; color: var(--navy); display: grid; grid-template-columns: .5fr 1.5fr; gap: 2rem; }
.manifesto-heading { grid-column: 2; }
.feature-grid { grid-column: 2; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #c9d0cb; margin-top: 2rem; }
.feature-grid article { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid #c9d0cb; }
.feature-grid article:nth-child(odd) { border-right: 1px solid #c9d0cb; }
.feature-grid article:nth-child(even) { padding-left: 2rem; }
.feature-grid span { color: #628085; font-size: .65rem; }
.feature-grid h3 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.feature-grid p { color: #52666a; margin: 0; }

.closing { text-align: center; padding: clamp(7rem, 13vw, 13rem) 1.25rem; background: radial-gradient(circle at 50% 20%, #144f60, var(--navy) 58%); }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(3rem, 6vw, 6.2rem); max-width: 1000px; margin: 1.2rem auto; }
.closing > p:not(.eyebrow) { color: var(--muted); }
.closing-links { margin-top: 2.5rem; display: flex; justify-content: center; gap: 1rem; }
.closing-links a { padding: .9rem 1.25rem; border: 1px solid var(--line); text-decoration: none; min-width: 180px; }
.closing-links a:hover, .closing-links a:focus-visible { border-color: var(--sand); color: var(--sand); }

footer { min-height: 130px; padding: 1.5rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.preflight { justify-self: end; color: var(--sand); }

.channel-page { min-height: 100vh; background: var(--navy); }
.channel-header { position: relative; height: 86px; background: rgba(3,13,23,.86); backdrop-filter: blur(18px); }
.channel-hero { min-height: calc(100svh - 86px); position: relative; display: grid; align-items: center; padding: 8rem clamp(1.25rem, 8vw, 8.5rem) 6rem; overflow: hidden; isolation: isolate; }
.channel-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: url("sea-above-below.png") center/cover no-repeat; transform: scale(1.02); }
.channel-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3,13,23,.97), rgba(3,13,23,.68) 50%, rgba(3,13,23,.32)), linear-gradient(0deg, var(--navy), transparent 45%); }
.channel-page.dive .channel-hero::before { background-position: center 72%; }
.channel-page.sail .channel-hero::before { background-position: center 28%; }
.channel-content { max-width: 780px; }
.channel-content h1 { font-size: clamp(4.2rem, 10vw, 9.5rem); margin: .8rem 0 1.25rem; }
.channel-content h1 span { color: var(--sand); }
.channel-lead { max-width: 650px; color: rgba(255,255,255,.76); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.channel-note { display: inline-flex; align-items: center; gap: .65rem; padding: .6rem .9rem; margin-top: 1.5rem; border: 1px solid var(--line); color: var(--sand); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.channel-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sand); }
.back-link { display: inline-block; margin-top: 2.5rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(255,255,255,.4); text-decoration: none; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.back-link:hover, .back-link:focus-visible { color: var(--sand); border-color: var(--sand); }

@media (max-width: 850px) {
  .site-header { height: 80px; grid-template-columns: 1fr auto; }
  .header-note { display: none; }
  nav { gap: 1rem; }
  nav a:first-child { display: none; }
  .hero-content { margin-left: 1.25rem; padding-top: 8rem; }
  .hero-image { object-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,13,23,.94), rgba(3,13,23,.5)), linear-gradient(0deg, rgba(3,13,23,.78), transparent); }
  .intro { grid-template-columns: 1fr; }
  .worlds { grid-template-columns: 1fr; }
  .world-card { min-height: 580px; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-heading, .feature-grid { grid-column: 1; }
  footer { grid-template-columns: 1fr; gap: 1rem; text-align: center; justify-items: center; padding-block: 2rem; }
  .preflight { justify-self: center; }
}

@media (max-width: 580px) {
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 36px; height: 36px; }
  nav { gap: .75rem; }
  nav a { font-size: .65rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.6rem); }
  .hero-content { width: calc(100vw - 2.5rem); padding-bottom: 9rem; }
  .hero-copy { font-size: .95rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-footer p { display: none; }
  .hero-footer { justify-content: flex-end; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article:nth-child(even) { padding: 1.5rem 0; border-right: 0; }
  .closing-links { flex-direction: column; align-items: center; }
  .channel-content h1 { font-size: 4rem; }
}

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