:root {
  --bg: #07142e;
  --ocean: #0d2346;
  --royal: #153460;
  --sapphire: #1b4278;
  --accent: #247cff;
  --cyan: #39c4ff;
  --ice: #f5faff;
  --muted: #a1bbdd;
  --spine: 92px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ice);
  font-family: Outfit, sans-serif;
  font-weight: 400;
  line-height: 1.55;
}

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

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

h1, h2, h3 {
  font-family: Syne, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.spine {
  position: fixed;
  z-index: 4;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--spine);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 12px;
  background: #050e22;
  border-right: 1px solid #29466c;
}

.spine a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 560;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.spine__mark {
  color: var(--ice) !important;
  font-family: Syne, sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: auto;
}

main {
  margin-left: var(--spine);
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  min-height: 88vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(36, 124, 255, 0.25), transparent 42%),
    var(--bg);
}

.hero__copy {
  padding: 12vh 7vw 8vh 6vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 92px);
}

.hero__tag {
  max-width: 34ch;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero__visual {
  margin: 0;
  position: relative;
  min-height: 520px;
}

.hero__visual img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.hero__chip {
  position: absolute;
  width: 180px;
  height: 180px;
  object-fit: cover;
  right: 6%;
  bottom: 8%;
  border: 4px solid var(--bg);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.band-head {
  text-align: right;
  padding: 72px 7vw 18px;
}

.band-head__kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.band-head h2 {
  font-size: clamp(36px, 5vw, 64px);
}

.cork {
  margin: 10px 6vw 40px;
  padding: 36px 28px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 22px;
  align-items: start;
  background:
    radial-gradient(circle at 10% 20%, rgba(57, 196, 255, 0.08), transparent 30%),
    #12294d;
  border-radius: 28px;
  border: 1px solid #29466c;
}

.note {
  background: #f5faff;
  color: #07142e;
  padding: 22px 20px 26px;
  border-radius: 6px 14px 10px 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.note h3 { font-size: 28px; margin-bottom: 10px; }

.note p { margin: 0; }

.note--a { transform: rotate(-2.5deg); }
.note--b { transform: rotate(1.8deg); margin-top: 36px; }
.note--c { transform: rotate(-1.2deg); margin-top: 12px; }

.cork__still {
  grid-column: 1 / -1;
  width: min(280px, 70%);
  margin-left: auto;
  border-radius: 16px;
  justify-self: end;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 16px;
  padding: 10px 6vw 70px;
}

.mosaic__lead { grid-row: 1 / span 2; }

.mosaic figure {
  margin: 0;
  background: var(--ocean);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #29466c;
}

.mosaic img {
  width: 100%;
  height: auto;
}

.mosaic figcaption {
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 14px;
}

.legal { padding-bottom: 80px; }

.tabs {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 7vw 18px;
}

.tabs button {
  border: 1px solid #29466c;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tabs button.is-on {
  background: linear-gradient(120deg, #1765e8, #247cff 55%, #39c4ff);
  color: white;
  border-color: transparent;
}

.legal__pane {
  margin: 0 7vw;
  max-width: 760px;
  margin-left: auto;
  background: var(--ocean);
  border: 1px solid #29466c;
  border-radius: 22px;
  padding: 28px 28px 32px;
}

.legal__pane h3 {
  font-size: 32px;
  margin-bottom: 12px;
}

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

.legal__pane[hidden] { display: none; }

@media (max-width: 860px) {
  .spine {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    border-right: 0;
    border-top: 1px solid #29466c;
  }

  .spine a {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 12px;
  }

  .spine__mark { margin: 0; letter-spacing: 0; }

  main { margin-left: 0; padding-bottom: 76px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }

  .hero__copy { padding: 36px 22px 20px; }

  .cork { grid-template-columns: 1fr; }

  .note, .note--a, .note--b, .note--c { transform: none; margin-top: 0; }

  .mosaic { grid-template-columns: 1fr; }

  .mosaic__lead { grid-row: auto; }

  .band-head, .tabs { text-align: left; justify-content: flex-start; padding-left: 22px; padding-right: 22px; }

  .legal__pane { margin: 0 22px; }
}
