:root {
  --neon: #87ff71;
  --cyan: #01cdfe;
  --ink: #192617;
  --deep: #0b120c;
  --paper: #e8fbec;
  --body: #d5efdb;
  --muted: #a3c4ab;
  --line: rgba(135, 255, 113, 0.28);
  --r: 18px;
  --font: 'Rubik', "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --display: 'Outfit', 'Rubik', "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--deep);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58vw 42vw at 84% 2%, rgba(255, 113, 206, 0.20), transparent 70%),
    radial-gradient(52vw 44vw at 6% 8%, rgba(1, 205, 254, 0.18), transparent 72%),
    linear-gradient(180deg, #0a110b, #101c13 44%, #0b150e);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px);
}

a { color: var(--neon); }

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

small {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin: 0 0 2px;
}

.skip {
  position: absolute;
  left: 10px;
  top: -70px;
  z-index: 60;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: 999px;
  background: var(--neon);
  color: #08130a;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip:focus { top: 10px; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px clamp(12px, 3vw, 30px);
  background: rgba(10, 17, 11, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.mark {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  text-decoration: none;
}

.mark-txt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #0b120c;
  background: linear-gradient(135deg, var(--neon), var(--cyan));
  border-radius: 12px;
  padding: 5px 11px;
  box-shadow: 0 0 18px rgba(135, 255, 113, 0.4);
}

.drawer { position: relative; }

.drawer > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(135, 255, 113, 0.07);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.drawer > summary::-webkit-details-marker { display: none; }

.drawer > summary:hover,
.drawer[open] > summary {
  background: rgba(135, 255, 113, 0.16);
  box-shadow: 0 0 22px rgba(135, 255, 113, 0.28);
}

.tri {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--neon);
  transition: transform 0.2s ease;
}

.drawer[open] .tri { transform: rotate(180deg); }

.rail {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 50;
  margin: 0;
  padding: 10px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: min(78vw, 300px);
  background: #0f1b12;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.rail a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 16px;
  color: var(--body);
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.rail a:hover {
  background: rgba(1, 205, 254, 0.16);
  color: #fff;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.cta {
  border-color: transparent;
  background: linear-gradient(135deg, var(--neon), var(--cyan));
  color: #08130a;
  box-shadow: 0 0 24px rgba(1, 205, 254, 0.4);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(135, 255, 113, 0.6);
}

main { position: relative; z-index: 2; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 45vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 26px;
  padding: 26px clamp(16px, 4vw, 56px) 34px;
  border-bottom: 2px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  right: -4%;
  bottom: 4%;
  z-index: 0;
  width: min(58vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #ffd98a, #ff71ce 40%, #b967ff 66%, rgba(1, 205, 254, 0) 72%);
  opacity: 0.45;
  filter: blur(2px) saturate(1.15);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 6px, transparent 6px 9px);
  mask-image: repeating-linear-gradient(180deg, #000 0 6px, transparent 6px 9px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 40%;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(135, 255, 113, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 255, 113, 0.14) 1px, transparent 1px);
  background-size: 100% 26px, 44px 100%;
  transform: perspective(220px) rotateX(62deg);
  transform-origin: bottom center;
}

.collage {
  position: relative;
  z-index: 2;
  margin: 0;
  height: clamp(180px, 30vh, 260px);
  border-radius: var(--r);
  background: linear-gradient(150deg, rgba(1, 205, 254, 0.18), rgba(255, 113, 206, 0.14));
}

.shot {
  position: absolute;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.shot.a {
  width: 74%;
  height: 82%;
  left: 0;
  top: 0;
  transform: rotate(-2.5deg);
  z-index: 2;
}

.shot.b {
  width: 58%;
  height: 64%;
  right: 0;
  bottom: 0;
  transform: rotate(3deg);
  z-index: 1;
}

.collage:hover .shot.a { transform: rotate(-1deg) translateY(-4px); }
.collage:hover .shot.b { transform: rotate(1.4deg) translateY(3px); }

.collage figcaption {
  position: absolute;
  left: 6px;
  bottom: -26px;
  font-size: 16px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: right;
  overflow: hidden;
}

.ghost {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 12vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(135, 255, 113, 0.34);
  white-space: nowrap;
  margin-bottom: 4px;
}

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 6.6vw, 60px);
  line-height: 1.08;
  margin: 0 0 12px;
  color: #f4fff6;
  text-shadow: 0 0 20px rgba(135, 255, 113, 0.55), 0 0 44px rgba(1, 205, 254, 0.35);
}

h1:hover { animation: glitch 0.5s steps(2) 1; }

@keyframes glitch {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, -2px); }
  100% { transform: none; }
}

.lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.slab {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 56px) 62px;
}

.side {
  padding: 16px;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--cyan);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.04);
}

.side h2 {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.3;
  margin: 2px 0 10px;
  color: #fff;
}

.side-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #cfe8d4;
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.side-list a:hover {
  color: #fff;
  border-color: var(--line);
  background: rgba(135, 255, 113, 0.12);
}

.totop {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
  color: var(--cyan);
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.totop:hover {
  background: rgba(1, 205, 254, 0.18);
  color: #fff;
}

.prose { min-width: 0; }

.prose div {
  position: relative;
  margin: 0 0 26px;
  padding: 24px clamp(16px, 3vw, 32px) 26px;
  border: 1px solid rgba(135, 255, 113, 0.16);
  border-bottom: 3px solid var(--neon);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  scroll-margin-top: 96px;
}

.prose div:last-child { margin-bottom: 0; }

.prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 31px);
  line-height: 1.26;
  margin: 2px 0 12px;
  color: #f7fff9;
  text-shadow: 0 0 18px rgba(1, 205, 254, 0.42);
}

.prose h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  margin: 22px 0 8px;
  color: #eaffee;
}

.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }

.prose a {
  color: var(--neon);
  text-decoration: underline;
  text-decoration-color: rgba(135, 255, 113, 0.45);
  text-underline-offset: 3px;
}

.prose a:hover { color: #fff; background: rgba(135, 255, 113, 0.14); }

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li { margin-bottom: 8px; }

.prose figure { margin: 18px 0; }

.prose img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.prose blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 14px 14px 0;
  background: rgba(1, 205, 254, 0.08);
  color: #e3f9ea;
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose code {
  font-size: 16px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(135, 255, 113, 0.14);
  color: #eaffee;
}

.prose strong { color: #fff; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 16px;
}

.prose th,
.prose td {
  border: 1px solid rgba(135, 255, 113, 0.2);
  padding: 8px 10px;
  text-align: left;
}

.prose th { background: rgba(135, 255, 113, 0.1); color: #fff; }

.foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 34px clamp(16px, 4vw, 56px) 22px;
  border-top: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(1, 205, 254, 0.07), rgba(9, 15, 10, 0.92));
}

.foot address {
  font-style: normal;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.05em;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(135, 255, 113, 0.5);
}

.foot ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.foot ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 2px 2px;
  font-size: 16px;
  color: #cae4d1;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.foot ul a:hover {
  color: #fff;
  border-bottom-color: var(--neon);
}

.copy {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 719px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .hero-copy {
    order: 1;
    text-align: left;
  }

  .collage {
    order: 2;
    height: 150px;
  }

  .ghost { font-size: clamp(38px, 15vw, 60px); }

  .cta { padding: 10px 14px; }

  .collage figcaption { bottom: -24px; }
}

@media (min-width: 720px) {
  .drawer > summary { display: none; }

  .drawer {
    order: 3;
    flex-basis: 100%;
  }

  .rail {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    padding: 6px 0 2px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .rail a {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 16px;
    color: #cfe8d4;
  }

  .rail a:hover {
    border-color: var(--line);
    background: rgba(135, 255, 113, 0.12);
  }

  .foot { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .slab {
    grid-template-columns: 218px minmax(0, 1fr);
    gap: 40px;
  }

  .side {
    position: sticky;
    top: 132px;
    align-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

button[aria-expanded]{min-width:44px;min-height:44px}
