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

@font-face {
  font-family: "Cinzel";
  src: url("fonts/cinzel-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "Alegreya";
  src: url("fonts/alegreya-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url("fonts/alegreya-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #0b1020;
  --surface: #141b30;
  --line: #2c3759;
  --ink: #eef0f7;
  --muted: #a6afc8;
  --gold: #e8c66b;
  --dawn: #ff9f4a;
  --dusk: #8c7bff;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 42% at 78% -8%, rgba(232, 198, 107, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 36% at 8% 18%, rgba(140, 123, 255, 0.07), transparent 50%),
    var(--ground);
  color: var(--ink);
  font-family: "Alegreya", Georgia, "Palatino Linotype", serif;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: rgba(232, 198, 107, 0.28);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--gold);
  color: var(--ground);
  padding: 0.55rem 0.8rem;
  font-family: "Alegreya Sans", sans-serif;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.2rem);
  background: rgba(11, 16, 32, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.98rem;
  white-space: nowrap;
}

.brand img {
  width: 3.4rem;
  height: auto;
}

.nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.nav nav a {
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 0.7rem 0.1rem;
}

.nav nav a:hover {
  color: var(--gold);
}

.kicker {
  margin: 0 0 0.85rem;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0 0 1.2rem;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-logo {
  display: block;
  width: 13rem;
  height: auto;
  margin-bottom: 1.75rem;
}

h2 {
  margin: 0 0 1rem;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.lead,
.prose p,
.close p {
  color: var(--ink);
}

.lead {
  margin: 0;
  max-width: min(28rem, 100%);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.45;
}

.note {
  margin: 1.05rem 0 0;
  max-width: min(28rem, 100%);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  width: min(80rem, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
  box-sizing: border-box;
  scroll-margin-top: 5.5rem;
}

.poster {
  margin: 0;
  justify-self: center;
  padding: 7px;
  border: 1px solid rgba(232, 198, 107, 0.42);
  background: #090d18;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.poster img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 680px;
  height: auto;
}

.sheet {
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 1rem;
  text-decoration: none;
}

.button:hover {
  border-color: var(--gold);
  background: var(--surface);
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ground);
}

.button.primary:hover {
  background: #f5d88c;
}

.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: min(76rem, 100%);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  list-style: none;
}

.journey li {
  display: flex;
  gap: 1rem;
}

.step {
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.9rem;
  padding-top: 0.15rem;
}

.journey h2 {
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
}

.journey p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.highlights {
  background: radial-gradient(ellipse at 85% 50%, rgba(140, 123, 255, 0.08), transparent 65%);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22.5rem);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: center;
  width: min(76rem, 100%);
  margin: 0 auto;
  padding: clamp(3.4rem, 8vw, 6.2rem) 1.25rem;
  box-sizing: border-box;
}

.flip {
  grid-template-columns: minmax(16rem, 22.5rem) minmax(0, 1fr);
}

.flip .phone {
  order: -1;
}

.prose p {
  margin: 0 0 1rem;
  font-size: 1.22rem;
  line-height: 1.6;
}

.prose {
  max-width: 39rem;
}

.prose .kicker {
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.74rem;
  color: var(--gold);
}

.story {
  margin: 2rem 0 1.5rem;
  padding: 1.5rem;
  background: rgba(20, 27, 48, 0.7);
  border-left: 2px solid var(--gold);
}

.prose .story-label {
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.story blockquote {
  margin: 0 0 1rem;
}

.story blockquote::before {
  display: none;
}

.prose .story-result {
  font-size: 1.05rem;
  color: var(--muted);
}

.prose .image-note {
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}

.possibilities {
  margin: 1.6rem 0;
}

.possibilities div {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.possibilities dt {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.16rem;
}

.possibilities dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.prose p:last-child {
  margin-bottom: 0;
}

blockquote {
  margin: 1.4rem 0 0;
  padding: 0;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

blockquote::before {
  content: "";
  display: block;
  width: 2.2rem;
  height: 1px;
  margin-bottom: 0.75rem;
  background: var(--gold);
}

.sides-label {
  margin: 1.35rem 0 0.55rem;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.factions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.factions li {
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
}

.factions span {
  margin-right: 0.65rem;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.factions .dawn {
  border-left: 2px solid var(--dawn);
}

.dawn span {
  color: var(--dawn);
}

.factions .dusk {
  border-left: 2px solid var(--dusk);
}

.dusk span {
  color: var(--dusk);
}

.phone {
  margin: 0;
}

.screenshot {
  display: block;
  border-radius: 1.7rem;
  cursor: zoom-in;
}

.screenshot:hover img {
  border-color: var(--gold);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.7rem;
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 7px #141b30,
    0 26px 50px rgba(0, 0, 0, 0.42);
}

figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.close {
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
  text-align: center;
  padding: clamp(4rem, 10vw, 7.5rem) 1.25rem 4.5rem;
}

.close p:not(.kicker) {
  max-width: 26rem;
  margin: 0 auto;
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--muted);
}

.mail {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.mail:hover {
  background: var(--gold);
  color: var(--ground);
}

.close p.contact-address {
  margin-top: 1rem;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem clamp(1rem, 4vw, 2.2rem) 1.8rem;
  border-top: 1px solid var(--line);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body.miss {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.miss main {
  padding: 2rem 1.25rem 3rem;
}

body.miss h1 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 3.15rem);
  letter-spacing: 0.04em;
  margin: 1.1rem 0 0.9rem;
}

body.miss .eye-miss {
  width: min(16rem, 72vw);
  height: auto;
}

body.miss .back {
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

body.miss .back:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 860px) {
  .hero,
  .band,
  .flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .prose,
  .poster,
  .phone {
    min-width: 0;
  }

  .flip .phone {
    order: 0;
  }

  .phone {
    max-width: 22rem;
    margin-inline: auto;
  }

  .poster {
    max-width: 28rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-logo {
    width: 9rem;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .poster {
    width: 100%;
    max-width: 36rem;
  }

  .poster img {
    width: 100%;
    height: clamp(15rem, 42vw, 21rem);
    object-fit: cover;
    object-position: center 68%;
  }

  .prose {
    max-width: 36rem;
    margin-inline: auto;
  }

  .lead,
  .note,
  .hero-logo {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 0.6rem;
    padding: 0.5rem 1rem;
  }

  .brand img {
    width: 2rem;
  }

  .nav nav {
    flex: 1;
    justify-content: space-between;
    gap: 0.25rem;
  }

  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .nav nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    letter-spacing: 0.05em;
    font-size: 0.68rem;
  }

  .journey {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-top: 0;
  }

  .hero .kicker {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .band {
    padding-block: 3rem;
    gap: 2.5rem;
  }

  .phone {
    width: min(100%, 20rem);
  }

  .prose p {
    font-size: 1.12rem;
  }

  .mail {
    font-size: 0.8rem;
  }
}

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