/* =====================================================================
   HTA / 1K — Premium FiveM storefront theme
   Change the whole accent in one place: --accent (and --accent-rgb).
   ===================================================================== */

:root {
  --bg: #060708;
  --bg-2: #0a0c0e;
  --panel: #111316;
  --panel-2: #16191d;
  --panel-glass: rgba(18, 21, 25, .62);
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #f3f5f7;
  --muted: #a1a9b2;
  --dim: #69717a;

  --accent: #2bff8c;            /* Credit Hub green */
  --accent-rgb: 43, 255, 140;
  --accent-ink: #03140a;        /* text on accent buttons */
  --accent-2: #19d3ff;          /* secondary cyan, used sparingly */
  --accent-2-rgb: 25, 211, 255;
  --soon: #ffc53d;              /* COMING SOON amber */
  --soon-rgb: 255, 197, 61;

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --wrap: 1240px;
  --nav-h: 72px;

  --f-display: "Anton", "Impact", sans-serif;
  --f-tech: "Chakra Petch", "Rajdhani", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything, very faint */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(var(--accent-rgb), .35); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 14px 0 12px;
}
.section-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0;
}

.section { padding: 110px 0; position: relative; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */

.btn {
  --h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 26px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0), 0 10px 30px -10px rgba(var(--accent-rgb), .55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14), 0 14px 40px -8px rgba(var(--accent-rgb), .7);
}

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-2);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: rgba(var(--accent-rgb), .6);
  box-shadow: 0 0 24px -6px rgba(var(--accent-rgb), .5);
  transform: translateY(-2px);
}

.btn-discord:hover {
  border-color: rgba(88, 101, 242, .8);
  box-shadow: 0 0 26px -6px rgba(88, 101, 242, .75);
}

.btn-sm { --h: 42px; padding: 0 18px; font-size: 12px; }
.btn-block { width: 100%; }

.btn[aria-disabled="true"] {
  cursor: not-allowed;
  background: transparent;
  border: 1px dashed rgba(var(--soon-rgb), .35);
  color: rgba(var(--soon-rgb), .85);
}

/* =====================================================================
   NAV
   ===================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 7, 8, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 40px;
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--accent-ink);
  background: var(--accent);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  box-shadow: 0 0 22px rgba(var(--accent-rgb), .45);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .06em;
}
.logo-text small {
  font-family: var(--f-tech);
  font-size: 10px;
  letter-spacing: .32em;
  color: var(--dim);
  margin-top: 4px;
}
.logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--muted);
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  min-width: 42px;
  padding: 0 12px;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.icon-btn:hover {
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 18px -6px rgba(var(--accent-rgb), .6);
}
.icon-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  display: grid;
  place-items: center;
}
.cart-count[data-count="0"] { display: none; }

.menu-toggle { display: none; }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 24px 32px;
  background: rgba(6, 7, 8, .96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a.m-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 34px;
  letter-spacing: .02em;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .45s, color .2s;
}
.mobile-menu a.m-link span {
  font-family: var(--f-tech);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: .2em;
}
.mobile-menu a.m-link:hover { color: var(--accent); }
.mobile-menu.is-open a.m-link { transform: none; opacity: 1; }
.mobile-menu.is-open a.m-link:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open a.m-link:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open a.m-link:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open a.m-link:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open a.m-link:nth-child(6) { transition-delay: .2s; }
.mobile-menu .m-foot {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.burger { width: 20px; height: 14px; position: relative; }
.burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; }
.burger i:nth-child(3) { top: 12px; }
.menu-open .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.menu-open { overflow: hidden; }

/* =====================================================================
   HERO
   ===================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .photo {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center 30%;
  filter: blur(3px) saturate(115%) brightness(.55);
  opacity: .32;
  will-change: transform;
  animation: kenburns 40s ease-in-out infinite alternate;
}
.hero-bg .shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, transparent 0%, rgba(6, 7, 8, .55) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(6, 7, 8, .6) 0%, rgba(6, 7, 8, .2) 40%, var(--bg) 96%),
    linear-gradient(90deg, var(--bg) 0%, rgba(6, 7, 8, .55) 45%, transparent 100%);
}
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform;
}
.glow.g1 {
  width: 560px; height: 560px;
  left: -140px; top: 8%;
  background: rgba(var(--accent-rgb), .16);
  animation: drift1 26s ease-in-out infinite alternate;
}
.glow.g2 {
  width: 520px; height: 520px;
  right: -120px; top: 30%;
  background: rgba(var(--accent-2-rgb), .12);
  animation: drift2 32s ease-in-out infinite alternate;
}
.skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 200px;
  color: #0b0d10;
  opacity: .95;
}
.skyline svg { width: 100%; height: 100%; display: block; }
.skyline .win { fill: rgba(var(--accent-rgb), .55); animation: flicker 7s steps(1) infinite; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  align-items: center;
  gap: 48px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-tech);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--muted);
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex: none;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 2.4s ease-out infinite;
}

.hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(50px, 6.6vw, 100px);
  line-height: .92;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 26px 0 26px;
}
.hero h1 .l2 {
  display: block;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(var(--accent-rgb), .35);
}
.hero h1 .l1 { display: block; }
.hero h1 .slash { color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* stacked product art on the right */
.hero-stack {
  position: relative;
  height: 520px;
  perspective: 1400px;
}
.stack-card {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6);
  transition: transform .8s var(--ease), box-shadow .5s;
  background: var(--panel);
}
.stack-card img { width: 100%; height: 100%; object-fit: cover; }
.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), transparent 40%);
  pointer-events: none;
}
.stack-card.c1 { left: 0;   top: 18%; transform: rotateY(18deg) rotateZ(-7deg); z-index: 1; opacity: .8; }
.stack-card.c2 { right: 0;  top: 4%;  transform: rotateY(-16deg) rotateZ(6deg); z-index: 1; opacity: .8; }
.stack-card.c3 { left: 19%; top: 24%; transform: translateZ(60px); z-index: 2; box-shadow: 0 50px 100px -30px rgba(0,0,0,.95), 0 0 60px -10px rgba(var(--accent-rgb), .35); }
.hero-stack:hover .c1 { transform: rotateY(12deg) rotateZ(-10deg) translateX(-20px); }
.hero-stack:hover .c2 { transform: rotateY(-10deg) rotateZ(9deg) translateX(20px); }
.hero-stack:hover .c3 { transform: translateZ(80px) translateY(-8px); }
.stack-tag {
  position: absolute;
  z-index: 3;
  left: 12%;
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--panel-glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--f-tech);
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 600;
  animation: float 6s ease-in-out infinite;
}
.stack-tag b { color: var(--soon); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: cue 2s ease-in-out infinite;
}

/* project ticker */
.ticker {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--bg-2), #0d1012, var(--bg-2));
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
}
.ticker-track span::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--accent);
}

/* =====================================================================
   BADGES
   ===================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  font-family: var(--f-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.badge-live {
  color: var(--accent);
  background: rgba(6, 20, 12, .72);
  border: 1px solid rgba(var(--accent-rgb), .45);
}
.badge-soon {
  position: relative;
  color: var(--soon);
  background: rgba(24, 18, 4, .78);
  border: 1px solid rgba(var(--soon-rgb), .5);
}
.badge-soon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 18px -2px rgba(var(--soon-rgb), .55);
  opacity: 0;
  animation: soonpulse 2.8s ease-in-out infinite;
  pointer-events: none;
}
.badge-sale {
  color: #fff;
  background: #e5263a;
  border: 0;
}
.badge-sale::before { display: none; }

/* =====================================================================
   PRODUCT CARDS (released)
   ===================================================================== */

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease);
  isolation: isolate;
}
.card::before {             /* cursor spotlight */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--accent-rgb), .09), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), .35);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9), 0 0 40px -18px rgba(var(--accent-rgb), .55);
}
.card:hover::before { opacity: 1; }

.card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0b0d0f;
}
.card-media img,
.card-media .art-gen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s;
}
.card:hover .card-media img,
.card:hover .card-media .art-gen { transform: scale(1.06); }
.card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(0deg, var(--panel-2), transparent);
  pointer-events: none;
}
.card-media .badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
}
.card-media .badge-sale { left: auto; right: 14px; }

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 6px 22px 22px;
}
.card-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.card-desc {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.price small {
  font-family: var(--f-tech);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--dim);
}
.price b {
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: 24px;
}
.price s { color: var(--dim); font-size: 14px; margin-left: 6px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tag {
  font-family: var(--f-tech);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}

.empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 34px;
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-2);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 12px, transparent 12px 24px),
    var(--bg-2);
}
.empty h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: .02em;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.empty p { margin: 0; color: var(--muted); }

/* =====================================================================
   IN DEVELOPMENT cards
   ===================================================================== */

.dev-section {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(var(--soon-rgb), .05), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.dev-section .eyebrow { color: var(--soon); }
.dev-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--f-tech);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--dim);
}
.dev-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dev-legend i { width: 8px; height: 8px; border-radius: 2px; }

.grid-dev {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.card.dev {
  background: linear-gradient(180deg, #121417, #0e1012);
  border-style: dashed;
  border-color: rgba(255, 255, 255, .1);
}
.card.dev::before {
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(var(--soon-rgb), .08), transparent 45%);
}
.card.dev:hover {
  border-color: rgba(var(--soon-rgb), .45);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9), 0 0 40px -20px rgba(var(--soon-rgb), .55);
}
.card.dev .card-media { aspect-ratio: 4 / 3; }
.card.dev .card-media img { filter: saturate(.75) brightness(.8); }
.card.dev:hover .card-media img { filter: saturate(1) brightness(.95); }
.card.dev .card-media::before {        /* scanlines = "not final" */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.card.dev .card-title { font-size: 25px; }
.card.dev .card-desc { font-size: 14px; margin-bottom: 16px; }

.dev-stamp {                   /* hazard strip across the corner */
  position: absolute;
  z-index: 2;
  top: 20px;
  right: -44px;
  width: 170px;
  padding: 5px 0;
  transform: rotate(38deg);
  text-align: center;
  font-family: var(--f-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  color: #111;
  background: repeating-linear-gradient(-45deg, var(--soon) 0 10px, #e0a91e 10px 20px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}

.build {
  margin: 0 0 16px;
  font-family: var(--f-tech);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--dim);
}
.build .bar {
  height: 4px;
  margin-top: 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}
.build .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(var(--soon-rgb), .5), var(--soon));
  box-shadow: 0 0 10px rgba(var(--soon-rgb), .6);
}
.build .row { display: flex; justify-content: space-between; }

.card.dev .card-foot { border-top-style: dashed; }
.card.dev .stage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px;
  font-family: var(--f-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--soon);
}
.card.dev .stage::before {
  content: "";
  width: 6px; height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}
.card.dev .status-line {
  font-family: var(--f-tech);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--dim);
  line-height: 1.3;
}
.card.dev .status-line b { display: block; color: var(--muted); font-size: 13px; }

/* generated artwork for projects with no image yet */
.art-gen {
  --h: 150;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, hsla(var(--h), 90%, 55%, .35), transparent 55%),
    radial-gradient(circle at 15% 110%, hsla(calc(var(--h) + 40), 90%, 50%, .25), transparent 50%),
    linear-gradient(160deg, hsl(var(--h), 30%, 10%), #07080a 70%);
  overflow: hidden;
}
.art-gen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsla(var(--h), 90%, 60%, .10) 1px, transparent 1px),
    linear-gradient(90deg, hsla(var(--h), 90%, 60%, .10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 45%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 10%, transparent 70%);
}
.art-gen .ring {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid hsla(var(--h), 90%, 65%, .25);
  box-shadow: inset 0 0 40px hsla(var(--h), 90%, 55%, .15);
}
.art-gen .ring.r2 { width: 84%; border-style: dashed; opacity: .5; animation: spin 60s linear infinite; animation-play-state: paused; }
.card:hover .art-gen .ring.r2 { animation-play-state: running; }
.art-gen svg {
  position: relative;
  width: 34%;
  height: auto;
  color: hsl(var(--h), 95%, 70%);
  filter: drop-shadow(0 0 18px hsla(var(--h), 95%, 60%, .7));
}
.art-gen .art-word {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--f-tech);
  font-size: 10px;
  letter-spacing: .3em;
  color: hsla(var(--h), 90%, 75%, .6);
}

/* =====================================================================
   FEATURED
   ===================================================================== */

.featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), .25);
  background: linear-gradient(120deg, #0f1411, var(--panel) 60%);
  box-shadow: 0 50px 120px -50px rgba(var(--accent-rgb), .35);
  isolation: isolate;
}
.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, rgba(var(--accent-rgb), .5) 80%, transparent 90%);
  animation: borderspin 10s linear infinite;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  border-radius: inherit;
}
.featured-media { position: relative; min-height: 420px; overflow: hidden; }
.featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.featured:hover .featured-media img { transform: scale(1.04); }
.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, #111513);
}
.featured-body {
  padding: 52px 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-body h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 66px);
  line-height: .95;
  text-transform: uppercase;
  margin: 16px 0 16px;
}
.featured-body p { color: var(--muted); margin: 0 0 24px; max-width: 520px; }
.highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.highlights li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
}
.highlights li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  border-radius: 4px;
  background: rgba(var(--accent-rgb), .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232bff8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid rgba(var(--accent-rgb), .4);
}
.featured-buy {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.featured-buy .price b { font-size: 34px; }

/* =====================================================================
   WHY US
   ===================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why {
  position: relative;
  padding: 38px 30px 40px;
  background: var(--bg);
  transition: background .4s;
  overflow: hidden;
}
.why:hover { background: #0c0f0d; }
.why .num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--f-display);
  font-size: 64px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  transition: -webkit-text-stroke-color .4s;
}
.why:hover .num { -webkit-text-stroke-color: rgba(var(--accent-rgb), .3); }
.why .ico {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .22);
  margin-bottom: 26px;
  transition: box-shadow .4s, transform .4s var(--ease);
}
.why:hover .ico { box-shadow: 0 0 28px -4px rgba(var(--accent-rgb), .55); transform: translateY(-3px); }
.why .ico svg { width: 24px; height: 24px; }
.why h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: .04em;
  margin: 0 0 8px;
}
.why p { margin: 0; color: var(--muted); font-size: 15px; }

/* =====================================================================
   CTA BAND
   ===================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background:
    radial-gradient(ellipse 50% 120% at 100% 50%, rgba(88, 101, 242, .22), transparent 70%),
    radial-gradient(ellipse 40% 100% at 0% 0%, rgba(var(--accent-rgb), .12), transparent 70%),
    var(--panel);
  border: 1px solid var(--line-2);
}
.cta-band h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: .95;
  text-transform: uppercase;
  margin: 12px 0 10px;
}
.cta-band p { margin: 0; color: var(--muted); max-width: 520px; }

/* =====================================================================
   FOOTER
   ===================================================================== */

.footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 36px;
  background: linear-gradient(180deg, var(--bg), #040505);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--dim); font-size: 14px; max-width: 320px; margin: 18px 0 0; }
.footer h4 {
  font-family: var(--f-tech);
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--dim);
  margin: 6px 0 16px;
  font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}
.footer-bottom .legal-note { max-width: 560px; }

/* =====================================================================
   INNER PAGES (category / package) — keeps Tebex pages on-brand
   ===================================================================== */

.page-head {
  padding: calc(var(--nav-h) + 70px) 0 50px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, rgba(var(--accent-rgb), .08), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-body { padding: 56px 0 100px; }

.prose { color: var(--muted); max-width: 760px; }
.prose h1, .prose h2, .prose h3 { color: var(--text); font-family: var(--f-display); font-weight: 400; letter-spacing: .02em; }
.prose a { color: var(--accent); }
.prose img { border-radius: var(--r-md); margin: 20px 0; }

.panel {
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
}

/* =====================================================================
   BASKET DRAWER / PRODUCT POPUP / TOAST
   ===================================================================== */

button.card-media { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left; }
.card-actions { display: flex; gap: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-busy, .icon-btn.is-busy { pointer-events: none; opacity: .75; }
.btn.is-busy::after {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin .7s linear infinite;
}
.layer-open { overflow: hidden; }

.layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}
.layer.is-open { visibility: visible; pointer-events: auto; }
.layer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 4, .72);
  opacity: 0;
  transition: opacity .3s;
}
.layer.is-open .layer-scrim { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel-2), var(--bg-2));
  border-left: 1px solid var(--line-2);
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .8);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bk-user { margin: 0; padding: 14px 22px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.bk-user b { color: var(--accent); }
.bk-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.bk-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.bk-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.bk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bk-info { display: flex; flex-direction: column; min-width: 0; }
.bk-info b { font-family: var(--f-tech); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-info span { color: var(--muted); font-size: 14px; }
.bk-remove {
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--dim);
  font-family: var(--f-tech);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bk-remove:hover { color: #ff5b6b; }
.bk-empty { display: flex; flex-direction: column; gap: 4px; padding: 40px 0; text-align: center; color: var(--muted); }
.bk-empty b { color: var(--text); font-family: var(--f-tech); letter-spacing: .08em; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.bk-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.bk-row span { font-family: var(--f-tech); font-size: 12px; letter-spacing: .24em; color: var(--dim); }
.bk-row b { font-family: var(--f-tech); font-size: 26px; }
.bk-secure { margin: 12px 0 0; font-size: 12px; color: var(--dim); text-align: center; }

.modal { display: grid; place-items: center; padding: 20px; }
.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .3s, transform .4s var(--ease);
}
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(6, 7, 8, .7); }
.pm-media { position: relative; flex: none; height: clamp(220px, 44vh, 400px); overflow: hidden; background: #0b0d0f; }
.pm-media .pm-blur { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(24px) brightness(.45); }
.pm-media img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.pm-media .art-gen { width: 100%; height: 100%; }
.pm-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(10,12,14,.65); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.pm-nav:hover, .pm-nav:focus-visible { background: rgba(10,12,14,.9); border-color: rgba(var(--accent-rgb), .7); outline: none; }
.pm-prev { left: 14px; }
.pm-next { right: 14px; }
.pm-thumbs { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 8px; padding: 0 12px; }
.pm-thumb { width: 54px; height: 36px; padding: 0; border-radius: 6px; overflow: hidden; border: 2px solid rgba(255,255,255,.25); background: #000; cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumb:hover, .pm-thumb:focus-visible { opacity: 1; outline: none; }
.pm-thumb.is-active { opacity: 1; border-color: rgb(var(--accent-rgb)); }
@media (max-width: 560px) { .pm-thumb { width: 42px; height: 28px; } .pm-nav { width: 36px; height: 36px; font-size: 24px; } }
.pm-body { overflow-y: auto; padding: 24px 28px 8px; }
.pm-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1;
  text-transform: uppercase;
  margin: 10px 0 14px;
}
.pm-desc { font-size: 15px; max-width: none; }
.pm-desc img, .pm-desc iframe { max-width: 100%; border-radius: var(--r-md); }
.pm-desc iframe { aspect-ratio: 16 / 9; width: 100%; height: auto; border: 0; }
.pm-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px 20px;
  border-top: 1px solid var(--line);
}
.thanks { padding: 44px 36px 30px; text-align: center; align-items: center; }
.thanks .eyebrow { justify-content: center; }
.thanks h2 { font-family: var(--f-display); font-weight: 400; font-size: 56px; text-transform: uppercase; margin: 10px 0 12px; color: var(--accent); }
.thanks p { color: var(--muted); max-width: 520px; margin: 0 0 26px; }
.thanks p a { color: var(--accent); }
.thanks-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  border-radius: 10px;
  background: rgba(10, 22, 15, .95);
  border: 1px solid rgba(var(--accent-rgb), .45);
  color: var(--text);
  font-size: 14px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-bad { background: rgba(30, 8, 10, .95); border-color: rgba(255, 91, 107, .5); }

@media (max-width: 720px) {
  .modal { padding: 0; align-items: end; }
  .modal-panel { border-radius: 20px 20px 0 0; max-height: 92vh; max-height: 92dvh; }
  .pm-body { padding: 20px 18px 8px; }
  .pm-foot { padding: 14px 18px 18px; }
  .pm-foot .btn { flex: 1; }
  .thanks { padding: 36px 20px 24px; }
  .card-actions .btn { padding: 0 14px; }
}

/* =====================================================================
   REVEAL ON SCROLL (only hides things when JS is running)
   ===================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.hero.is-offscreen *, .hero.is-offscreen *::after { animation-play-state: paused !important; }

/* =====================================================================
   KEYFRAMES
   ===================================================================== */

@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes drift1 { from { transform: translate(0, 0); } to { transform: translate(160px, 90px); } }
@keyframes drift2 { from { transform: translate(0, 0); } to { transform: translate(-140px, -80px); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }
@keyframes soonpulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: .2; } 49% { opacity: 1; } 83% { opacity: .5; } }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes borderspin { to { --spin: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav .wrap { justify-content: space-between; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stack { height: 380px; max-width: 520px; width: 100%; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 0; aspect-ratio: 16 / 10; }
  .featured-media::after { background: linear-gradient(0deg, #111513, transparent 50%); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .wrap { padding: 0 16px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 30px; }
  .hero { padding-bottom: 90px; }
  .hero h1 { margin: 20px 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-stack { height: 300px; }
  .stack-tag { left: 4%; }
  .scroll-cue { display: none; }
  .nav-actions .label { display: none; }
  .logo-text small { display: none; }
  .grid-products, .grid-dev { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .featured-body { padding: 30px 22px 30px; }
  .highlights { grid-template-columns: 1fr; }
  .featured-buy .btn { flex: 1 1 100%; }
  .cta-band { padding: 40px 24px; }
  .cta-band .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .empty { padding: 26px 22px; }
  .empty .btn { width: 100%; }
}
