@font-face {
  font-family: "Rowdies";
  src: url("/fonts/rowdies-light-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Rowdies";
  src: url("/fonts/rowdies-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --forest: #152b27;
  --forest-deep: #0e211e;
  --forest-mid: #1e3933;
  --forest-soft: #2f4c43;
  --paper: #f3e8cf;
  --paper-strong: #fff7e6;
  --paper-muted: #c4b99f;
  --ink: #1b2823;
  --orange: #e47748;
  --orange-soft: #f0a06c;
  --gold: #d7b25b;
  --sage: #92a98c;
  --line: rgba(243, 232, 207, 0.18);
  --line-strong: rgba(243, 232, 207, 0.34);
  --content: 78rem;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html {
  min-width: 320px;
  background: var(--forest-deep);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 76% -8%, rgba(228, 119, 72, 0.18), transparent 25rem),
    linear-gradient(165deg, var(--forest) 0%, var(--forest-deep) 72%);
  font-family: "Outfit", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.17;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(243, 232, 207, 0.1) 49%, rgba(243, 232, 207, 0.1) 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, rgba(243, 232, 207, 0.07) 49%, rgba(243, 232, 207, 0.07) 51%, transparent 52%);
  background-size: 62px 108px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  touch-action: manipulation;
}

a {
  color: inherit;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2,
.brand__copy,
.countdown strong,
.event-card__title,
.event-card__day,
.state h1,
.retry-button {
  font-family: "Rowdies", sans-serif;
  font-weight: 300;
}

::selection {
  color: var(--forest-deep);
  background: var(--orange-soft);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--paper-strong);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 0.95rem;
  color: var(--forest-deep);
  background: var(--paper-strong);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  min-height: 100dvh;
}

.masthead {
  display: grid;
  width: min(100%, calc(var(--content) + 2rem));
  grid-template-columns: minmax(0, 1fr) 6.5rem;
  align-items: start;
  gap: 0.8rem;
  margin: 0 auto;
  padding: max(0.9rem, env(safe-area-inset-top)) 1rem 0.9rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 2.55rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(243, 232, 207, 0.06);
  clip-path: polygon(0.5rem 0, 100% 0, 100% calc(100% - 0.5rem), calc(100% - 0.5rem) 100%, 0 100%, 0 0.5rem);
}

.brand__mark svg {
  width: 1.55rem;
  fill: none;
  stroke: var(--orange-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand__copy {
  display: grid;
  min-width: 0;
  line-height: 1;
}

.brand__copy small {
  margin-bottom: 0.26rem;
  color: var(--paper-muted);
  font-family: "Outfit", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand__copy strong {
  overflow: hidden;
  font-size: clamp(0.78rem, 3.3vw, 1rem);
  font-weight: 300;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kingdom-form {
  position: relative;
  display: grid;
  width: 6.5rem;
  justify-items: end;
}

.kingdom-form label {
  margin: 0 2.2rem 0.2rem 0;
  color: var(--paper-muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.kingdom-form__control {
  display: grid;
  width: 100%;
  height: 2.4rem;
  grid-template-columns: auto minmax(0, 1fr) 2.2rem;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(12, 32, 29, 0.3);
}

.kingdom-form__control > span {
  padding-left: 0.55rem;
  color: var(--orange-soft);
  font-weight: 700;
}

.kingdom-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--paper-strong);
  background: transparent;
  font-weight: 700;
}

.kingdom-form input:focus-visible {
  outline: 2px solid var(--paper-strong);
  outline-offset: -1px;
}

.kingdom-form button {
  display: grid;
  height: 100%;
  padding: 0;
  border: 0;
  place-items: center;
  color: var(--forest-deep);
  background: var(--orange);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.kingdom-form button:active,
.retry-button:active,
.roadmap__controls button:active {
  transform: scale(0.94);
}

.kingdom-form button svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.kingdom-form p {
  position: absolute;
  top: calc(100% + 0.2rem);
  right: 0;
  width: 12rem;
  margin: 0;
  color: #ff9f78;
  font-size: 0.68rem;
  text-align: right;
}

main {
  width: 100%;
}

.state {
  display: grid;
  min-height: min(37rem, calc(100dvh - 9rem));
  place-items: center;
  align-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
}

.state--loading p {
  margin: 1.2rem 0 0;
  color: var(--paper-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.loading-map {
  position: relative;
  width: min(17.5rem, 80vw);
  height: 6rem;
}

.loading-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(243, 232, 207, 0.25);
  stroke-dasharray: 4 8;
  stroke-linecap: round;
  stroke-width: 2;
}

.loading-map span {
  position: absolute;
  z-index: 1;
  width: 0.75rem;
  aspect-ratio: 1;
  border: 2px solid var(--forest-deep);
  border-radius: 50%;
  background: var(--orange);
  animation: scout-pulse 1.2s ease-in-out infinite alternate;
}

.loading-map span:nth-child(1) {
  bottom: 0.72rem;
  left: 5%;
}

.loading-map span:nth-child(2) {
  top: 1.7rem;
  left: 57%;
  animation-delay: 180ms;
}

.loading-map span:nth-child(3) {
  top: 0.45rem;
  right: 0;
  animation-delay: 360ms;
}

.state__icon {
  display: grid;
  width: 4.5rem;
  aspect-ratio: 1;
  margin-bottom: 1.4rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--orange-soft);
  transform: rotate(-3deg);
}

.state__icon svg {
  width: 2.8rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.state h1 {
  max-width: 30rem;
  margin-bottom: 0.7rem;
  color: var(--paper-strong);
  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.state > p:not(.eyebrow) {
  max-width: 30rem;
  color: var(--paper-muted);
  line-height: 1.6;
}

.retry-button {
  min-height: 3rem;
  margin-top: 0.8rem;
  padding: 0.75rem 1.2rem;
  border: 0;
  color: var(--forest-deep);
  background: var(--orange);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.timeline-experience {
  animation: experience-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(36rem, calc(100dvh - 5.3rem), 47rem);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 33%, rgba(228, 119, 72, 0.22), transparent 16rem),
    linear-gradient(160deg, #213d35 0%, var(--forest) 56%, #10231f 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(243, 232, 207, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 232, 207, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(130deg, black, transparent 58%);
}

.hero::after {
  inset: auto 0 0;
  height: 5.5rem;
  background: linear-gradient(to bottom, transparent, rgba(8, 26, 23, 0.76));
}

.hero__texture {
  position: absolute;
  top: 4.6rem;
  right: -3.5rem;
  width: 12rem;
  aspect-ratio: 1;
  border: 1px dashed rgba(243, 232, 207, 0.18);
  border-radius: 50%;
}

.hero__texture::before,
.hero__texture::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.hero__texture::before {
  inset: 1.5rem;
  border: 1px solid rgba(243, 232, 207, 0.09);
}

.hero__texture::after {
  inset: 3.5rem;
  background: rgba(228, 119, 72, 0.08);
}

.hero__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  align-self: start;
  padding: clamp(2.7rem, 10vw, 4.2rem) 1.15rem 19.5rem;
}

.hero__overline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--orange-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__overline .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__overline .eyebrow span {
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(240, 160, 108, 0.12);
}

.hero__kingdom {
  flex: 0 0 auto;
  margin-bottom: 0.65rem;
  color: var(--paper-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: 0.9rem;
  color: var(--paper-strong);
  font-size: clamp(2.7rem, 13vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero__summary {
  max-width: 37rem;
  margin-bottom: 1.4rem;
  color: var(--paper-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.countdown {
  display: grid;
  width: min(100%, 25rem);
  grid-template-columns: auto 0.8rem auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.countdown > div:not(.countdown__date) {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0.28rem;
}

.countdown strong {
  color: var(--paper-strong);
  font-size: 1.75rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  color: var(--paper-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown__divider {
  align-self: start;
  padding-top: 0.15rem;
  color: var(--orange) !important;
  font-family: "Rowdies", sans-serif;
  font-size: 1.35rem !important;
}

.countdown__date {
  display: grid;
  min-width: 0;
  justify-items: end;
  line-height: 1.15;
}

.countdown__date time {
  margin-top: 0.2rem;
  color: var(--paper-strong);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
}

.unlock-list {
  display: flex;
  max-width: 32rem;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.unlock-list li {
  display: inline-flex;
  min-height: 1.9rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.58rem;
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(243, 232, 207, 0.045);
  font-size: 0.7rem;
  font-weight: 700;
}

.unlock-list svg {
  width: 0.88rem;
  fill: none;
  stroke: var(--orange-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero__emblem {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 20rem;
  overflow: hidden;
  pointer-events: none;
}

.sun-disc {
  position: absolute;
  top: 1.2rem;
  right: 17%;
  width: 9rem;
  aspect-ratio: 1;
  border: 1px solid rgba(240, 160, 108, 0.28);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 0.8rem, rgba(240, 160, 108, 0.05) 0.85rem 0.95rem),
    rgba(228, 119, 72, 0.1);
}

.mountains {
  position: absolute;
  right: -8%;
  bottom: 0;
  width: 116%;
  height: 15rem;
}

.mountains__back {
  fill: #2d4d44;
}

.mountains__front {
  fill: #173029;
}

.watchtower {
  position: absolute;
  right: 25%;
  bottom: 1.2rem;
  width: 6.5rem;
  filter: drop-shadow(0 1rem 1rem rgba(6, 20, 17, 0.42));
}

.watchtower svg {
  width: 100%;
  fill: var(--forest-deep);
  stroke: #406157;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero__date-stamp {
  position: absolute;
  right: 1.15rem;
  bottom: 3rem;
  display: grid;
  width: 4.2rem;
  min-height: 5rem;
  align-content: center;
  border: 1px solid rgba(243, 232, 207, 0.36);
  color: var(--paper-strong);
  background: rgba(15, 34, 30, 0.82);
  text-align: center;
  backdrop-filter: blur(8px);
  transform: rotate(3deg);
}

.hero__date-stamp span {
  color: var(--orange-soft);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero__date-stamp strong {
  font-family: "Rowdies", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.05;
}

.roadmap {
  position: relative;
  overflow: hidden;
  padding: 3.4rem 0 2rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 5%, rgba(228, 119, 72, 0.12), transparent 18rem),
    var(--paper);
}

.roadmap::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(35deg, transparent 48%, #173029 49%, #173029 50%, transparent 51%),
    linear-gradient(145deg, transparent 48%, #173029 49%, #173029 50%, transparent 51%);
  background-size: 78px 94px;
}

.roadmap__header,
.roadmap__footer {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-inline: 1.15rem;
}

.roadmap__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.roadmap .eyebrow {
  color: #a84d2b;
}

.roadmap h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(2.1rem, 9vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.roadmap__header > div > p:last-child {
  max-width: 28rem;
  margin-bottom: 0;
  color: #66736d;
  font-size: 0.86rem;
}

.roadmap__controls {
  display: none;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.roadmap__controls button {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(27, 40, 35, 0.25);
  place-items: center;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.roadmap__controls button:disabled {
  cursor: default;
  opacity: 0.32;
}

.roadmap__controls svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.roadmap__track-wrap {
  position: relative;
  margin-top: 2rem;
}

.roadmap__path {
  position: absolute;
  top: 3.05rem;
  right: 0;
  left: 0;
  height: 2px;
  border-top: 2px dashed rgba(27, 40, 35, 0.22);
}

.event-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-columns: min(82vw, 20rem);
  grid-auto-flow: column;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.25rem max(1.15rem, calc((100vw - var(--content)) / 2)) 1.5rem;
  scroll-padding-inline: max(1.15rem, calc((100vw - var(--content)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(27, 40, 35, 0.3) transparent;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.event-card {
  position: relative;
  display: grid;
  min-height: 21.5rem;
  grid-template-rows: auto auto 1fr auto;
  overflow: hidden;
  padding: 1.4rem;
  border: 1px solid rgba(27, 40, 35, 0.17);
  color: var(--ink);
  background: rgba(255, 247, 230, 0.82);
  box-shadow: 0 1.2rem 2.5rem rgba(27, 40, 35, 0.08);
  scroll-snap-align: start;
  clip-path: polygon(0 0, calc(100% - 1.2rem) 0, 100% 1.2rem, 100% 100%, 1.2rem 100%, 0 calc(100% - 1.2rem));
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease;
}

.event-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.3rem;
  content: "";
  background: var(--card-accent, var(--sage));
}

.event-card::after {
  position: absolute;
  right: -3.5rem;
  bottom: -4rem;
  width: 9rem;
  aspect-ratio: 1;
  border: 1px solid rgba(27, 40, 35, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 1.4rem rgba(27, 40, 35, 0.025), 0 0 0 2.8rem rgba(27, 40, 35, 0.018);
}

.event-card[data-category="heroes"] {
  --card-accent: #cf6641;
}

.event-card[data-category="battle"] {
  --card-accent: #934d3e;
}

.event-card[data-category="power"] {
  --card-accent: #c3973e;
}

.event-card[data-category="kingdom"] {
  --card-accent: #648477;
}

.event-card.is-current {
  color: var(--paper);
  background: var(--forest-mid);
  box-shadow: 0 1.3rem 2.6rem rgba(22, 45, 40, 0.22);
}

.event-card.is-current::after {
  border-color: rgba(243, 232, 207, 0.08);
  box-shadow: 0 0 0 1.4rem rgba(243, 232, 207, 0.025), 0 0 0 2.8rem rgba(243, 232, 207, 0.018);
}

.event-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.45rem;
}

.event-card__badge,
.event-card__distance {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.event-card__badge {
  color: #9d482a;
}

.is-current .event-card__badge {
  color: var(--orange-soft);
}

.event-card__distance {
  color: #6f7b75;
}

.is-current .event-card__distance {
  color: var(--paper-muted);
}

.event-card__date {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.event-card__day {
  color: var(--card-accent);
  font-size: 3.6rem;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.is-current .event-card__day {
  color: var(--orange-soft);
}

.event-card__month {
  display: grid;
  color: #5c6963;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.is-current .event-card__month {
  color: var(--paper-muted);
}

.event-card__title {
  margin-bottom: 0.85rem;
  font-size: 1.55rem;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.event-card__items {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-card__items li {
  display: grid;
  grid-template-columns: 0.85rem 1fr;
  gap: 0.5rem;
  color: #5b6761;
  font-size: 0.76rem;
  line-height: 1.35;
}

.event-card__items li::before {
  width: 0.4rem;
  aspect-ratio: 1;
  align-self: start;
  margin-top: 0.32rem;
  border: 1px solid var(--card-accent);
  content: "";
  transform: rotate(45deg);
}

.is-current .event-card__items li {
  color: var(--paper-muted);
}

.event-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(27, 40, 35, 0.12);
  color: #728079;
  font-size: 0.67rem;
  font-weight: 700;
}

.is-current .event-card__footer {
  border-color: var(--line);
  color: var(--paper-muted);
}

.event-card__icon {
  display: grid;
  width: 2.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--card-accent);
  transform: rotate(2deg);
}

.is-current .event-card__icon {
  color: var(--orange-soft);
}

.event-card__icon svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.roadmap__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #68756f;
  font-size: 0.7rem;
  font-weight: 700;
}

.roadmap__footer p {
  margin: 0;
}

.roadmap__footer p:first-child {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.roadmap__footer p:first-child span {
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
}

.site-footer {
  display: flex;
  width: min(100%, var(--content));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 1.3rem 1.15rem max(1.3rem, env(safe-area-inset-bottom));
  color: var(--paper-muted);
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--orange-soft);
  font-weight: 700;
  text-underline-offset: 0.2rem;
}

@keyframes scout-pulse {
  from { opacity: 0.35; transform: scale(0.72); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes experience-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  .kingdom-form button:hover,
  .retry-button:hover {
    background: var(--orange-soft);
  }

  .roadmap__controls button:not(:disabled):hover {
    color: var(--paper-strong);
    background: var(--forest);
  }

  .event-card:hover {
    transform: translateY(-0.35rem);
    box-shadow: 0 1.6rem 3rem rgba(27, 40, 35, 0.14);
  }
}

@media (min-width: 42rem) {
  .masthead {
    align-items: center;
    padding-top: max(1.25rem, env(safe-area-inset-top));
    padding-bottom: 1.25rem;
  }

  .brand__mark {
    width: 3rem;
  }

  .brand__copy strong {
    font-size: 1.05rem;
  }

  .kingdom-form {
    display: flex;
    width: auto;
    align-items: center;
    gap: 0.8rem;
  }

  .kingdom-form label {
    margin: 0;
  }

  .kingdom-form__control {
    width: auto;
    grid-template-columns: auto 4rem 2.4rem;
  }

  .hero__copy {
    padding-right: 42%;
    padding-bottom: 5rem;
  }

  .hero__emblem {
    top: 0;
    bottom: 0;
    left: 51%;
    height: auto;
  }

  .sun-disc {
    top: 18%;
    right: 19%;
    width: clamp(10rem, 20vw, 15rem);
  }

  .mountains {
    right: -10%;
    width: 120%;
    height: 55%;
  }

  .watchtower {
    right: 34%;
    bottom: 10%;
    width: clamp(7rem, 12vw, 10.5rem);
  }

  .hero__date-stamp {
    right: 8%;
    bottom: 16%;
  }

  .roadmap__controls {
    display: flex;
  }

  .event-rail {
    grid-auto-columns: min(42vw, 21rem);
  }
}

@media (min-width: 72rem) {
  .hero {
    width: min(calc(100% - 3rem), var(--content));
    min-height: min(43rem, calc(100dvh - 8rem));
    margin: 0 auto 1.5rem;
    clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 2rem 100%, 0 calc(100% - 2rem));
  }

  .hero__copy {
    align-self: center;
    padding: 4.5rem 45% 4.5rem 4.5rem;
  }

  .hero__texture {
    top: 3rem;
    right: 1rem;
    width: 18rem;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 5.7vw, 6rem);
  }

  .hero__emblem {
    left: 53%;
  }

  .roadmap {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .roadmap__track-wrap {
    margin-top: 2.8rem;
  }

  .event-rail {
    grid-auto-columns: 21.5rem;
    gap: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
