@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Space+Mono&display=swap');

:root {
  --black: #04070D;
  --white: #F4F7FF;
  --gold: #E3D64F;
  --gold2: #FFF59A;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at top, rgba(43, 87, 160, .18) 0%, rgba(6, 12, 24, 0) 34%),
    radial-gradient(circle at 82% 10%, rgba(91, 165, 255, .1) 0%, rgba(6, 12, 24, 0) 24%),
    linear-gradient(180deg, #04070d 0%, #02040a 100%);
  color: var(--white);
  font-family: 'EB Garamond', serif;
  overflow-x: hidden;
  cursor: none;
}

body.is-touch {
  cursor: auto;
}

/* CURSOR */
#cur { position: fixed; width: 10px; height: 10px; background: var(--white); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .25s, height .25s, background .25s; mix-blend-mode: difference; }
#cur2 { position: fixed; width: 36px; height: 36px; border: 1px solid rgba(240,235,225,.35); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: left .12s ease, top .12s ease; }
#mist-layer{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9996;
}
.mist-puff{
  position: absolute;
  left: 0;
  top: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  filter: url(#fluid-distort);
  mix-blend-mode: soft-light;
  background:
    radial-gradient(circle at 40% 40%,
      rgba(198, 231, 255, 0.08) 0%,
      rgba(118, 175, 255, 0.06) 30%,
      rgba(52, 111, 193, 0.04) 55%,
      rgba(0, 0, 0, 0) 75%);
}
body:has(a:hover) #cur, body:has(button:hover) #cur { width: 20px; height: 20px; }

/* LOADER */
#loader {
  position: fixed; inset: 0; z-index: 5000;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.loader-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 1;
  transform: translateY(0);
  will-change: transform, opacity;
  overflow: hidden;
}
.loader-panel-top {
  top: 0;
  background: #050505;
}
.loader-panel-bottom {
  bottom: 0;
  background: #050505;
}
.loader-core {
  position: relative;
  z-index: 3;
  width: min(92vw, 980px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  pointer-events: none;
}
.loader-line {
  height: 2px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 20px rgba(255,255,255,.45);
  opacity: 0;
  animation-duration: .56s;
  animation-delay: .14s;
  animation-timing-function: cubic-bezier(.77,0,.175,1);
  animation-fill-mode: forwards;
}
.loader-line-left {
  transform: scaleX(0);
  transform-origin: left;
  animation-name: ldLineLeft;
}
.loader-line-right {
  transform: scaleX(0);
  transform-origin: right;
  animation-name: ldLineRight;
}
.loader-orbit {
  position: relative;
  width: clamp(70px, 9vw, 92px);
  height: clamp(70px, 9vw, 92px);
}
.loader-arc {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.loader-arc-left {
  left: 0;
}
.loader-arc-right {
  right: 0;
}
.loader-arc::before {
  content: '';
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  border: 1.5px solid rgba(255,255,255,.92);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(255,255,255,.08);
}
.loader-arc-left::before {
  left: 0;
  clip-path: inset(0 50% 0 0);
  transform: translateX(-100%);
  animation: ldArcLeft .62s .14s cubic-bezier(.77,0,.175,1) forwards;
}
.loader-arc-right::before {
  right: 0;
  clip-path: inset(0 0 0 50%);
  transform: translateX(100%);
  animation: ldArcRight .62s .14s cubic-bezier(.77,0,.175,1) forwards;
}
.loader-ring {
  position: absolute;
  inset: 0;
  transform: scale(.98);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.92);
  background: transparent;
  box-shadow: 0 0 22px rgba(255,255,255,.08);
  opacity: 0;
  animation: ldRingIn .12s .72s linear forwards;
}
.loader-g {
  font-family: 'EB Garamond', serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  line-height: 1;
  background: linear-gradient(110deg, #b8b11f 0%, #e8de52 34%, #fff7a8 46%, #d9cf45 62%, #c4ba2f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: none;
  text-shadow: 0 0 18px rgba(255, 245, 154, .15);
  animation: ldGIn .28s 1.02s linear forwards;
}
@keyframes ldLineLeft {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes ldLineRight {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes ldArcLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
@keyframes ldArcRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes ldRingIn {
  from { opacity: 0; transform: scale(1); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes ldGIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#loader.exit { pointer-events: none; }
#loader.exit .loader-core { animation: ldContentOut .08s ease forwards; }
#loader.exit .loader-panel-top { animation: ldSplitTop .18s .01s cubic-bezier(.77,0,.175,1) forwards; }
#loader.exit .loader-panel-bottom { animation: ldSplitBottom .18s .01s cubic-bezier(.77,0,.175,1) forwards; }
@keyframes ldContentOut { to { opacity: 0; transform: scale(.96); } }
@keyframes ldSplitTop { to { transform: translateY(-102%); } }
@keyframes ldSplitBottom { to { transform: translateY(102%); } }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 52px;
  opacity: 1;
}
.nav-brand {
  display: inline-block;
  font-family: 'Bebas Neue';
  font-size: 16px;
  letter-spacing: .24em;
  color: var(--gold);
  line-height: 1;
  text-decoration: none;
  padding-top: 10px;
}
.nav-groups {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: 1040px;
}
.nav-right { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-btn {
  display: inline-block;
  font-family: 'Bebas Neue'; font-size: 13px; letter-spacing: .16em;
  padding: 11px 16px; background: linear-gradient(180deg, rgba(28, 49, 92, .72), rgba(12, 20, 38, .82));
  border: 1px solid rgba(156, 196, 255, .28); color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.75);
  backdrop-filter: blur(3px);
  cursor: none; position: relative; overflow: hidden;
  transition: color .35s, border-color .35s, background .35s, transform .2s ease;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-btn::before {
  display: none;
}
.nav-btn:hover { color: var(--white); border-color: rgba(190, 220, 255, .36); background: linear-gradient(180deg, rgba(42, 72, 130, .78), rgba(16, 28, 52, .86)); transform: translateY(-1px); }
.nav-btn span { position: relative; z-index: 1; }
.nav-secondary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.nav-secondary a,
.nav-more summary {
  font-family: 'Space Mono';
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(240,235,225,.68);
  text-decoration: none;
  cursor: none;
  list-style: none;
}
.nav-more {
  position: relative;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 220px;
  padding: 10px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(156, 196, 255, .18);
  background: linear-gradient(180deg, rgba(12, 20, 38, .96), rgba(8, 14, 28, .96));
}
.nav-more-panel a {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(240,235,225,.08);
}

.nav-toggle,
.mobile-nav-overlay {
  display: none;
}

.nav-toggle {
  margin-left: auto;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(8, 12, 22, .72);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 0 18px rgba(109, 228, 255, .08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.nav-toggle-lines {
  position: relative;
  margin: 0 auto;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before { top: -7px; }
.nav-toggle-lines::after { top: 7px; }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 4200;
  padding: 18px;
  background: rgba(0, 0, 0, .76);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

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

.mobile-nav-dialog {
  width: min(100%, 420px);
  margin-left: auto;
  min-height: calc(100dvh - 36px);
  padding: 22px 18px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 24, 46, .94), rgba(8, 14, 28, .9));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 0 32px rgba(109, 228, 255, .08),
    0 32px 80px rgba(0, 0, 0, .42);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.mobile-nav-title {
  font-family: 'Space Mono';
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.74);
}

.mobile-nav-close {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-family: 'Bebas Neue';
  font-size: 22px;
  letter-spacing: .08em;
  cursor: pointer;
}

.mobile-nav-links {
  display: grid;
  gap: 10px;
}

.mobile-nav-link {
  display: block;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 49, 92, .5), rgba(12, 20, 38, .68));
  color: #fff;
  text-decoration: none;
  font-family: 'Bebas Neue';
  font-size: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 14px 28px rgba(0, 0, 0, .16);
}

.mobile-nav-link.is-featured {
  border-color: rgba(156, 196, 255, .32);
  background:
    radial-gradient(circle at 12% 50%, rgba(121, 181, 255, .16), transparent 24%),
    linear-gradient(135deg, rgba(38, 64, 118, .78), rgba(19, 32, 60, .82) 58%, rgba(227, 214, 79, .1));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 16px 30px rgba(0, 0, 0, .22);
}

body.mobile-nav-open {
  overflow: hidden;
}

/* HERO */
#hero {
  position: relative; width: 100%; height: 100vh; min-height: 100svh;
  overflow: hidden; background: var(--black);
  opacity: 1;
}

/* IMG FRAMES — clip-path diagonal */
.frame-main {
  position: absolute;
  top: 0; right: 0; width: 62%; height: 100%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}
.frame-main img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
#hero:hover .frame-main img { transform: scale(1.0); }

/* dark veil on image */
.frame-main::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,8,8,.7) 0%, rgba(8,8,8,.1) 50%, transparent 100%);
}

/* second frame — animated overlay reveal */
.frame-second {
  position: absolute;
  top: 0; right: 0; width: 62%; height: 100%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
  z-index: 8;
  opacity: 0;
  transform: translateX(5%);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.frame-second img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  transform: scale(1.08) rotate(.001deg);
  transition: transform 6s ease;
}
#hero:hover .frame-second img { transform: scale(1.02); }
.frame-second::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(120deg, rgba(201,168,76,.24), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(10%);
  transition: opacity .45s ease, transform .8s cubic-bezier(.22,1,.36,1);
}
#hero.swap .frame-second { opacity: 1; transform: translateX(0); }
#hero.swap .frame-second::before {
  opacity: .9;
  transform: translateX(0);
  animation: scratchSweep 1s ease;
}
#hero.swap .frame-main img { filter: brightness(.64) saturate(.9); }
@keyframes scratchSweep {
  0% { opacity: 0; transform: translateX(12%); }
  45% { opacity: .95; }
  100% { opacity: .45; transform: translateX(0); }
}

/* diagonal stroke line */
.diag-line {
  position: absolute; top: 0; bottom: 0;
  left: 38%; width: 2px;
  background: linear-gradient(to bottom, transparent 0%, rgba(201,168,76,.6) 30%, rgba(201,168,76,.6) 70%, transparent 100%);
  transform: rotate(-3deg) translateX(-50%);
  z-index: 5;
}

/* HERO TEXT */
.hero-content {
  position: absolute; z-index: 20;
  left: 52px;
  top: 54%;
  transform: translateY(-50%);
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero-title {
  font-family: 'Bebas Neue';
  font-size: clamp(64px, 8.1vw, 138px);
  line-height: .88; letter-spacing: -.01em;
  color: var(--white);
  margin: 0;
  text-shadow: 0 20px 42px rgba(0, 0, 0, .38);
}
.hero-title .gold { color: var(--gold); }
.hero-deck {
  max-width: 34ch;
  color: rgba(240,235,225,.84);
  font-size: 1.12rem;
  line-height: 1.6;
  text-shadow: 0 14px 26px rgba(0, 0, 0, .34);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* CTA BUTTON */
.cta-btn {
  display: inline-block; position: relative; overflow: hidden;
  font-family: 'Bebas Neue'; font-size: 17px; letter-spacing: .25em;
  padding: 18px 34px;
  background: var(--white); color: var(--black);
  border: none; cursor: none;
  transition: color .4s;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}
.cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.77,0,.175,1);
}
.cta-btn:hover::before { transform: scaleX(1); }
.cta-btn:hover { color: var(--black); }
.cta-btn span { position: relative; z-index: 1; }
.cta-btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border: 1px solid rgba(240,235,225,.22);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}
.cta-btn-secondary::before {
  background: rgba(255,255,255,.14);
}
.cta-btn-secondary:hover {
  color: var(--white);
}

/* frame-second label */
.frame-label {
  position: absolute; bottom: 64px; right: 52px;
  font-family: 'Space Mono'; font-size: 9px; letter-spacing: .3em;
  color: rgba(201,168,76,.7); text-transform: uppercase;
  z-index: 11;
  display: none;
}

/* QUICK MENU (RIGHT) */
.quick-nav {
  display: none;
}
.quick-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.quick-label {
  appearance: none;
  display: inline-block;
  font-family: 'Bebas Neue';
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(240,235,225,.9);
  background: rgba(8,8,8,.72);
  border: 1px solid rgba(240,235,225,.3);
  padding: 7px 10px 6px;
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
  cursor: none;
  text-decoration: none;
}
.quick-item:hover .quick-label,
.quick-item:focus-within .quick-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.quick-btn {
  appearance: none;
  display: inline-block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(240,235,225,.45);
  background: rgba(8,8,8,.55);
  transform: rotate(45deg);
  cursor: none;
  transition: border-color .3s, background .3s;
  animation: diamondSpin 3.6s linear infinite;
  text-decoration: none;
}
.quick-btn:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,.25);
}
@keyframes diamondSpin {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* SCREEN WIPE TRANSITION */
#wipe {
  position: fixed; inset: 0; z-index: 4000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity .5s;
}
#wipe.show { opacity: 1; pointer-events: all; }
.wipe-line {
  position: absolute; top: 50%; left: 0; height: 1px; width: 0;
  background: var(--white);
  transition: width .7s .2s cubic-bezier(.77,0,.175,1);
}
#wipe.show .wipe-line { width: 100%; }
.wipe-label {
  font-family: 'Bebas Neue'; font-size: clamp(40px,6vw,80px);
  letter-spacing: .12em; color: var(--white);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s .4s, transform .5s .4s;
}
#wipe.show .wipe-label { opacity: 1; transform: translateY(0); }
.wipe-close {
  position: absolute; bottom: 40px; right: 52px;
  font-family: 'Space Mono'; font-size: 10px; letter-spacing: .25em;
  color: rgba(240,235,225,.3); background: none; border: none;
  cursor: pointer; transition: color .3s;
}
.wipe-close:hover { color: var(--white); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s, transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

.entry-hub {
  position: relative;
  z-index: 30;
  max-width: 1180px;
  margin: -62px auto 84px;
  padding: 0 28px;
}
.entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr);
  gap: 22px;
  align-items: stretch;
}
.entry-lead,
.entry-link,
.entry-brief {
  position: relative;
  border: 1px solid rgba(156, 196, 255, .18);
  background: linear-gradient(180deg, rgba(22, 38, 70, .78), rgba(10, 18, 34, .84));
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(5, 12, 26, .16);
}
.entry-lead {
  padding: 34px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 85% 18%, rgba(121,181,255,.14), transparent 22%),
    linear-gradient(180deg, rgba(24, 40, 74, .94), rgba(10, 18, 34, .92));
}
.entry-tag,
.entry-link-tag {
  display: inline-block;
  font-family: 'Space Mono';
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.entry-lead h2 {
  margin-top: 18px;
  font-family: 'Bebas Neue';
  font-size: clamp(38px, 5vw, 64px);
  line-height: .92;
  letter-spacing: .04em;
  max-width: 8ch;
}
.entry-copy {
  max-width: 40ch;
  color: rgba(240,235,225,.82);
  font-size: 1.08rem;
  line-height: 1.65;
}
.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.entry-primary,
.entry-secondary {
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Bebas Neue';
  letter-spacing: .16em;
  font-size: .92rem;
  padding: 14px 18px;
}
.entry-primary {
  background: linear-gradient(180deg, rgba(42, 72, 130, .9), rgba(16, 28, 52, .92));
  color: var(--white);
  border: 1px solid rgba(156, 196, 255, .24);
}
.entry-secondary {
  border: 1px solid rgba(156, 196, 255, .18);
  color: var(--white);
  background: rgba(14, 24, 46, .56);
}
.entry-side {
  display: grid;
  gap: 14px;
}
.entry-link,
.entry-brief {
  display: grid;
  gap: 8px;
  padding: 20px 20px 18px;
  text-decoration: none;
  color: var(--white);
}
.entry-link strong,
.entry-brief strong {
  font-family: 'Bebas Neue';
  font-size: 1.5rem;
  letter-spacing: .08em;
  line-height: .95;
}
.entry-link span:last-child,
.entry-brief span:last-child {
  color: rgba(240,235,225,.76);
  line-height: 1.55;
}
.entry-brief {
  padding: 24px 20px;
  background:
    radial-gradient(circle at 12% 50%, rgba(121, 181, 255, .14), transparent 26%),
    linear-gradient(135deg, rgba(36, 62, 114, .62), rgba(16, 28, 52, .72) 48%, rgba(227,214,79,.08));
  border-color: rgba(156, 196, 255, .24);
}
.entry-link:hover,
.entry-brief:hover,
.entry-primary:hover,
.entry-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 220, 255, .32);
}

.qi-center {
  max-width: 1180px;
  margin: 0 auto 88px;
  padding: 0 28px;
}

.qi-center-shell {
  border: 1px solid rgba(156, 196, 255, .16);
  border-radius: 28px;
  padding: 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(121,181,255,.12), transparent 24%),
    linear-gradient(180deg, rgba(18, 31, 58, .8), rgba(8, 14, 28, .88));
  box-shadow: 0 24px 54px rgba(5, 12, 26, .18);
}

.qi-center-head {
  max-width: 760px;
}

.qi-center-head h2 {
  margin-top: 16px;
  font-family: 'Bebas Neue';
  font-size: clamp(34px, 5vw, 62px);
  line-height: .95;
  letter-spacing: .05em;
}

.qi-center-head p {
  margin-top: 16px;
  color: rgba(240,235,225,.8);
  font-size: 1.06rem;
  line-height: 1.7;
}

.qi-metrics {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.qi-metric {
  border: 1px solid rgba(156, 196, 255, .14);
  border-radius: 22px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(24, 40, 74, .58), rgba(10, 18, 34, .78));
}

.qi-metric-label {
  display: inline-block;
  font-family: 'Space Mono';
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.qi-metric strong {
  display: block;
  margin-top: 10px;
  font-family: 'Bebas Neue';
  font-size: 1.8rem;
  letter-spacing: .05em;
}

.qi-metric p {
  margin-top: 8px;
  color: rgba(240,235,225,.76);
  line-height: 1.55;
}
@media (max-width: 768px) {
  body { cursor: auto; }
  #cur, #cur2, #mist-layer { display: none; }
  nav {
    position: absolute;
    padding: 12px 20px 18px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .nav-brand {
    padding-top: 0;
    font-size: 18px;
    letter-spacing: .2em;
  }
  .nav-groups { display: none; }
  .nav-toggle,
  .mobile-nav-overlay { display: block; }
  .hero-content {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 96px;
    transform: none;
    max-width: none;
    gap: 16px;
  }
  .frame-main { width: 100%; clip-path: polygon(0 0,100% 0,100% 100%,0 100%); }
  .frame-main::after { background: linear-gradient(to top, rgba(8,8,8,.85) 0%, rgba(8,8,8,.3) 60%, transparent 100%); }
  .frame-second { display: none; }
  .diag-line { display: none; }
  .quick-nav { display: none; }
  .loader-core { width: min(92vw, 560px); gap: 10px; }
  .loader-line { height: 1.5px; }
  .loader-orbit { width: 66px; height: 66px; }
  .entry-hub {
    margin: -24px auto 42px;
    padding: 0 24px;
  }
  .entry-grid {
    grid-template-columns: 1fr;
  }
  .entry-lead,
  .entry-link,
  .entry-brief {
    box-shadow: 0 22px 52px rgba(0, 0, 0, .3);
  }
  .entry-lead {
    min-height: auto;
    padding: 26px;
  }
  .entry-lead h2 {
    max-width: 10ch;
    font-size: clamp(34px, 10vw, 54px);
  }
  .entry-copy {
    font-size: 1rem;
  }
  .qi-center {
    margin: 0 auto 42px;
    padding: 0 24px;
  }
  .qi-center-shell {
    padding: 24px;
  }
  .qi-metrics {
    grid-template-columns: 1fr;
  }
}

@media (pointer: coarse) {
  body { cursor: auto; }
  #cur, #cur2, #mist-layer { display: none; }
}

@media (max-width: 520px) {
  nav { padding: 10px 14px 14px; }
  .nav-brand {
    font-size: 16px;
    letter-spacing: .18em;
  }
  .hero-content {
    left: 14px;
    right: 14px;
    bottom: 72px;
  }
  .hero-title { font-size: clamp(2.7rem, 18vw, 4.4rem); }
  .hero-deck {
    font-size: .98rem;
    max-width: none;
  }
  .cta-btn {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .entry-hub {
    margin: -18px auto 28px;
    padding: 0 14px;
  }
  .entry-lead {
    padding: 22px 18px;
  }
  .entry-actions {
    flex-direction: column;
  }
  .entry-primary,
  .entry-secondary {
    width: 100%;
    text-align: center;
  }
  .entry-link,
  .entry-brief {
    padding: 18px 16px 16px;
  }
  .entry-link strong,
  .entry-brief strong {
    font-size: 1.26rem;
  }
  .entry-link span:last-child,
  .entry-brief span:last-child {
    font-size: .98rem;
    line-height: 1.55;
  }
  .qi-center {
    padding: 0 14px;
  }
  .qi-center-shell {
    padding: 20px 18px;
  }
}
