/* ==========================================================================
   CRESTONE AIR PARTNERS — Global Stylesheet
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Custom Properties ---------- */
:root {
  --deep: #0c0822;
  --primary: #1a0f3d;
  --mid: #2d1b69;
  --bone: #ebe7de;
  --champagne: #c4a875;
  --white: #ffffff;

  --font-display: 'Instrument Serif', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter Tight', sans-serif;

  --gutter: clamp(2rem, 5vw, 5rem);
  --container: 1400px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: pageIn 0.5s ease-out;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

body {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 0.4vw + 0.875rem, 1.0625rem);
  line-height: 1.65;
  color: var(--bone);
  background: var(--deep);
  overflow-x: hidden;
}

::selection {
  background: var(--mid);
  color: var(--bone);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(3rem, 10vw, 8.75rem); }
h2 { font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.15; }

.label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.section--lg {
  padding-top: clamp(6rem, 12vw, 12rem);
  padding-bottom: clamp(6rem, 12vw, 12rem);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  mix-blend-mode: difference;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 1.5rem;
  width: auto;
  position: relative;
  z-index: 1001;
  transition: opacity 0.4s var(--ease-out);
}
.nav-logo--hidden {
  opacity: 0;
  pointer-events: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.3s;
}
.nav-links a:hover { opacity: 0.5; }

.nav-toggle {
  display: none;
  width: 2rem;
  height: 1.25rem;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--white);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(0.45rem) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-0.45rem) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--deep);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.nav-overlay.is-open { transform: translateX(0); }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  display: block;
  padding: 0.75rem 0;
  color: var(--bone);
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}
.nav-overlay a:hover { opacity: 1; color: var(--champagne); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10rem var(--gutter) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-video-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border: none;
}
.hero-video-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--deep) 0%,
    rgba(12, 8, 34, 0.55) 40%,
    rgba(12, 8, 34, 0.7) 100%
  );
  z-index: 1;
}
.hero-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Hide video until it's confirmed playing — poster bg shows underneath */
.hero-video-frame {
  background: url('/assets/img/poster.jpg') center/cover no-repeat;
}
.hero-video-frame video {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-video-frame video.is-playing {
  opacity: 1;
}
.hero-video-caption {
  position: absolute;
  bottom: 1.5rem;
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.3;
  z-index: 2;
}

.hero-watermark {
  position: absolute;
  top: clamp(1.5rem, 3vw, 3rem);
  left: var(--gutter);
  width: clamp(14rem, 22vw, 22rem);
  z-index: 2;
  opacity: 0.3;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.hero-headline {
  font-size: clamp(3rem, 10vw, 8.75rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}
.hero-headline em {
  font-style: italic;
  display: block;
}

.hero-sub {
  max-width: 48ch;
  font-size: clamp(0.9375rem, 0.4vw + 0.875rem, 1.0625rem);
  line-height: 1.75;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: space-between;
    padding: 4rem var(--gutter) 2rem;
  }
  .hero-watermark {
    position: relative;
    top: auto;
    left: auto;
    width: clamp(12rem, 50vw, 16rem);
    opacity: 0.3;
    z-index: 2;
  }
  .hero-text {
    padding-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .hero-headline {
    font-size: clamp(4rem, 17vw, 6rem);
    margin-bottom: 1.5rem;
    line-height: 1.08;
  }
  .hero-sub {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }
  .hero-label {
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    margin-top: auto;
  }
  .hero-video-caption {
    display: none;
  }
}

/* ---------- Page Header (interior pages) ---------- */
.page-header {
  padding: clamp(8rem, 14vw, 12rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-header .label {
  margin-bottom: 1.25rem;
  opacity: 0.4;
}
.page-header h1 {
  font-size: clamp(2.5rem, 7vw, 6rem);
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.page-header p {
  max-width: 50ch;
  opacity: 0.55;
  line-height: 1.75;
}

/* ---------- Marquee ---------- */
.marquee {
  padding: 1.75rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(196, 168, 117, 0.12);
  border-bottom: 1px solid rgba(196, 168, 117, 0.12);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  white-space: nowrap;
  padding: 0 1rem;
  opacity: 0.5;
}
.marquee-sep {
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  padding: 0 0.75rem;
  opacity: 0.4;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Platform Cards ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(196, 168, 117, 0.1);
  padding: 0 var(--gutter);
}
.platform-card {
  background: var(--primary);
  padding: clamp(2rem, 4vw, 3.5rem);
  transition: background 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.platform-card:hover { background: var(--mid); }
.platform-card .label {
  color: var(--champagne);
  margin-bottom: 1.5rem;
}
.platform-card h3 { margin-bottom: 1rem; }
.platform-card p {
  opacity: 0.55;
  font-size: 0.9375rem;
  line-height: 1.75;
  flex: 1;
}
.platform-card .card-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--champagne);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(196, 168, 117, 0.3);
  transition: opacity 0.3s;
}
.platform-card .card-link:hover { opacity: 0.5; }

@media (max-width: 900px) {
  .platform-grid { grid-template-columns: 1fr; padding: 0; }
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-suffix { font-style: italic; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.35;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Tombstone Wall ---------- */
.tombstone-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--gutter);
  margin-bottom: 2rem;
}
.tombstone-header h2 { max-width: 14ch; }
.tombstone-nav {
  display: flex;
  gap: 0.75rem;
}
.tombstone-nav button {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(196, 168, 117, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}
.tombstone-nav button:hover {
  border-color: var(--champagne);
  background: rgba(196, 168, 117, 0.08);
}
.tombstone-nav button svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--bone);
  fill: none;
  stroke-width: 1.5;
}

.tombstone-wall {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.tombstone-wall::-webkit-scrollbar { display: none; }

/* Auto-scroll mode (homepage) */
.tombstone-wall:has(.tombstone-track) {
  overflow: hidden;
  scroll-snap-type: none;
}
.tombstone-track {
  display: flex;
  gap: 1px;
  animation: tombstoneScroll 40s linear infinite;
  will-change: transform;
}
.tombstone-wall:hover .tombstone-track {
  animation-play-state: paused;
}
@media (hover: none) {
  .tombstone-wall:active .tombstone-track {
    animation-play-state: paused;
  }
}
@keyframes tombstoneScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tombstone-wall > .tombstone {
  scroll-snap-align: start;
}
.tombstone {
  flex: 0 0 clamp(280px, 22vw, 340px);
  background: var(--bone);
  color: var(--primary);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out);
}
.tombstone:hover {
  background: var(--primary);
  color: var(--bone);
}
.tombstone:hover .tombstone-divider { background: var(--champagne); opacity: 0.3; }
.tombstone:hover .tombstone-footer { color: var(--champagne); border-color: rgba(196, 168, 117, 0.2); }
.tombstone:hover .tombstone-label { opacity: 0.4; }

.tombstone-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.tombstone-asset {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  font-style: italic;
}
.tombstone-divider {
  height: 1px;
  background: currentColor;
  opacity: 0.1;
  margin-bottom: 1.5rem;
  transition: background 0.45s, opacity 0.45s;
}
.tombstone-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
  flex: 1;
}
.tombstone-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.3;
  margin-bottom: 0.2rem;
  display: block;
}
.tombstone-value {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}
.tombstone-footer {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 15, 61, 0.08);
  transition: color 0.45s, border-color 0.45s;
}

/* ---------- World Map ---------- */
.world-map-section { position: relative; }
.world-map {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: block;
}
.world-map .continent {
  fill: rgba(45, 27, 105, 0.25);
  stroke: rgba(45, 27, 105, 0.15);
  stroke-width: 0.5;
}
.world-map .flight-path {
  fill: none;
  stroke: var(--champagne);
  stroke-width: 1;
  opacity: 0.35;
}
.world-map .city-pin {
  fill: var(--champagne);
}
.world-map .city-pin-pulse {
  fill: var(--champagne);
  opacity: 0;
  animation: mapPulse 2.5s ease-in-out infinite;
}
.world-map .city-label {
  fill: var(--bone);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.4;
}
@keyframes mapPulse {
  0% { opacity: 0.4; r: 4; }
  50% { opacity: 0; r: 12; }
  100% { opacity: 0; r: 12; }
}

/* ---------- Lifecycle Diagram ---------- */
.lifecycle { position: relative; }
.lifecycle-track {
  display: flex;
  gap: 0;
  min-height: 420px;
}
.lifecycle-stage {
  flex: 1;
  padding: clamp(2rem, 3vw, 3rem);
  border-right: 1px solid rgba(196, 168, 117, 0.06);
  opacity: 0.15;
  transition: opacity 0.7s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.lifecycle-stage:last-child { border-right: none; }
.lifecycle-stage.active { opacity: 1; }
.lifecycle-stage.crestone-zone {
  background: linear-gradient(180deg, rgba(45, 27, 105, 0.2) 0%, rgba(45, 27, 105, 0.05) 100%);
  border-left: 2px solid var(--champagne);
  border-right: 2px solid var(--champagne);
}
.lifecycle-year {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.35;
  margin-bottom: auto;
}
.lifecycle-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  margin-bottom: 0.5rem;
}
.lifecycle-desc {
  font-size: 0.8125rem;
  opacity: 0.55;
  line-height: 1.65;
}
.lifecycle-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .lifecycle-track { flex-direction: column; min-height: auto; }
  .lifecycle-stage {
    border-right: none;
    border-bottom: 1px solid rgba(196, 168, 117, 0.06);
    padding: 2rem;
  }
  .lifecycle-stage.crestone-zone {
    border-left: none;
    border-right: none;
    border-top: 2px solid var(--champagne);
    border-bottom: 2px solid var(--champagne);
  }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gutter);
}
.team-photo {
  aspect-ratio: 3/4;
  background: var(--primary);
  margin-bottom: 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 168, 117, 0.06);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .placeholder-mark {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.2;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.team-title {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1rem;
}
.team-bio {
  font-size: 0.875rem;
  line-height: 1.75;
  opacity: 0.5;
}

/* ---------- Insights ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.insight-card {
  border-top: 1px solid rgba(196, 168, 117, 0.1);
  padding-top: 1.5rem;
  transition: border-color 0.3s;
}
.insight-card:hover { border-color: var(--champagne); }
.insight-date {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.35;
  margin-bottom: 1rem;
}
.insight-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.insight-excerpt {
  font-size: 0.875rem;
  line-height: 1.75;
  opacity: 0.5;
  margin-bottom: 1.5rem;
}
.insight-link {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(196, 168, 117, 0.3);
  transition: opacity 0.3s;
}
.insight-link:hover { opacity: 0.5; }

@media (max-width: 768px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 6vw, 6rem);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(196, 168, 117, 0.1);
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--champagne);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='none' stroke='%23c4a875' stroke-width='1.2' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group select option { background: var(--primary); color: var(--bone); }
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info-block { margin-bottom: 2.5rem; }
.contact-info-block .label {
  color: var(--champagne);
  margin-bottom: 0.75rem;
  display: block;
}
.contact-info-block p,
.contact-info-block a {
  font-size: 0.9375rem;
  line-height: 1.75;
  opacity: 0.6;
}
.contact-info-block a:hover { opacity: 1; color: var(--champagne); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.25rem;
  border: 1px solid rgba(196, 168, 117, 0.25);
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  display: inline-block;
  text-align: center;
}
.btn:hover {
  border-color: var(--bone);
  background: rgba(235, 231, 222, 0.06);
}

/* On bone backgrounds */
.bg-bone .btn {
  color: var(--primary);
  border-color: rgba(26, 15, 61, 0.2);
}
.bg-bone .btn:hover {
  border-color: var(--primary);
  background: rgba(26, 15, 61, 0.04);
}

/* ---------- Ticker ---------- */
.ticker {
  padding: clamp(2.5rem, 4vw, 4rem);
  background: var(--deep);
  border: 1px solid rgba(196, 168, 117, 0.15);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--gutter);
  align-items: center;
}
.ticker .label { opacity: 0.35; margin-bottom: 0.75rem; display: block; }
.ticker h3 { margin-bottom: 0.75rem; }
.ticker p { opacity: 0.5; font-size: 0.9375rem; line-height: 1.75; max-width: 52ch; }
.ticker-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(196, 168, 117, 0.3);
  color: var(--champagne);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .ticker { grid-template-columns: 1fr; }
}

/* ---------- CTA Section ---------- */
.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 1.25rem; }
.cta-section p {
  max-width: 48ch;
  margin: 0 auto 2.5rem;
  opacity: 0.5;
  line-height: 1.75;
}

/* ---------- Footer ---------- */
.footer {
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(196, 168, 117, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gutter);
  margin-bottom: clamp(4rem, 8vw, 6rem);
}
.footer-logo {
  height: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}
.footer-tagline {
  font-size: 0.8125rem;
  opacity: 0.3;
  line-height: 1.65;
  max-width: 30ch;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--champagne);
  opacity: 0.6;
}
.footer-col a {
  display: block;
  font-size: 0.8125rem;
  padding: 0.3rem 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196, 168, 117, 0.05);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.2;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ---------- Platform Page Sections ---------- */
.platform-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-top: 1px solid rgba(196, 168, 117, 0.06);
}
.platform-section-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.platform-section-label { position: sticky; top: 6rem; }
.platform-section-content h3 { margin-bottom: 1.5rem; }
.platform-section-content p {
  line-height: 1.85;
  opacity: 0.6;
  margin-bottom: 1.25rem;
  max-width: 60ch;
}
.platform-section-content ul { margin-bottom: 1.5rem; }
.platform-section-content li {
  font-size: 0.9375rem;
  line-height: 1.85;
  opacity: 0.6;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.platform-section-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 3px;
  height: 3px;
  background: var(--champagne);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .platform-section-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .platform-section-label { position: static; }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ---------- Grain ---------- */
@media (hover: hover) {
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: overlay;
  }
}

/* ---------- Mobile Polish (≤ 480px) ---------- */
@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(3.5rem, 16vw, 5rem);
    line-height: 1.08;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
  .tombstone {
    flex: 0 0 85vw;
    min-height: 420px;
    padding: 2rem 1.5rem 1.5rem;
  }
  .tombstone-nav { display: none; }
  .tombstone-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .page-header h1 { font-size: 2.25rem; }
  .ticker {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .ticker-pill { align-self: start; }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .cta-section h2 { font-size: 2rem; }
  .nav { padding: 1.25rem var(--gutter); }
}

/* ---------- 404 ---------- */
.fourohfour {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--gutter);
}
.fourohfour h1 {
  font-size: clamp(6rem, 20vw, 14rem);
  line-height: 0.85;
  color: var(--mid);
  margin-bottom: 1rem;
}
.fourohfour p {
  font-size: 1rem;
  opacity: 0.4;
  margin-bottom: 2.5rem;
}

/* ---------- Utilities ---------- */
.text-champagne { color: var(--champagne); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Form Success ---------- */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success.is-visible { display: block; }
.form-success h3 { margin-bottom: 0.75rem; }
.form-success p { opacity: 0.5; }
