@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800&family=Sora:wght@400;500;700&display=swap");

:root {
  --bg: #091521;
  --surface: #122334;
  --text: #f4f1ee;
  --muted: #c4cfdb;
  --line: #5e3240;
  --accent: #c72d3d;
  --accent-2: #7a1825;
  --font-body: "Sora", sans-serif;
  --shadow: 0 22px 48px rgba(4, 13, 30, 0.48);
}

body {
  letter-spacing: 0.01em;
}

.topbar {
  background:
    linear-gradient(120deg, color-mix(in srgb, #08131d 92%, transparent), color-mix(in srgb, #13273b 88%, transparent));
  border-bottom: 1px solid #5e3240;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #8f1826 0%, #d73346 48%, #6e1521 100%);
}

h1,
.section h2,
.brand-title {
  font-family: "Cinzel", serif;
  letter-spacing: 0.03em;
  color: var(--text);
}

.brand-title {
  font-size: 1.1rem;
}

.logo-orb {
  width: 78px;
  height: 78px;
  border: 2px solid color-mix(in srgb, var(--accent) 75%, white 10%);
  box-shadow:
    inset 0 10px 24px rgba(0, 0, 0, 0.34),
    0 0 0 4px rgba(151, 36, 52, 0.2);
}

.main-nav a {
  border-radius: 7px;
  background: rgba(15, 34, 53, 0.78);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-color: #546c84;
}

.main-nav a:hover {
  background: linear-gradient(132deg, #a81d2c, #d73346);
  border-color: color-mix(in srgb, var(--accent) 72%, white 16%);
  color: #fff6f7;
}

.main-nav a.active {
  background: color-mix(in srgb, var(--accent) 20%, rgba(15, 34, 53, 0.82));
}

.hero-grid {
  grid-template-columns: 1.3fr 0.7fr;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  border-width: 2px;
  background: linear-gradient(145deg, #102131, #163049 62%, #152840);
  animation: site-rise 0.55s ease both;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -35% -110px;
  height: 220px;
  transform: rotate(-7deg);
  background: linear-gradient(90deg, rgba(199, 45, 61, 0.2), rgba(255, 255, 255, 0.04), rgba(122, 24, 37, 0.18));
}

.hero-panel {
  background: linear-gradient(190deg, #0d1b29, #16283c 70%);
  border-width: 2px;
  animation: site-rise 0.7s ease both;
}

.panel-card {
  border-color: #5b7188;
  border-left: 5px solid var(--accent);
  background: rgba(11, 24, 39, 0.72);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  border-color: color-mix(in srgb, var(--accent) 45%, #6e849a);
  color: color-mix(in srgb, var(--text) 92%, var(--muted) 8%);
}

h1 {
  max-width: 17ch;
  font-size: clamp(1.95rem, 4.8vw, 3.8rem);
}

.btn-primary {
  color: #fff7f7;
  background: linear-gradient(132deg, #a71b2a, #d73346);
}

.btn-secondary {
  border-color: #6f879f;
  background: #13283f;
}

.btn-secondary:hover {
  border-color: color-mix(in srgb, var(--accent) 58%, #6f879f);
  color: var(--text);
}

.phrase-box {
  border-style: solid;
  border-color: #60778f;
  background: rgba(13, 28, 45, 0.72);
}

.card {
  background: linear-gradient(180deg, #132436, #102031);
  border-color: #40576f;
}

.card h3 {
  color: #f2f6ff;
}

.banner {
  border-color: #516980;
  background: linear-gradient(110deg, #102030, #1c3145 52%, #3d1620);
}

.footer {
  border-top-color: #496177;
}

@keyframes site-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .logo-orb {
    width: 72px;
    height: 72px;
  }
}
