/* innava.de placeholder -- one stylesheet for both pages.
   No JavaScript anywhere: the CSP on innava.de forbids it, so every bit of
   motion below is plain CSS. Colours and keyframes come from the brand
   handbook (main mark, "Der verwobene Kosmos"). */

@font-face {
  font-family: "Italiana";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* The untouched original TTF: "Italiana" is a Reserved Font Name under the
     OFL, and a subset would count as a modified version. */
  src: url("fonts/Italiana-Regular.ttf") format("truetype");
}

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

:root {
  --night-deep: #0B0716;
  --night: #120D22;
  --night-glow: #1B1330;
  --paper: #F6EFE3;
  --champagne: #D2BCAD;
  --copper: #C98A63;
  --dawn: #E08A4E;
  --light-seam: #F3CE93;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #100C1E radial-gradient(120% 80% at 50% 30%, var(--night-glow) 0%, var(--night) 55%, var(--night-deep) 100%) fixed;
  color: var(--paper);
  font-family: "Spectral", Georgia, serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--copper); text-decoration: none; }
a:hover, a:focus-visible { color: var(--light-seam); }
a:focus-visible { outline: 1px solid var(--light-seam); outline-offset: 4px; }

/* --- starfield ----------------------------------------------------------- */

.sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.sky circle { fill: #F6E3C0; opacity: .3; }

/* --- landing ------------------------------------------------------------- */

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vh, 48px);
  padding: 48px 24px 24px;
  text-align: center;
}

.mark { width: min(60vw, 240px); height: auto; overflow: visible; }

.tagline {
  margin: 0;
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 5.2vw, 46px);
  line-height: 1.2;
  letter-spacing: .06em;
  text-wrap: balance;
  color: var(--paper);
}

.foot {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* --- imprint ------------------------------------------------------------- */

.page {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 110px) 24px 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--champagne);
}
.page h1, .page h2 {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: .04em;
  line-height: 1.15;
}
.page h1 { font-size: clamp(36px, 7vw, 54px); margin: 0 0 32px; }
.page h2 { font-size: clamp(22px, 4vw, 28px); margin: 40px 0 8px; }
.page p { margin: 0; }
.page .back {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* --- motion (keyframes straight from the brand handbook) ------------------ */

@keyframes innavaSpin    { to { transform: rotate(360deg); } }
@keyframes innavaBreathe { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes innavaTwinkle { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

.spin     { transform-box: fill-box; transform-origin: center; animation: innavaSpin 160s linear infinite; }
.spin-rev { transform-box: fill-box; transform-origin: center; animation: innavaSpin 210s linear infinite reverse; }
.breathe  { animation: innavaBreathe 5.5s ease-in-out infinite; }
.twinkle  { animation: innavaTwinkle 5.2s ease-in-out infinite; }

.d1 { animation-delay: .55s; }
.d2 { animation-delay: .8s; }
.d3 { animation-delay: 1.1s; }
.d4 { animation-delay: 1.4s; }
.d5 { animation-delay: 1.65s; }
.d6 { animation-delay: 2s; }
.d7 { animation-delay: 2.9s; }
.d8 { animation-delay: 3.7s; }

/* Still sky for anyone who asked their system for less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .twinkle { opacity: .6; }
  .breathe { opacity: 1; }
}
