:root {
  --bg-0: #02060d;
  --bg-1: #061827;
  --bg-2: #0a3556;
  --bg-3: #0e6296;
  --ink: #e9f4ff;
  --ink-dim: #a9c2d6;
  --ink-mute: #6f8ba1;
  --accent: #78d6ff;
  --accent-2: #4cc1a5;
  --accent-warn: #ffb86b;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --card: rgba(255,255,255,.035);
  --card-hi: rgba(255,255,255,.065);
  --shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  --max: 1180px;
  --depth: 0;
  --mx: 50%;
  --my: 30%;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(120,214,255,.35); color: #fff; }

/* =================== Background stack =================== */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#ocean {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
}
#ocean.ready { opacity: 1; }

.grain {
  position: absolute;
  inset: -50%;
  background-image:
    radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(rgba(120,214,255,.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
  opacity: .5;
  pointer-events: none;
  animation: none;
}

.depthwash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1400px 800px at 25% -10%, rgba(64,170,224,calc(.45 - var(--depth) * .42)), transparent 60%),
    radial-gradient(900px 600px at 80% 10%, rgba(76,193,165,calc(.18 - var(--depth) * .18)), transparent 65%),
    linear-gradient(180deg,
      hsl(208 70% calc(14% - var(--depth) * 13%)) 0%,
      hsl(212 80% calc(6% - var(--depth) * 5%)) 60%,
      hsl(220 90% calc(2% - var(--depth) * 2%)) 100%
    );
  transition: none;
}

.rays {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 110vh;
  mix-blend-mode: screen;
  opacity: calc(.85 - var(--depth) * .85);
  transition: opacity .5s cubic-bezier(.25, .46, .45, .94);
}


.manta {
  position: absolute;
  top: 38vh;
  left: -260px;
  width: 240px;
  height: 80px;
  filter: blur(.4px);
  animation: drift 95s linear infinite;
  opacity: calc(.55 + var(--depth) * .25);
}
@keyframes drift {
  0%   { transform: translate(0vw, 0); }
  50%  { transform: translate(115vw, 30px); }
  100% { transform: translate(115vw, 30px); }
}

.school {
  position: absolute;
  width: 200px;
  height: 80px;
  opacity: .7;
}
.school-a {
  top: 65vh;
  left: -220px;
  animation: drift 70s linear 8s infinite;
}

.bubbles { position: absolute; inset: 0; }
.bubbles span {
  position: absolute;
  bottom: -40px;
  left: var(--l);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(120,214,255,.25) 55%, rgba(120,214,255,0) 70%);
  box-shadow: inset 0 0 6px rgba(255,255,255,.3);
  animation: rise var(--d) linear var(--y) infinite;
  opacity: .55;
}
@keyframes rise {
  0%   { transform: translate(0, 0) scale(.9); opacity: 0; }
  10%  { opacity: .7; }
  50%  { transform: translate(20px, -55vh) scale(1.05); }
  90%  { opacity: .5; }
  100% { transform: translate(-10px, -110vh) scale(1.15); opacity: 0; }
}

.flashlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 420px at var(--mx) var(--my),
    rgba(170,225,255,.10),
    rgba(170,225,255,.04) 30%,
    transparent 60%);
  mix-blend-mode: screen;
  transition: background .3s cubic-bezier(.25, .46, .45, .94);
}

/* =================== Side rail =================== */
.depthrail {
  position: fixed;
  top: 18vh;
  left: 18px;
  height: 64vh;
  width: 36px;
  z-index: 5;
  pointer-events: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
.depthrail-track {
  position: relative;
  width: 1px;
  height: 100%;
  margin-left: 14px;
  background: linear-gradient(180deg, var(--line-2), var(--line) 40%, transparent);
}
.depthrail-fill {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: calc(var(--depth) * 100%);
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 8px rgba(120,214,255,.55);
  transition: height .15s linear;
}
.depthrail-track::after {
  content: "";
  position: absolute;
  top: calc(var(--depth) * 100%);
  left: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(120,214,255,.7), 0 0 0 3px rgba(120,214,255,.18);
  transform: translateY(-50%);
  transition: top .15s linear;
}
.dmark {
  position: absolute;
  left: 8px;
  transform: translateY(-50%);
}

/* =================== HUD (dive computer) =================== */
.hud {
  position: fixed;
  top: 86px;
  right: 18px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(120,214,255,.08), transparent 55%),
    rgba(2,12,20,.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.02);
  font-family: 'JetBrains Mono', monospace;
  pointer-events: none;
  contain: layout style paint;
  will-change: contents;
}
.hud-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px 9px;
  min-width: 86px;
  background: rgba(2,8,16,.5);
}
.hud-cell:nth-child(1) { border-radius: 13px 0 0 0; }
.hud-cell:nth-child(2) { border-radius: 0 13px 0 0; }
.hud-cell:nth-child(3) { border-radius: 0 0 0 13px; }
.hud-cell:nth-child(4) { border-radius: 0 0 13px 0; }
.hud-label {
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--ink-mute);
  font-weight: 500;
}
.hud-val {
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(120,214,255,.5);
  font-variant-numeric: tabular-nums;
}
.hud-val em {
  font-style: normal;
  font-size: 11px;
  color: var(--ink-dim);
  margin-left: 2px;
  text-shadow: none;
}

/* =================== Top bar =================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(2,6,13,.7) 0%, rgba(2,6,13,.35) 100%);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
}
.brand svg { filter: drop-shadow(0 0 10px rgba(120,214,255,.45)); }
.nav {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
}
.nav a {
  position: relative;
  padding: 4px 2px;
  transition: color .18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

main {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

/* =================== Hero =================== */
.hero {
  padding: clamp(80px, 14vw, 160px) 0 clamp(60px, 10vw, 100px);
  position: relative;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 11px;
  color: var(--accent);
  margin: 0 0 26px;
  font-weight: 500;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(56px, 11vw, 156px);
  line-height: .92;
  letter-spacing: -.015em;
  margin: 0 0 32px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  animation: rise-in 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: .15s; }
.hero-title .line:nth-child(2) > span { animation-delay: .35s; padding-left: clamp(32px, 6vw, 96px); }
.hero-title .line:nth-child(3) > span { animation-delay: .55s; padding-left: clamp(64px, 12vw, 200px); }
.hero-title em {
  font-style: italic;
  background: linear-gradient(95deg, #78d6ff 0%, #4cc1a5 50%, #b9f0ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes rise-in {
  to { transform: translateY(0); }
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}

.lede {
  max-width: 580px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-dim);
  margin: 0 0 36px;
  opacity: 0;
  animation: fade-up 1s cubic-bezier(.2,.7,.2,1) .85s forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0;
  animation: fade-up 1s cubic-bezier(.2,.7,.2,1) 1s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border .2s ease, box-shadow .2s ease;
}
.btn.primary {
  background: var(--accent);
  color: #02101a;
  box-shadow: 0 0 0 0 rgba(120,214,255,.35), 0 14px 32px -10px rgba(120,214,255,.5);
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(120,214,255,.12), 0 20px 44px -14px rgba(120,214,255,.55);
}
.btn.ghost {
  border-color: var(--line-2);
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--card);
  border-color: rgba(255,255,255,.22);
}

.depth-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  opacity: 0;
  animation: fade-up 1s cubic-bezier(.2,.7,.2,1) 1.15s forwards;
}
.depth-strip span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}
.depth-strip span:last-child { border-right: none; }
.depth-strip b {
  color: var(--accent);
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  font-size: 24px;
  letter-spacing: -.01em;
  line-height: 1;
}
.depth-strip i {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.scroll-hint {
  position: absolute;
  bottom: 18px;
  right: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
  opacity: 0;
  animation: fade-up 1s ease 1.4s forwards;
}
.scroll-hint svg { animation: bob 2.6s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* =================== Sections =================== */
.section {
  padding: clamp(56px, 9vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 40px;
}
.section-no {
  font-family: 'Space Mono', monospace;
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: .1em;
}
.section h2 {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 52px);
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.05;
}
.section h3 {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.section p {
  color: var(--ink-dim);
  margin: 0;
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.grid { display: grid; gap: 18px; }
.grid.two   { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.sites { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  transition: background .25s ease, transform .25s ease, border .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px 200px at var(--mx) var(--my), rgba(120,214,255,.05), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.card:hover {
  background: var(--card-hi);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }
.card.icon svg {
  color: var(--accent);
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(120,214,255,.35));
}

/* =================== Site cards =================== */
.site {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border .25s ease, box-shadow .35s ease;
}
.site:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.site-art {
  height: 140px;
  position: relative;
  overflow: hidden;
}
.site-art svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.site:hover .site-art svg { transform: scale(1.06); }
.site-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2,8,16,.85) 100%);
  pointer-events: none;
}
.site-body {
  position: relative;
  padding: 26px 24px 24px;
}
.site .tag {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 10px;
  color: var(--c1, var(--accent));
  margin: 0 0 10px;
  font-weight: 600;
}
.site h3 { color: var(--ink); margin-bottom: 12px; }
.site p { color: var(--ink-dim); }
.site .meta {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.site .meta li {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.07);
  color: var(--ink-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* =================== Logbook =================== */
.logbook {
  list-style: none;
  padding: 0;
  margin: 0;
}
.logbook li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.logbook li:last-child { border-bottom: 1px solid var(--line); }
.logbook .num {
  font-family: 'Space Mono', monospace;
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.02em;
}
.logbook .num::before {
  content: "#";
  font-size: 22px;
  vertical-align: top;
  color: var(--ink-mute);
  margin-right: 4px;
}
.logbook h3 { margin-bottom: 10px; }
.log-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 8px !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-mute) !important;
}
.log-meta span { position: relative; padding-right: 14px; }
.log-meta span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: 2px;
  color: var(--line-2);
}

/* =================== Quote =================== */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 760px; }
.quote p {
  font-family: 'Space Mono', monospace;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -.005em;
}
.quote p::before { content: "\201C"; color: var(--accent); margin-right: 4px; }
.quote p::after  { content: "\201D"; color: var(--accent); margin-left: 4px; }
.quote cite {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

/* =================== Footer =================== */
.foot {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 56px) 60px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
}
.foot p { margin: 0; }

/* =================== Responsive =================== */
@media (max-width: 900px) {
  .hud { display: none; }
  .depthrail { display: none; }
}
@media (max-width: 640px) {
  .nav { gap: 14px; }
  .depth-strip { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .depth-strip span:nth-child(2) { border-right: none; }
  .logbook li { grid-template-columns: 64px 1fr; gap: 18px; }
  .logbook .num { font-size: 36px; }
  .scroll-hint { display: none; }
}

/* =================== Marquee =================== */
.marquee {
  position: relative;
  z-index: 2;
  margin: 0 calc(50% - 50vw);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(2,12,20,.4), rgba(2,8,14,.55));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 36px;
  align-items: center;
  padding: 22px 0;
  white-space: nowrap;
  width: max-content;
  animation: scroll-marquee 60s linear infinite;
  font-family: 'Space Mono', monospace;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 36px);
  color: var(--ink);
  letter-spacing: .005em;
}
.marquee-track .dot {
  color: var(--accent);
  font-size: 8px;
  vertical-align: middle;
  font-style: normal;
}
@keyframes scroll-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* =================== Stats =================== */
.stats-section { position: relative; }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  padding: 32px 26px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  background: rgba(2,12,20,.25);
  transition: background .25s ease;
}
.stat:hover { background: rgba(2,12,20,.45); }
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: .8;
}
.stat b {
  display: block;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 68px);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat i {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
}

/* =================== Magnetic buttons =================== */
.btn.magnetic {
  will-change: transform;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .2s ease, border .2s ease, box-shadow .2s ease;
}
.btn .btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  will-change: transform;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}

/* =================== 3D tilt =================== */
.grid.sites { perspective: 1200px; }
.site[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border .25s ease, box-shadow .35s ease;
}
.site[data-tilt] .site-art,
.site[data-tilt] .site-body { transform: translateZ(20px); }
.site[data-tilt]:hover { box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(120,214,255,.1); }

/* Site sheen on tilt */
.site[data-tilt]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(120,214,255,.08) 50%,
    transparent 70%);
  background-size: 250% 250%;
  background-position: var(--sx, 100%) var(--sy, 100%);
  opacity: 0;
  transition: opacity .35s ease;
  border-radius: inherit;
}
.site[data-tilt]:hover::after { opacity: 1; }

@media (max-width: 900px) {
  .site[data-tilt]:hover { transform: translateY(-4px) !important; }
  .site[data-tilt] .site-art,
  .site[data-tilt] .site-body { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bubbles span { animation: none; display: none; }
  .grain, .marquee-track { animation: none; }
  .hero-title .line > span { transform: none; animation: none; }
  .lede, .cta-row, .depth-strip, .scroll-hint { opacity: 1; animation: none; }
  * { transition: none !important; }
}
