:root {
  --bg: #05070c;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7fbff;
  --muted: #9aa8bb;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #08b8ff;
  --cyan: #58efff;
  --orange: #ff7a18;
  --pink: #f316d2;
  --violet: #a88cff;
  --radius: 8px;
  --font-sans: "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi", "OPPOSans",
    "PingFang SC", "Inter", "Microsoft YaHei", Arial, sans-serif;
  --font-display: "Montserrat", "Aptos Display", "Inter", "HarmonyOS Sans SC",
    "MiSans", "Microsoft YaHei", Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 18%, rgba(8, 184, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 82% 14%, rgba(255, 122, 24, 0.16), transparent 28rem),
    linear-gradient(135deg, #05070c 0%, #090d16 48%, #020306 100%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.46;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 75%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 40%, rgba(8, 184, 255, 0.1), transparent 48%),
    linear-gradient(300deg, transparent 0 50%, rgba(255, 122, 24, 0.09), transparent 58%);
  opacity: 0.8;
}

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

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

.page-shell {
  width: min(1760px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand-mark {
  order: 2;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(88, 239, 255, 0.65);
  background: linear-gradient(135deg, rgba(8, 184, 255, 0.18), rgba(255, 255, 255, 0.06));
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(8, 184, 255, 0.22);
}

.nav-links {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

#profile,
#ability,
#contact {
  scroll-margin-top: 104px;
}

#work {
  scroll-margin-top: 74px;
}

.nav-links a {
  padding: 9px 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
}

.nav-links a:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(32px, 5vw, 78px);
  min-height: calc(100svh - 72px);
  align-items: center;
  padding: 44px 0 74px;
}

.hero-section::before {
  position: absolute;
  right: -4vw;
  bottom: 9%;
  width: 58vw;
  height: 32vw;
  content: "";
  border: 1px solid rgba(8, 184, 255, 0.22);
  border-radius: 50%;
  transform: rotate(-12deg);
  box-shadow:
    inset 0 0 36px rgba(8, 184, 255, 0.08),
    0 0 80px rgba(8, 184, 255, 0.08);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.intro-band h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(56px, 8vw, 128px);
  font-weight: 900;
}

.hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: #d7e2ef;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.ghost-action,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-action {
  padding: 0 22px;
  border-color: rgba(8, 184, 255, 0.8);
  background: linear-gradient(135deg, var(--blue), #126aff);
  color: white;
  box-shadow: 0 14px 40px rgba(8, 184, 255, 0.28);
}

.ghost-action {
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-board {
  position: relative;
  display: grid;
  grid-template-columns: 0.98fr 0.74fr;
  gap: 14px;
  perspective: 1200px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
  transform-style: preserve-3d;
}

.hero-card-large {
  grid-row: span 2;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.hero-card-large img {
  min-height: 580px;
}

.hero-card span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 7, 12, 0.72);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-card:hover img,
.work-card:hover img,
.qr-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.hero-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
}

.hero-stats strong {
  display: block;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.intro-band,
.contact-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.intro-band h2,
.contact-copy h2 {
  max-width: 720px;
  font-size: clamp(26px, 3.1vw, 46px);
  line-height: 1.04;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ability-grid span {
  min-height: 72px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
  color: #dce8f5;
  font-size: 14px;
  font-weight: 700;
}

.work-section {
  padding: 72px 0 96px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(320px, 0.4fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.filter-bar {
  position: sticky;
  top: 70px;
  z-index: 16;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 22px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 12, 0.62);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.filter-button {
  min-height: 36px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
}

.filter-button.is-active {
  border-color: rgba(88, 239, 255, 0.82);
  background: rgba(8, 184, 255, 0.18);
  color: var(--text);
  box-shadow: 0 0 26px rgba(8, 184, 255, 0.18);
}

.project-summary {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.summary-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.summary-card strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.summary-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.masonry-grid {
  display: grid;
  gap: 72px;
}

.product-work-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 120px;
}

.product-work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.product-work-heading div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.chapter-index {
  color: var(--accent);
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 900;
  line-height: 0.8;
}

.product-work-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 0.9;
}

.product-work-heading p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: right;
}

.product-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.work-card {
  position: relative;
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transform: translateY(0);
  opacity: 1;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.work-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-card:hover {
  border-color: rgba(88, 239, 255, 0.55);
  transform: translateY(-8px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(8, 184, 255, 0.16);
}

.work-page {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(10px, 1.2vw, 18px);
  border: 1px solid rgba(8, 13, 24, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 232, 223, 0.96)),
    #f7f4ed;
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  overflow: visible;
}

.work-page::before {
  position: absolute;
  inset: 8px;
  z-index: 0;
  content: "";
  border: 1px solid rgba(8, 13, 24, 0.05);
  border-radius: 5px;
  pointer-events: none;
}

.work-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 5px;
  background: white;
  box-shadow: 0 8px 22px rgba(8, 13, 24, 0.14);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.work-card:hover img {
  transform: translateY(-4px);
  filter: saturate(1.05) contrast(1.02);
}

.work-card::after {
  display: none;
}

.work-card:hover::after {
  opacity: 0;
}

.work-meta {
  position: static;
  display: grid;
  gap: 4px;
  padding: 0 2px 2px;
  border: 0;
  background: transparent;
  opacity: 1;
  transform: none;
}

.work-card:hover .work-meta {
  opacity: 1;
  transform: none;
}

.work-meta strong {
  font-size: 14px;
}

.work-meta span {
  color: var(--muted);
  font-size: 12px;
}

.ratio-pill {
  justify-self: start;
  margin-top: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(88, 239, 255, 0.4);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
}

.contact-section {
  align-items: center;
  padding-bottom: 120px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-lines a,
.contact-lines span {
  width: fit-content;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: #eaf4ff;
  font-size: 14px;
  font-weight: 800;
}

.qr-card {
  justify-self: end;
  width: min(380px, 100%);
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(88, 239, 255, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(8, 184, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  transform-style: preserve-3d;
}

.qr-card img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.qr-card figcaption {
  margin-top: 14px;
  color: #dce8f5;
  font-weight: 900;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(88, 239, 255, 0.5);
  border-radius: 8px;
  background: rgba(5, 7, 12, 0.82);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-section,
  .intro-band,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-bottom: 156px;
  }

  .project-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .product-work-grid {
    gap: 18px;
  }

  .qr-card {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 22px, 1500px);
  }

  .site-header {
    align-items: flex-start;
    padding: 12px 0;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    padding: 8px;
    font-size: 12px;
  }

  .hero-section {
    min-height: auto;
    padding: 36px 0 188px;
  }

  .hero-board {
    grid-template-columns: 1fr;
  }

  .hero-card-large {
    grid-row: auto;
  }

  .hero-card-large img,
  .hero-card img {
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .ability-grid,
  .project-summary {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    top: 88px;
  }

  .masonry-grid,
  .product-work-grid {
    grid-template-columns: 1fr;
  }

  .product-work-heading {
    grid-template-columns: 1fr;
  }

  .product-work-heading p {
    text-align: left;
  }

  .work-card {
    padding: 8px;
  }

  .work-page {
    padding: 8px;
  }

  .intro-band,
  .work-section,
  .contact-section {
    padding: 58px 0;
  }
}

@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;
  }
}

/* Cover redesign inspired by premium campaign posters. */
.cover-hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: start;
  min-height: calc(100svh - 72px);
  padding: 12px 0 54px;
  overflow: hidden;
  text-align: center;
}

.cover-hero::before {
  inset: 2% 50% auto auto;
  width: min(760px, 76vw);
  height: min(760px, 76vw);
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(185, 207, 255, 0.72), transparent 12%),
    radial-gradient(circle at 72% 20%, rgba(55, 88, 255, 0.42), transparent 26%),
    radial-gradient(circle at 24% 78%, rgba(132, 154, 255, 0.4), transparent 24%);
  filter: blur(34px);
  transform: translateX(50%);
  opacity: 0.9;
}

.cover-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 9%, rgba(114, 134, 255, 0.42), transparent 18rem),
    radial-gradient(circle at 10% 88%, rgba(180, 196, 255, 0.32), transparent 17rem),
    linear-gradient(180deg, rgba(12, 35, 112, 0.68), rgba(3, 6, 22, 0.2) 38%, rgba(1, 2, 10, 0.9));
  pointer-events: none;
}

.cover-visual {
  position: relative;
  isolation: isolate;
  width: min(980px, 84vw);
  height: 500px;
  margin-top: 4px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.cover-orbit {
  position: absolute;
  inset: 14% 11%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(150, 174, 255, 0.26), transparent 34%),
    conic-gradient(from 220deg, transparent, rgba(93, 132, 255, 0.66), transparent 38%, rgba(255, 255, 255, 0.34), transparent 66%);
  filter: blur(0.2px);
  opacity: 0.9;
  transform: rotate(-10deg) translateZ(-18px);
}

.variant-canvas {
  position: absolute;
  inset: 4% -10% 5%;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(112, 145, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 9, 24, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -70px 90px rgba(1, 3, 12, 0.76),
    0 38px 110px rgba(0, 0, 0, 0.34);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  transform: rotate(-3deg) translateZ(-48px);
}

.variant-canvas::before,
.variant-canvas::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
}

.variant-canvas::before {
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(109, 166, 255, 0.2), transparent 52%),
    linear-gradient(180deg, rgba(8, 15, 42, 0.02), rgba(1, 3, 12, 0.78));
  animation: variantBeam 6.5s ease-in-out infinite;
}

.variant-canvas::after {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(126, 204, 255, 0.18), transparent 20rem),
    linear-gradient(180deg, transparent 40%, rgba(1, 3, 12, 0.66));
}

.variant-lane {
  position: absolute;
  left: 0;
  display: flex;
  width: max-content;
  gap: 14px;
  will-change: transform;
}

.variant-lane img {
  width: clamp(190px, 18vw, 310px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  object-fit: cover;
  object-position: center center;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(88, 239, 255, 0.05);
}

.lane-a {
  top: 10%;
  animation: variantTrack 24s linear infinite;
}

.lane-b {
  top: 38%;
  animation: variantTrackReverse 28s linear infinite;
}

.lane-c {
  top: 66%;
  animation: variantTrack 32s linear infinite;
}

.variant-command {
  position: absolute;
  left: 50%;
  bottom: 5%;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 2px;
  width: min(560px, 78%);
  padding: 12px 16px;
  border: 1px solid rgba(190, 213, 255, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 28, 62, 0.86), rgba(5, 8, 21, 0.72)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 22px 60px rgba(0, 0, 0, 0.44),
    0 0 34px rgba(85, 137, 255, 0.26);
  text-align: left;
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.variant-dot {
  grid-row: span 2;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: #9ed6ff;
  box-shadow: 0 0 18px rgba(117, 193, 255, 0.9);
  animation: variantPulse 1.8s ease-in-out infinite;
}

.variant-command strong {
  color: #f1f7ff;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.variant-command span:last-child {
  color: rgba(222, 234, 255, 0.72);
  font-size: 12px;
}

.variant-cursor {
  position: absolute;
  right: 19%;
  bottom: 24%;
  z-index: 6;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(174, 217, 255, 0.94);
  border-radius: 50%;
  background: rgba(174, 217, 255, 0.1);
  box-shadow:
    0 0 0 8px rgba(91, 151, 255, 0.1),
    0 0 34px rgba(91, 151, 255, 0.72);
  animation: variantCursor 5.4s ease-in-out infinite;
}

.variant-cursor::after {
  position: absolute;
  right: -11px;
  bottom: -12px;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 2px solid #d9edff;
  border-bottom: 2px solid #d9edff;
  transform: rotate(38deg);
}

.cover-card {
  position: absolute;
  width: 34%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
  object-fit: cover;
  object-position: center center;
}

.cover-card-left {
  left: 11%;
  top: 34%;
  transform: rotate(-13deg) perspective(600px) rotateY(18deg);
}

.cover-card-right {
  right: 10%;
  top: 31%;
  transform: rotate(10deg) perspective(600px) rotateY(-16deg);
}

.cover-monogram {
  position: absolute;
  left: 50%;
  top: 18%;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  width: min(560px, 68%);
  transform: translateX(-50%) rotate(-2deg);
  color: #eff6ff;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.55));
  font-family: var(--font-display);
  text-align: center;
}

.cover-monogram span {
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  background: linear-gradient(120deg, #ffffff 8%, #aeb8cf 44%, #ffffff 58%, #354879 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 1px 0 #ffffff,
    10px 12px 0 rgba(25, 74, 255, 0.44),
    0 0 36px rgba(109, 149, 255, 0.5);
}

.cover-monogram small {
  margin-left: 0;
  margin-top: 6px;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  background: linear-gradient(140deg, #ffffff, #90a6ff 58%, #162c8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 8px 8px 0 rgba(18, 76, 255, 0.36);
}

.spark {
  position: absolute;
  z-index: 6;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, white, #8ea2ff 62%, #243e98);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 14px rgba(160, 186, 255, 0.7));
}

.spark-one {
  left: 19%;
  top: 27%;
}

.spark-two {
  right: 27%;
  bottom: 18%;
  width: 42px;
  height: 42px;
}

@keyframes variantTrack {
  from {
    transform: translateX(-4%);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes variantTrackReverse {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(-4%);
  }
}

@keyframes variantBeam {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-8%);
  }

  50% {
    opacity: 1;
    transform: translateX(8%);
  }
}

@keyframes variantPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes variantCursor {
  0%,
  100% {
    transform: translate3d(0, 0, 26px);
  }

  38% {
    transform: translate3d(-68px, -42px, 26px);
  }

  70% {
    transform: translate3d(38px, -88px, 26px);
  }
}

.cover-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  margin-top: -26px;
}

.cover-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #d7e6ff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.cover-copy h1 {
  max-width: 1180px;
  margin: 18px 0 0;
  font-size: 108px;
  font-weight: 950;
  line-height: 0.98;
  color: #ddebff;
  text-shadow: 0 0 34px rgba(104, 140, 255, 0.26);
}

.cover-copy p {
  max-width: 960px;
  margin: 16px 0 0;
  color: rgba(232, 241, 255, 0.86);
  font-size: 23px;
  line-height: 1.5;
}

.cover-actions {
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.cover-actions .primary-action {
  min-width: 260px;
  min-height: 56px;
  padding: 0 34px;
  background: linear-gradient(180deg, #ddecff, #9dc8ff);
  color: #071028;
  font-size: 16px;
  box-shadow: 0 18px 44px rgba(91, 132, 255, 0.34);
}

.cover-actions .ghost-action {
  min-width: 148px;
  min-height: 56px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.085);
  font-size: 16px;
}

.cover-stats {
  display: none;
}

.cover-stats div {
  padding: 12px 14px;
  background: rgba(2, 7, 26, 0.48);
}

@media (min-width: 721px) and (max-height: 820px) {
  .cover-hero {
    padding-bottom: 12px;
  }

  .cover-visual {
    width: min(660px, 64vw);
    height: 330px;
  }

  .cover-monogram {
    width: min(440px, 66%);
  }

  .cover-monogram span {
    font-size: 42px;
  }

  .cover-monogram small {
    font-size: 28px;
  }

  .cover-copy {
    margin-top: -34px;
  }

  .cover-copy h1 {
    font-size: 74px;
  }

  .cover-copy p {
    max-width: 760px;
    font-size: 18px;
  }

  .cover-stats {
    display: none;
  }
}

.cover-stats div:last-child strong {
  font-size: clamp(13px, 1.5vw, 20px);
  line-height: 1.18;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(1, 4, 12, 0.88);
  backdrop-filter: blur(18px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox figure {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1180px, 96vw);
  max-height: 92vh;
  margin: 0;
  padding: clamp(10px, 1.4vw, 18px);
  overflow: auto;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 232, 223, 0.96)),
    #f7f4ed;
  box-shadow: 0 28px 96px rgba(0, 0, 0, 0.56);
}

.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92vh - 86px);
  margin: 0 auto;
  border: 1px solid rgba(8, 13, 24, 0.1);
  border-radius: 8px;
  object-fit: contain;
  object-position: center center;
  background: white;
  box-shadow: 0 16px 52px rgba(8, 13, 24, 0.24);
}

.lightbox figcaption {
  position: sticky;
  left: 0;
  bottom: 0;
  justify-self: start;
  margin: 12px 0 0;
  padding: 7px 10px;
  border: 1px solid rgba(8, 13, 24, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  color: #10131a;
  font-size: 13px;
  font-weight: 800;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 720px) {
  .cover-hero {
    padding: 18px 0 44px;
  }

  .cover-visual {
    width: min(430px, 94vw);
    height: 330px;
  }

  .cover-card {
    width: 38%;
  }

  .cover-card-left {
    left: 4%;
    top: 42%;
  }

  .cover-card-right {
    right: 3%;
    top: 42%;
  }

  .cover-monogram {
    top: 17%;
    width: 72%;
  }

  .cover-monogram span {
    font-size: 32px;
  }

  .cover-monogram small {
    font-size: 22px;
  }

  .cover-pill {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }

  .cover-copy h1 {
    font-size: 56px;
    line-height: 1.02;
  }

  .cover-copy p {
    font-size: 16px;
  }

  .cover-actions .primary-action,
  .cover-actions .ghost-action {
    width: 100%;
    min-height: 52px;
  }

  .cover-stats {
    display: none;
  }
}
