:root {
  --bg: #0a1a33;
  --deep: #061224;
  --navy: #1a3a6e;
  --card: #1f4278;
  --turquoise: #33e0d2;
  --coral: #ff735f;
  --gold: #ffc85a;
  --seafoam: #73f2c8;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --spine-w: 148px;
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--turquoise); text-decoration: none; }
a:hover { color: var(--seafoam); }

/* ── Spine nav (desktop) ── */
.spine {
  position: fixed;
  left: 0;
  bottom: 0;
  height: 100%;
  width: var(--spine-w);
  background: var(--deep);
  border-right: 1px solid rgba(51, 224, 210, 0.18);
  display: flex;
  flex-direction: column;
  padding: 28px 16px;
  z-index: 100;
}

.spine__brand {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--turquoise);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

.spine__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.spine__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.spine__link:hover {
  background: rgba(51, 224, 210, 0.1);
  color: var(--text);
}

.spine__tick {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--coral);
  min-width: 22px;
}

.spine__coord {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: flex-start;
  margin-top: auto;
  letter-spacing: 0.08em;
}

/* ── Main ── */
.main {
  margin-left: var(--spine-w);
  min-height: 100vh;
}

/* ── Hero full bleed ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(51, 224, 210, 0.25) 0%, transparent 45%),
    linear-gradient(225deg, rgba(255, 115, 95, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(115, 242, 200, 0.15), transparent),
    linear-gradient(180deg, #0d2848 0%, #061224 55%, #0a1a33 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%230a1a33' d='M0,60 C200,100 400,20 600,55 C800,90 1000,30 1200,65 L1200,120 L0,120Z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  opacity: 0.9;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 18, 36, 0.95) 0%, rgba(6, 18, 36, 0.3) 50%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 48px 56px 72px;
  max-width: 720px;
}

.hero__kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 12px;
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 30%, var(--turquoise));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 32px;
}

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

.hero__stat-val {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}

.hero__stat-lbl {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Bands ── */
.band {
  padding: 72px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.band__head {
  max-width: 560px;
  margin-bottom: 48px;
}

.band__head--right {
  margin-left: auto;
  text-align: right;
}

.band__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.band__head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  max-width: 640px;
  padding-left: 28px;
  border-left: 2px solid rgba(51, 224, 210, 0.35);
}

.timeline__item {
  position: relative;
  padding: 0 0 40px 28px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__marker {
  position: absolute;
  left: -35px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 115, 95, 0.25);
}

.timeline__body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--turquoise);
}

.timeline__body p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: linear-gradient(145deg, var(--card), var(--navy));
  border: 1px solid rgba(51, 224, 210, 0.2);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card--img {
  padding: 0;
  overflow: hidden;
}

.feature-card__visual {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.feature-card__visual--berth {
  background:
    linear-gradient(180deg, transparent, rgba(6, 18, 36, 0.8)),
    linear-gradient(135deg, #1a5a7a, #33e0d2 40%, #ff735f);
}

.feature-card__visual--passage {
  background:
    linear-gradient(180deg, transparent, rgba(6, 18, 36, 0.8)),
    linear-gradient(200deg, #0d2848, #6eb5ff 50%, #ff735f);
}

.feature-card--img .feature-card__text {
  padding: 20px 28px 28px;
}

.feature-card__icon {
  font-size: 2rem;
}

.feature-card__text h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card__text p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ── Film strip ── */
.filmstrip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.filmstrip__frame {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: var(--deep);
  border: 1px solid rgba(51, 224, 210, 0.25);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.filmstrip__label {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--turquoise);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mock-ui {
  background: linear-gradient(180deg, #0f2a4a, #061224);
  border-radius: 16px;
  padding: 14px;
  min-height: 280px;
}

.mock-ui__bar {
  height: 8px;
  width: 40%;
  background: var(--turquoise);
  border-radius: 4px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.mock-ui__tile--wide {
  height: 56px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  border-radius: 10px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.mock-ui__row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mock-ui__row span {
  flex: 1;
  height: 48px;
  background: rgba(51, 224, 210, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(51, 224, 210, 0.2);
}

.mock-ui__chip-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.mock-ui__chip-row span {
  height: 22px;
  width: 48px;
  background: rgba(255, 200, 90, 0.25);
  border-radius: 11px;
}

.mock-ui__card {
  height: 52px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 8px;
  border-left: 3px solid var(--turquoise);
}

.mock-ui__line {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-bottom: 8px;
  width: 85%;
}

.mock-ui__line.short { width: 55%; }

.mock-ui__ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 6px solid var(--turquoise);
  border-right-color: transparent;
  margin: 20px auto;
  opacity: 0.6;
}

/* ── Legal ── */
.legal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-panel {
  padding: 56px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-panel--support {
  background: rgba(6, 18, 36, 0.6);
  border-right: none;
}

.legal-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--turquoise);
}

.legal-panel p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.support-list {
  list-style: none;
  margin: 24px 0;
}

.support-list li {
  margin-bottom: 16px;
}

.support-list__lbl {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 4px;
}

.support-list a {
  font-size: 1.05rem;
  font-weight: 600;
}

.support-note {
  font-size: 0.85rem !important;
  margin-top: 24px;
}

.footer-copy {
  margin-top: 32px;
  font-size: 0.8rem !important;
  opacity: 0.5;
}

/* ── Mobile dock ── */
.dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(6, 18, 36, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(51, 224, 210, 0.2);
  padding: 12px 8px calc(12px + env(safe-area-inset-bottom));
  justify-content: space-around;
  z-index: 200;
}

.dock a {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .spine { display: none; }
  .main { margin-left: 0; }
  .dock { display: flex; }
  .hero__content,
  .band,
  .legal-panel { padding-left: 24px; padding-right: 24px; }
  .legal-row { grid-template-columns: 1fr; }
  .legal-panel { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .band__head--right { text-align: left; margin-left: 0; }
}

@media (max-width: 480px) {
  .hero { min-height: 85vh; }
  .hero__stats { gap: 16px; }
}
