/* Oceanways archive - matched to oceanways.co (Plus Jakarta Sans, wide hero) */

:root {
  --ink: #1a1a1a;
  --ink-soft: rgba(26, 26, 26, 0.72);
  --contrast: #eaeaea;
  --primary: #b2b3b5;
  --secondary: #31e2a2;
  --hull: #e85d2a;
  --mist: #e8ecee;
  --foam: #f4f5f5;
  --paper: #fafafa;
  --line: rgba(26, 26, 26, 0.12);
  --hero-veil: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.42) 40%,
    rgba(26, 26, 26, 0.72) 100%
  );
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --wide: 81.25rem; /* 1300px - startorg wideSize */
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--wide));
  margin-inline: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--contrast);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ----- Hero (matches live homepage cover) ----- */

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--contrast);
  overflow: clip;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: center center;
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: var(--hero-veil);
}

.hero__frame {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding:
    clamp(1.5rem, 2vh + 1rem, 2.5rem)
    0
    clamp(1.75rem, 4vh, 3rem);
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.logo {
  width: clamp(12rem, 32vw, 16rem);
  height: auto;
}

.status {
  margin: 0;
}

.status__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(234, 234, 234, 0.55);
  border-radius: 100px;
  background: rgba(234, 234, 234, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition:
    background-color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.status__badge:hover {
  background: rgba(234, 234, 234, 0.22);
  border-color: rgba(234, 234, 234, 0.85);
}

#on-hold {
  scroll-margin-top: 1.5rem;
}

.hero__lower {
  display: grid;
  gap: clamp(2.5rem, 8vh, 5rem);
  padding-bottom: 0.5rem;
}

.hero__copy {
  max-width: 40em;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero__lede {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.125rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(234, 234, 234, 0.92);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.45rem;
  border: 1px solid var(--contrast);
  border-radius: 100px;
  color: var(--contrast);
  background: transparent;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

.cta:hover {
  background: var(--contrast);
  color: var(--ink);
}

.hero__seen {
  width: 100%;
}

.hero__seen-label {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(234, 234, 234, 0.7);
  text-align: left;
}

.press {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 2.5vw, 2rem) clamp(1.25rem, 3vw, 2.4rem);
}

.press a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.press a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.press img {
  width: auto;
  height: clamp(1.35rem, 2.4vw, 2rem);
  max-width: 6.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ----- Sections ----- */

.section {
  position: relative;
  padding: clamp(4.5rem, 12vh, 7.5rem) 0;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b4f5c;
}

.section__title {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.section__body {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
  text-wrap: pretty;
}

.section--was {
  background: linear-gradient(180deg, #fff 0%, var(--foam) 100%);
}

.section--was .section__title,
.section--was .section__body,
.section--was .pillars,
.section--proved .section__title,
.section--proved .timeline {
  max-width: 56rem;
}

.section--was::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.pillars {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  max-width: 56rem;
  border-top: 1px solid var(--line);
}

.pillar {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.pillar--media {
  grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr) 140px;
}

.pillar__label {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
  min-width: 0;
}

.pillar__photo {
  display: block;
  width: 140px;
  max-width: 140px;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center top;
}

.section--proved {
  background:
    radial-gradient(70% 80% at 0% 40%, rgba(49, 226, 162, 0.08), transparent 55%),
    linear-gradient(180deg, var(--mist) 0%, #f3f5f6 100%);
}

.timeline {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  max-width: 56rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  column-gap: 1.75rem;
  row-gap: 0.35rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.timeline__item--media {
  grid-template-columns: 5.5rem minmax(0, 1fr) 140px;
}

.timeline__item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline__item time {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--hull);
  padding-top: 0.15rem;
}

.timeline__copy {
  min-width: 0;
}

.timeline__item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.timeline__item p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
}

.timeline__photo {
  display: block;
  width: 140px;
  max-width: 140px;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center top;
}

.section--partners {
  background: var(--ink);
  color: var(--contrast);
  padding: clamp(3.5rem, 9vh, 5.5rem) 0;
}

.partners__label {
  margin: 0 0 2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(178, 179, 181, 0.95);
  text-align: left;
}

.partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem) clamp(1.75rem, 4.5vw, 3.5rem);
}

.partners a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.partners a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.partners img {
  width: auto;
  height: clamp(2.1rem, 3.5vw, 2.85rem);
  max-width: 9.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.section--record {
  background: linear-gradient(180deg, #f7f8f8 0%, var(--mist) 100%);
}

.filmstrip {
  margin-top: 2.5rem;
  display: grid;
  gap: 2.25rem;
  max-width: 56rem;
}

.film {
  margin: 0;
}

.film__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.film__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film figcaption {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 300;
}

.film figcaption span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b4f5c;
}

/* ----- Footer ----- */

.footer {
  background: var(--ink);
  color: rgba(234, 234, 234, 0.82);
  padding: clamp(3.25rem, 9vh, 5rem) 0 clamp(2.25rem, 5vh, 3.25rem);
}

.footer__logo {
  width: clamp(10rem, 24vw, 14rem);
  height: auto;
  margin: 0 0 1.1rem;
}

.footer__note {
  margin: 0 0 2.25rem;
  max-width: 28rem;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
}

.footer__note p {
  margin: 0;
}

.footer__status {
  margin-top: 0.55rem;
}

.footer__status strong {
  font-weight: 700;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(234, 234, 234, 0.14);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.footer__meta p {
  margin: 0;
  color: rgba(234, 234, 234, 0.55);
}

.footer__meta nav {
  display: flex;
  gap: 1.4rem;
}

.footer__meta a {
  color: rgba(234, 234, 234, 0.82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.footer__meta a:hover {
  color: #fff;
  border-color: rgba(234, 234, 234, 0.55);
}

/* ----- Reveal motion ----- */

.reveal {
  opacity: 0;
  transform: translateY(1.2rem);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  --reveal-delay: 60ms;
}

.hero .hero__title {
  --reveal-delay: 140ms;
}

.hero .hero__lede {
  --reveal-delay: 220ms;
}

.hero .hero__actions {
  --reveal-delay: 300ms;
}

.hero .hero__seen {
  --reveal-delay: 380ms;
}

.pillar:nth-child(2),
.timeline__item:nth-child(2),
.film:nth-child(2) {
  --reveal-delay: 90ms;
}

.pillar:nth-child(3),
.timeline__item:nth-child(3) {
  --reveal-delay: 160ms;
}

@media (min-width: 720px) {
  .filmstrip {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .pillar {
    grid-template-columns: 10rem minmax(0, 1fr);
  }

  .pillar--media {
    grid-template-columns: 10rem minmax(0, 1fr) 140px;
  }
}

@media (max-width: 560px) {
  .hero__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .logo {
    width: min(14rem, 78vw);
  }

  .status__badge {
    font-size: 0.68rem;
    padding: 0.35rem 0.65rem;
  }

  .pillar,
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .pillar--media {
    grid-template-columns: minmax(0, 1fr) 110px;
    grid-template-areas:
      "label label"
      "text photo";
    column-gap: 0.85rem;
    row-gap: 0.35rem;
  }

  .pillar--media .pillar__label {
    grid-area: label;
  }

  .pillar--media p {
    grid-area: text;
  }

  .pillar--media .pillar__photo {
    grid-area: photo;
    width: 110px;
    max-width: 110px;
  }

  .timeline__item--media {
    grid-template-columns: minmax(0, 1fr) 110px;
    grid-template-areas:
      "time time"
      "copy photo";
    column-gap: 0.85rem;
    row-gap: 0.35rem;
  }

  .timeline__item--media time {
    grid-area: time;
    padding-top: 0;
  }

  .timeline__item--media .timeline__copy {
    grid-area: copy;
  }

  .timeline__item--media .timeline__photo {
    grid-area: photo;
    width: 110px;
    max-width: 110px;
  }

  .timeline__item time {
    padding-top: 0;
  }
}

/* ----- 404 ----- */

.error-page {
  min-height: 100svh;
  background:
    radial-gradient(90% 60% at 10% 0%, rgba(49, 226, 162, 0.08), transparent 50%),
    linear-gradient(180deg, #121212 0%, var(--ink) 55%, #0d0d0d 100%);
  color: var(--contrast);
}

.error {
  padding: clamp(2.5rem, 8vh, 5rem) 0;
}

.error .logo {
  width: clamp(10rem, 28vw, 14rem);
  margin-bottom: clamp(2.5rem, 8vh, 4rem);
  filter: none;
}

.error__code {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hull);
}

.error__title {
  margin: 0 0 1.1rem;
  max-width: 22rem;
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.error__body {
  margin: 0 0 1rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(234, 234, 234, 0.82);
}

.error__aside {
  margin: 0 0 2rem;
  max-width: 32rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(234, 234, 234, 0.55);
}

.error__cta {
  margin-top: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__video {
    transform: none;
  }

  .cta,
  .footer__meta a,
  .status__badge {
    transition: none;
  }
}
