:root {
  --paper: #fff8e8;
  --paper-deep: #f5ead2;
  --ink: #211735;
  --muted: #705f7b;
  --line: rgba(33, 23, 53, 0.18);
  --pink: #ff3fb4;
  --cyan: #00bdd6;
  --lime: #b8f04a;
  --orange: #ff9a35;
  --white: #ffffff;
  --display: "Arial Rounded MT Bold", "Arial Rounded", "Aptos Display", Arial, sans-serif;
  --body: "Segoe UI", "Noto Sans", Arial, sans-serif;
  --label: "Bahnschrift", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

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

h1,
h2,
p,
b,
strong,
span,
small,
a,
button,
input {
  overflow-wrap: normal;
  word-break: normal;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(14px, 4vw, 42px);
  align-items: center;
  min-height: 66px;
  padding: 12px clamp(16px, 5vw, 72px);
  background: rgba(255, 248, 232, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.topbar nav,
.topbar-cta,
.label,
.entry-stub,
.ticket-belt span,
.route-line span,
.ticket-form span,
.dial-point {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand {
  font-weight: 800;
  color: var(--pink);
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 46px);
  color: var(--muted);
  font-size: 13px;
}

.topbar-cta,
.hero-actions a,
.ticket-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--label);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 66px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 6vw, 90px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: -12vw;
  right: -12vw;
  top: 48%;
  height: clamp(92px, 12vw, 150px);
  background:
    linear-gradient(90deg, var(--pink), var(--cyan) 45%, var(--lime));
  transform: rotate(-7deg);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(33, 23, 53, 0.16);
}

.hero-paper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 63, 180, 0.22), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(0, 189, 214, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), transparent 52%);
}

.hero-image {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(560px, 100%);
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 28px 28px 90px 28px;
  box-shadow: 18px 18px 0 var(--pink);
  transform: rotate(-3deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 720px;
  padding-bottom: clamp(10px, 5vh, 56px);
}

.label {
  display: inline-block;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(58px, 9vw, 128px);
  line-height: 0.9;
}

h2 {
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 0.95;
}

p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.36;
}

.hero-copy p {
  max-width: 600px;
  color: #3f3150;
  font-size: clamp(20px, 2.35vw, 30px);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions a + a {
  background: var(--white);
}

.entry-stub {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 7vw, 98px);
  bottom: clamp(28px, 6vh, 74px);
  width: 178px;
  padding: 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--cyan);
}

.entry-stub span,
.entry-stub small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.entry-stub strong {
  display: block;
  margin: 8px 0;
  font-family: var(--display);
  font-size: 46px;
  line-height: 0.9;
}

.belt-section,
.dial-section,
.desk-section,
.route-section,
.final-section {
  padding: clamp(58px, 9vw, 118px) clamp(18px, 6vw, 90px);
}

.belt-section {
  background: var(--paper-deep);
}

.belt-copy {
  width: min(860px, 100%);
}

.ticket-belt {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border: 2px solid var(--ink);
  background: var(--white);
  transform: rotate(1deg);
}

.ticket-belt::before,
.ticket-belt::after {
  content: "";
  position: absolute;
  top: -20px;
  bottom: -20px;
  width: 38px;
  background:
    radial-gradient(circle, var(--paper-deep) 0 9px, transparent 10px) center / 38px 38px;
}

.ticket-belt::before {
  left: -20px;
}

.ticket-belt::after {
  right: -20px;
}

.ticket-belt div {
  min-height: 188px;
  padding: clamp(20px, 3vw, 32px);
  border-right: 2px dashed var(--line);
}

.ticket-belt div:last-child {
  border-right: 0;
}

.ticket-belt span {
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
}

.ticket-belt b {
  display: block;
  margin-top: 42px;
  max-width: 220px;
  font-family: var(--display);
  font-size: clamp(27px, 3.7vw, 52px);
  line-height: 0.94;
}

.dial-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(320px, 0.8fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: center;
  background: #fffdf4;
}

.dial {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background:
    conic-gradient(from 22deg, var(--pink), var(--cyan), var(--lime), var(--orange), var(--pink));
  box-shadow: 14px 14px 0 var(--ink);
}

.dial::after {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}

.dial-point {
  position: absolute;
  z-index: 3;
  min-width: 80px;
  min-height: 42px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

.dial-point.active {
  background: var(--lime);
}

.dial-point[data-stage="main"] {
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
}

.dial-point[data-stage="roof"] {
  right: -18px;
  top: 48%;
}

.dial-point[data-stage="deep"] {
  left: -18px;
  top: 60%;
}

.dial-center {
  position: absolute;
  z-index: 2;
  inset: 27%;
  display: grid;
  place-content: center;
  text-align: center;
}

.dial-center span {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.9;
}

.dial-center strong {
  margin-top: 8px;
  font-size: clamp(20px, 2.2vw, 30px);
}

.dial-center p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.25;
}

.desk-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  background: var(--paper);
}

.desk-section img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 70px 26px 26px 26px;
  box-shadow: -14px 14px 0 var(--cyan);
}

.route-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 63, 180, 0.16), transparent 34%),
    var(--paper-deep);
}

.route-title {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 68px);
  align-items: end;
}

.route-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.route-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 18px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--lime), var(--orange));
  border: 2px solid var(--ink);
}

.route-line li {
  position: relative;
  padding: 72px 22px 0 0;
}

.route-line span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--white);
  font-weight: 800;
}

.route-line b {
  display: block;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 0.95;
}

.route-line small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.3;
}

.final-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  background: #fffdf4;
}

.ticket-form {
  position: relative;
  display: grid;
  grid-template-columns: 0.45fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: clamp(18px, 3vw, 28px);
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--orange);
}

.ticket-form::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 20px;
  bottom: 20px;
  width: 28px;
  background: radial-gradient(circle, var(--paper) 0 7px, transparent 8px) center / 28px 32px;
}

.ticket-form label {
  display: grid;
  gap: 8px;
}

.ticket-form span {
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
}

.ticket-form input {
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: auto 1fr;
  }

  .topbar-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .hero,
  .dial-section,
  .desk-section,
  .route-title,
  .final-section,
  .ticket-form {
    grid-template-columns: 1fr;
  }

  .hero-image {
    width: min(480px, 88vw);
  }

  .entry-stub {
    right: 22px;
    bottom: 22px;
  }

  .ticket-belt,
  .route-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticket-belt div:nth-child(2) {
    border-right: 0;
  }

  .ticket-belt div:nth-child(-n + 2) {
    border-bottom: 2px dashed var(--line);
  }
}

@media (max-width: 640px) {
  .topbar {
    position: relative;
    gap: 10px;
  }

  .topbar nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 16px;
    font-size: 12px;
  }

  .topbar-cta,
  .hero-actions a,
  .ticket-form button {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero::before {
    top: 34%;
    height: 72px;
  }

  .hero-image {
    order: -1;
    width: min(360px, 86vw);
    border-radius: 20px 20px 62px 20px;
    box-shadow: 10px 10px 0 var(--pink);
  }

  .entry-stub {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 22px;
  }

  h1 {
    font-size: clamp(48px, 17vw, 76px);
  }

  h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  p,
  .hero-copy p {
    font-size: 18px;
  }

  .ticket-belt,
  .route-line {
    grid-template-columns: 1fr;
  }

  .ticket-belt div {
    min-height: 0;
    border-right: 0;
    border-bottom: 2px dashed var(--line);
  }

  .ticket-belt div:last-child {
    border-bottom: 0;
  }

  .ticket-belt b {
    margin-top: 20px;
  }

  .dial {
    width: min(390px, 84vw);
    box-shadow: 8px 8px 0 var(--ink);
  }

  .dial-point {
    min-width: 66px;
    min-height: 38px;
    font-size: 12px;
  }

  .dial-point[data-stage="roof"] {
    right: -10px;
  }

  .dial-point[data-stage="deep"] {
    left: -10px;
  }

  .dial-center {
    inset: 24%;
  }

  .dial-center p {
    font-size: 14px;
  }

  .desk-section img {
    aspect-ratio: 4 / 3;
    border-radius: 44px 18px 18px 18px;
  }

  .route-line::before {
    left: 24px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 16px;
    height: auto;
  }

  .route-line li {
    padding: 0 0 34px 86px;
  }

  .route-line span {
    top: -8px;
  }
}
