:root {
  --c-space: #0B1F3A;
  --c-space-deep: #071426;
  --c-purple: #B026FF;
  --c-orange: #FF6B1A;
  --c-teal: #0A3B3A;
  --c-wine: #4A1020;
  --c-indigo: #2E1A47;
  --c-ivory: #F5F0E6;
  --c-gold: #D4AF37;
  --c-slate: #8A9BAE;
  --c-charcoal: #0A0F14;
  --font-display: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-accent: "Space Grotesk", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1240px;
  --radius-pill: 999px;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, .75, .3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--c-space-deep);
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.75;
  color: var(--c-ivory);
  background-color: #071426;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 82% 4%, rgba(176, 38, 255, .18), transparent 34%),
    radial-gradient(circle at 12% 82%, rgba(255, 107, 26, .09), transparent 30%),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  background-attachment: fixed;
}

main {
  display: block;
}

#main-content:focus {
  outline: none;
}

::selection {
  background: var(--c-purple);
  color: var(--c-ivory);
}

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

a {
  color: var(--c-ivory);
  text-decoration: none;
  border-radius: 6px;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ivory);
  text-wrap: balance;
}

p {
  color: var(--c-slate);
}

strong {
  color: var(--c-ivory);
}

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 107, 26, .15);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 2000;
  padding: 10px 18px;
  transform: translateY(-300%);
  background: var(--c-orange);
  color: #0A0F14;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .86rem;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(255, 107, 26, .4);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.page-frame {
  padding-block: clamp(48px, 8vw, 112px) clamp(72px, 10vw, 140px);
}

.section {
  position: relative;
  padding-block: clamp(64px, 10vw, 140px);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section--teal {
  background: linear-gradient(135deg, rgba(10, 59, 58, .92), rgba(11, 31, 58, .35));
}

.section--wine {
  background: linear-gradient(135deg, rgba(74, 16, 32, .95), rgba(11, 31, 58, .5));
}

.section--indigo {
  background: linear-gradient(135deg, rgba(46, 26, 71, .95), rgba(11, 31, 58, .45));
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(32px, 6vw, 64px);
}

.eyebrow {
  display: block;
  font-family: var(--font-accent);
  font-size: .76rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 18px;
}

.section-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--c-slate);
  max-width: 72ch;
  margin: 0;
}

.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--c-slate);
  line-height: 1.8;
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-purple);
  font-family: var(--font-accent);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.index-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--c-purple);
  box-shadow: 0 0 12px var(--c-purple);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.btn {
  --btn-bg: rgba(255, 255, 255, .06);
  --btn-border: rgba(255, 255, 255, .16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--c-ivory);
  font-family: var(--font-display);
  font-size: .9rem;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .32);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--c-purple), #7A00D0);
  --btn-border: transparent;
  color: #fff;
  box-shadow: 0 0 26px rgba(176, 38, 255, .36);
}

.btn--primary:hover {
  box-shadow: 0 0 38px rgba(176, 38, 255, .6);
}

.btn--orange {
  --btn-bg: linear-gradient(135deg, var(--c-orange), #D94A00);
  --btn-border: transparent;
  color: #fff;
  box-shadow: 0 0 26px rgba(255, 107, 26, .3);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-border: rgba(255, 255, 255, .3);
  color: var(--c-ivory);
}

.btn--ghost:hover {
  border-color: var(--c-orange);
  box-shadow: inset 0 0 0 1px var(--c-orange);
  color: var(--c-orange);
}

.btn--small {
  min-height: 36px;
  padding: 6px 16px;
  font-size: .78rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 32px;
  padding: 0;
  font-size: .86rem;
  color: var(--c-slate);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(255, 255, 255, .2);
}

.breadcrumbs a {
  color: var(--c-slate);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}

.breadcrumbs a:hover {
  color: var(--c-purple);
  border-color: var(--c-purple);
}

.breadcrumbs [aria-current="page"] {
  color: var(--c-ivory);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(176, 38, 255, .18);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, .22);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(176, 38, 255, .14), transparent 40%, rgba(255, 107, 26, .06));
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 38, 255, .55);
  background: linear-gradient(150deg, rgba(176, 38, 255, .12), rgba(255, 255, 255, .03));
  box-shadow: 0 24px 50px rgba(0, 0, 0, .34), 0 0 30px rgba(176, 38, 255, .14);
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-ivory);
  margin-bottom: 8px;
}

.card__text {
  color: var(--c-slate);
  font-size: .92rem;
  line-height: 1.7;
}

.card__meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dossier-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(46, 26, 71, .5), rgba(11, 31, 58, .35));
  border: 1px solid rgba(176, 38, 255, .28);
  border-left: 4px solid var(--c-purple);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.dossier-panel::after {
  content: "档案索引";
  position: absolute;
  right: 16px;
  top: 14px;
  font-family: var(--font-accent);
  font-size: .62rem;
  letter-spacing: .18em;
  color: rgba(176, 38, 255, .6);
  text-transform: uppercase;
}

.dossier-panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 4px 12px;
  font-family: var(--font-accent);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-slate);
  background: rgba(255, 255, 255, .04);
}

.tag-chip--purple {
  border-color: var(--c-purple);
  color: #fff;
  background: rgba(176, 38, 255, .18);
}

.tag-chip--orange {
  border-color: var(--c-orange);
  color: var(--c-orange);
  background: rgba(255, 107, 26, .12);
}

.tag-chip--gold {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(212, 175, 55, .08);
}

.callout {
  border-left: 3px solid var(--c-orange);
  background: rgba(255, 107, 26, .08);
  padding: 18px 22px;
  border-radius: 0 16px 16px 0;
  color: var(--c-ivory);
  font-size: .92rem;
}

.callout--purple {
  border-color: var(--c-purple);
  background: rgba(176, 38, 255, .08);
}

.callout--gold {
  border-color: var(--c-gold);
  background: rgba(212, 175, 55, .07);
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: clamp(28px, 6vw, 48px);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(var(--c-purple), var(--c-orange));
}

.timeline__item {
  position: relative;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .04);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 14px var(--c-orange);
  border: 2px solid var(--c-space-deep);
}

.timeline__date {
  display: block;
  font-family: var(--font-accent);
  color: var(--c-gold);
  font-size: .78rem;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  padding: 24px 24px 24px 66px;
  background: rgba(255, 255, 255, .04);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-purple), var(--c-orange));
  font-family: var(--font-accent);
  font-size: .8rem;
  color: #fff;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--c-slate);
  font-size: .9rem;
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-teal), var(--c-space) 55%, var(--c-indigo));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  overflow: hidden;
  min-height: 180px;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 120deg, transparent, rgba(176, 38, 255, .32), transparent, rgba(255, 107, 26, .22), transparent);
  opacity: .35;
  pointer-events: none;
  mix-blend-mode: screen;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 15%, rgba(255, 255, 255, .07) 25%, transparent 40%);
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame__caption {
  margin-top: 10px;
  color: var(--c-slate);
  font-size: .8rem;
  letter-spacing: .04em;
  text-align: right;
}

.viewport-frame {
  position: relative;
  border: 1px solid rgba(176, 38, 255, .44);
  border-radius: 40px;
  padding: clamp(28px, 6vw, 80px);
  background: linear-gradient(135deg, rgba(176, 38, 255, .12), rgba(255, 107, 26, .04) 45%, rgba(11, 31, 58, .25));
  overflow: hidden;
}

.viewport-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(212, 175, 55, .28);
  border-radius: 28px;
  pointer-events: none;
}

.viewport-frame > * {
  position: relative;
  z-index: 1;
}

.viewport-frame__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--c-orange);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.vf-tl {
  top: 14px;
  left: 14px;
  border-width: 2px 0 0 2px;
  border-radius: 8px 0 0 0;
}

.vf-tr {
  top: 14px;
  right: 14px;
  border-width: 2px 2px 0 0;
  border-radius: 0 8px 0 0;
}

.vf-bl {
  bottom: 14px;
  left: 14px;
  border-width: 0 0 2px 2px;
  border-radius: 0 0 0 8px;
}

.vf-br {
  bottom: 14px;
  right: 14px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 8px 0;
}

.slash-band {
  position: relative;
  background: var(--c-indigo);
  overflow: hidden;
  padding: 56px clamp(20px, 6vw, 72px);
}

.slash-band--teal {
  background: var(--c-teal);
}

.slash-band--wine {
  background: var(--c-wine);
}

.slash-band::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -10%;
  width: 50%;
  height: 120%;
  background: linear-gradient(135deg, rgba(176, 38, 255, .3), transparent 60%);
  transform: skewX(-10deg);
  pointer-events: none;
}

.slash-band > * {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: clamp(12px, 2vw, 22px) clamp(12px, 3vw, 32px) clamp(10px, 1.5vw, 16px);
}

.nav-float {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  max-width: var(--container);
  margin-inline: auto;
  background: linear-gradient(135deg, rgba(11, 31, 58, .92), rgba(46, 26, 71, .85));
  border: 1px solid rgba(176, 38, 255, .28);
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 10px;
  box-shadow: 0 18px 50px rgba(5, 8, 15, .45), 0 0 40px rgba(176, 38, 255, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  flex-shrink: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-purple), var(--c-orange));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .05em;
  color: #fff;
  box-shadow: 0 0 18px rgba(176, 38, 255, .5);
  position: relative;
  transition: box-shadow .25s var(--ease);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .4);
}

.brand:hover .brand__mark {
  box-shadow: 0 0 0 4px rgba(176, 38, 255, .25), 0 0 26px rgba(176, 38, 255, .65);
}

.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .04em;
  color: var(--c-ivory);
}

.brand__sub {
  font-family: var(--font-accent);
  font-size: .64rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-top: 2px;
  padding-left: 2px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--c-ivory);
  border: 1px solid transparent;
  transition: background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.nav__link:hover {
  background: rgba(176, 38, 255, .16);
  border-color: rgba(176, 38, 255, .35);
  box-shadow: 0 0 20px rgba(176, 38, 255, .18);
  transform: translateY(-1px);
}

.nav__link:active {
  transform: translateY(1px);
}

[aria-current="page"] {
  background: linear-gradient(135deg, var(--c-purple), rgba(176, 38, 255, .22));
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 0 24px rgba(176, 38, 255, .28);
  font-weight: 700;
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(11, 31, 58, .7);
  color: var(--c-ivory);
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: .82rem;
  transition: border-color .2s, box-shadow .2s;
}

.nav-toggle:hover {
  border-color: var(--c-purple);
  box-shadow: 0 0 18px rgba(176, 38, 255, .4);
}

.nav-toggle__lines {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s var(--ease), top .2s var(--ease);
}

.nav-toggle__lines::before {
  top: -5px;
}

.nav-toggle__lines::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-footer {
  position: relative;
  margin-top: clamp(80px, 12vw, 160px);
  border-top: 1px solid rgba(176, 38, 255, .22);
  background: linear-gradient(180deg, var(--c-space) 0%, #050C16 100%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-purple) 30%, var(--c-orange) 70%, transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 48px) 40px;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.brand--footer {
  margin-bottom: 14px;
}

.brand--footer .brand__mark {
  width: 42px;
  height: 42px;
}

.footer-statement {
  max-width: 38ch;
  color: var(--c-slate);
  font-size: .9rem;
  line-height: 1.7;
}

.footer-index,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, .24);
}

.footer-links {
  display: grid;
  gap: 4px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--c-slate);
  font-size: .92rem;
  transition: color .2s, transform .2s;
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-purple);
  opacity: .45;
  transition: opacity .2s, box-shadow .2s;
}

.footer-links a:hover {
  color: var(--c-ivory);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  opacity: 1;
  box-shadow: 0 0 12px var(--c-purple);
}

.footer-contact__list {
  display: grid;
  gap: 6px;
  color: var(--c-slate);
  font-size: .88rem;
}

.footer-contact__list li {
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .06);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px clamp(20px, 5vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--c-slate);
  font-size: .82rem;
}

.footer-meta a {
  color: var(--c-slate);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}

.footer-meta a:hover {
  color: var(--c-orange);
  border-color: var(--c-orange);
}

.footer-icp {
  opacity: .7;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-float {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 10px 12px;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    display: block;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    margin-left: 0;
    transition: max-height .35s var(--ease), opacity .25s var(--ease), margin .25s var(--ease);
  }

  .nav[data-open] {
    max-height: 85vh;
    opacity: 1;
    pointer-events: auto;
    margin-top: 8px;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__link {
    display: flex;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 16px;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .brand {
    gap: 8px;
    min-height: 40px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: .72rem;
  }

  .brand__title {
    font-size: .8rem;
    line-height: 1.2;
    max-width: 14ch;
  }

  .brand__sub {
    display: none;
  }

  .nav-float {
    border-radius: 24px;
  }

  .nav-toggle {
    padding: 6px 12px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-meta {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
