/* ============================================
   Hyperion Productions — Global Styles
   ============================================ */


/* ---------- Fonts (lokal, kein Drittanbieter) ---------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/InstrumentSerif-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/InstrumentSerif-Italic.ttf') format('truetype');
}


:root {
  --color-bg: #0a0a0a;
  --color-bg-elevated: #141414;
  --color-text: #f5f5f5;
  --color-text-muted: rgba(245, 245, 245, 0.7);
  --color-text-faint: rgba(245, 245, 245, 0.5);
  --color-text-faintest: rgba(245, 245, 245, 0.35);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.2);
  --color-accent: #e63946;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --max-width: 1280px;
  --gutter: 28px;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

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

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-accent);
}

.eyebrow { 
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

main {
  flex: 1;
}

/* ---------- Navigation ---------- */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  border-bottom: 0.5px solid var(--color-border);
}

.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.site-nav__logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.site-nav__links {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.site-nav__links a {
  transition: color 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: var(--color-text);
  border-bottom: 0.5px solid var(--color-accent);
  padding-bottom: 2px;
}

.site-nav__menu-toggle {
  display: none;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter);
  border-top: 0.5px solid var(--color-border);
  font-size: 11px;
  color: var(--color-text-faintest);
}

.site-footer__links {
  display: flex;
  gap: 16px;
}

.site-footer__links a {
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--color-text-muted);
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  .site-nav__links {
    display: none;
  }

  .site-nav__menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    margin: -8px;
  }

  .site-nav__menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--color-text);
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ---------- Mobile Menu Overlay ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 24px;
  color: var(--color-text-muted);
}