@font-face {
  font-family: "Imibobo";
  src: url("assets/fonts/imibobo.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-italic-variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-title: "Imibobo", "Montserrat", sans-serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --deep: #00506c;
  --ocean: #204f69;
  --sky: #678da5;
  --foam: #f7f4ed;
  --ink: #102a35;
  --coral: #e5474c;
  --sand: #fcdcaa;
  --green: #2c7e53;
  --white: #ffffff;
  --gutter: clamp(1.1rem, 3vw, 3.6rem);
  --space: clamp(6rem, 11vw, 11rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--foam);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  border: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

::selection {
  color: var(--white);
  background: var(--deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.8rem 1rem;
  color: var(--deep);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-pad {
  padding-inline: var(--gutter);
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 750ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-index {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-index p {
  margin: 0;
  color: currentColor;
  opacity: 0.62;
}

.section-index span {
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  min-height: 5.4rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.6rem var(--gutter);
  color: var(--white);
  transition:
    min-height 250ms ease,
    color 250ms ease,
    background 250ms ease,
    border-color 250ms ease;
}

.site-header.is-scrolled,
.site-header.search-active {
  min-height: 4.7rem;
  border-bottom: 1px solid rgba(16, 42, 53, 0.16);
  color: var(--ink);
  background: rgba(247, 244, 237, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  width: 5.5rem;
  height: 4.1rem;
  line-height: 0;
}

.brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 200ms ease;
}

.brand-color {
  opacity: 0;
}

.site-header.is-scrolled .brand-white,
.site-header.search-active .brand-white {
  opacity: 0;
}

.site-header.is-scrolled .brand-color,
.site-header.search-active .brand-color {
  opacity: 1;
}

.desktop-nav {
  display: flex;
  gap: clamp(1rem, 1.8vw, 2.2rem);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav a,
.header-cta {
  position: relative;
  padding-block: 0.5rem;
}

.desktop-nav a::after,
.header-cta::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.header-cta:hover::after,
.header-cta:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 1.2rem;
}

.header-cta,
.search-toggle {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0;
  color: inherit;
  background: transparent;
}

.search-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.7rem;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 0.35rem;
  background: currentColor;
  transition: transform 220ms ease;
}

.search-panel {
  position: fixed;
  z-index: 95;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  visibility: hidden;
  grid-template-columns: 1fr auto;
  gap: 1rem 3rem;
  padding: 7rem var(--gutter) 2.2rem;
  border-bottom: 1px solid var(--ink);
  background: var(--foam);
  opacity: 0;
  transform: translateY(-100%);
  transition:
    opacity 260ms ease,
    transform 350ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 350ms ease;
}

.search-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.search-form {
  max-width: 56rem;
}

.search-form label {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 4.6rem);
  letter-spacing: -0.05em;
}

.search-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--ink);
}

.search-input-row input {
  min-width: 0;
  padding: 1rem 0;
  outline: 0;
  background: transparent;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.search-input-row button,
.search-nav button,
.search-close {
  padding: 0.7rem 0;
  color: inherit;
  background: transparent;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-input-row button {
  padding-left: 2rem;
}

.search-status {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 56rem;
}

.search-status p {
  margin: 0;
  font-size: 0.74rem;
}

.search-nav {
  display: flex;
  gap: 1rem;
}

.search-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.search-close {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

mark.search-hit {
  padding: 0.08em 0.12em;
  color: var(--ink);
  background: var(--sand);
  scroll-margin-top: 12rem;
}

mark.search-hit.current {
  color: var(--white);
  background: var(--coral);
  outline: 3px solid rgba(229, 71, 76, 0.28);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  visibility: hidden;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  padding: 7rem var(--gutter) 2rem;
  color: var(--white);
  background: var(--deep);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.menu-open .site-header {
  color: var(--white);
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}

.menu-open .site-header .brand-white {
  opacity: 1;
}

.menu-open .site-header .brand-color {
  opacity: 0;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(0.35rem) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-0.35rem) rotate(-45deg);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-menu-links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 10vw, 4rem);
  letter-spacing: -0.05em;
}

.mobile-menu-links a span {
  min-width: 1.8rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.mobile-menu > p {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  color: var(--white);
}

.hero-panel {
  min-height: 100svh;
  background-position: center;
  background-size: cover;
  animation: hero-settle 1400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-city {
  background-image: url("assets/images/city.jpg");
  background-position: center 56%;
  filter: saturate(0.72) contrast(1.08);
}

.hero-ocean {
  background-image: url("assets/images/wave.jpg");
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 24, 33, 0.44), transparent 35%, rgba(2, 24, 33, 0.54)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 48%, rgba(0, 30, 46, 0.12));
}

.hero-kicker,
.hero h1,
.circle-link {
  position: absolute;
  z-index: 2;
}

.hero-kicker {
  top: 29%;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(0, 32, 45, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: fade-up 750ms 350ms both;
}

.hero-kicker i {
  color: var(--coral);
  font-style: normal;
}

.hero h1 {
  top: 50%;
  left: 50%;
  width: min(92vw, 88rem);
  margin: 0;
  font-size: clamp(3.7rem, 8.3vw, 9.7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.79;
  text-align: center;
  text-wrap: balance;
  transform: translate(-50%, -50%);
}

.hero h1 span,
.hero h1 em {
  display: block;
  animation: title-in 1000ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 em {
  margin-top: 0.18em;
  font-family: var(--font-body);
  font-size: 0.78em;
  font-weight: 400;
  letter-spacing: -0.045em;
  animation-delay: 100ms;
}

.circle-link {
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  width: 7rem;
  height: 7rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-up 750ms 600ms both;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.circle-link:hover,
.circle-link:focus-visible {
  color: var(--deep);
  background: var(--white);
  transform: rotate(-5deg);
}

.who {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  padding-top: var(--space);
  padding-bottom: var(--space);
}

.who .section-index {
  grid-column: 1 / 3;
  padding-top: 0.9rem;
}

.who-main {
  grid-column: 3 / 12;
}

.statement,
.story-intro > p,
.contact-intro > p:first-child,
.join-content > p:first-of-type {
  margin: 0 0 1.5rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.who h2,
.story h2,
.section-heading h2,
.pod-heading h2,
.contact-intro h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(3.5rem, 7.4vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}

.who-copy {
  max-width: 48rem;
  margin: clamp(2.5rem, 5vw, 5rem) 0 clamp(4rem, 7vw, 7rem);
  font-size: clamp(1.2rem, 1.75vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.42;
}

.who-image {
  grid-column: 3 / 9;
  margin: 0;
}

.who-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: saturate(0.82);
}

.who-goal {
  grid-column: 9 / 13;
  align-self: end;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--sand);
}

.who-goal > p {
  margin: 0 0 clamp(2.5rem, 5vw, 5rem);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.who-goal strong {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 2.7vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.who-goal a,
.text-link {
  display: inline-block;
  margin-top: 2.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  padding-top: var(--space);
  padding-bottom: var(--space);
  color: var(--white);
  background: var(--deep);
}

.story .section-index {
  grid-column: 1 / 3;
  padding-top: 0.9rem;
}

.story-intro {
  grid-column: 3 / 13;
}

.story-intro h2 {
  max-width: 68rem;
}

.story-placeholder {
  grid-column: 3 / 13;
  display: grid;
  grid-template-columns: minmax(13rem, 0.7fr) minmax(18rem, 1.3fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-top: clamp(4rem, 8vw, 8rem);
  padding-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.founder-mark {
  color: var(--sky);
  font-family: var(--font-body);
  font-size: clamp(6rem, 12vw, 14rem);
  letter-spacing: -0.08em;
  line-height: 0.55;
}

.placeholder-label {
  margin: 0 0 2rem;
  color: var(--sand);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-placeholder > div:last-child > p:not(.placeholder-label) {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  line-height: 1.45;
}

.story-placeholder > div:last-child > span {
  display: block;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
}

.events {
  padding-top: var(--space);
  padding-bottom: var(--space);
}

.events > .section-index {
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 2fr 0.75fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.section-heading > p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}

.next-event {
  position: relative;
  min-height: min(76svh, 53rem);
  overflow: hidden;
  color: var(--white);
}

.next-event > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.next-event:hover > img {
  transform: scale(1.025);
}

.next-event-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 29, 42, 0.48), rgba(0, 24, 35, 0.8));
}

.next-event-label,
.next-event-copy {
  position: absolute;
  z-index: 1;
}

.next-event-label {
  top: var(--gutter);
  left: var(--gutter);
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.next-event-copy {
  right: var(--gutter);
  bottom: var(--gutter);
  left: var(--gutter);
}

.next-event-copy > p {
  margin: 0 0 1rem;
  color: var(--sand);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.next-event-copy h3 {
  max-width: 55rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(3.2rem, 6.5vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.next-event-copy a {
  position: absolute;
  right: 0;
  bottom: 0;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-archive {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1px;
  margin-top: 1.25rem;
  background: rgba(16, 42, 53, 0.24);
}

.archive-heading,
.empty-media,
.social-slot {
  min-height: 19rem;
  padding: 1.5rem;
  background: var(--foam);
}

.archive-heading {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.archive-heading h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.archive-heading p,
.social-slot p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.5;
}

.empty-media {
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(135deg, rgba(103, 141, 165, 0.15), rgba(0, 80, 108, 0.22)),
    var(--foam);
}

.empty-media span,
.social-slot > span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-slot {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: var(--sky);
}

.adventures {
  position: relative;
  min-height: 110svh;
  overflow: hidden;
  color: var(--white);
}

.adventure-bg,
.adventure-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.adventure-bg {
  object-fit: cover;
}

.adventure-shade {
  background:
    linear-gradient(180deg, rgba(0, 34, 49, 0.18), rgba(0, 31, 45, 0.74)),
    linear-gradient(90deg, rgba(0, 24, 35, 0.58), transparent 65%);
}

.adventure-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 110svh;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 1.25rem;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.adventure-content .section-index {
  grid-column: 1 / 4;
}

.adventure-title {
  grid-column: 1 / 10;
  align-self: center;
}

.trip-status {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.55rem 0.7rem;
  color: var(--deep);
  background: var(--sand);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}

.adventure-title h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(5.5rem, 16vw, 17rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.trip-date {
  margin: 1.8rem 0 0;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.adventure-details {
  grid-column: 6 / 13;
  align-self: end;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.adventure-details > p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.55;
}

.inline-form label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.inline-form > .signup-fields {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--white);
}

.inline-form input {
  min-width: 0;
  padding: 1rem 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.inline-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.inline-form button {
  padding-left: 1.5rem;
  color: var(--white);
  background: transparent;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inline-form > p,
.form-message {
  min-height: 1.2em;
  margin: 0.75rem 0 0;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.form-message.is-success,
.inline-form > p.is-success {
  color: var(--sand);
}

.form-message.is-error,
.inline-form > p.is-error {
  color: #ffd2d4;
}

.pod-stories {
  padding-top: var(--space);
  padding-bottom: var(--space);
}

.pod-stories > .section-index {
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.pod-heading {
  display: grid;
  grid-template-columns: 2fr 0.8fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
}

.pod-heading p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}

.pod-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.75fr;
  gap: 1px;
  margin-top: clamp(4rem, 8vw, 8rem);
  background: var(--ink);
}

.pod-photo,
.pod-grid blockquote,
.pod-empty {
  min-height: 33rem;
  margin: 0;
}

.pod-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pod-grid blockquote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--white);
  background: var(--ocean);
}

.pod-grid blockquote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 5vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.pod-grid blockquote footer {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pod-empty {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--sand);
}

.pod-empty span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pod-empty p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 2.4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.join {
  position: relative;
  display: grid;
  min-height: 95svh;
  place-items: center;
  overflow: hidden;
  color: var(--white);
}

.join-bg,
.join-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.join-bg {
  object-fit: cover;
}

.join-shade {
  background:
    linear-gradient(180deg, rgba(0, 31, 45, 0.18), rgba(0, 31, 45, 0.78)),
    rgba(0, 64, 86, 0.12);
}

.join-content {
  position: relative;
  z-index: 1;
  width: min(58rem, calc(100% - var(--gutter) - var(--gutter)));
  padding-block: 7rem;
  text-align: center;
}

.join-logo {
  width: 6.8rem;
  margin: 0 auto 2rem;
}

.join-content h2 {
  margin: 0 0 2rem;
  font-family: var(--font-body);
  font-size: clamp(4rem, 8.4vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.join-form {
  display: grid;
  max-width: 45rem;
  grid-template-columns: 1fr auto;
  margin: clamp(3rem, 6vw, 6rem) auto 0;
  border-bottom: 1px solid var(--white);
}

.join-form input {
  min-width: 0;
  padding: 1.1rem 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  letter-spacing: 0.06em;
}

.join-form input::placeholder {
  color: rgba(255, 255, 255, 0.74);
}

.join-form button {
  padding-left: 2rem;
  color: var(--white);
  background: transparent;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.join .form-message {
  margin-inline: auto;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 9vw, 10rem);
  padding-top: var(--space);
  padding-bottom: var(--space);
  background: var(--sand);
}

.contact-intro h2 {
  font-size: clamp(3.8rem, 7vw, 8rem);
}

.contact-intro > p:last-child {
  max-width: 34rem;
  margin: 2.5rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}

.contact-form {
  align-self: start;
}

.field {
  padding: 0 0 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--ink);
}

.field label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.5rem 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.field textarea {
  min-height: 8rem;
}

.contact-form > button {
  padding: 1rem 1.2rem;
  color: var(--white);
  background: var(--deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-form .form-message {
  display: inline-block;
  margin-left: 1rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.65fr;
  gap: 3rem;
  padding: clamp(4rem, 7vw, 7rem) var(--gutter) 2rem;
  background: var(--foam);
}

.footer-brand img {
  width: 7rem;
}

.footer-brand p {
  margin: 1.3rem 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 2.6vw, 3.2rem);
  letter-spacing: -0.045em;
}

.site-footer nav,
.socials,
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.socials p {
  margin: 0 0 0.75rem;
}

.socials span {
  opacity: 0.62;
}

.socials small {
  margin-top: 0.75rem;
  font-size: 0.56rem;
  opacity: 0.52;
}

.footer-meta {
  grid-column: 1 / 4;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(16, 42, 53, 0.22);
}

.site-footer a {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  border-color: currentColor;
}

@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(0.6em);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
}

@keyframes hero-settle {
  from {
    transform: scale(1.055);
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 0.9rem;
  }

  .header-cta {
    display: none;
  }

  .adventure-details {
    grid-column: 4 / 13;
  }

  .event-archive {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 4.8rem;
    padding-block: 0.35rem;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .brand {
    width: 4.8rem;
    height: 3.7rem;
  }

  .search-toggle span {
    display: none;
  }

  .search-panel {
    padding-top: 6.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .hero-panel {
    min-height: 50svh;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 13vw, 7rem);
    line-height: 0.82;
  }

  .hero-kicker {
    top: 22%;
  }

  .who,
  .story {
    grid-template-columns: repeat(6, 1fr);
  }

  .who .section-index,
  .story .section-index {
    grid-column: 1 / 3;
  }

  .who-main,
  .story-intro,
  .story-placeholder {
    grid-column: 3 / 7;
  }

  .who-image {
    grid-column: 1 / 5;
  }

  .who-goal {
    grid-column: 4 / 7;
    margin-left: -1.5rem;
  }

  .section-heading,
  .pod-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p,
  .pod-heading > p {
    max-width: 36rem;
  }

  .next-event-copy a {
    display: none;
  }

  .adventure-details {
    grid-column: 2 / 13;
  }

  .pod-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pod-empty {
    grid-column: 1 / 3;
    min-height: 18rem;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / 3;
  }

  .footer-meta {
    grid-column: 1 / 3;
  }
}

@media (max-width: 620px) {
  :root {
    --space: 5.5rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .search-panel {
    display: block;
    height: 100svh;
    padding-top: 7rem;
  }

  .search-form label {
    padding-right: 3rem;
    font-size: 2.5rem;
  }

  .search-status {
    display: block;
    margin-top: 1.5rem;
  }

  .search-nav {
    margin-top: 1.2rem;
  }

  .search-close {
    position: absolute;
    top: 6.8rem;
    right: var(--gutter);
  }

  .hero h1 {
    font-size: clamp(3.3rem, 16vw, 5.6rem);
    line-height: 0.84;
  }

  .hero-kicker {
    top: 20%;
    gap: 0.45rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.57rem;
  }

  .circle-link {
    right: 1rem;
    bottom: 1.1rem;
    width: 5.3rem;
    height: 5.3rem;
    font-size: 0.52rem;
  }

  .who,
  .story {
    display: block;
  }

  .who .section-index,
  .story .section-index,
  .events > .section-index,
  .pod-stories > .section-index {
    margin-bottom: 2.5rem;
  }

  .who h2,
  .story h2,
  .section-heading h2,
  .pod-heading h2,
  .contact-intro h2 {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .who-copy {
    margin-block: 2.5rem 4rem;
  }

  .who-image img {
    aspect-ratio: 4 / 5;
  }

  .who-goal {
    width: calc(100% - 1.5rem);
    margin: -2.2rem 0 0 auto;
  }

  .story-placeholder {
    display: block;
    margin-top: 4rem;
  }

  .founder-mark {
    margin-bottom: 4rem;
    font-size: 8rem;
  }

  .next-event {
    min-height: 72svh;
  }

  .next-event-copy h3 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .event-archive {
    grid-template-columns: 1fr;
  }

  .archive-heading,
  .empty-media,
  .social-slot {
    min-height: 15rem;
  }

  .adventure-content {
    display: flex;
    min-height: 105svh;
    flex-direction: column;
    justify-content: space-between;
  }

  .adventure-title {
    margin-block: auto;
  }

  .adventure-title h2 {
    font-size: clamp(5rem, 24vw, 8rem);
  }

  .adventure-details {
    display: block;
  }

  .inline-form {
    margin-top: 2.5rem;
  }

  .inline-form > div,
  .join-form {
    grid-template-columns: 1fr;
  }

  .inline-form button,
  .join-form button {
    justify-self: end;
    padding: 0.8rem 0;
  }

  .pod-grid {
    grid-template-columns: 1fr;
  }

  .pod-photo,
  .pod-grid blockquote {
    min-height: 70svh;
  }

  .pod-empty {
    grid-column: auto;
  }

  .join-content h2 {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .contact-form .form-message {
    display: block;
    margin-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-meta {
    grid-column: auto;
  }

  .site-footer nav {
    padding-block: 2rem;
    border-block: 1px solid rgba(16, 42, 53, 0.2);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Compact editorial composition */
:root {
  --space: clamp(4.25rem, 7vw, 7.25rem);
}

.brand img {
  transition: opacity 360ms ease;
}

.dolphin-link {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 1.75rem;
  width: clamp(5.5rem, 8vw, 8rem);
  padding: 0.7rem;
  opacity: 0.5;
  animation: fade-up 750ms 500ms both;
  transition: opacity 220ms ease, transform 220ms ease;
}

.dolphin-link img {
  width: 100%;
  filter: drop-shadow(0 0.4rem 1.2rem rgba(0, 25, 38, 0.24));
}

.dolphin-link:hover,
.dolphin-link:focus-visible {
  opacity: 1;
  transform: translateY(-0.3rem);
}

.dolphin-link:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 0.25rem;
}

.who,
.events,
.pod-stories {
  display: block;
  padding-block: clamp(1rem, 2vw, 2rem);
}

.who .section-index,
.events > .section-index,
.pod-stories > .section-index {
  padding-top: 0;
  margin-bottom: 1.4rem;
}

.who-visual,
.pod-feature {
  position: relative;
  min-height: min(72svh, 48rem);
  overflow: hidden;
  color: var(--white);
}

.who-visual > img,
.pod-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.who-visual > img {
  object-position: center 58%;
}

.who-visual:hover > img,
.pod-feature:hover > img {
  transform: scale(1.018);
}

.who-shade,
.pod-feature-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 25, 35, 0.16), rgba(3, 25, 35, 0.76)),
    linear-gradient(90deg, rgba(3, 25, 35, 0.5), transparent 70%);
}

.who-main {
  position: absolute;
  z-index: 1;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.5rem, 4vw, 4rem);
  left: clamp(1.5rem, 4vw, 4rem);
  max-width: 58rem;
}

.who h2 {
  max-width: 58rem;
  font-size: clamp(3.6rem, 7vw, 8.2rem);
}

.who-copy {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.48;
}

.who-goal {
  position: absolute;
  z-index: 2;
  top: clamp(1.25rem, 3vw, 3rem);
  right: clamp(1.25rem, 3vw, 3rem);
  width: min(24rem, 31vw);
  padding: clamp(1.2rem, 2.2vw, 2rem);
  color: var(--ink);
  background: rgba(252, 220, 170, 0.94);
  backdrop-filter: blur(8px);
}

.who-goal > p {
  margin: 0 0 1.3rem;
}

.who-goal strong {
  font-size: clamp(1.4rem, 2.1vw, 2.5rem);
}

.who-goal a {
  margin-top: 1.5rem;
}

.story {
  padding-top: var(--space);
  padding-bottom: var(--space);
}

.story .section-index {
  padding-top: 0.35rem;
}

.story-layout {
  grid-column: 3 / 13;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: end;
}

.story-intro {
  grid-column: auto;
}

.story h2 {
  font-size: clamp(3.4rem, 6.2vw, 7.5rem);
}

.story-placeholder {
  grid-column: auto;
  display: block;
  margin-top: 0;
  padding: clamp(1.4rem, 2.6vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.founder-mark {
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  color: var(--sky);
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.story-placeholder > p:not(.placeholder-label):not(.founder-mark) {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.5;
}

.story-placeholder > span {
  display: block;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
}

.next-event {
  min-height: clamp(21rem, 34vw, 30rem);
}

.next-event-copy {
  position: relative;
  inset: auto;
  display: flex;
  min-height: inherit;
  max-width: 70rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 3vw, 2.75rem);
}

.next-event-copy h2 {
  max-width: 60rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(3.5rem, 7.2vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.next-event-copy > p.event-deck {
  max-width: 44rem;
  margin: 1.4rem 0 0;
  color: var(--white);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.event-upcoming {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.25rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.event-upcoming p {
  margin: 0;
  color: var(--sand);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.event-upcoming a {
  position: static;
  flex: none;
}

.adventures,
.adventure-content {
  min-height: 88svh;
}

.adventure-bg {
  object-position: center;
}

.adventure-content {
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.adventure-title h2 {
  font-size: clamp(5.5rem, 14vw, 15rem);
}

.adventure-details {
  grid-column: 5 / 13;
}

.pod-feature > img {
  object-position: center 52%;
}

.pod-feature-shade {
  background:
    linear-gradient(90deg, rgba(0, 32, 45, 0.8), rgba(0, 32, 45, 0.12) 78%),
    linear-gradient(180deg, transparent 45%, rgba(0, 25, 38, 0.48));
}

.pod-feature-copy {
  position: relative;
  z-index: 1;
  inset: auto;
  display: flex;
  max-width: none;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.pod-feature-copy h2 {
  max-width: 42rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(3.4rem, 6.4vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.pod-feature-copy > p {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.5;
}

.pod-feature blockquote {
  padding-top: 1.25rem;
  max-width: 42rem;
  margin: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.pod-feature blockquote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 2.7vw, 3.2rem);
  letter-spacing: -0.04em;
}

.pod-feature blockquote footer {
  margin-top: 0.65rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pod-feature .text-link {
  margin-top: 1.25rem;
}

.join {
  min-height: 72svh;
}

.join-content {
  padding-block: 4.5rem;
}

.join-content h2 {
  font-size: clamp(4rem, 7.6vw, 9rem);
}

.join-form {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.contact {
  padding-top: var(--space);
  padding-bottom: var(--space);
}

.site-footer {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  padding-top: clamp(3rem, 5vw, 5rem);
}

.socials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: center;
  gap: 1rem;
}

.socials > p {
  grid-column: 1 / -1;
  margin: 0;
}

.social-accounts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.pod-feature {
  min-height: 0;
}

@media (max-width: 860px) {
  .who-visual {
    min-height: 48rem;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .who-goal {
    width: min(22rem, 45vw);
  }

  .story-layout {
    grid-column: 3 / 7;
    grid-template-columns: 1fr;
  }

  .adventure-details {
    grid-column: 3 / 13;
  }
}

@media (max-width: 620px) {
  :root {
    --space: 3.75rem;
  }

  .dolphin-link {
    right: 0.7rem;
    bottom: 0.9rem;
    width: 6rem;
  }

  .who-visual {
    min-height: 44rem;
  }

  .who-main {
    right: 1.15rem;
    bottom: 1.25rem;
    left: 1.15rem;
  }

  .who h2 {
    font-size: clamp(3.1rem, 14vw, 4.7rem);
  }

  .who-copy {
    font-size: 0.96rem;
  }

  .who-goal {
    top: 1rem;
    right: 1rem;
    width: min(20rem, calc(100% - 2rem));
  }

  .who-goal strong {
    font-size: 1.4rem;
  }

  .story-layout {
    display: block;
  }

  .story-placeholder {
    margin-top: 2.5rem;
  }

  .founder-mark {
    margin-bottom: 2rem;
    font-size: 0.67rem;
  }

  .next-event {
    min-height: 21rem;
  }

  .next-event-copy h2 {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .event-upcoming {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .adventures,
  .adventure-content {
    min-height: 94svh;
  }

  .adventure-content {
    padding-top: 5.5rem;
  }

  .pod-feature {
    min-height: 0;
  }

  .pod-feature > img {
    object-position: 50% 52%;
  }

  .pod-feature-shade {
    background: linear-gradient(180deg, rgba(0, 32, 45, 0.32), rgba(0, 32, 45, 0.88));
  }

  .pod-feature-copy {
    inset: auto;
  }

  .pod-feature-copy h2 {
    font-size: clamp(2.5rem, 10.5vw, 3.5rem);
  }

  .join {
    min-height: 70svh;
  }
}

/* Founder photographs and the revised landing-page copy. */
.who-visual {
  min-height: clamp(25rem, 48svh, 36rem);
}

.who-main {
  position: relative;
  inset: auto;
  display: flex;
  min-height: inherit;
  max-width: none;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.who-copy {
  max-width: 50rem;
}

.story.story--founders {
  display: block;
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.story-heading {
  margin-bottom: 2rem;
}

.story.story--founders h2 {
  font-size: clamp(1rem, 3vw, 3rem);
  letter-spacing: 0.015em;
  line-height: 1.16;
  text-wrap: initial;
  white-space: nowrap;
}

.story-slider {
  --story-photo-height: clamp(24rem, 40vw, 36rem);
  --story-peek-width: clamp(2.5rem, 5.5vw, 5rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--story-peek-width);
  gap: 1.25rem clamp(1.5rem, 3vw, 3rem);
}

.story-slider:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 0.5rem;
}

.story-slider:has(.story-slide--landscape:not([hidden])) {
  --story-photo-height: clamp(12rem, 24vw, 24rem);
}

.story-slide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  min-height: var(--story-photo-height);
  animation: story-chapter-in 350ms ease both;
}

.story-slide[hidden] {
  display: none;
}

.story-slide img {
  width: auto;
  height: var(--story-photo-height);
  max-width: none;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.story-slide--landscape img {
  aspect-ratio: 1992 / 1125;
}

.story-slide p {
  align-self: center;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.story-peek {
  height: var(--story-photo-height);
  padding: 0;
  overflow: hidden;
  background: transparent;
  opacity: 0.45;
  transition: opacity 200ms ease;
}

.story-peek img {
  width: auto;
  height: 100%;
  max-width: none;
  aspect-ratio: 3 / 4;
  filter: blur(4px);
  transform: translateX(-28%) scale(1.04);
}

.story-peek:hover,
.story-peek:focus-visible {
  opacity: 0.7;
}

.story-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

#story-progress {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.story-arrows {
  display: flex;
  gap: 0.75rem;
}

.story-arrows button {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.8rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
}

.story-arrows button:hover {
  color: var(--deep);
  background: var(--sand);
}

.story-arrows button:focus-visible,
.story-peek:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

.story-arrows svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

@keyframes story-chapter-in {
  from {
    opacity: 0;
    transform: translateX(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.next-event-copy h2 {
  max-width: none;
  font-size: clamp(2.5rem, 5.25vw, 6.3rem);
  line-height: 1.05;
}

.event-upcoming {
  padding-top: 0;
  border-top: 0;
}

.event-upcoming a {
  display: inline-block;
  padding: 1.25rem 1.5rem;
  border-bottom: 0;
  color: var(--deep);
  background: var(--sand);
  font-size: 0.875rem;
  border-radius: 0.65rem 1.75rem 0.65rem 1.75rem;
  clip-path: polygon(0 15%, 8% 10%, 16% 6%, 24% 5%, 32% 8%, 40% 13%, 48% 17%, 56% 19%, 64% 17%, 72% 12%, 80% 7%, 88% 5%, 96% 8%, 100% 10%, 100% 85%, 92% 90%, 84% 94%, 76% 95%, 68% 92%, 60% 87%, 52% 83%, 44% 81%, 36% 83%, 28% 88%, 20% 93%, 12% 95%, 4% 92%, 0 90%);
  transition: background 200ms ease;
}

.event-upcoming a:hover,
.event-upcoming a:focus-visible {
  background: var(--white);
}

.event-upcoming:has(a:focus-visible) {
  outline: 2px solid var(--sand);
  outline-offset: 0.4rem;
}

.adventure-content {
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr);
  grid-template-rows: 1fr;
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.adventure-title {
  grid-column: auto;
  align-self: end;
}

.adventure-title h2 {
  font-size: clamp(5.5rem, 12.5vw, 14rem);
}

.trip-copy {
  max-width: 36rem;
  margin: 1.3rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}

.adventure-details {
  grid-column: auto;
  display: block;
  width: 100%;
  max-width: 32rem;
  justify-self: end;
}

.pod-feature blockquote {
  padding-top: 0;
  border-top: 0;
}

.join {
  display: block;
  min-height: 0;
  place-items: normal;
  background: var(--deep);
}

.join-content {
  margin-inline: auto;
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.join-logo {
  width: 4.5rem;
  margin-bottom: 1rem;
}

.join-content h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 6rem);
}

.join-form {
  margin-top: 2rem;
}

.join .form-message:empty {
  display: none;
}

.pod-feature button.text-link {
  padding: 0;
  color: inherit;
  background: transparent;
}

.contact-launcher {
  align-self: center;
  padding: 0.9rem 1.2rem;
  margin-top: 0;
  color: var(--white);
  background: var(--deep);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.contact-launcher:hover,
.contact-launcher:focus-visible {
  background: var(--ocean);
}

.contact-panel {
  position: fixed;
  z-index: 150;
  top: auto;
  right: var(--gutter);
  bottom: 1.25rem;
  left: auto;
  width: min(25rem, calc(100vw - var(--gutter) - var(--gutter)));
  max-height: calc(100dvh - 2.5rem);
  padding: 1.5rem;
  margin: 0;
  overflow-y: auto;
  border: 1px solid rgba(16, 42, 53, 0.2);
  border-radius: 0.75rem;
  color: var(--ink);
  background: var(--foam);
  box-shadow: 0 1rem 4rem rgba(0, 25, 38, 0.25);
}

.contact-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.contact-panel-heading p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.contact-close {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
}

.contact-panel h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.contact-panel-intro {
  margin: 0.75rem 0 1.25rem;
  font-size: 1rem;
  line-height: 1.45;
}

.contact-panel .field {
  padding-bottom: 0.3rem;
  margin-bottom: 0.85rem;
}

.contact-panel .field label {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
}

.contact-panel textarea {
  min-height: 5rem;
}

.contact-panel .contact-form > button {
  width: 100%;
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
}

.contact-panel .form-message {
  display: block;
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.contact-panel .form-message.is-error {
  color: #a52934;
}

.contact-panel .form-message.is-success {
  color: var(--deep);
}

.signup-notice,
.inline-form > p.signup-notice {
  margin: 0.8rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.join-form {
  display: block;
  border-bottom: 0;
}

.join-form > .signup-fields {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--white);
}

.formkit-form[hidden],
.signup-switch[hidden],
#contact-newsletter-status[hidden],
.kit-credit[hidden] {
  display: none;
}

.formkit-alert {
  padding: 0.8rem 0;
  margin: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.5;
}

.formkit-alert:empty {
  display: none;
}

.formkit-alert-error {
  color: #ffd2d4;
}

.formkit-alert-success {
  color: var(--sand);
}

.formkit-submit[data-active] {
  opacity: 0.6;
  cursor: wait;
}

.formkit-submit[data-active] span {
  visibility: hidden;
}

.formkit-submit[data-active]::after {
  content: "Sending…";
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  justify-content: end;
}

.formkit-submit {
  position: relative;
}

.kit-credit {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.6875rem;
  line-height: 1.4;
  opacity: 0.75;
  text-decoration: underline;
}

.signup-switch {
  display: block;
  padding: 0;
  margin: 0.75rem auto 0;
  color: inherit;
  background: transparent;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.signup-switch:focus-visible,
.kit-credit:focus-visible,
.formkit-form input:focus-visible,
.formkit-form button:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  cursor: pointer;
}

.newsletter-consent input {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  padding: 0;
  margin: 0.1rem 0 0;
  accent-color: var(--deep);
}

.contact-email-fallback {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  text-decoration: underline;
}

.contact-email-fallback[hidden] {
  display: none;
}

.contact-panel input:focus-visible,
.contact-panel textarea:focus-visible,
.contact-panel button:focus-visible,
.contact-launcher:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .story-slider {
    --story-photo-height: 16rem;
    display: block;
  }

  .story-slider:has(.story-slide--landscape:not([hidden])) {
    --story-photo-height: min(16rem, calc((100vw - var(--gutter) - var(--gutter) - 7rem) * 0.56476));
  }

  .story-slide {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .story-slide img {
    justify-self: center;
  }

  .story-peek {
    display: none;
  }

  .story-slide p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .story-controls {
    display: block;
    margin-top: 1rem;
    text-align: center;
  }

  .story-arrows {
    position: absolute;
    top: calc(var(--story-photo-height) / 2);
    right: 0;
    left: 0;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .story-arrows button {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
    pointer-events: auto;
  }

  .adventure-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .adventure-details {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .who-visual {
    min-height: 27rem;
  }

  .who-main {
    padding: 2rem 1.25rem;
  }

  .who-copy {
    font-size: 1rem;
  }

  .story.story--founders h2 {
    font-size: clamp(0.65rem, 3.5vw, 1.4rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .join-content h2 {
    font-size: clamp(3rem, 13.5vw, 4.5rem);
  }

  .contact-panel {
    bottom: 0.75rem;
    max-height: calc(100dvh - 1.5rem);
    padding: 1.25rem;
  }

  .next-event-copy h2 {
    font-size: clamp(2.5rem, 10vw, 3.7rem);
  }

  .adventure-title {
    margin-block: 0;
  }

  .adventure-content {
    justify-content: flex-end;
    gap: 2.5rem;
  }

  .adventure-details .inline-form {
    margin-top: 0;
  }
}

/* Local brand fonts: display face for titles, Montserrat everywhere else. */
#hero-title,
#who-title,
#story-title,
#events-title,
#adventures-title,
#pod-title,
#join-title,
#contact-title,
.search-form label {
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.015em;
  line-height: 1.1;
}

#hero-title em {
  font-family: inherit;
  font-style: normal;
}
