:root {
  --ink: #f0f0e7;
  --muted: #9baaa1;
  --acid: #c7f36a;
  --line: rgba(231, 244, 236, 0.18);
  --bg: #0a2a26;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
button { font: inherit; }

.experience-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  touch-action: none;
  background: radial-gradient(circle at 79% 43%, rgba(85, 137, 121, 0.38), transparent 35%), linear-gradient(104deg, #071b19 0%, #0b2b26 49%, #123a31 100%);
}
.experience-shell::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(2, 12, 11, 0.76) 0%, rgba(2, 12, 11, 0.38) 35%, rgba(2, 12, 11, 0.06) 58%, transparent 78%); z-index: 1; }
.frame { position: absolute; inset: 14px; border: 1px solid var(--line); z-index: 5; pointer-events: none; }

.site-header, .site-footer {
  position: absolute;
  left: 3.5rem;
  right: 3.5rem;
  display: grid;
  align-items: center;
  z-index: 6;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}
.site-header { top: 0; height: 96px; grid-template-columns: 1fr auto 1fr; border-bottom: 1px solid var(--line); }
.brand-cluster { display: flex; align-items: baseline; gap: 1.15rem; letter-spacing: 0; }
.brand-cluster strong { font-family: Inter, Arial, sans-serif; font-size: 0.93rem; }
.brand-cluster span { color: var(--muted); letter-spacing: 0.12em; }
.header-center, .status, .site-footer p { margin: 0; }
.header-center { color: rgba(240, 240, 231, 0.68); }
.status { justify-self: end; display: flex; align-items: center; gap: 0.65rem; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 6px rgba(199, 243, 106, 0.1); }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #071b19;
  transition: opacity 600ms cubic-bezier(0.7, 0, 0.25, 1), visibility 600ms;
}
.loader::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(231, 244, 236, 0.16); }
.loader--complete { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-topline { position: absolute; top: 2.6rem; left: 3.5rem; right: 3.5rem; display: flex; justify-content: space-between; color: rgba(232, 240, 234, 0.5); font: 0.6rem "IBM Plex Mono", "Courier New", monospace; letter-spacing: 0.16em; }
.loader-readout { width: min(26rem, calc(100vw - 4rem)); }
.loader-readout p { margin: 0 0 1.2rem; color: var(--acid); font: 0.58rem "IBM Plex Mono", "Courier New", monospace; letter-spacing: 0.17em; }
.loader-readout strong { display: block; margin-bottom: 1.25rem; font-size: clamp(4rem, 8vw, 7rem); font-weight: 400; line-height: 0.85; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.loader-readout small { margin-left: 0.35rem; color: var(--muted); font: 0.75rem "IBM Plex Mono", "Courier New", monospace; letter-spacing: 0; }
.loader-track { width: 100%; height: 1px; background: rgba(231, 244, 236, 0.2); }
.loader-track i { display: block; height: 100%; background: var(--acid); transition: width 160ms linear; }

.reveal { opacity: 0; transform: translateY(20px); }
.ready .reveal { animation: rise-in 750ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards; }
.ready .reveal-1 { animation-delay: 80ms; }
.ready .reveal-2 { animation-delay: 180ms; }
.ready .reveal-3 { animation-delay: 270ms; }
.ready .reveal-4 { animation-delay: 390ms; }
.ready .reveal-5 { animation-delay: 520ms; }
.ready .reveal-specimen { animation-name: specimen-in; animation-delay: 40ms; animation-duration: 980ms; }
@keyframes rise-in { to { opacity: 1; transform: translateY(0); } }
@keyframes specimen-in { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes status-pulse { 50% { box-shadow: 0 0 0 10px rgba(199, 243, 106, 0); } }
.ready .status i { animation: status-pulse 1.8s ease-out infinite; }

.hero { position: relative; min-height: 100svh; z-index: 2; }
.copy-block { position: absolute; z-index: 4; left: 5.2%; top: 47.5%; width: min(48rem, 47vw); transform: translateY(-50%); }
.eyebrow { margin: 0 0 1.55rem; color: var(--acid); font: 0.66rem/1.2 "IBM Plex Mono", "Courier New", monospace; letter-spacing: 0.16em; }
h1 { margin: 0; font-size: clamp(4.8rem, 6.7vw, 7.6rem); line-height: 0.82; letter-spacing: -0.067em; font-weight: 760; }
h1 span { display: block; white-space: nowrap; }
h1 .outline { color: transparent; -webkit-text-stroke: 1px rgba(239, 241, 232, 0.83); }

.details-row { display: block; margin-top: 2.35rem; }
.description-group { width: min(23rem, 100%); }
.description { margin: 0; color: #adb7af; font-size: 0.9rem; line-height: 1.58; max-width: 23rem; }
.metrics { display: flex; gap: 2rem; margin-top: 1.7rem; }
.metrics p { display: grid; gap: 0.25rem; margin: 0; }
.metrics b { font-size: 0.95rem; font-weight: 500; }
.metrics span { color: #74847b; font: 0.56rem "IBM Plex Mono", "Courier New", monospace; letter-spacing: 0.12em; }

.gaze-button { position: absolute; right: 6.5%; top: 55%; z-index: 7; width: 8rem; height: 8rem; flex: 0 0 auto; border: 0; border-radius: 50%; background: #f0eee3; color: #10221f; display: grid; place-content: center; gap: 0.55rem; cursor: pointer; font: 0.63rem/1.4 "IBM Plex Mono", "Courier New", monospace; letter-spacing: 0.09em; transition: background 250ms ease, transform 250ms ease; }
.gaze-button:hover { background: var(--acid); transform: scale(1.03); }
.arrow { font-size: 1rem; transition: transform 250ms ease; }
.gaze-button:hover .arrow { transform: translateX(5px); }

.specimen { --drift-x: 0px; --drift-y: 0px; position: absolute; inset: 96px 0 60px 0; overflow: hidden; }
.specimen-poster { position: absolute; z-index: 2; display: block; inset: -9px -12px; width: calc(100% + 24px); height: calc(100% + 18px); object-fit: cover; object-position: 59% 50%; filter: saturate(0.78) contrast(1.08) brightness(0.7) sepia(0.08) hue-rotate(-24deg); transform: translate3d(var(--drift-x), var(--drift-y), 0) scaleX(1) scale(1.015); }
.specimen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #071b19 0%, rgba(7, 27, 25, 0.88) 28%, rgba(7, 27, 25, 0.16) 53%, transparent 70%); z-index: 3; }
.specimen-index { position: absolute; right: 5.2rem; bottom: 2rem; z-index: 4; color: rgba(231, 240, 235, 0.44); font: 0.56rem "IBM Plex Mono", "Courier New", monospace; letter-spacing: 0.14em; }
.tracking-mark { position: absolute; z-index: 4; width: 24px; height: 24px; opacity: 0.35; pointer-events: none; }
.tracking-mark-a { top: 2.25rem; right: 33%; border-top: 1px solid var(--acid); border-right: 1px solid var(--acid); }
.tracking-mark-b { bottom: 4.5rem; left: 38%; border-bottom: 1px solid var(--acid); border-left: 1px solid var(--acid); }

.site-footer { bottom: 0; height: 60px; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); color: rgba(218, 229, 221, 0.38); }
.site-footer p:last-child { justify-self: end; }

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; opacity: 0; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--acid); transition: opacity 160ms ease; }
.cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid rgba(199, 243, 106, 0.64); border-radius: 50%; transition: opacity 160ms ease, width 220ms ease, height 220ms ease, margin 220ms ease, border-color 220ms ease; }
.cursor-dot.is-visible, .cursor-ring.is-visible { opacity: 1; }
.cursor-ring.is-hovering { width: 50px; height: 50px; margin: -25px 0 0 -25px; border-color: var(--acid); }

@media (pointer: fine) { body, button { cursor: none; } }

@media (max-width: 1050px) {
  .site-header, .site-footer { left: 2rem; right: 2rem; }
  .header-center { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .copy-block { width: 54vw; }
  h1 { font-size: clamp(4rem, 8vw, 6rem); }
  .gaze-button { width: 6.5rem; height: 6.5rem; }
}

@media (max-width: 720px) {
  .frame { inset: 8px; }
  .site-header, .site-footer { left: 1.35rem; right: 1.35rem; }
  .site-header { height: 74px; }
  .brand-cluster span, .site-footer p:last-child { display: none; }
  .specimen { inset: 74px 0 54px 0; opacity: 0.72; }
  .specimen::before { background: linear-gradient(180deg, rgba(5, 25, 22, 0.08) 25%, rgba(5, 25, 22, 0.94) 80%); }
  .copy-block { left: 1.7rem; right: 1.7rem; top: auto; bottom: 5.5rem; width: auto; transform: none; }
  .eyebrow { margin-bottom: 0.85rem; }
  h1 { font-size: clamp(2.9rem, 14vw, 5rem); line-height: 0.9; }
  .details-row { display: flex; margin-top: 1.2rem; align-items: center; gap: 1.2rem; }
  .description { font-size: 0.78rem; max-width: 18rem; }
  .metrics { margin-top: 1rem; gap: 1.2rem; }
  .metrics p:nth-child(2) { display: none; }
  .gaze-button { top: auto; right: 1.7rem; bottom: 6.3rem; width: 5.5rem; height: 5.5rem; font-size: 0.53rem; }
  .specimen-index { display: none; }
  .site-footer { height: 54px; }
}

@media (max-width: 720px), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }
@media (max-height: 670px) and (max-width: 720px) { .metrics { display: none; } .copy-block { bottom: 4.2rem; } }
@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; }
  .reveal { opacity: 1; transform: none; }
  .status i { animation: none !important; }
}
