@font-face {
  font-family: "LuciFurs Brand";
  src: url("https://cdn.lucifu.rs/brand/v1/Growl_rounded.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

:root {
  --ink: #fbf7f1;
  --muted: #aaa3ad;
  --ground: #0a080d;
  --surface: #141118;
  --line: rgba(251, 247, 241, 0.13);
  --accent: #ff5d1f;
  --accent-dark: #c54112;
  --accent-soft: #ff8759;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ground);
  color: var(--ink);
  overflow-x: clip;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 8, 13, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
}

.header-inner {
  width: min(1440px, 100%);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #151219;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-name {
  font: 400 1.55rem/1 "LuciFurs Brand", ui-sans-serif, sans-serif;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #c9c4d0;
  font-size: 0.82rem;
  font-weight: 750;
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--accent);
}

main {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.legacy-logo {
  display: block;
  width: min(427px, 86vw);
  max-height: calc(100svh - var(--header-height) - 96px);
  object-fit: contain;
}

@media (max-width: 768px) {
  :root {
    --header-height: 104px;
  }

  .header-inner {
    min-height: var(--header-height);
    padding: 12px 20px 0;
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "nav";
    gap: 8px;
  }

  .brand {
    grid-area: brand;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.42rem;
  }

  .site-nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 22px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-width: none;
  }

  .site-nav a {
    min-height: 36px;
    flex: 0 0 auto;
  }

  main {
    padding: 30px 20px;
  }

  .legacy-logo {
    max-height: calc(100svh - var(--header-height) - 60px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
