@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --green: #61ffae;
  --cyan: #7fffe4;
  --parallax-x: 0px;
  --parallax-y: 0px;
  font-family: "Space Grotesk", Arial, sans-serif;
  background: #020908;
  color: #f1f7f5;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
button svg, .icon-library symbol { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.transmission { position: relative; width: 100%; height: 100svh; height: 100dvh; isolation: isolate; overflow: hidden; }

.scene {
  position: absolute;
  inset: -14px;
  z-index: -2;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  will-change: transform;
}
.scene-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.atmosphere { position: absolute; inset: 0; background: linear-gradient(180deg, #01080712 0%, transparent 63%, #01050347 100%); }
.motes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.motes i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #96ffd8;
  box-shadow: 0 0 5px #57efb1;
  opacity: 0;
  animation: drift var(--duration) var(--delay) linear infinite;
}
@keyframes drift {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  15% { opacity: .55; }
  75% { opacity: .35; }
  100% { opacity: 0; transform: translate3d(30px, -150px, 0); }
}

.hero { position: absolute; top: 3.5%; left: 50%; width: min(53vw, 82dvh, 1080px); transform: translateX(-50%); text-align: center; }
.wordmark { margin: 0; line-height: 0; }
.wordmark img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 8px #0006); }

.invitation { position: absolute; top: 31.4%; left: 50%; width: min(730px, 81%); transform: translateX(-50%); text-align: center; }
.questions { font-size: clamp(20px, min(2vw, 3.5dvh), 39px); line-height: 1.22; letter-spacing: .006em; text-shadow: 0 2px 8px #000; }
.questions p { margin: 0 0 .08em; }
.questions strong { font-weight: 700; color: var(--green); text-shadow: 0 0 20px #20dc845c; }
.questions .last-question { margin-top: .18em; color: var(--cyan); font-weight: 700; text-shadow: 0 0 22px #3cffb045; }
.concept { margin: 18px 0 0; color: #cbdcd8; font-size: clamp(12px, 1.02vw, 16px); line-height: 1.55; letter-spacing: .026em; text-shadow: 0 2px 7px #000; }
.explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 40px;
  margin-top: 19px;
  padding: 10px 18px;
  border: 1px solid #73ffd956;
  border-radius: 5px;
  background: #041815a8;
  color: #b3ffde;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.explore svg { width: 19px; height: 19px; transition: transform .2s; }
.explore:hover { background: #062e21df; border-color: #76ffd5b0; box-shadow: 0 0 24px #2ed99120; }
.explore:hover svg { transform: translateX(3px); }

.holograms { position: absolute; inset: -14px; pointer-events: none; transform: translate3d(var(--parallax-x), var(--parallax-y), 0); }
.hotspot { position: absolute; transform: translate(-50%, -50%) rotate(-11deg); background: transparent; border: 0; padding: 0; color: #93ffd7; pointer-events: auto; }
.hotspot-contract { left: 24.6%; top: 75%; width: 11.3%; height: 15.8%; transform: translate(-50%, -50%) rotate(-15deg); }
.hotspot-receipt { left: 79.8%; top: 42.3%; width: 4.3%; height: 13.4%; }
.hotspot-proof { left: 89.7%; top: 22.4%; width: 4.3%; height: 10.4%; }
.hotspot-corners { position: absolute; inset: -7px; border-radius: 4px; transition: box-shadow .25s, background .25s; }
.hotspot-corners::before, .hotspot-corners::after { content: ""; position: absolute; width: 15px; height: 15px; border-color: #81ffbd; border-style: solid; opacity: .55; }
.hotspot-corners::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hotspot-corners::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.hotspot:hover .hotspot-corners, .hotspot:focus-visible .hotspot-corners { background: #5dffd617; box-shadow: 0 0 28px #15e37c41, inset 0 0 25px #24ff9c2c; }
.hotspot:hover .hotspot-corners::before, .hotspot:hover .hotspot-corners::after { opacity: 1; }
.hotspot-label { position: absolute; bottom: calc(100% + 14px); left: 50%; width: max-content; max-width: 220px; padding: 9px 12px; border: 1px solid #9df7d04d; border-radius: 4px; background: #021b17ed; font-size: 11px; letter-spacing: .06em; opacity: 0; transform: translate(-50%, 5px) rotate(11deg); transition: opacity .2s, transform .2s; pointer-events: none; }
.hotspot-contract .hotspot-label { transform: translate(-50%, 5px) rotate(15deg); }
.hotspot:hover .hotspot-label, .hotspot:focus-visible .hotspot-label { opacity: 1; transform: translate(-50%, 0) rotate(11deg); }
.hotspot-contract:hover .hotspot-label, .hotspot-contract:focus-visible .hotspot-label { transform: translate(-50%, 0) rotate(15deg); }
.compact-controls { display: none; }

.footer { position: absolute; bottom: max(5.5%, env(safe-area-inset-bottom) + 18px); left: 3.5%; right: 3.3%; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.development { display: flex; flex-direction: column; gap: 8px; font-size: 10px; letter-spacing: .11em; text-shadow: 0 2px 8px #000; }
.development-title { color: #bdcfc9; }
.development-status { display: flex; align-items: center; gap: 8px; color: #75d5ad; font-size: 9px; letter-spacing: .19em; text-transform: uppercase; }
.development-status i, .detail-footer i { width: 5px; height: 5px; border-radius: 50%; background: #6cffb9; box-shadow: 0 0 9px #35ffa56b; }
.footer-right { display: flex; align-items: center; gap: 20px; }
.powered-by { display: inline-flex; align-items: baseline; gap: 7px; font-size: clamp(14px, 1.19vw, 23px); text-decoration: none; text-shadow: 0 2px 8px #000; }
.powered-by::before { align-self: center; content: ""; width: 42px; height: 2px; margin-right: 11px; background: #5feebc; }
.powered-by strong { color: #76ffd0; font-weight: 700; }
.powered-by:hover strong { color: #c2ffe6; }
.external-arrow { margin-left: 1px; color: #83ccaf; font-size: 14px; }
.motion-toggle { display: grid; place-items: center; width: 29px; height: 29px; padding: 4px; border: 1px solid #8ae8bc26; border-radius: 50%; background: #05141070; color: #9dc4b4; transition: border-color .2s, color .2s; }
.motion-toggle:hover { color: #9dffd1; border-color: #8ae8bc73; }
.motion-toggle svg { width: 18px; height: 18px; }
.motion-paused { display: none; }
.motion-off .scene, .motion-off .holograms { transform: none; will-change: auto; }
.motion-off .motes i, .page-hidden .motes i { animation-play-state: paused; }
.motion-off .motion-playing { display: none; }
.motion-off .motion-paused { display: block; }

.details {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #8dffd265;
  border-radius: 12px;
  background: linear-gradient(145deg, #0b2521f7, #031210fa 65%);
  color: #e0eeea;
  box-shadow: 0 0 0 5px #3dca9910, 0 25px 90px #000b, inset 0 1px #c7ffee12;
  backdrop-filter: blur(24px);
}
.details::backdrop { background: #000a; backdrop-filter: blur(5px); }
.detail-topline { min-height: 50px; padding: 0 18px 0 25px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #8eebc323; font-size: 9px; letter-spacing: .13em; color: #8bb3a6; }
.close-dialog { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 4px; background: transparent; color: #a8c7b9; font-size: 16px; }
.close-dialog:hover { background: #93ffd013; color: #caffe9; }
.detail-tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 21px 25px 0; padding: 3px; gap: 3px; border: 1px solid #9edbbe24; border-radius: 5px; background: #00120f7d; }
.detail-tabs button { min-height: 33px; padding: 4px 6px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #b5ccc2; font-size: 11px; }
.detail-tabs button[aria-selected="true"] { border-color: #8bdcb73a; background: #2c735939; color: #8dffd0; }
.detail-tabs button:hover { color: #dcfff0; }
.detail-body { padding: 22px 25px 25px; }
.detail-panel { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.15fr); gap: 30px; align-items: center; }
.detail-panel[hidden] { display: none; }
.panel-art {
  position: relative;
  min-width: 0;
  height: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #71ffbc30;
  border-radius: 6px 24px 6px 24px;
  background: radial-gradient(ellipse at 50% 70%, #19dc7b1c, transparent 65%), linear-gradient(#64ffd30c 1px, transparent 1px), linear-gradient(90deg, #64ffd30c 1px, transparent 1px), #00100eb3;
  background-size: auto, 32px 32px, 32px 32px, auto;
  box-shadow: inset 0 0 35px #0006;
}
.panel-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 60%, #00100e 100%); }
.art-tag { position: absolute; top: 18px; left: 18px; z-index: 2; color: #8cd1b6; font-size: 8px; letter-spacing: .13em; }
.art-tag::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; background: #77ffc4; box-shadow: 0 0 8px #58ffa870; }
.art-main { position: absolute; width: 100%; height: 87%; object-fit: contain; bottom: 0; left: 0; filter: drop-shadow(0 0 12px #49ffa30b); }
.art-inset { position: absolute; right: 30%; top: 38px; width: 42%; height: 55%; object-fit: contain; opacity: .6; }
.art-overview .art-main { z-index: 1; bottom: 15px; height: 78%; }
.art-receipts .art-main { height: 96%; bottom: -28px; }
.art-proofs .art-main { height: 95%; bottom: -12px; }
.panel-art figcaption { position: absolute; left: 10px; right: 10px; bottom: 17px; z-index: 2; text-align: center; color: #a0debd; font-size: 10px; letter-spacing: .025em; }
.panel-eyebrow { margin: 0 0 15px; color: #79cbad; font-size: 9px; font-weight: 500; letter-spacing: .16em; }
.detail-panel h2 { margin: 0 0 18px; font-size: 27px; line-height: 1.2; font-weight: 600; letter-spacing: -.03em; }
.detail-panel h2 span { color: #89ffce; }
.panel-copy > p:not(.panel-eyebrow) { margin: 0 0 13px; font-size: 14px; line-height: 1.65; color: #b6cdc3; }
.panel-copy > p:last-of-type { margin-bottom: 0; }
.process { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 23px; padding: 14px 7px; border: 1px solid #5ffcaa25; border-radius: 5px; background: #74ffb805; font-size: 11px; color: #b3f5d5; }
.process i { color: #76b69b; font-style: normal; }
.detail-footer { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; gap: 12px; border-top: 1px solid #8eebc323; font-size: 10px; }
.detail-footer > span { display: inline-flex; align-items: center; gap: 7px; color: #8aa99b; }
.detail-footer a { color: #8de8bf; text-decoration: none; }
.detail-footer a:hover { color: #dbffed; }

@media (max-width: 800px) and (orientation: portrait) {
  .hero { top: 11%; width: 96%; }
  .invitation { top: 31%; width: 94%; }
  .questions { font-size: clamp(18px, 4.85vw, 29px); line-height: 1.35; }
  .concept { margin-top: 17px; font-size: 12px; line-height: 1.65; }
  .explore { margin-top: 19px; min-height: 42px; font-size: 10px; padding: 10px 15px; }
  .holograms { display: none; }
  .compact-controls { position: absolute; bottom: 17%; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
  .compact-controls button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 78px; min-height: 65px; padding: 8px; border: 1px solid #69ffc348; border-radius: 6px; background: #061c16b3; color: #b2f9d5; backdrop-filter: blur(8px); font-size: 10px; letter-spacing: .035em; }
  .compact-controls svg { width: 22px; height: 22px; }
  .compact-controls button:hover { background: #083b24cf; border-color: #96ffcb; }
  .footer { left: 5%; right: 5%; bottom: max(4%, env(safe-area-inset-bottom) + 15px); gap: 15px; }
  .development { gap: 6px; font-size: 8px; letter-spacing: .01em; }
  .development-title { max-width: 150px; line-height: 1.45; }
  .development-status { font-size: 7px; letter-spacing: .12em; gap: 5px; }
  .footer-right { gap: 11px; }
  .powered-by { flex-wrap: wrap; max-width: 110px; column-gap: 4px; row-gap: 0; font-size: 12px; line-height: 1.4; }
  .powered-by::before, .external-arrow { display: none; }
  .powered-by strong { font-size: 16px; }
  .motion-toggle { width: 26px; height: 26px; flex: none; }
  .atmosphere { background: linear-gradient(180deg, #01090859 0%, #0115104a 42%, transparent 72%, #010503a1 100%); }
}

@media (max-height: 620px) and (orientation: portrait) {
  .hero { top: 6%; }
  .invitation { top: 30%; }
  .questions { font-size: 18px; }
  .concept { margin-top: 10px; font-size: 11px; }
  .explore { margin-top: 12px; min-height: 35px; }
  .compact-controls { bottom: 16%; }
  .compact-controls button { min-height: 56px; width: 72px; gap: 5px; }
}

@media (max-height: 610px) and (orientation: landscape) {
  .hero { top: 0%; width: 82dvh; }
  .invitation { top: 32%; }
  .questions { font-size: 3.6dvh; }
  .concept { margin-top: 10px; font-size: clamp(10px, 2.4dvh, 13px); line-height: 1.4; }
  .explore { margin-top: 10px; min-height: 31px; padding: 5px 12px; font-size: 9px; gap: 9px; }
  .footer { bottom: 5%; }
  .development { font-size: 8px; gap: 5px; }
  .development-status { font-size: 7px; }
  .powered-by { font-size: 14px; }
  .powered-by::before { width: 25px; }
}

@media (max-width: 600px) and (orientation: portrait) {
  .detail-topline { min-height: 43px; padding-left: 18px; font-size: 8px; }
  .detail-tabs { margin: 14px 18px 0; }
  .detail-tabs button { font-size: 11px; min-height: 30px; }
  .detail-body { padding: 16px 18px 18px; }
  .detail-panel { grid-template-columns: 1fr; gap: 16px; }
  .panel-art { height: 140px; }
  .art-tag { top: 12px; left: 12px; font-size: 7px; }
  .art-main { height: 97%; bottom: -6px; left: 15%; width: 85%; }
  .art-overview .art-main { bottom: -10px; height: 98%; }
  .art-inset { top: 2px; right: 18%; height: 70%; width: 23%; }
  .art-receipts .art-main { height: 136%; bottom: -48px; }
  .art-proofs .art-main { height: 135%; bottom: -27px; }
  .panel-art figcaption { left: 12px; right: auto; bottom: 12px; width: 92px; text-align: left; line-height: 1.45; font-size: 9px; }
  .panel-eyebrow { margin-bottom: 11px; font-size: 8px; }
  .detail-panel h2 { font-size: 24px; margin-bottom: 14px; }
  .panel-copy > p:not(.panel-eyebrow) { font-size: 13px; line-height: 1.55; margin-bottom: 11px; }
  .process { margin-top: 16px; padding: 11px; }
  .detail-footer { padding: 14px 18px; font-size: 9px; }
}

@media (max-height: 650px) and (orientation: portrait) {
  .panel-art { height: 75px; }
  .art-tag { display: none; }
  .art-inset { display: none; }
  .art-receipts .art-main { height: 180%; bottom: -47px; }
  .art-proofs .art-main { height: 135%; bottom: -15px; }
  .detail-panel { gap: 12px; }
  .detail-panel h2 { font-size: 21px; margin-bottom: 12px; }
  .panel-copy > p:not(.panel-eyebrow) { font-size: 12px; line-height: 1.5; margin-bottom: 9px; }
  .panel-eyebrow { margin-bottom: 9px; }
  .process { margin-top: 13px; padding: 9px; font-size: 10px; }
}

@media (max-height: 610px) and (orientation: landscape) {
  .detail-topline { min-height: 36px; }
  .detail-tabs { margin-top: 10px; }
  .detail-tabs button { min-height: 27px; }
  .detail-body { padding: 14px 20px; }
  .detail-panel { grid-template-columns: minmax(0, .72fr) minmax(0, 1.3fr); gap: 20px; }
  .panel-art { height: min(205px, 53dvh); }
  .art-tag { top: 12px; left: 12px; font-size: 7px; }
  .panel-art figcaption { font-size: 9px; bottom: 12px; }
  .panel-eyebrow { margin-bottom: 9px; font-size: 8px; }
  .detail-panel h2 { font-size: 21px; margin-bottom: 11px; }
  .panel-copy > p:not(.panel-eyebrow) { font-size: 12px; line-height: 1.45; margin-bottom: 9px; }
  .process { margin-top: 12px; padding: 9px; font-size: 10px; }
  .detail-footer { padding: 10px 20px; font-size: 9px; }
}

@media (max-height: 380px) and (orientation: landscape) {
  .detail-topline { min-height: 32px; }
  .detail-tabs { margin: 8px 17px 0; }
  .detail-tabs button { min-height: 25px; font-size: 10px; }
  .detail-body { padding: 11px 17px; }
  .detail-panel { gap: 17px; }
  .panel-art { height: 180px; }
  .detail-panel h2 { font-size: 19px; margin-bottom: 9px; }
  .panel-copy > p:not(.panel-eyebrow) { font-size: 11px; line-height: 1.4; margin-bottom: 7px; }
  .process { margin-top: 10px; padding: 8px; }
  .detail-footer { padding: 9px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  :root:not(.motion-enabled) .motes i { animation: none; }
  :root:not(.motion-enabled) .scene, :root:not(.motion-enabled) .holograms { transform: none; will-change: auto; }
  :root:not(.motion-enabled) *, :root:not(.motion-enabled) *::before, :root:not(.motion-enabled) *::after { transition: none !important; }
}
