/* Tokens */
:root {
  color-scheme: dark;
  --color-bg: #08090e;
  --color-text: #e8e6f0;
  --color-text-muted: #8b8da8;
  --color-primary: #f0b84a;
  --color-border: #272a45;
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --hero-background: url("./assets/night-sky-background.webp");
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  line-height: 1.15;
}

p,
small {
  text-wrap: pretty;
}

/* Page shell */
.site-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--color-bg);
}

.site-shell::before,
.site-shell::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
}

.site-shell::before {
  z-index: -2;
  background: var(--hero-background) center center / cover no-repeat;
}

.site-shell::after {
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 14, 0.48) 0%,
      rgba(8, 9, 14, 0.34) 35%,
      rgba(8, 9, 14, 0.68) 72%,
      rgba(8, 9, 14, 0.94) 100%
    ),
    radial-gradient(
      circle at 50% 44%,
      rgba(8, 9, 14, 0.12) 0%,
      rgba(8, 9, 14, 0.48) 72%,
      rgba(8, 9, 14, 0.74) 100%
    );
}

.site-main {
  display: grid;
}


/* Hero */
.hero {
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
}

.hero__content {
  width: min(100%, 42rem);
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.65);
}

.hero__logo {
  width: clamp(15rem, 40vw, 23rem);
  height: auto;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 2px 8px rgba(240, 184, 74, 0.18));
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.2;
}

.hero__description {
  max-width: 38ch;
  margin: 0.75rem auto 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

.hero__status {
  margin-top: 2rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1rem clamp(1.25rem, 4vw, 2rem)
    calc(1rem + env(safe-area-inset-bottom));
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  text-align: center;
}
