/* iTech — comic chrome craft (Library A glass CA + F ring boot + I panel rail) */

:root {
  --night: #090b10;
  --night-2: #12161f;
  --panel: #181d28;
  --ink: #f2f5fa;
  --muted: #9aa6b8;
  --silver: #c8d0dc;
  --chrome: #e8eef8;
  --cyan: #4fd8ff;
  --cyan-2: #1aa8d4;
  --hot: #dce6f5;
  --line: rgba(200, 212, 228, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Bangers", system-ui, sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  line-height: 1.55;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(79, 216, 255, 0.12), transparent 55%),
    radial-gradient(900px 500px at 8% 18%, rgba(200, 208, 220, 0.08), transparent 50%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 45%, #0b0e15 100%);
  overflow-x: hidden;
}

body.is-booting,
body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

code {
  font-family: var(--mono);
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.grain,
.halftone {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
}

.grain {
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.halftone {
  opacity: 0.035;
  background-image: radial-gradient(circle, rgba(232, 238, 248, 0.55) 1px, transparent 1.4px);
  background-size: 7px 7px;
  z-index: 49;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(79, 216, 255, 0.16), transparent 42%),
    var(--night);
  transition: opacity 0.45s var(--ease);
}

.preloader.is-gone {
  opacity: 0;
  pointer-events: none;
}

.preloader-stage {
  position: relative;
  width: min(220px, 70vw);
  text-align: center;
}

.charge-ring {
  width: 100%;
  transform: rotate(-90deg);
}

.charge-ring .track,
.charge-ring .bar {
  fill: none;
  stroke-width: 4;
}

.charge-ring .track {
  stroke: rgba(200, 208, 220, 0.18);
}

.charge-ring .bar {
  stroke: var(--cyan);
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(79, 216, 255, 0.55));
  transition: stroke-dashoffset 0.1s linear;
}

.preloader-logo {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 42%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  object-fit: contain;
}

.preloader-pct {
  margin: 0.85rem 0 0.2rem;
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.preloader-status {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.preloader-skip {
  margin-top: 1.1rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

body.boot-done .preloader {
  display: none;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 11, 16, 0.88), transparent);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: none;
  gap: 1.15rem;
  margin-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 22, 31, 0.65);
  backdrop-filter: blur(10px);
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 216, 255, 0.45);
  box-shadow: 0 0 18px rgba(79, 216, 255, 0.2);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(18, 22, 31, 0.7);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-content: center;
  gap: 1rem;
  background: rgba(9, 11, 16, 0.96);
  text-align: center;
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.2rem);
  letter-spacing: 0.04em;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu .btn {
  justify-self: center;
  font-family: var(--body);
  font-size: 1rem;
  letter-spacing: 0;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-hot {
  color: #0a0c10;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(135deg, #f4f7fc 0%, #b8c4d4 48%, #8fa0b6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(79, 216, 255, 0.15);
}

.btn-hot:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 12px 28px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(79, 216, 255, 0.28);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(18, 22, 31, 0.55);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 216, 255, 0.4);
  box-shadow: 0 0 18px rgba(79, 216, 255, 0.18);
}

/* CA pill — Library A glass */
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.45rem 0.45rem 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 18, 26, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.ca-pill.solid {
  background: rgba(24, 29, 40, 0.95);
}

.ca-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.ca-pill code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(42vw, 280px);
  font-size: 0.78rem;
  color: var(--silver);
}

.copy-btn {
  flex-shrink: 0;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(79, 216, 255, 0.25), rgba(200, 208, 220, 0.18));
  border: 1px solid rgba(79, 216, 255, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.copy-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(79, 216, 255, 0.4), rgba(200, 208, 220, 0.28));
}

.ca-warn {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Type */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin: 0;
}

.h2 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  background: linear-gradient(180deg, #fff 10%, #c5d0e0 70%, #8ea0b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.45));
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.sub {
  margin: 0.55rem 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.mono-crumb {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.sec {
  position: relative;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 6.5rem 0 3.5rem;
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 11, 16, 0.92) 0%, rgba(9, 11, 16, 0.62) 42%, rgba(9, 11, 16, 0.28) 70%, rgba(9, 11, 16, 0.55) 100%),
    linear-gradient(180deg, rgba(9, 11, 16, 0.35) 0%, transparent 28%, rgba(9, 11, 16, 0.78) 78%, var(--night) 100%);
}

.hero-copy {
  position: relative;
  max-width: 640px;
  margin-left: max(1.2rem, calc((100% - 1120px) / 2));
  margin-right: auto;
  width: min(640px, calc(100% - 2.4rem));
}

.hero h1 {
  font-size: clamp(4.2rem, 14vw, 7.5rem);
  background: linear-gradient(180deg, #fff 0%, #d7e0ec 55%, #9eb0c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 2px 0 #0a0c10)
    drop-shadow(0 6px 0 rgba(79, 216, 255, 0.25));
  animation: title-in 0.9s var(--ease) both;
}

.tagline {
  margin: 0.55rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  letter-spacing: 0.04em;
  color: var(--chrome);
  text-shadow: 0 2px 0 #0a0c10;
}

.lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.scroll-cue {
  display: inline-flex;
  margin-top: 1.6rem;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(200, 208, 220, 0.35);
  border-radius: 999px;
  position: relative;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  transform: translateX(-50%);
  animation: cue 1.4s var(--ease) infinite;
}

@keyframes cue {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  70% { transform: translateX(-50%) translateY(14px); opacity: 0.2; }
}

@keyframes title-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Lore */
.lore-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.lore-copy p {
  color: var(--silver);
  margin: 0 0 1rem;
}

.lore-copy p:last-of-type {
  margin-bottom: 1.4rem;
}

.lore-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.lore-panel {
  margin: 0;
  position: relative;
  padding: 0.7rem;
  background: linear-gradient(160deg, #222836, #12161f);
  border: 3px solid #0a0c10;
  box-shadow:
    0 0 0 3px rgba(200, 208, 220, 0.35),
    0 22px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 40px rgba(79, 216, 255, 0.06);
  border-radius: 18px;
}

.lore-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 45%, rgba(79, 216, 255, 0.12), transparent 55%),
    #0e1219;
  border-radius: 12px;
}

.lore-panel figcaption {
  margin-top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 900px) {
  .lore-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

/* Comic panels rail */
.panels .sub {
  margin-bottom: 1.6rem;
}

.panel-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 72vw);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 216, 255, 0.35) transparent;
}

.panel-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.comic-panel {
  position: relative;
  scroll-snap-align: start;
  padding: 0;
  border: 3px solid #0a0c10;
  border-radius: 14px;
  overflow: hidden;
  background: #10141c;
  box-shadow:
    0 0 0 3px rgba(200, 208, 220, 0.28),
    0 16px 36px rgba(0, 0, 0, 0.35);
  text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.comic-panel:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 3px rgba(79, 216, 255, 0.4),
    0 20px 40px rgba(0, 0, 0, 0.4);
}

.comic-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #0c1017;
}

.panel-cap {
  display: block;
  padding: 0.65rem 0.8rem 0.8rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #1a2030, #12161f);
  border-top: 2px solid rgba(200, 208, 220, 0.2);
}

.rail-controls {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}

.rail-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18, 22, 31, 0.8);
  transition: border-color 0.2s, transform 0.2s;
}

.rail-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 216, 255, 0.45);
}

@media (min-width: 900px) {
  .panel-rail {
    grid-auto-columns: minmax(260px, calc((100% - 3rem) / 4));
  }
}

/* Plug / steps */
.steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--cyan);
  background: linear-gradient(90deg, rgba(79, 216, 255, 0.08), transparent 55%);
  border-radius: 0 14px 14px 0;
}

.step-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-top: 0.15rem;
}

.step h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.plug .ca-pill {
  margin-bottom: 1rem;
}

.plug-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* Chart jumbo */
.jumbo {
  border: 3px solid #0a0c10;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 3px rgba(200, 208, 220, 0.28),
    0 24px 50px rgba(0, 0, 0, 0.35);
  background: #0e1219;
}

.jumbo-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, #222836, #151a24);
  border-bottom: 2px solid rgba(200, 208, 220, 0.15);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cyan);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(79, 216, 255, 0.55);
  animation: livepulse 1.6s ease-out infinite;
}

@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 216, 255, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(79, 216, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 216, 255, 0); }
}

.jumbo-title {
  color: var(--muted);
}

.jumbo-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0c10;
}

.jumbo-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.jumbo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 40%, rgba(79, 216, 255, 0.1), transparent 50%),
    #0a0c10;
}

.jumbo-placeholder[hidden] {
  display: none;
}

/* Closer */
.closer {
  min-height: 85svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  padding-bottom: 5rem;
}

.closer-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.closer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.15) contrast(1.05);
}

.closer-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(9, 11, 16, 0.35), rgba(9, 11, 16, 0.88) 70%),
    linear-gradient(180deg, var(--night), transparent 20%, rgba(9, 11, 16, 0.95));
}

.closer-copy {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.closer-logo {
  width: min(140px, 34vw);
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

.closer h2 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  background: linear-gradient(180deg, #fff, #b8c6d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 #0a0c10);
}

.closer p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}

.closer .hero-actions {
  justify-content: center;
}

/* Footer */
.footer {
  padding: 2.5rem 0 3rem;
  border-top: 3px solid transparent;
  border-image: repeating-linear-gradient(
      90deg,
      var(--cyan) 0 16px,
      var(--silver) 16px 32px
    )
    1;
  background: #07090e;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--cyan);
}

.disclaimer {
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.disclaimer strong {
  color: var(--silver);
  font-weight: 700;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(5, 7, 12, 0.92);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 88svh;
  object-fit: contain;
  border: 3px solid #0a0c10;
  box-shadow: 0 0 0 3px rgba(200, 208, 220, 0.35);
  border-radius: 12px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 22, 31, 0.85);
  font-size: 1.5rem;
  line-height: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 220;
  transform: translateX(-50%);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: rgba(18, 22, 31, 0.95);
  border: 1px solid rgba(79, 216, 255, 0.4);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.toast[hidden] {
  display: none;
}

/* Motion */
.rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .rise {
    opacity: 1;
    transform: none;
  }

  .hero-banner {
    transform: none;
  }
}
