:root {
  --bg: #050506;
  --panel: rgba(12, 12, 15, 0.72);
  --panel-strong: rgba(16, 16, 20, 0.86);
  --glass: rgba(18, 18, 22, 0.62);
  --line: rgba(255, 255, 255, 0.1);
  --line-red: rgba(228, 37, 48, 0.34);
  --text: #f7f7f7;
  --muted: #a8a8ad;
  --red: #e42530;
  --red-soft: #9b1821;
  --red-deep: #31080c;
  --gold: #d8b66a;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(228, 37, 48, 0.24), transparent 24rem),
    #050506;
  animation: pageCurtain 860ms var(--ease) both;
}

body.is-leaving::before {
  visibility: visible;
  animation: leaveCurtain 360ms var(--ease) both;
}

body.menu-open {
  overflow: hidden;
}

.site-header,
main,
.site-footer {
  transition:
    opacity 320ms ease,
    filter 320ms ease,
    transform 320ms var(--ease);
}

body.is-leaving .site-header,
body.is-leaving main,
body.is-leaving .site-footer {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(-10px) scale(0.992);
}

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

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(228, 37, 48, 0.26), transparent 25rem),
    radial-gradient(circle at 84% 18%, rgba(228, 37, 48, 0.16), transparent 26rem),
    linear-gradient(180deg, #09090b 0%, #050506 52%, #020203 100%);
}

.motion-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  opacity: 0.48;
  mix-blend-mode: screen;
}

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

.site-bg::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.72) 32%, rgba(5, 5, 6, 0.9) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.18) 0%, #050506 84%),
    radial-gradient(circle at 50% 38%, transparent 0, rgba(0, 0, 0, 0.42) 48rem);
}

.site-bg::after {
  z-index: 2;
  opacity: 0.31;
  background-image:
    linear-gradient(115deg, transparent 0%, rgba(228, 37, 48, 0.09) 48%, transparent 56%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-position:
    -120vw 0,
    0 0,
    0 0;
  background-size:
    240vw 100%,
    72px 72px,
    72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 72%, transparent 100%);
  animation: cinematicSweep 10s linear infinite;
}

.bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.34;
  filter: saturate(1.05) contrast(1.18) brightness(0.58);
  transform: scale(1.04);
}

.bg-image-soft {
  opacity: 0.24;
  filter: saturate(1.08) contrast(1.16) brightness(0.52);
}

.site-header {
  position: sticky;
  top: 22px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 64px), var(--max));
  min-height: 78px;
  margin: 22px auto 0;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(8, 8, 10, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 26px 80px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: enterDown 520ms var(--ease) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-red);
  border-radius: 14px;
  object-fit: cover;
  background: #0d0d10;
  box-shadow:
    0 0 0 4px rgba(228, 37, 48, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.45);
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.16);
}

.site-nav a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  color: #d5d5d8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.016)),
    rgba(255, 255, 255, 0.02);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    color 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    transform 260ms var(--ease),
    box-shadow 260ms ease;
}

.site-nav a::before {
  position: relative;
  z-index: 1;
  color: rgba(228, 37, 48, 0.92);
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  transition:
    color 260ms ease,
    transform 260ms var(--ease);
}

.site-nav a:nth-child(1)::before {
  content: "01";
}

.site-nav a:nth-child(2)::before {
  content: "02";
}

.site-nav a:nth-child(3)::before {
  content: "03";
}

.site-nav a::after {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  z-index: -1;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), rgba(228, 37, 48, 0.95), transparent);
  opacity: 0;
  transform: scaleX(0.22);
  transform-origin: center;
  transition:
    opacity 260ms ease,
    transform 360ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: #fff;
  border-color: rgba(228, 37, 48, 0.48);
  background:
    linear-gradient(180deg, rgba(228, 37, 48, 0.62), rgba(115, 16, 23, 0.62)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 14px 36px rgba(228, 37, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before,
.site-nav a.active::before {
  color: #fff;
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

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

.site-nav a.active {
  animation: navPulse 3.4s var(--ease) infinite;
}

.menu-toggle {
  display: none;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--ease);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(228, 37, 48, 0.44);
  background:
    linear-gradient(180deg, rgba(228, 37, 48, 0.34), rgba(72, 8, 13, 0.48)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 42px rgba(228, 37, 48, 0.18);
  transform: translateY(-2px);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
  transition:
    transform 260ms var(--ease),
    opacity 260ms ease,
    background 260ms ease;
}

.menu-toggle:hover span,
.menu-toggle:focus-visible span {
  background: #fff;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.home-main,
.content-shell {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
}

.home-main {
  display: grid;
  min-height: calc(100vh - 110px);
  align-items: center;
  padding: 66px 0 88px;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  width: 100%;
  isolation: isolate;
  min-height: 620px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 35%, rgba(228, 37, 48, 0.22), transparent 27rem),
    linear-gradient(112deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.018) 42%, rgba(228, 37, 48, 0.09)),
    rgba(8, 8, 10, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 36px 130px rgba(0, 0, 0, 0.58);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: heroPanelIn 900ms var(--ease) both;
}

.home-hero::before {
  position: absolute;
  left: -12%;
  top: 12%;
  z-index: -1;
  width: min(80vw, 900px);
  height: 260px;
  content: "";
  background:
    radial-gradient(circle at 22% 48%, rgba(228, 37, 48, 0.52), transparent 24rem),
    linear-gradient(90deg, rgba(228, 37, 48, 0.38), transparent 78%);
  filter: blur(44px);
  opacity: 0.74;
  animation: heroGlow 5.4s var(--ease) infinite;
}

.home-hero::after {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(228, 37, 48, 0.86), rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.8;
  animation: scanLine 3.8s linear infinite;
}

.home-hero > * {
  position: relative;
  z-index: 1;
}

.home-hero .hero-copy::before {
  position: absolute;
  left: -28px;
  top: -44px;
  z-index: -1;
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  content: "";
  border: 1px solid rgba(228, 37, 48, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(228, 37, 48, 0.12), transparent 52%),
    conic-gradient(from 120deg, transparent, rgba(228, 37, 48, 0.22), transparent 36%);
  filter: blur(0.2px);
  opacity: 0.74;
  animation: orbitalSpin 18s linear infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-mark {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 26px;
  padding: 0 18px;
  border: 1px solid rgba(228, 37, 48, 0.34);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(228, 37, 48, 0.36), rgba(68, 8, 13, 0.44)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 42px rgba(228, 37, 48, 0.12);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  position: relative;
  margin: 0;
  color: transparent;
  width: 100%;
  max-width: 100%;
  font-size: clamp(4.8rem, 8.2vw, 8.9rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.82;
  background:
    linear-gradient(180deg, #fff 0%, #f2f2f2 45%, #a9a9ad 100%),
    linear-gradient(90deg, transparent 0%, rgba(228, 37, 48, 0.7) 46%, transparent 54%);
  background-size:
    100% 100%,
    240% 100%;
  background-position:
    0 0,
    -140% 0;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 18px 70px rgba(0, 0, 0, 0.76),
    0 0 42px rgba(228, 37, 48, 0.28);
  animation:
    titleSweep 4.8s var(--ease) infinite,
    titleBreathe 5.8s var(--ease) infinite;
}

.hero-copy h1::before,
.hero-copy h1::after {
  position: absolute;
  inset: 0;
  content: attr(data-title);
  pointer-events: none;
  opacity: 0;
}

.hero-copy h1::before {
  color: rgba(228, 37, 48, 0.72);
  transform: translateX(-3px);
  animation: glitchRed 5.2s steps(1, end) infinite;
}

.hero-copy h1::after {
  color: rgba(255, 255, 255, 0.62);
  transform: translateX(3px);
  animation: glitchWhite 6.6s steps(1, end) infinite;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  transform-style: preserve-3d;
  transition: transform 260ms ease;
}

.visual-ring {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(228, 37, 48, 0.38);
  border-radius: 42px;
  background:
    conic-gradient(from 160deg, transparent, rgba(216, 182, 106, 0.14), transparent 26%, rgba(228, 37, 48, 0.22), transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(228, 37, 48, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 0 58px rgba(228, 37, 48, 0.08),
    0 0 90px rgba(228, 37, 48, 0.1);
  transform: rotate(-7deg);
  animation: ringFloat 6.5s var(--ease) infinite;
}

.visual-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(10, 10, 13, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 84px rgba(0, 0, 0, 0.46);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card-main {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: min(74%, 310px);
  aspect-ratio: 1;
  border-color: rgba(228, 37, 48, 0.36);
  border-radius: 34px;
  transform: translate(-50%, -50%) rotate(4deg);
  animation:
    mainCardFloat 5.2s var(--ease) infinite,
    premiumPulse 3.8s var(--ease) infinite;
}

.visual-card-main::before {
  position: absolute;
  inset: -35%;
  content: "";
  background: conic-gradient(from 90deg, transparent, rgba(228, 37, 48, 0.42), transparent 32%);
  animation: cardSweep 5.8s linear infinite;
}

.visual-card-main::after {
  position: absolute;
  inset: 12px;
  z-index: 0;
  content: "";
  border: 1px solid rgba(216, 182, 106, 0.14);
  border-radius: 24px;
  pointer-events: none;
}

.visual-card-main img {
  position: relative;
  z-index: 1;
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.42));
}

.visual-card-mini {
  width: 178px;
  height: 118px;
  border-radius: 22px;
  opacity: 0.92;
}

.visual-card-mini img {
  filter: saturate(1.05) contrast(1.12) brightness(0.78);
}

.visual-card-top {
  right: 0;
  top: 62px;
  transform: rotate(9deg);
  animation: miniFloatA 5.6s var(--ease) infinite;
}

.visual-card-bottom {
  left: 2px;
  bottom: 68px;
  transform: rotate(-10deg);
  animation: miniFloatB 6.2s var(--ease) infinite;
}

.content-shell {
  padding: 96px 0 82px;
}

.page-hero {
  display: grid;
  justify-items: start;
  margin: 0 0 34px;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.8rem, 9.4vw, 8rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.7);
}

.page-hero h1 span {
  color: var(--red);
}

.setup-section,
.contact-layout {
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(9, 9, 12, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 34px 120px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  animation: glassAura 8s var(--ease) infinite;
}

.setup-section {
  display: grid;
  gap: 22px;
  padding: clamp(16px, 2.6vw, 28px);
}

.panel-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 10px 0;
}

.panel-copy span,
.contact-text > span,
.spec-card span {
  display: block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5.2vw, 4.5rem);
  line-height: 0.9;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.spec-card,
.contact-card,
.profile-glass {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    linear-gradient(145deg, rgba(228, 37, 48, 0.13), transparent 48%),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 24px 72px rgba(0, 0, 0, 0.38);
  transition:
    border-color 320ms ease,
    transform 320ms var(--ease),
    box-shadow 320ms ease,
    background 320ms ease;
}

.spec-card::before,
.contact-card::before,
.profile-glass::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 30%),
    radial-gradient(circle at 20% 0%, rgba(228, 37, 48, 0.18), transparent 18rem);
  opacity: 0.7;
}

.spec-card::after,
.contact-card::after,
.profile-glass::after {
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -55%;
  z-index: 0;
  width: 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  opacity: 0;
  transform: rotate(18deg) translateX(-120%);
  transition:
    opacity 260ms ease,
    transform 760ms var(--ease);
}

.spec-card:hover,
.spec-card:focus-visible,
.contact-card:hover,
.contact-card:focus-visible,
.profile-glass:hover {
  border-color: rgba(228, 37, 48, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.024)),
    linear-gradient(145deg, rgba(228, 37, 48, 0.18), transparent 48%),
    var(--panel-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 90px rgba(0, 0, 0, 0.48),
    0 0 52px rgba(228, 37, 48, 0.12);
  transform: translateY(-4px);
}

.spec-card:hover::after,
.spec-card:focus-visible::after,
.contact-card:hover::after,
.contact-card:focus-visible::after,
.profile-glass:hover::after {
  opacity: 1;
  transform: rotate(18deg) translateX(410%);
}

.spec-card {
  display: grid;
  grid-template-rows: 220px auto auto auto;
  min-height: 420px;
  padding: 16px;
}

.spec-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 220px;
  padding: 14px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(228, 37, 48, 0.22), transparent 58%),
    rgba(0, 0, 0, 0.28);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
  transition: transform 320ms var(--ease);
}

.spec-card:hover img,
.spec-card:focus-visible img {
  transform: scale(1.035);
}

.spec-card span,
.contact-text > span,
.spec-card strong,
.contact-card strong,
.spec-card small {
  position: relative;
  z-index: 1;
}

.spec-card span {
  margin-top: 20px;
}

.spec-card strong,
.contact-card strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(1.28rem, 2.1vw, 1.78rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.spec-card small {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  margin-top: 22px;
  padding: 0 16px;
  border: 1px solid rgba(228, 37, 48, 0.44);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(228, 37, 48, 0.55), rgba(95, 12, 18, 0.62));
  box-shadow: 0 14px 32px rgba(228, 37, 48, 0.12);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-shell {
  min-height: calc(100vh - 168px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  padding: clamp(16px, 2.6vw, 28px);
}

.profile-glass {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 470px;
  padding: 34px;
  text-align: center;
}

.profile-glass img {
  position: relative;
  z-index: 1;
  width: min(76%, 250px);
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 30px;
  border: 1px solid rgba(228, 37, 48, 0.32);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow:
    0 24px 66px rgba(0, 0, 0, 0.38),
    0 0 52px rgba(228, 37, 48, 0.12);
}

.profile-glass strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(3rem, 5.4vw, 4.9rem);
  line-height: 0.86;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 22px;
  min-height: 148px;
  padding: 30px;
}

.contact-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 38% 22%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(228, 37, 48, 0.72), rgba(68, 8, 13, 0.8)),
    rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    0 18px 46px rgba(228, 37, 48, 0.18);
  transition:
    transform 340ms var(--ease),
    box-shadow 340ms ease,
    border-color 340ms ease;
  animation: iconFloat 5.8s var(--ease) infinite;
}

.contact-card:nth-child(2) .contact-icon {
  animation-delay: -1.2s;
}

.contact-card:nth-child(3) .contact-icon {
  animation-delay: -2.4s;
}

.contact-card:nth-child(4) .contact-icon {
  animation-delay: -3.2s;
}

.contact-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.32));
}

.contact-icon-youtube {
  background:
    radial-gradient(circle at 38% 22%, rgba(255, 255, 255, 0.25), transparent 34%),
    linear-gradient(145deg, #ff1f2f, #64080f),
    rgba(0, 0, 0, 0.32);
}

.contact-icon-discord,
.contact-icon-twitch,
.contact-icon-mail {
  background:
    radial-gradient(circle at 38% 22%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(228, 37, 48, 0.66), rgba(22, 22, 27, 0.86)),
    rgba(0, 0, 0, 0.32);
}

.contact-text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.contact-card:hover .contact-icon,
.contact-card:focus-visible .contact-icon {
  animation: none;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 24px 58px rgba(228, 37, 48, 0.28);
  transform: translateY(-3px) rotate(-4deg) scale(1.06);
}

.contact-card:hover .contact-icon svg,
.contact-card:focus-visible .contact-icon svg {
  animation: iconKick 620ms var(--ease) both;
}

.site-footer {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto 34px;
  padding: 0 0 4px;
  color: var(--muted);
}

.site-footer small {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 10, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.reveal {
  opacity: 1;
}

.reveal-enabled .reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(34px) scale(0.985);
}

.reveal-enabled .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition:
    opacity 760ms var(--ease),
    filter 760ms var(--ease),
    transform 760ms var(--ease);
}

.reveal-enabled .setup-grid .reveal:nth-child(2),
.reveal-enabled .contact-list .reveal:nth-child(2) {
  transition-delay: 45ms;
}

.reveal-enabled .setup-grid .reveal:nth-child(3),
.reveal-enabled .contact-list .reveal:nth-child(3) {
  transition-delay: 90ms;
}

.reveal-enabled .setup-grid .reveal:nth-child(4) {
  transition-delay: 135ms;
}

.reveal-enabled .contact-list .reveal:nth-child(4) {
  transition-delay: 135ms;
}

.reveal-enabled .setup-grid .reveal:nth-child(5) {
  transition-delay: 180ms;
}

.reveal-enabled .setup-grid .reveal:nth-child(6) {
  transition-delay: 225ms;
}

.reveal-enabled .setup-grid .reveal:nth-child(7) {
  transition-delay: 270ms;
}

@keyframes enterDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageCurtain {
  0% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }

  58% {
    opacity: 0.92;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0.88);
    transform-origin: top;
  }
}

@keyframes leaveCurtain {
  0% {
    opacity: 0;
    visibility: visible;
    transform: scaleY(0.72);
    transform-origin: bottom;
  }

  100% {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@keyframes navPulse {
  0%,
  100% {
    box-shadow:
      0 14px 36px rgba(228, 37, 48, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.13);
  }

  50% {
    box-shadow:
      0 18px 50px rgba(228, 37, 48, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

@keyframes glassAura {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 34px 120px rgba(0, 0, 0, 0.5),
      0 0 0 rgba(228, 37, 48, 0);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.13),
      0 38px 132px rgba(0, 0, 0, 0.58),
      0 0 66px rgba(228, 37, 48, 0.08);
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

@keyframes iconKick {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  38% {
    transform: scale(1.16) rotate(-7deg);
  }

  70% {
    transform: scale(0.96) rotate(4deg);
  }
}

@keyframes cinematicSweep {
  0% {
    background-position:
      -120vw 0,
      0 0,
      0 0;
  }

  100% {
    background-position:
      120vw 0,
      0 0,
      0 0;
  }
}

@keyframes heroPanelIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.58;
    transform: translate3d(0, 0, 0) scale(0.96);
  }

  50% {
    opacity: 0.86;
    transform: translate3d(3%, 2%, 0) scale(1.04);
  }
}

@keyframes orbitalSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes titleSweep {
  0%,
  58%,
  100% {
    background-position:
      0 0,
      -140% 0;
  }

  76% {
    background-position:
      0 0,
      140% 0;
  }
}

@keyframes titleBreathe {
  0%,
  100% {
    filter: drop-shadow(0 0 22px rgba(228, 37, 48, 0.22));
  }

  50% {
    filter: drop-shadow(0 0 38px rgba(228, 37, 48, 0.34));
  }
}

@keyframes scanLine {
  0% {
    transform: translateX(-22%);
    opacity: 0;
  }

  18%,
  70% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(22%);
    opacity: 0;
  }
}

@keyframes glitchRed {
  0%,
  88%,
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }

  89% {
    opacity: 0.58;
    clip-path: inset(12% 0 68% 0);
  }

  90% {
    opacity: 0;
  }

  92% {
    opacity: 0.48;
    clip-path: inset(62% 0 14% 0);
  }

  93% {
    opacity: 0;
  }
}

@keyframes glitchWhite {
  0%,
  72%,
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }

  73% {
    opacity: 0.46;
    clip-path: inset(45% 0 38% 0);
  }

  74% {
    opacity: 0;
  }

  76% {
    opacity: 0.36;
    clip-path: inset(8% 0 78% 0);
  }

  77% {
    opacity: 0;
  }
}

@keyframes ringFloat {
  0%,
  100% {
    transform: rotate(-7deg) scale(1);
  }

  50% {
    transform: rotate(-2deg) scale(1.035);
  }
}

@keyframes mainCardFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(4deg) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) rotate(1deg) translateY(-12px);
  }
}

@keyframes cardSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes miniFloatA {
  0%,
  100% {
    transform: rotate(9deg) translateY(0);
  }

  50% {
    transform: rotate(5deg) translateY(-14px);
  }
}

@keyframes miniFloatB {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }

  50% {
    transform: rotate(-5deg) translateY(13px);
  }
}

@keyframes premiumPulse {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 28px 84px rgba(0, 0, 0, 0.46),
      0 0 48px rgba(228, 37, 48, 0.1);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 34px 98px rgba(0, 0, 0, 0.54),
      0 0 74px rgba(228, 37, 48, 0.18);
  }
}

@media (max-width: 1080px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    width: min(100%, 560px);
    min-height: 430px;
    margin: 0 auto;
  }

  .setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .profile-glass {
    min-height: 360px;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 110px;
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
      rgba(8, 8, 10, 0.94);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px) scale(0.98);
    transition:
      opacity 300ms ease,
      transform 360ms var(--ease);
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    min-height: 52px;
  }
}

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

@media (max-width: 680px) {
  .site-header,
  .home-main,
  .content-shell,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .bg-image {
    transform: none;
  }

  .site-header {
    top: 14px;
    min-height: 66px;
    margin-top: 14px;
    padding: 8px 9px 8px 12px;
    border-radius: 20px;
  }

  .brand {
    gap: 9px;
    font-size: 0.9rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 14px;
  }

  .site-nav {
    left: 14px;
    right: 14px;
    top: 90px;
  }

  .home-main {
    align-items: start;
    min-height: calc(100vh - 92px);
    padding: 42px 0 64px;
  }

  .home-hero {
    gap: 26px;
    padding: 24px;
    border-radius: 26px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 {
    width: 100%;
    font-size: clamp(4rem, 17vw, 6.8rem);
  }

  .hero-visual {
    min-height: 350px;
  }

  .visual-card-main {
    width: min(72%, 240px);
    border-radius: 26px;
  }

  .visual-card-mini {
    width: 136px;
    height: 90px;
    border-radius: 18px;
  }

  .visual-card-top {
    top: 34px;
  }

  .visual-card-bottom {
    bottom: 42px;
  }

  .content-shell {
    padding: 66px 0 54px;
  }

  .page-hero {
    margin-bottom: 28px;
  }

  .setup-section,
  .contact-layout {
    border-radius: 26px;
  }

  .panel-copy {
    display: grid;
    align-items: start;
    padding: 8px 4px 0;
  }

  .spec-card {
    grid-template-rows: 210px auto auto auto;
    min-height: 398px;
    padding: 14px;
    border-radius: 22px;
  }

  .spec-card img {
    height: 210px;
    border-radius: 18px;
  }

  .contact-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    min-height: 132px;
    padding: 24px;
    border-radius: 22px;
  }

  .contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .contact-icon svg {
    width: 31px;
    height: 31px;
  }

  .profile-glass {
    min-height: 320px;
    padding: 26px;
    border-radius: 22px;
  }

  .profile-glass img {
    width: min(76%, 210px);
    border-radius: 20px;
  }

  .site-footer {
    margin-bottom: 22px;
  }

  .site-footer small {
    min-height: 54px;
    font-size: 0.82rem;
  }
}

@media (max-width: 410px) {
  .brand span {
    display: none;
  }

  .hero-mark {
    margin-bottom: 18px;
  }

  .spec-card strong,
  .contact-card strong {
    font-size: 1.22rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

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

  .reveal-enabled .reveal {
    opacity: 1;
    transform: none;
  }

  .motion-canvas {
    display: none;
  }
}
