:root {
  --ink: #0f1419;
  --paper: #eef2f6;
  --paper-2: #dde4eb;
  --mist: #f7f9fc;
  --cobalt: #2563eb;
  --lime: #c8f000;
  --teal: #0f766e;
  --muted: #5b6570;
  --line: rgba(15, 20, 25, 0.1);
  --radius: 2px;
  --font-display: "Syne", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow-soft: 0 20px 50px rgba(15, 20, 25, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  border: 0;
  cursor: pointer;
  background: none;
  color: inherit;
}

code {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.92em;
  background: rgba(15, 20, 25, 0.06);
  padding: 0.1em 0.35em;
}

.site-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
  color: #f4f7fa;
}

.site-nav-solid {
  position: sticky;
  top: 0;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 247, 250, 0.08);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  opacity: 0.94;
}

.nav-links a:hover,
.nav-shop:hover {
  color: var(--lime);
}

.nav-shop {
  opacity: 0.72;
  font-size: 0.84rem;
}

.hero {
  position: relative;
  min-height: clamp(360px, 58vh, 560px);
  display: grid;
  align-items: end;
  overflow: clip;
  color: #f4f7fa;
  background: var(--ink);
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 240, 0, 0.14), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(37, 99, 235, 0.28), transparent 38%),
    linear-gradient(155deg, #0a0e13 0%, #151c26 52%, #0f766e 160%);
  animation: heroDrift 20s ease-in-out infinite alternate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 247, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 250, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
}

.hero-visual.has-cover {
  background-image: var(--hero-cover);
  background-size: cover;
  background-position: center top;
  animation: none;
}

.hero-visual.has-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 8, 12, 0.92) 0%, rgba(6, 8, 12, 0.55) 42%, rgba(6, 8, 12, 0.78) 100%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.15) 0%, rgba(6, 8, 12, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 5rem clamp(1.25rem, 4vw, 3.5rem) 2rem;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
}

.hero-title {
  margin: 0 0 0.75rem;
  max-width: 12em;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-desc {
  margin: 0 0 1.25rem;
  max-width: 40em;
  color: rgba(244, 247, 250, 0.82);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.hero-desc strong {
  color: var(--lime);
  font-weight: 600;
}

.hero-meta {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: rgba(244, 247, 250, 0.65);
}

.status-pill {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(244, 247, 250, 0.22);
  font-size: 0.82rem;
}

.status-pill.ok {
  border-color: rgba(200, 240, 0, 0.45);
  color: var(--lime);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 2.2rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
}

.btn-ghost {
  border: 1.5px solid rgba(244, 247, 250, 0.45);
  color: #f4f7fa;
}

.btn-dark {
  background: var(--ink);
  color: #f4f7fa;
}

.btn-outline {
  border: 1.5px solid var(--ink);
}

.section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(2.2rem, 4.5vw, 3.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw + 0.5rem, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.intro-strip {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.intro-text {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 42em;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: start;
}

.intro-tags span {
  padding: 0.35rem 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
}

.works-section {
  background: #fff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.works-grid-page {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.work-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line);
  background: var(--mist);
  min-height: 100%;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.work-card-interactive {
  position: relative;
  cursor: pointer;
}

.work-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.work-card-interactive .work-card-cover,
.work-card-interactive .work-card-body,
.work-card-interactive .work-card-foot {
  pointer-events: none;
}

.work-card-interactive .work-card-actions {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.work-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.work-card-cta {
  font-weight: 700;
  font-size: 0.9rem;
}

.work-card-action-hint {
  pointer-events: none;
  flex: 1;
}

.work-card-interactive:hover,
.work-card:not(.work-card-interactive):hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.work-card-interactive:hover .work-card-cta {
  color: var(--cobalt);
}

.work-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}

.work-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-badge {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  padding: 0.2rem 0.5rem;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.work-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
}

.work-cat {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.work-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
}

.work-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.work-card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
}

.work-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.work-card-actions .btn {
  flex: 1;
}

.stack-section {
  background: var(--ink);
  color: #f4f7fa;
}

.stack-section .section-kicker {
  color: var(--lime);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.stack-item {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(244, 247, 250, 0.12);
  background: rgba(244, 247, 250, 0.03);
}

.stack-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.stack-item span {
  color: rgba(244, 247, 250, 0.65);
  font-size: 0.9rem;
}

.notes-section {
  background: var(--mist);
}

.notes-list {
  display: grid;
  gap: 0.65rem;
}

.note-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1.5px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.note-row:hover {
  border-color: var(--ink);
  transform: translateX(4px);
}

.note-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  border: 1px solid var(--line);
  padding: 0.15rem 0.45rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

.contact-copy {
  padding: 1.6rem;
  background: #fff;
  border: 1.5px solid var(--line);
}

.contact-copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.contact-copy p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.contact-copy .btn {
  margin-top: 0.75rem;
}

.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.2rem;
  background: var(--ink);
  color: #f4f7fa;
  text-align: center;
}

.contact-qr img {
  width: min(210px, 72%);
  background: #fff;
  padding: 0.5rem;
}

.fun-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.fun-box {
  padding: 1.1rem 1.15rem;
  border: 1.5px solid var(--line);
  background: #fff;
}

.fun-box h4 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
}

.fun-box p,
.fun-box pre {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.fun-box pre {
  font-family: "IBM Plex Mono", Consolas, monospace;
  white-space: pre-wrap;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3.5rem) 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer .site-icp {
  color: var(--muted);
  text-decoration: none;
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
}

.site-footer .site-icp:hover {
  color: var(--ink);
}

.works-hero {
  padding-top: 5rem;
  background: var(--ink);
  color: #f4f7fa;
}

.works-hero .section-kicker {
  color: var(--lime);
}

.page-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
}

.page-lead {
  margin: 0 0 1.5rem;
  max-width: 42em;
  color: rgba(244, 247, 250, 0.75);
}

.works-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-btn {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(244, 247, 250, 0.22);
  color: rgba(244, 247, 250, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.works-meta {
  margin: 0;
  color: rgba(244, 247, 250, 0.65);
}

.works-section-page {
  padding-top: 0;
}

.shop-bridge {
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.shop-bridge-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1.5px solid var(--line);
}

.shop-bridge-panel h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.shop-bridge-panel p {
  margin: 0;
  color: var(--muted);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1%, 1%, 0); }
}

@media (max-width: 900px) {
  .nav-links {
    gap: 0.65rem;
    font-size: 0.82rem;
  }

  .intro-grid,
  .works-grid,
  .stack-grid,
  .contact-panel,
  .fun-strip,
  .shop-bridge-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .note-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .work-card,
  .note-row,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Homepage: cinematic / grand ── */
.page-home {
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --gold: #e8c547;
  --glow-lime: rgba(200, 240, 0, 0.35);
  --glow-blue: rgba(37, 99, 235, 0.45);
}

.page-home .site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  padding: 1.25rem clamp(1.25rem, 4vw, 3.5rem);
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

.page-home .site-nav-scrolled {
  background: rgba(6, 8, 12, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244, 247, 250, 0.08);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.page-home .brand-mark {
  font-size: 1.08rem;
  letter-spacing: 0.12em;
}

.page-home .hero-cinematic {
  min-height: 0;
  align-items: stretch;
  background: #06080c;
}

.page-home .hero-cinematic::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  height: 48px;
  background: linear-gradient(180deg, transparent, #fff);
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1280px, 100%);
  min-height: clamp(300px, 38vh, 420px);
  margin: 0 auto;
  padding: 4.75rem clamp(1.25rem, 4vw, 3.5rem) 1.25rem;
}

.page-home .hero-visual {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(200, 240, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(37, 99, 235, 0.22), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(15, 118, 110, 0.18), transparent 55%),
    linear-gradient(165deg, #040608 0%, #0a1018 38%, #0f1419 72%, #0a1628 100%);
}

.page-home .hero-visual.has-cover {
  background: none;
  background-image: var(--hero-cover);
  background-size: cover;
  background-position: center top;
  animation: none;
}

.page-home .hero-aurora {
  position: absolute;
  inset: -20% -10%;
  background:
    conic-gradient(from 210deg at 30% 40%, transparent, rgba(37, 99, 235, 0.15), transparent 35%),
    conic-gradient(from 30deg at 70% 30%, transparent, rgba(200, 240, 0, 0.1), transparent 40%);
  filter: blur(40px);
  animation: auroraShift 18s ease-in-out infinite alternate;
  opacity: 0.9;
}

.page-home .hero-beam {
  position: absolute;
  width: 1px;
  height: 120%;
  top: -10%;
  background: linear-gradient(180deg, transparent, rgba(200, 240, 0, 0.35), transparent);
  transform: rotate(12deg);
  opacity: 0.35;
}

.page-home .hero-beam-a {
  left: 18%;
  animation: beamPulse 8s ease-in-out infinite;
}

.page-home .hero-beam-b {
  right: 22%;
  transform: rotate(-8deg);
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.4), transparent);
  animation: beamPulse 11s ease-in-out infinite reverse;
}

.page-home .hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.page-home .hero-visual::after {
  background-size: 56px 56px;
  opacity: 0.5;
}

.page-home .hero-content {
  width: 100%;
  max-width: none;
  padding: 0;
}

.page-home .hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(244, 247, 250, 0.55);
}

.page-home .kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--glow-lime);
  animation: dotPulse 2.4s ease-in-out infinite;
}

.page-home .hero-title {
  max-width: none;
  margin-bottom: 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-home .hero-title-line {
  display: inline;
}

.page-home .hero-title-line + .hero-title-line::before {
  content: " ";
}

.page-home .hero-title-accent {
  background: linear-gradient(120deg, #f4f7fa 0%, var(--lime) 45%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.page-home .hero-desc {
  margin: 0 0 1rem;
  max-width: 36em;
  color: rgba(244, 247, 250, 0.72);
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  line-height: 1.6;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.page-home .btn-glow {
  box-shadow: 0 0 0 1px rgba(200, 240, 0, 0.2), 0 8px 32px var(--glow-lime);
}

.page-home .btn-glow:hover {
  box-shadow: 0 0 0 1px rgba(200, 240, 0, 0.45), 0 12px 40px rgba(200, 240, 0, 0.45);
}

.page-home .btn-glass {
  background: rgba(244, 247, 250, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 247, 250, 0.22);
}

.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0;
  max-width: none;
  background: none;
  border: 0;
}

.page-home .hero-stat {
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  background: rgba(6, 8, 12, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 247, 250, 0.1);
}

.page-home .hero-stat strong {
  font-size: 1rem;
}

.page-home .hero-stat span:last-child {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(244, 247, 250, 0.55);
}

.page-home .hero-stat .status-pill {
  padding: 0.1rem 0.45rem;
  font-size: 0.72rem;
}

.page-home .manifesto-compact > .section {
  padding-top: clamp(1.5rem, 3vw, 2rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.page-home .manifesto-compact .manifesto-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.page-home .manifesto-compact .manifesto-index {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-home .manifesto-compact .manifesto-tags {
  padding-top: 1.5rem;
}

.page-home .manifesto-strip {
  position: relative;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .manifesto-strip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--lime), var(--cobalt));
}

.page-home .manifesto-grid {
  display: grid;
  grid-template-columns: auto 1.2fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.page-home .manifesto-index,
.page-home .section-index {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 20, 25, 0.06);
  user-select: none;
}

.page-home .manifesto-title {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-home .manifesto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-content: start;
  padding-top: 2.5rem;
}

.page-home .manifesto-tags span {
  padding: 0.45rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .manifesto-tags span:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 20, 25, 0.08);
}

.page-home .works-section-home {
  position: relative;
  z-index: 5;
  margin-top: -0.5rem;
  background: #fff;
  overflow: hidden;
}

.page-home .works-section-home > .section {
  padding-top: 0.75rem;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.page-home .section-head-compact {
  margin-bottom: 1rem;
}

.page-home .section-head-compact .section-title-grand {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.page-home .section-head-compact .section-index {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: -0.25rem;
}

.page-home .works-section-home::before {
  content: "WORKS";
  position: absolute;
  top: 1rem;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 11rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 20, 25, 0.025);
  pointer-events: none;
  user-select: none;
}

.page-home .section-head-grand {
  align-items: flex-end;
  margin-bottom: 2rem;
}

.page-home .section-title-grand {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 700;
}

.page-home .section-lead {
  margin: 0.65rem 0 0;
  max-width: 32em;
  color: var(--muted);
  font-size: 0.98rem;
}

.page-home .btn-outline-light {
  border-color: var(--ink);
  white-space: nowrap;
}

.page-home .works-grid-home {
  gap: 1.25rem;
}

.page-home .works-grid-home .work-card {
  border-radius: 0;
  border-width: 1px;
  background: #fff;
}

.page-home .works-grid-home .work-card:hover {
  box-shadow: 0 24px 60px rgba(15, 20, 25, 0.14);
}

.page-home .stack-section-home {
  position: relative;
  overflow: hidden;
}

.page-home .stack-section-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200, 240, 0, 0.06), transparent 40%);
  pointer-events: none;
}

.page-home .section-index-light {
  color: rgba(244, 247, 250, 0.08);
}

.page-home .stack-grid-home {
  gap: 1px;
  background: rgba(244, 247, 250, 0.08);
  border: 1px solid rgba(244, 247, 250, 0.08);
}

.page-home .stack-item-glow {
  position: relative;
  padding: 1.35rem 1.25rem;
  background: rgba(6, 8, 12, 0.65);
  transition: background 0.25s ease;
}

.page-home .stack-item-glow:hover {
  background: rgba(244, 247, 250, 0.06);
}

.page-home .stack-item-glow strong {
  font-size: 1.05rem;
}

.page-home .notes-section-home {
  background: linear-gradient(180deg, var(--mist) 0%, #fff 100%);
}

.page-home .notes-section-home .note-row {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}

.page-home .contact-section-home {
  background: var(--ink);
  color: #f4f7fa;
}

.page-home .contact-banner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1px;
  background: rgba(244, 247, 250, 0.1);
  border: 1px solid rgba(244, 247, 250, 0.12);
}

.page-home .contact-banner-copy {
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, rgba(6, 8, 12, 0.95) 0%, rgba(15, 30, 45, 0.92) 100%);
}

.page-home .section-kicker-light {
  color: var(--lime);
}

.page-home .contact-banner-title {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-home .contact-banner-copy p {
  margin: 0;
  max-width: 36em;
  color: rgba(244, 247, 250, 0.68);
  line-height: 1.7;
}

.page-home .contact-banner-copy .cta-row {
  margin-top: 1.75rem;
}

.page-home .contact-qr-premium {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(244, 247, 250, 0.04);
  border-left: none;
}

.page-home .contact-qr-premium img {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.page-home .fun-box-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.page-home .site-footer {
  background: #06080c;
  color: rgba(244, 247, 250, 0.55);
  border-top: 1px solid rgba(244, 247, 250, 0.08);
}

.page-home .site-footer a {
  color: rgba(244, 247, 250, 0.72);
}

.page-home .site-footer a:hover {
  color: var(--lime);
}

@keyframes auroraShift {
  from { transform: translate3d(-2%, 0, 0) rotate(0deg); }
  to { transform: translate3d(2%, 2%, 0) rotate(3deg); }
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.55; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 900px) {
  .page-home .hero-inner {
    min-height: auto;
    padding-bottom: 1rem;
  }

  .page-home .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-home .manifesto-grid,
  .page-home .contact-banner {
    grid-template-columns: 1fr;
  }

  .page-home .manifesto-tags {
    padding-top: 0;
  }

  .page-home .manifesto-index {
    font-size: 2.5rem;
  }
}
