@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700&family=Varela+Round&display=swap');

:root {
  --neon: #87ff71;
  --sun: #ffce5c;
  --ink: #192617;
  --ink2: #1f2f1b;
  --ink3: #26381f;
  --paper: #effbe9;
  --line: rgba(135, 255, 113, 0.26);
  --head: 'Varela Round', 'Nunito Sans', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --text: 'Nunito Sans', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.68;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(45deg, rgba(135, 255, 113, 0.05) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(255, 206, 92, 0.04) 0 2px, transparent 2px 34px);
}

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0 0 1em; }
a { color: var(--sun); }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.skip {
  position: absolute;
  left: 10px;
  top: -70px;
  z-index: 60;
  padding: 10px 14px;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--head);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip:focus { top: 8px; }

/* ---- memphis sticker field ---- */
.shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.sh { position: absolute; display: block; opacity: 0.2; }
.sh1 {
  width: 220px; height: 220px;
  top: -70px; left: -60px;
  border: 3px dashed var(--neon);
  border-radius: 50%;
  transform: rotate(12deg);
}
.sh2 {
  width: 190px; height: 190px;
  right: -50px; top: 34vh;
  background: var(--sun);
  opacity: 0.15;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(-14deg);
}
.sh3 {
  width: 150px; height: 150px;
  left: 4vw; bottom: 7vh;
  background: repeating-radial-gradient(circle at 50% 50%, var(--neon) 0 3px, transparent 3px 17px);
  transform: rotate(8deg);
}
.sh4 {
  width: 260px; height: 66px;
  right: 2vw; bottom: 17vh;
  background: var(--neon);
  opacity: 0.14;
  clip-path: polygon(0 46%, 14% 18%, 28% 62%, 42% 16%, 56% 58%, 70% 20%, 84% 64%, 100% 38%, 100% 72%, 84% 92%, 70% 52%, 56% 88%, 42% 48%, 28% 90%, 14% 50%, 0 80%);
}

/* ---- masthead ---- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(19, 32, 14, 0.95);
  border-bottom: 2px dashed rgba(135, 255, 113, 0.4);
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  color: var(--neon);
  font-family: var(--head);
  font-size: 19px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px;
  object-fit: cover;
  border: 2px solid var(--neon);
  transform: rotate(-5deg);
  transition: transform 0.25s ease;
}
.brand:hover .brand-mark { transform: rotate(5deg); }

.dock { position: relative; margin-left: auto; }
.dock > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--neon);
  color: var(--neon);
  font-family: var(--head);
  font-size: 15px;
  transform: rotate(-1.5deg);
  transition: transform 0.18s ease;
}
.dock > summary::-webkit-details-marker { display: none; }
.dock > summary:hover { transform: rotate(1.5deg); }
.burger { display: inline-flex; flex-direction: column; gap: 3px; }
.burger i { display: block; width: 16px; height: 2px; background: currentColor; }
.dock[open] > summary { background: var(--neon); color: var(--ink); }

.dock > menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;
  width: min(80vw, 310px);
  max-height: 72vh;
  overflow: auto;
  margin: 0;
  padding: 10px;
  list-style: none;
  display: grid;
  gap: 1px;
  background: #1d2d19;
  border: 2px solid var(--sun);
  box-shadow: 8px 8px 0 rgba(135, 255, 113, 0.24);
}
.dock > menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 16px;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  transition: transform 0.18s ease, color 0.18s ease;
}
.dock > menu li:last-child a { border-bottom: 0; }
.dock > menu a:hover { color: var(--neon); transform: translateX(4px); }
.ico { width: 14px; height: 14px; flex: 0 0 auto; fill: currentColor; color: var(--sun); }

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 15px;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--head);
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--neon);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cta:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 6px 6px 0 var(--neon); }

/* ---- hero ---- */
.hero-shell {
  position: relative;
  z-index: 1;
  padding: 20px 14px 4px;
}
.hero {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  min-height: 45vh;
}
.hero-media {
  position: relative;
  order: -1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink3);
  border: 2px dashed rgba(135, 255, 113, 0.5);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-blank {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(135, 255, 113, 0.2) 0 10px, transparent 10px 21px);
}
.tag-star {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--sun);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  transform: rotate(-8deg);
  border: 2px solid var(--ink);
}
.hero-copy { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--sun);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 8px;
  background: var(--neon);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hero h1 {
  font-size: clamp(30px, 7.4vw, 52px);
  line-height: 1.14;
  color: #ffffff;
  margin: 0 0 12px;
}
.hero h1 > span {
  padding: 0 2px;
  background: linear-gradient(180deg, transparent 62%, rgba(135, 255, 113, 0.55) 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lede { margin: 0; font-size: 16px; color: #cfe4c7; max-width: 36em; }

/* ---- content column ---- */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 14px 54px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.prose { min-width: 0; }
.prose div {
  position: relative;
  margin: 0 0 24px;
  padding: 22px 16px 6px;
  background: var(--ink2);
  border: 2px solid var(--line);
  border-left-width: 8px;
  box-shadow: 0 24px 40px -32px #000;
  scroll-margin-top: 88px;
}
.prose div::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--sun);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.prose div:nth-child(even) { border-left-color: var(--sun); }
.prose div:nth-child(even)::after { background: var(--neon); }

.prose h2 {
  display: flex;
  gap: 10px;
  font-size: clamp(21px, 3.4vw, 27px);
  color: var(--neon);
  margin: 0 0 16px;
}
.prose h2 > span { position: relative; display: inline-block; }
.prose h2 > span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 5px;
  background: var(--sun);
  opacity: 0.9;
  clip-path: polygon(0 60%, 12% 20%, 25% 70%, 38% 25%, 50% 75%, 63% 30%, 75% 72%, 88% 28%, 100% 62%, 100% 100%, 0 100%);
}
.prose h3 {
  font-size: 19px;
  color: var(--sun);
  margin: 1.2em 0 0.5em;
}
.prose p { color: #d9eed1; max-width: 68ch; }
.prose strong { color: #ffffff; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--neon); }
.prose a {
  color: var(--sun);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--neon); }
.prose blockquote {
  margin: 0 0 1.2em;
  padding: 12px 16px;
  border-left: 6px solid var(--neon);
  background: var(--ink3);
  color: #eafce4;
}
.prose figure { margin: 0 0 1.2em; }
.prose figcaption { font-size: 14px; color: #a9c4a1; margin-top: 6px; }
.prose img { width: 100%; border: 2px solid rgba(255, 206, 92, 0.4); }
.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 16px;
}
.prose th, .prose td {
  border: 1px dashed rgba(135, 255, 113, 0.3);
  padding: 8px 10px;
  text-align: left;
}

/* ---- aside ---- */
.toc {
  position: relative;
  z-index: 1;
  padding: 14px;
  background: rgba(31, 47, 27, 0.94);
  border: 2px solid var(--sun);
  box-shadow: 8px 8px 0 rgba(135, 255, 113, 0.2);
}
.toc-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--sun);
}
.toc-h::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--neon);
  transform: rotate(45deg);
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li + li { border-top: 1px dotted var(--line); }
.toc a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--paper);
  text-decoration: none;
  transition: transform 0.16s ease, color 0.16s ease;
}
.toc a::before {
  counter-increment: t;
  content: counter(t, decimal-leading-zero);
  font-family: var(--head);
  font-size: 12px;
  color: var(--neon);
  border: 1px solid rgba(135, 255, 113, 0.5);
  padding: 0 4px;
}
.toc a:hover { color: var(--neon); transform: translateX(3px); }

/* ---- footer ---- */
.foot {
  position: relative;
  z-index: 1;
  padding: 24px 14px 28px;
  background: #13200e;
  border-top: 3px solid var(--neon);
}
.foot-cols {
  max-width: 1160px;
  margin: 0 auto 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.foot-brand { font-family: var(--head); font-size: 20px; color: var(--neon); }
.foot-col { display: flex; flex-direction: column; }
.foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  color: var(--paper);
  text-decoration: none;
}
.foot-col a:hover { color: var(--sun); text-decoration: underline; }
.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 12px;
  font-size: 14px;
  color: #93ad8c;
  border-top: 1px dotted var(--line);
}
.foot-base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--sun);
  text-decoration: none;
}
.foot-base a:hover { color: var(--neon); }

/* ---- reveal ---- */
.rev {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.75, 0.3, 1);
}
.rev.in { opacity: 1; transform: none; }

/* ---- wide ---- */
@media (min-width: 760px) {
  .hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 30px; }
  .hero-copy { text-align: right; }
  .hero-copy .lede { margin-left: auto; }
  .hero .eyebrow { flex-direction: row-reverse; }
  .hero h1 { font-size: clamp(34px, 4.6vw, 50px); }
  .hero-media { min-height: 44vh; }
  .foot-cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .toc ol { columns: 1; }
}

@media (min-width: 1000px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr) 258px;
    gap: 34px;
    padding-top: 40px;
  }
  .toc { position: sticky; top: 88px; }
  .prose div { padding: 26px 24px 8px; }
}

@media (min-width: 1040px) {
  .dock {
    position: static;
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 0;
  }
  .dock > summary { display: none; }
  .dock > menu {
    position: static;
    display: flex;
    gap: 2px;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .dock > menu a {
    border-bottom: 0;
    font-size: 16px;
    padding: 8px 10px;
    transition: transform 0.18s ease, color 0.18s ease;
  }
  .dock > menu a:hover { transform: translateY(-2px) rotate(-1deg); }
}

@media (max-width: 420px) {
  .cta { padding: 8px 11px; font-size: 14px; }
  .brand { font-size: 17px; }
  .sh3, .sh4 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
</｜DSML｜ parameter>
</invoke>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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