/* SkyTribe — marketing site */

:root {
  --ink: #0d0b08;
  --ink-2: #1a1612;
  --ink-3: #2a241e;
  --paper: #f5efe4;
  --paper-2: #ebe3d3;
  --paper-3: #d9cfbb;
  --bone: #fff;
  --ochre: #c9882f;
  --ochre-deep: #a36a1d;
  --sand: #d4b37a;
  --dust: #9a8b74;
  --rust: #7a4b2a;
  --sans: "Switzer", "Helvetica Neue", helvetica, arial, sans-serif;
  --serif: "Sentient", "Times New Roman", serif;
  --mono: "Martian Mono", ui-monospace, menlo, consolas, monospace;
  --gutter: 48px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  width: 100%;
  max-width: 100vw;

  /* Match the footer so iOS over-scroll and any below-footer empty space
     don't reveal a stray cream stripe under the dark sections. */
  background: var(--ink);
}

body {
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Fill at least the viewport and push the footer to the bottom when
     page content is shorter than the window. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > .footer {
  margin-top: auto;
}

/* Main content sections grow to fill any empty viewport space so the
   section background (not the body background) owns the full area above
   the footer on short pages. */
.hero,
.cta {
  flex: 1 0 auto;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ============ utilities ============ */

.voice {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.mono-caps {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--ochre);
}

.eyebrow--paper {
  color: var(--paper);
}

.eyebrow--dust {
  color: var(--dust);
}

.hair {
  border: 0;
  height: 1px;
  background: currentcolor;
  opacity: 0.14;
  margin: 0;
}

/* placeholder backgrounds */
.ph {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(122, 75, 42, 0.08) 0 12px,
      rgba(122, 75, 42, 0.14) 12px 24px
    ),
    linear-gradient(180deg, #c9a87a 0%, #a8794a 50%, #7a4b2a 100%);
}

.ph--dusk {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0 12px, rgba(0, 0, 0, 0.12) 12px 24px),
    linear-gradient(180deg, #e8b079 0%, #c9882f 45%, #5a3a1f 100%);
}

.ph--night {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03) 0 12px,
      rgba(255, 255, 255, 0.06) 12px 24px
    ),
    linear-gradient(180deg, #1a2230 0%, #0d0b08 100%);
}

/* ============ phone bezel ============ */
.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 1170 / 2532;
  border-radius: 38px;
  background: var(--ink);
  padding: 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.45),
    0 8px 20px -8px rgba(0, 0, 0, 0.35);
}

.phone--centred {
  margin-inline: auto;
}

.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: 22px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #0d0b08;
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition:
    transform 120ms ease,
    background 120ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--ink-2);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--paper);
  border-color: rgba(245, 239, 228, 0.4);
}

.btn--ghost-dark:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn--paper {
  background: var(--paper);
  color: var(--ink);
}

.btn--paper:hover {
  background: var(--bone);
}

.btn--ochre {
  background: var(--ochre);
  color: var(--ink);
}

.btn--ochre:hover {
  background: var(--ochre-deep);
  color: var(--paper);
}

.btn__arrow {
  font-size: 17px;
  line-height: 1;
}

/* ============ skip to content (visually-hidden until focused) ============ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: top 120ms ease;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

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

[id="main"]:focus {
  outline: none;
}

/* ============ fixed site nav (persistent across pages) ============ */
.sitenav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 14px var(--gutter);
  transition:
    background 220ms ease,
    border-bottom-color 220ms ease;
}

.sitenav--scrolled {
  background: rgba(245, 239, 228, 0.92);
  -webkit-backdrop-filter: saturate(1.3) blur(8px);
  backdrop-filter: saturate(1.3) blur(8px);
  border-bottom-color: rgba(13, 11, 8, 0.08);
}

.sitenav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.sitenav__brand {
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
  transition:
    color 220ms ease,
    filter 220ms ease;
}

.sitenav__brand:hover {
  color: var(--sand);
}

.sitenav--scrolled .sitenav__brand {
  color: var(--ink);
  filter: none;
}

.sitenav--scrolled .sitenav__brand:hover {
  color: var(--ochre-deep);
}

.sitenav__mark {
  width: 72px;
  height: 72px;
  display: inline-block;
  background-color: currentcolor;
  -webkit-mask: url("assets/branding/skytribe_logo.svg") center / contain no-repeat;
  mask: url("assets/branding/skytribe_logo.svg") center / contain no-repeat;
}

.sitenav__tabs {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-family: var(--sans);
  font-size: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sitenav__tabs::-webkit-scrollbar {
  display: none;
}

.sitenav__tabs a {
  color: rgba(245, 239, 228, 0.85);
  padding: 14px 0 12px;
  box-shadow: inset 0 -2px 0 transparent;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition:
    color 220ms ease,
    box-shadow 220ms ease,
    text-shadow 220ms ease;
  white-space: nowrap;
}

.sitenav__tabs a:hover {
  color: var(--paper);
}

.sitenav__tabs a[aria-current="page"] {
  color: var(--paper);
  box-shadow: inset 0 -2px 0 var(--sand);
}

.sitenav--scrolled .sitenav__tabs a {
  color: var(--ink-3);
  text-shadow: none;
}

.sitenav--scrolled .sitenav__tabs a:hover {
  color: var(--ochre-deep);
}

.sitenav--scrolled .sitenav__tabs a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ochre);
}

.sitenav__cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 8px;
  background: var(--ochre);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background 120ms ease,
    color 120ms ease;
}

.sitenav__cta:hover {
  background: var(--ochre-deep);
  color: var(--paper);
}

.sitenav__cta[aria-current="page"] {
  background: var(--ochre-deep);
  color: var(--paper);
}

/* ============ page-hero (for sub-pages) ============ */
.page-hero {
  padding: 80px var(--gutter) 60px;
  background: var(--paper-2);
  border-bottom: 1px solid rgba(13, 11, 8, 0.08);
}

.page-hero--photo {
  position: relative;
  padding: 140px var(--gutter) 100px;
  background: transparent;
  border-bottom: 0;
  color: var(--paper);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 40%; /* default: balance sky and ground */
}

.page-hero--story .page-hero__bg__img {
  object-position: 25% 40%; /* keep windsock + tents, slight bias for more sky */
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 11, 8, 0.45) 0%,
    rgba(13, 11, 8, 0.25) 45%,
    rgba(13, 11, 8, 0.65) 100%
  );
}

.page-hero--photo .page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero--photo .page-hero__eyebrow {
  color: var(--sand);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.page-hero--photo .page-hero__title {
  color: var(--paper);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.page-hero--photo .page-hero__title .voice {
  color: var(--sand);
}

.page-hero--photo .page-hero__lede {
  color: rgba(245, 239, 228, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.photo-credit {
  position: absolute;
  top: 116px;
  right: var(--gutter);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: transparent;
  border: 0;
  color: rgba(245, 239, 228, 0.75);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  cursor: pointer;
  transition: color 160ms ease;
}

.photo-credit:hover,
.photo-credit:focus-visible {
  color: var(--paper);
  outline: none;
}

.photo-credit__icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentcolor;
  -webkit-mask: url("assets/branding/camera.svg") center / contain no-repeat;
  mask: url("assets/branding/camera.svg") center / contain no-repeat;
}

.photo-credit__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  padding: 10px 14px;
  background: rgba(13, 11, 8, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 239, 228, 0.15);
  border-radius: 8px;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 9px;
  line-height: 1.6;
  color: rgba(245, 239, 228, 0.92);
  text-align: right;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms;
  pointer-events: none;
}

.photo-credit:hover .photo-credit__panel,
.photo-credit:focus .photo-credit__panel,
.photo-credit:focus-visible .photo-credit__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-hero__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.page-hero__eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--ochre);
  margin-bottom: 14px;
}

.page-hero__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 900px;
}

.page-hero__title .voice {
  color: var(--rust);
}

.page-hero__lede {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 640px;
}

/* ============ page-footer-cta (bottom band on sub-pages) ============ */
.page-cta {
  padding: 80px var(--gutter);
  background: var(--paper);
  text-align: center;
  border-top: 1px solid rgba(13, 11, 8, 0.08);
}

.page-cta__eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--ochre);
  margin-bottom: 14px;
}

.page-cta__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.page-cta__title .voice {
  color: var(--rust);
}

/* ============ legacy hero nav (kept for backward compat; unused) ============ */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--paper);
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__mark {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-color: currentcolor;
  -webkit-mask: url("assets/branding/skytribe_logo.svg") center / contain no-repeat;
  mask: url("assets/branding/skytribe_logo.svg") center / contain no-repeat;
}

.nav__wordmark {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.24em;
  font-size: 11px;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-family: var(--sans);
  font-size: 13px;
}

.nav__links a:hover {
  color: var(--sand);
}

.nav__right {
  text-align: right;
}

.nav__version {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  opacity: 0.7;
}

/* ============ hero ============ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(680px, 92vh, 880px);
  overflow: hidden;
  color: var(--paper);
}

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

.hero__bg__img,
.cta__bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__bg__img {
  object-position: 45% 15%; /* keep the sky band clearly visible */
}

.cta__bg__img {
  object-position: 55% 25%; /* show more sky above the mountains */
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 11, 8, 0.55) 0%,
    rgba(13, 11, 8, 0.1) 35%,
    rgba(13, 11, 8, 0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: clamp(680px, 92vh, 880px);
  padding: 120px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
}

.hero__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: auto;
}

.hero__eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--sand);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero__coords {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  color: rgba(245, 239, 228, 0.55);
}

.hero__lockup {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: -16px auto 24px;
}

.hero__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 88px;
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 1100px;
  margin: 60px 0 24px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero__title .voice {
  color: var(--sand);
}

.hero__lede {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.5;
  color: rgba(245, 239, 228, 0.82);
  max-width: 560px;
  margin-bottom: 32px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.hero__cta-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.55);
}

.hero__bottom {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-top: 1px solid rgba(245, 239, 228, 0.15);
  padding-top: 20px;
  gap: 24px;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__scroll-bar {
  width: 60px;
  height: 1px;
  background: rgba(245, 239, 228, 0.2);
  position: relative;
}

.hero__scroll-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 1px;
  background: var(--paper);
}

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.hero__stat-label {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--sand);
  margin-bottom: 4px;
}

.hero__stat-value {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

/* ============ why section ============ */
.why {
  padding: 120px var(--gutter);
  background: var(--paper-2);
  border-bottom: 1px solid rgba(13, 11, 8, 0.08);
}

.why__inner {
  max-width: 960px;
  margin: 0 auto;
}

.why__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 24px;
}

.why__title .voice {
  color: var(--rust);
}

.why__body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 680px;
}

/* ============ phase (how it works) ============ */
.phase {
  padding: 140px var(--gutter);
  background: var(--paper);
}

.phase__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  max-width: 1320px;
  margin: 0 auto;
  align-items: center;
}

.phase__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 24px;
}

.phase__title .voice {
  color: var(--rust);
}

.phase__body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 520px;
  margin-bottom: 40px;
}

.phase__intro {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.feat-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
}

.feat-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 11, 8, 0.12);
}

.feat-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ochre);
  padding-top: 2px;
}

.feat-h {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 4px;
}

.feat-p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}

.phone-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 620px;
}

.phone-stack .phone:nth-child(1) {
  transform: rotate(-3deg) translateX(-10px);
}

.phone-stack .phone:nth-child(2) {
  transform: rotate(4deg) translateX(40px) translateY(30px);
  z-index: 2;
}

/* ============ map ============ */
.map {
  padding: 140px var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.map__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  max-width: 1320px;
  margin: 0 auto;
  align-items: center;
}

.map__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 24px;
}

.map__title .voice {
  color: var(--rust);
}

.map__body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 520px;
  margin-bottom: 32px;
}

.map__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  max-width: 520px;
}

.map__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(13, 11, 8, 0.1);
}

.map__list li:first-child {
  border-top: 0;
}

.map__bullet {
  color: var(--ochre);
  font-family: var(--mono);
  font-weight: 500;
}

/* ============ tribe (founder's story) ============ */
.tribe {
  padding: 140px var(--gutter);
  background: var(--paper);
}

.tribe__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 14px 0 80px;
}

.tribe__title .voice {
  color: var(--rust);
}

.tribe__eyebrow {
  text-align: center;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.story-card {
  padding: 32px;
  background: var(--paper-2);
  border: 1px solid rgba(13, 11, 8, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-card__photo {
  margin: -32px -32px 4px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.story-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.92) contrast(0.98);
}

.story-card__caption {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  color: var(--dust);
  margin-top: -6px;
}

.story-card__eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
  color: var(--ochre);
}

.story-card__body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}

.story-card__body .voice {
  color: var(--rust);
  font-size: 19px;
  line-height: 1.4;
}

.tribe__byline {
  max-width: 1320px;
  margin: 32px auto 0;
  text-align: center;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--dust);
}

/* ============ cta / waitlist ============ */
.cta {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 var(--gutter);
  overflow: hidden;
  color: var(--paper);
}

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

.cta__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 11, 8, 0.4) 0%,
    rgba(13, 11, 8, 0.2) 50%,
    rgba(13, 11, 8, 0.7) 100%
  );
}

.cta__inner {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 0 48px;
  text-align: left;
}

.cta .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.cta__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 1100px;
  margin: 20px 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.cta__title .voice {
  color: var(--sand);
}

.cta__lede {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.5;
  color: rgba(245, 239, 228, 0.82);
  max-width: 560px;
  margin: 0 0 40px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.waitlist {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0;
  align-items: stretch;
}

.waitlist__email {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(245, 239, 228, 0.25);
  background: rgba(13, 11, 8, 0.4);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  outline: none;
  transition:
    border-color 120ms ease,
    background 120ms ease;
}

.waitlist__email::placeholder {
  color: rgba(245, 239, 228, 0.45);
}

.waitlist__email:focus {
  border-color: var(--sand);
  background: rgba(13, 11, 8, 0.6);
}

.waitlist__submit {
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--ochre);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition:
    transform 120ms ease,
    background 120ms ease;
  border: 0;
}

.waitlist__submit:hover {
  transform: translateY(-1px);
  background: var(--sand);
}

.waitlist__submit:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.waitlist__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist__feedback {
  margin-top: 18px;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  min-height: 14px;
}

.waitlist__feedback--error {
  color: #e8896a;
}

.waitlist__success {
  margin-top: 28px;
  padding-top: 28px;
  max-width: 480px;
  border-top: 1px solid rgba(245, 239, 228, 0.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.waitlist__success[hidden] {
  display: none;
}

.waitlist__success-eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--ochre);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.waitlist__success-line {
  font-family: var(--sans);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--paper);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.waitlist__success-line .voice {
  color: var(--sand);
}

.waitlist__success-meta {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  color: rgba(245, 239, 228, 0.55);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* ============ footer ============ */
.footer {
  padding: 48px var(--gutter);
  background: var(--ink);
  color: var(--paper);
}

.hero > .footer,
.cta > .footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  background: transparent;
}

.cta > .footer {
  padding-left: 0;
  padding-right: 0;
}

.footer__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__mark {
  width: 36px;
  height: 36px;
  display: inline-block;
  background-color: var(--paper);
  -webkit-mask: url("assets/branding/skytribe_logo.svg") center / contain no-repeat;
  mask: url("assets/branding/skytribe_logo.svg") center / contain no-repeat;
}

.footer__wordmark {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 10px;
}

.footer__copy {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  color: var(--dust);
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  font-family: var(--sans);
  font-size: 13px;
  flex-wrap: wrap;
}

.footer__links a {
  opacity: 0.7;
  transition: opacity 120ms ease;
}

.footer__links a:hover {
  opacity: 1;
  color: var(--sand);
}

.footer__tag {
  max-width: 1320px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 239, 228, 0.1);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(245, 239, 228, 0.5);
}

/* ============ responsive ============ */
@media (max-width: 1023px) {
  :root {
    --gutter: 32px;
  }

  .sitenav__row {
    gap: 12px;
  }

  .sitenav__tabs {
    gap: 20px;
    font-size: 12px;
  }

  .page-hero {
    padding: 64px var(--gutter) 48px;
  }

  .page-hero__title {
    font-size: 40px;
  }

  .page-cta {
    padding: 64px var(--gutter);
  }

  .page-cta__title {
    font-size: 28px;
  }

  .nav__links {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero__content {
    min-height: 700px;
    padding: 120px var(--gutter) 48px;
  }

  .hero__title {
    font-size: 56px;
    margin-top: 40px;
  }

  .hero__stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .why {
    padding: 96px var(--gutter);
  }

  .why__title {
    font-size: 40px;
  }

  .phase,
  .map,
  .tribe {
    padding: 96px var(--gutter);
  }

  .phase__grid,
  .map__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  /* Mobile only: dissolve the phone-stack so the two phones interleave with
     the numbered features — map phone above, airport phone below. */
  .phase__grid .phone-stack {
    display: contents;
  }

  .phase__grid .phase__copy {
    order: 2;
  }

  .phase__grid .phone-stack .phone:nth-child(1) {
    order: 1;
    justify-self: center;
  }

  .phase__grid .phone-stack .phone:nth-child(2) {
    order: 3;
    justify-self: center;
  }

  .phase__title,
  .map__title,
  .tribe__title {
    font-size: 42px;
  }

  .phase__body {
    max-width: none;
  }

  .phone-stack {
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    padding: 24px 0;
  }

  .phone-stack .phone:nth-child(1) {
    transform: rotate(-2deg);
  }

  .phone-stack .phone:nth-child(2) {
    transform: rotate(2deg);
    z-index: auto;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tribe__title {
    margin-bottom: 56px;
  }

  .cta__inner {
    padding: 112px 0 48px;
  }

  .cta__title {
    font-size: 52px;
  }

  .footer__row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer__left {
    justify-content: center;
  }

  .footer__links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .sitenav {
    padding: 10px var(--gutter);
  }

  .sitenav--scrolled {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .sitenav__mark {
    width: 56px;
    height: 56px;
  }

  .photo-credit {
    top: 92px;
  }

  .sitenav__tabs {
    justify-content: flex-start;
    gap: 18px;
  }

  .page-hero__title {
    font-size: 30px;
  }

  .page-cta__title {
    font-size: 24px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__lockup {
    max-width: 180px;
  }

  .hero__top {
    flex-direction: column;
    gap: 8px;
  }

  .hero__lede,
  .page-hero__lede,
  .cta__lede,
  .phase__intro {
    font-size: 18px;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .why__title {
    font-size: 30px;
  }

  .phase__title,
  .map__title,
  .tribe__title {
    font-size: 32px;
  }

  .cta__title {
    font-size: 38px;
  }

  .waitlist {
    flex-direction: column;
  }

  .waitlist__submit {
    width: 100%;
  }

  .phone {
    width: min(240px, 80vw);
  }

  .phone-stack {
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    padding: 20px 0;
  }

  .phone-stack .phone:nth-child(1) {
    transform: rotate(-2deg);
  }

  .phone-stack .phone:nth-child(2) {
    transform: rotate(2deg);
  }
}
