:root {
  --ink: #19211f;
  --navy: #101f33;
  --muted: #5d6a66;
  --soft: #f8f5ef;
  --card: #ffffff;
  --line: #e5ddd2;
  --accent: #0f6b61;
  --accent-2: #c55f4b;
  --sky: #dceaf0;
  --sun: #f2c766;
  --shadow: 0 18px 42px rgba(25, 33, 31, 0.08);
}

* {
  box-sizing: border-box;
}

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

.holding-page {
  min-height: 100vh;
  background: #f7f4ee;
}

.holding {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.holding h1 {
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 850;
  letter-spacing: 0;
}

.join-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(16, 31, 51, 0.06), transparent 34%),
    var(--soft);
}

.join-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.public-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.branded-join {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
  padding: 72px 0 90px;
}

.branded-join-intro {
  position: sticky;
  top: 32px;
  padding-top: 18px;
}

.branded-join-intro h1 {
  color: var(--navy);
}

.branded-join-intro p {
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.32rem);
}

.join-card {
  position: relative;
  padding: 1px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(16, 31, 51, 0.26), rgba(242, 199, 102, 0.55), rgba(58, 128, 151, 0.34));
  box-shadow: 0 26px 70px rgba(16, 31, 51, 0.12);
}

.branded-join-form {
  padding: 28px;
  background: var(--card);
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.branded-join-form label,
.branded-join-form fieldset {
  display: grid;
  gap: 8px;
}

.branded-join-form span,
.branded-join-form legend {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.branded-join-form em {
  color: var(--muted);
  font-style: normal;
  font-weight: 650;
}

.branded-join-form input,
.branded-join-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(16, 31, 51, 0.13);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
}

.branded-join-form input:focus,
.branded-join-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(15, 107, 97, 0.13);
}

.branded-join-form textarea {
  resize: vertical;
}

.branded-join-form fieldset {
  margin: 22px 0 0;
  padding: 20px;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.branded-join-form fieldset label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 650;
}

.branded-join-form input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.full-field {
  margin-top: 22px;
}

.consent-check {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
}

.consent-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.consent-check span {
  font-size: 1rem;
}

.form-status {
  min-height: 1.6em;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.form-status[data-state="success"] {
  color: var(--accent);
}

.form-status[data-state="error"] {
  color: #a14435;
}

.join-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.error-page {
  min-height: 100vh;
  background: #f7f4ee;
}

.error-wrap {
  width: min(680px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
}

.error-brand {
  margin: 0;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-wrap h1 {
  font-size: clamp(2.4rem, 8vw, 5rem);
  max-width: 680px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.error-wrap p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
}

a {
  color: inherit;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand-mark {
  font-weight: 850;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.gradient-line {
  display: block;
  height: 4px;
  width: 92px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f36b6b, #f6c85f, #6dcf8f, #5aa6ff, #ba78ff);
}

nav {
  display: flex;
  gap: 20px;
  font-weight: 650;
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: 56px 0 76px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.9rem);
  max-width: 900px;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.hero-copy,
.page-hero p,
.intro p,
.cta-panel p {
  max-width: 720px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.primary:hover {
  background: var(--accent);
}

.button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-media {
  min-height: 470px;
  position: relative;
}

.image-placeholder,
.card-image,
.story-image {
  color: rgba(25, 33, 31, 0.78);
  background:
    linear-gradient(135deg, rgba(15, 107, 97, 0.18), rgba(242, 199, 102, 0.2)),
    var(--sky);
  border: 1px solid rgba(25, 33, 31, 0.09);
  overflow: hidden;
}

.image-placeholder {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.image-placeholder::before,
.card-image::before,
.story-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 26%, rgba(255, 255, 255, 0.62) 0 9%, transparent 10%),
    radial-gradient(circle at 70% 34%, rgba(255, 255, 255, 0.42) 0 7%, transparent 8%),
    linear-gradient(160deg, transparent 0 58%, rgba(197, 95, 75, 0.26) 59% 100%);
  pointer-events: none;
}

.image-placeholder.large {
  inset: 0 56px 72px 0;
  border-radius: 8px;
}

.image-placeholder.small {
  right: 0;
  bottom: 0;
  width: 52%;
  min-height: 190px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(197, 95, 75, 0.18), rgba(15, 107, 97, 0.18)),
    #efe7dd;
}

.image-placeholder span,
.story-image span {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 850;
}

.image-placeholder strong,
.story-image strong {
  position: relative;
  z-index: 1;
  max-width: 260px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.intro,
.cards-section,
.why,
.story-band,
.cta-panel,
.form-wrap,
.details-grid,
.content-page {
  padding: 56px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 24px;
}

.cards,
.why-grid,
.details-grid,
.form-wrap {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.why-grid,
.details-grid,
.form-wrap {
  grid-template-columns: repeat(3, 1fr);
}

.form-wrap {
  grid-template-columns: 2fr 1fr;
}

.card,
.detail-card,
.note-card,
.form-card,
.cta-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card {
  display: flex;
  flex-direction: column;
}

.card.featured {
  transform: translateY(-8px);
}

.card-image {
  position: relative;
  min-height: 180px;
  border-radius: 6px;
  margin: -12px -12px 22px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card p,
.detail-card p,
.note-card p,
.form-card p,
.why p,
.content-page p {
  color: var(--muted);
}

.card a {
  margin-top: auto;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
}

.why-grid > div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 34px;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.story-copy {
  align-self: center;
}

.story-copy p {
  color: var(--muted);
  font-size: 1.1rem;
}

.story-image {
  position: relative;
  min-height: 360px;
  border-radius: 8px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}

.cta-panel {
  margin: 32px 0 72px;
  background:
    linear-gradient(135deg, rgba(15, 107, 97, 0.08), rgba(242, 199, 102, 0.12)),
    var(--card);
}

.page-hero {
  padding: 76px 0 28px;
}

.trip-hero {
  padding-bottom: 48px;
}

.form-placeholder {
  min-height: 360px;
  border: 2px dashed var(--line);
  border-radius: 18px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 28px;
  background: #faf8f4;
}

.muted {
  color: var(--muted);
}

.content-page {
  max-width: 760px;
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 0 56px;
  }

  .hero-media {
    min-height: 330px;
  }

  .cards,
  .why-grid,
  .details-grid,
  .form-wrap,
  .intro,
  .story-band {
    grid-template-columns: 1fr;
  }

  .card.featured {
    transform: none;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .branded-join,
  .form-grid,
  .branded-join-form fieldset {
    grid-template-columns: 1fr;
  }

  .branded-join {
    gap: 28px;
    padding: 48px 0 72px;
  }

  .branded-join-intro {
    position: static;
  }

  .branded-join-form {
    padding: 22px;
  }

  .join-card {
    border-radius: 8px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .image-placeholder.large {
    inset: 0 28px 52px 0;
  }

  .image-placeholder.small {
    width: 58%;
    min-height: 150px;
  }

  .intro,
  .cards-section,
  .why,
  .story-band,
  .cta-panel,
  .form-wrap,
  .details-grid,
  .content-page {
    padding: 42px 0;
  }

  .card,
  .detail-card,
  .note-card,
  .form-card,
  .cta-panel {
    padding: 22px;
  }
}
