:root {
  --bg: #0a0f1a;
  --footing: #171b2a;
  --velvet: #2e1440;
  --gold: #f9c747;
  --sapphire: #59a0fa;
  --emerald: #52e09e;
  --ink: #f7f9ff;
  --mute: #9ea8bf;
  --spine-w: 220px;
  --max: 920px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: var(--sapphire);
}

.page-shell {
  display: flex;
  min-height: 100vh;
}

.nav-spine {
  position: sticky;
  top: 0;
  align-self: flex-start;
  width: var(--spine-w);
  min-height: 100vh;
  padding: 2rem 1.25rem;
  background: linear-gradient(180deg, var(--velvet), var(--footing));
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.spine-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.spine-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spine-links a {
  text-decoration: none;
  color: var(--mute);
  font-size: 0.95rem;
}

.spine-links a:hover {
  color: var(--ink);
}

.main-column {
  flex: 1;
  min-width: 0;
}

.hero-fullbleed {
  position: relative;
  min-height: min(72vh, 640px);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.75);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(90deg, rgba(10, 15, 26, 0.92) 0%, rgba(10, 15, 26, 0.55) 55%, transparent 100%);
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.hero-overlay h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  max-width: 18ch;
}

.hero-overlay h1 span {
  color: var(--gold);
}

.hero-tagline {
  margin: 0;
  max-width: 42ch;
  color: var(--mute);
  font-size: 1.05rem;
}

.band {
  padding: 3.5rem 1.5rem;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
}

.section-intro-right {
  text-align: right;
  margin-bottom: 2rem;
}

.section-intro-right h2 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
}

.section-intro-right p {
  margin: 0;
  color: var(--mute);
  margin-left: auto;
  max-width: 36ch;
}

.cork-board {
  list-style: none;
  margin: 0;
  padding: 2rem 1rem;
  display: grid;
  gap: 1.25rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 90, 43, 0.35), transparent 45%),
    linear-gradient(145deg, #5c4033, #3d2a1f);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cork-note {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: rgba(10, 15, 26, 0.88);
  border-radius: 4px;
  transform: rotate(-1.2deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-top: 4px solid var(--gold);
}

.cork-note--sapphire {
  transform: rotate(0.8deg);
  border-top-color: var(--sapphire);
}

.cork-note--emerald {
  transform: rotate(-0.4deg);
  border-top-color: var(--emerald);
}

.cork-note h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.cork-note p {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
}

.device-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.device-frame {
  margin: 0;
  padding: 0.65rem;
  background: var(--footing);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.legal-dropcap {
  background: var(--footing);
  padding: 2rem 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-lead::first-letter {
  float: left;
  font-size: 3.2rem;
  line-height: 0.85;
  padding-right: 0.12em;
  color: var(--gold);
  font-weight: 700;
}

.legal-dropcap h3 {
  margin: 1.5rem 0 0.35rem;
  font-size: 1.05rem;
  color: var(--gold);
}

.legal-dropcap p {
  margin: 0 0 0.75rem;
  color: var(--mute);
}

.legal-updated {
  margin-top: 1.25rem !important;
  font-size: 0.9rem;
}

.support-card {
  background: linear-gradient(135deg, var(--velvet), var(--footing));
  padding: 2rem 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 32rem;
  margin-left: auto;
}

.support-card h2 {
  margin-top: 0;
}

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--mute);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .page-shell {
    flex-direction: column;
  }

  .nav-spine {
    position: relative;
    width: 100%;
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
  }

  .spine-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .section-intro-right {
    text-align: left;
  }

  .device-pair {
    grid-template-columns: 1fr;
  }

  .support-card {
    margin-left: 0;
  }
}
