/* korsario.de. Pirata One (display), Cinzel (caps and labels) and IM Fell
   English (text), all SIL OFL, self-hosted, latin and latin-ext subsets
   (IM Fell English only ships latin). Cinzel is a variable font. */
@font-face {
  font-family: "Pirata One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/pirata-one-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Pirata One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/pirata-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/cinzel-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/cinzel-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IM Fell English";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/im-fell-english-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IM Fell English";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/im-fell-english-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #06080c;
  --bg-log: #080d14;
  --bg-card: #0b0a09;
  --bg-crew: #0a0606;
  --line: #2a2418;
  --line-soft: #1c1812;
  --line-crew: #2a1210;
  --bronze: #5a4a2c;
  --bronze-dark: #3a301e;
  --text: #e8dfc8;
  --text-bright: #efe4c9;
  --text-hero: #cfc4a8;
  --text-body: #b9ae92;
  --muted: #a89a7c;
  --muted-2: #8d8268;
  --red: #c8372d;
  /* Red for small text: the design's #c8372d reaches only ~3.8:1 on the
     dark backgrounds, this lighter red (the button border) over 4.5:1. */
  --red-text: #e0574b;
  --on-red: #fff6e6;
  --gold: #d9b26a;
  --gold-light: #f0d49a;
  --display: "Pirata One", "UnifrakturMaguntia", serif;
  --caps: "Cinzel", serif;
  --serif: "IM Fell English", Georgia, serif;
  --pad-x: 5vw;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

svg {
  flex: none;
}

p {
  text-wrap: pretty;
}
h1,
h2,
.hero__kicker,
.hero__tagline,
.signup p {
  text-wrap: balance;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--caps);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 10;
}
.skip:focus {
  top: 16px;
}
.skip:hover {
  color: var(--bg);
}

/* Shared type */
.eyebrow {
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--red-text);
}
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: var(--text-bright);
}

/* Top bar */
.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px var(--pad-x);
  border-bottom: 1px solid var(--line);
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.topbar__logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -12px 0;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.topbar__logo:hover {
  color: var(--text-bright);
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -12px 0;
  text-decoration: none;
}
/* Cinzel has no tabular figures: reserve the widest time so the bar does
   not twitch every second. */
.clock {
  display: inline-block;
  min-width: 13em;
  text-align: left;
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  padding: 96px var(--pad-x) 140px;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 38%, #2a0d0a 0%, #120708 45%, var(--bg) 80%);
  overflow: hidden;
}
.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.hero__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero__kicker {
  font-family: var(--caps);
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--red-text);
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(88px, 15vw, 220px);
  line-height: 0.85;
  color: var(--text-bright);
  text-shadow: 0 0 40px rgba(200, 55, 45, 0.55), 0 0 120px rgba(200, 55, 45, 0.25);
}
.hero__tagline {
  font-family: var(--caps);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 28px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(520px, 80%);
}
.divider__line {
  flex: 1;
  height: 1px;
  background: var(--bronze);
}
.hero__lead {
  max-width: 640px;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--text-hero);
}
.hero__lead em {
  color: var(--text-bright);
}

/* Waitlist: a prefilled mail instead of the design's form */
.signup {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(560px, 100%);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  background: var(--red);
  border: 1px solid var(--red-text);
  color: var(--on-red);
  font-family: var(--caps);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn:hover {
  background: #d6463b;
  color: var(--on-red);
}
.btn--ghost {
  background: transparent;
  border-color: var(--bronze);
  color: var(--gold);
}
.btn--ghost:hover {
  background: #120e0a;
  color: var(--gold-light);
}
.signup__note {
  font-size: 15px;
  color: var(--muted-2);
}
.signup__alt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted-2);
}

/* Waves at the foot of the hero */
.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  overflow: hidden;
}
.waves svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 90px;
}

/* Logbook */
.log {
  background: var(--bg-log);
  padding: 112px var(--pad-x);
}
.log__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}
.log__text {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.log__text p:not(.eyebrow) {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-body);
}
.timeline {
  flex: 1 1 420px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--bronze-dark);
}
.timeline li {
  position: relative;
  padding: 0 0 32px 32px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline__mark {
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--bronze);
  transform: rotate(45deg);
}
.timeline__date {
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.timeline__text {
  margin-top: 4px;
  font-size: 21px;
  color: var(--text);
}
.timeline__item--calm .timeline__mark {
  background: var(--bronze-dark);
}
.timeline__item--calm .timeline__text {
  font-style: italic;
  color: var(--muted-2);
}
.timeline__item--now .timeline__mark {
  left: -7px;
  top: 6px;
  width: 13px;
  height: 13px;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}
.timeline__item--now .timeline__date {
  color: var(--red-text);
}
.timeline__item--now .timeline__text {
  color: var(--text-bright);
}

/* What's coming */
.horizon {
  background: var(--bg);
  padding: 112px var(--pad-x);
  border-top: 1px solid var(--line-soft);
}
.horizon__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.horizon__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cards {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  padding: 40px 32px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card h3 {
  font-family: var(--caps);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--text-bright);
}
.card p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

/* Call to the old crew */
.crew {
  background: var(--bg-crew);
  padding: 112px var(--pad-x);
  border-top: 1px solid var(--line-crew);
}
.crew__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.crew .h2 {
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1.05;
}
.crew__names {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-family: var(--caps);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.crew__call {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-body);
}

/* Footer: imprint and legal bar */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}
.imprint-wrap {
  padding: 72px var(--pad-x) 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.imprint-wrap > * {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.imprint-wrap h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1;
  color: var(--text-bright);
}
.imprint {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
}
.imprint > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.imprint address {
  font-style: normal;
}
.imprint a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -9px 0;
}
.imprint__label {
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer__bar {
  padding: 28px var(--pad-x);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer__nav {
  display: flex;
  gap: 28px;
}
.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

/* Text pages (Datenschutz, 404) */
.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px var(--pad-x) 112px;
}
.page h1 {
  margin: 16px 0 24px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.95;
  color: var(--text-bright);
  overflow-wrap: break-word;
  hyphens: manual;
}
.page h2 {
  margin: 48px 0 12px;
  font-family: var(--caps);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--text-bright);
}
.page p:not(.eyebrow),
.page li {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-body);
}
.page p + p {
  margin-top: 12px;
}
.page ul {
  margin: 12px 0 0;
  padding-left: 22px;
}
.page li + li {
  margin-top: 8px;
}
.page strong {
  font-family: var(--caps);
  font-weight: 700;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  color: var(--text-bright);
}
.page .lead {
  font-size: 21px;
  color: var(--text-hero);
}
.page .stand {
  margin-top: 48px;
  font-size: 16px;
  color: var(--muted-2);
}
.page .btn {
  margin-top: 32px;
}

/* Animations from the design, off for people who ask for less motion */
@keyframes kflicker {
  0%,
  100% {
    opacity: 0.85;
  }
  40% {
    opacity: 1;
  }
  55% {
    opacity: 0.7;
  }
  70% {
    opacity: 0.95;
  }
}
@keyframes kdrift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes kspin {
  0% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(-8deg);
  }
}
.k-flicker {
  animation: kflicker 3.2s ease-in-out infinite;
}
.k-drift {
  animation: kdrift 38s linear infinite;
}
.k-needle {
  transform-origin: 50% 50%;
  animation: kspin 7s ease-in-out infinite;
}

@media (max-width: 600px) {
  .topbar {
    justify-content: center;
    text-align: center;
    gap: 4px 16px;
  }
  .hero {
    padding-top: 64px;
    padding-bottom: 120px;
  }
  .log,
  .horizon,
  .crew {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .card {
    padding: 32px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .k-flicker,
  .k-drift,
  .k-needle {
    animation: none;
  }
}
