:root {
  --ink: #080b0d;
  --ink-soft: #11171a;
  --ink-raised: #171e21;
  --paper: #f2f3ee;
  --muted: #9ca7a7;
  --line: rgba(242, 243, 238, 0.14);
  --line-strong: rgba(242, 243, 238, 0.28);
  --signal: #66e3d2;
  --signal-soft: rgba(102, 227, 210, 0.12);
  --sun: #efb66f;
  --danger: #ff7c72;
  --header-height: 74px;
  --page-gutter: clamp(20px, 4vw, 64px);
  --content-max: 1440px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px;
  color: var(--paper);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-color: var(--line);
  background: rgba(8, 11, 13, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid rgba(102, 227, 210, 0.62);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1px;
  height: 18px;
  background: var(--signal);
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.brand-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.brand-mark span::before {
  height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.brand-mark span::after {
  height: 8px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 750;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.7vw, 42px);
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: rgba(242, 243, 238, 0.7);
  font-size: 13px;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right center;
  background: var(--signal);
  transition: transform 240ms var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--paper);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: var(--paper);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.icon-button:hover {
  border-color: var(--signal);
  background: var(--signal-soft);
  color: var(--signal);
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

.language-toggle {
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-menu-toggle::before {
  content: "";
  width: 15px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

.mobile-menu-toggle:has(svg)::before {
  display: none;
}

.site-main {
  min-height: 100vh;
}

.section {
  position: relative;
  padding: clamp(84px, 11vw, 156px) 0;
}

.section-inner {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 0 auto;
}

.section-border {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--signal);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

.display-title {
  max-width: 1000px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7.8vw, 110px);
  font-weight: 650;
}

.section-title {
  margin-bottom: 22px;
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 620;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(42px, 6vw, 80px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background-color: #11191c;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.94) 0%, rgba(8, 11, 13, 0.7) 42%, rgba(8, 11, 13, 0.2) 72%, rgba(8, 11, 13, 0.44) 100%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.55) 0%, transparent 40%, rgba(8, 11, 13, 0.9) 100%);
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.08) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(180deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.06) 50%, transparent calc(50% + 0.5px));
}

.hero-inner {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 0 auto;
  padding: calc(var(--header-height) + 72px) 0 clamp(54px, 8vw, 100px);
}

.hero-copy {
  max-width: 940px;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(66px, 12vw, 176px);
  font-weight: 680;
  text-wrap: balance;
}

.hero-tagline {
  max-width: 820px;
  margin-bottom: 34px;
  color: rgba(242, 243, 238, 0.82);
  font-size: clamp(20px, 3vw, 40px);
  line-height: 1.25;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  color: rgba(242, 243, 238, 0.65);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--signal);
  transform: rotate(45deg);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  color: rgba(242, 243, 238, 0.68);
  font-size: 12px;
}

.scroll-line {
  position: relative;
  display: block;
  width: 58px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--signal);
  transform: translateX(-100%);
  animation: scan 2.4s infinite var(--ease);
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  45%,
  55% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.declaration-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(48px, 8vw, 132px);
}

.declaration-mark {
  color: var(--signal);
  font-family: Georgia, serif;
  font-size: 92px;
  line-height: 0.7;
}

.declaration-quote {
  max-width: 920px;
  margin-bottom: 46px;
  font-family: "STKaiti", "KaiTi", Georgia, serif;
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.38;
  text-wrap: balance;
}

.declaration-body {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
}

.signal-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-item {
  min-height: 110px;
  padding: 24px 20px;
  display: grid;
  align-content: center;
  gap: 8px;
  border-right: 1px solid var(--line);
}

.signal-item:last-child {
  border-right: 0;
}

.signal-item strong {
  color: var(--signal);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 600;
}

.signal-item span {
  color: var(--muted);
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
  font-size: 13px;
  transition:
    gap 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.text-link:hover {
  gap: 15px;
  border-color: var(--signal);
  color: var(--signal);
}

.text-link svg {
  width: 15px;
  height: 15px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.work-tile {
  position: relative;
  grid-column: span 6;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111719;
  cursor: zoom-in;
}

.work-tile {
  width: 100%;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
  text-align: left;
}

.work-tile img,
.work-tile > div {
  position: absolute;
  inset: 0;
}

.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.work-tile:nth-child(4n + 1) {
  grid-column: span 7;
}

.work-tile:nth-child(4n + 2) {
  grid-column: span 5;
}

.work-tile:nth-child(4n + 3) {
  grid-column: span 5;
}

.work-tile:nth-child(4n + 4) {
  grid-column: span 7;
}

.work-tile img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(5, 8, 9, 0.92) 100%);
  pointer-events: none;
}

.work-tile:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.work-tile-meta {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(22px, 3vw, 38px);
}

.work-tile-media-badge {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(102, 227, 210, 0.48);
  border-radius: 999px;
  background: rgba(8, 11, 13, 0.76);
  color: var(--signal);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.work-tile-media-badge svg {
  width: 12px;
  height: 12px;
}

.work-tile-meta small {
  display: block;
  margin-bottom: 10px;
  color: var(--signal);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-tile-meta h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
}

.work-tile-meta p {
  margin: 0;
  color: rgba(242, 243, 238, 0.64);
  font-size: 12px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.member-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink-soft);
}

.member-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111719;
}

.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 11, 13, 0.72) 100%);
}

.member-photo img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 650ms var(--ease), filter 650ms var(--ease);
}

.member-card:hover .member-photo img {
  transform: scale(1.025);
  filter: saturate(1);
}

.member-copy {
  padding: 24px 22px 28px;
}

.member-role {
  margin-bottom: 13px;
  color: var(--signal);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.member-copy h3 {
  margin-bottom: 13px;
  font-size: clamp(24px, 2.5vw, 34px);
}

.member-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(102, 227, 210, 0.1), transparent 44%),
    linear-gradient(300deg, rgba(239, 182, 111, 0.08), transparent 38%),
    var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}

.contact-copy {
  max-width: 790px;
}

.contact-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.5vw, 88px);
}

.contact-copy p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.solid-button,
.ghost-button,
.danger-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  font-size: 13px;
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.solid-button {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
  font-weight: 750;
}

.ghost-button:hover,
.solid-button:hover {
  transform: translateY(-2px);
}

.ghost-button:hover {
  border-color: var(--signal);
  background: var(--signal-soft);
  color: var(--signal);
}

.solid-button:hover {
  background: #8beade;
}

.ghost-button svg,
.solid-button svg,
.danger-button svg {
  width: 16px;
  height: 16px;
}

.danger-button {
  border-color: rgba(255, 124, 114, 0.45);
  color: var(--danger);
}

.danger-button:hover {
  background: rgba(255, 124, 114, 0.09);
}

.page-hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(100px, 12vw, 180px)) 0 clamp(72px, 8vw, 110px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(102, 227, 210, 0.09), transparent 34%),
    linear-gradient(300deg, rgba(239, 182, 111, 0.045), transparent 44%),
    var(--ink-soft);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -18vw;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgba(102, 227, 210, 0.08);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: rgba(102, 227, 210, 0.55);
  background: var(--signal-soft);
  color: var(--signal);
}

.manifesto-hero {
  min-height: 76svh;
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0.05), var(--ink) 100%),
    linear-gradient(115deg, rgba(102, 227, 210, 0.09), transparent 38%),
    #101619;
}

.manifesto-hero-inner {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 0 auto;
  padding: calc(var(--header-height) + 110px) 0 clamp(72px, 10vw, 140px);
}

.manifesto-lead {
  max-width: 1120px;
  margin-bottom: 0;
  font-family: "STKaiti", "KaiTi", Georgia, serif;
  font-size: clamp(42px, 7.8vw, 112px);
  line-height: 1.26;
  text-wrap: balance;
}

.manifesto-list {
  counter-reset: manifesto;
  display: grid;
  gap: 0;
}

.manifesto-item {
  counter-increment: manifesto;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(22px, 5vw, 86px);
  padding: clamp(42px, 6vw, 82px) 0;
  border-bottom: 1px solid var(--line);
}

.manifesto-item::before {
  content: "0" counter(manifesto);
  color: var(--signal);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 14px;
}

.manifesto-item p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(25px, 3.6vw, 48px);
  line-height: 1.45;
}

.manifesto-closing {
  padding-top: clamp(70px, 10vw, 150px);
  text-align: center;
}

.manifesto-closing strong {
  display: block;
  color: var(--paper);
  font-family: "STKaiti", "KaiTi", Georgia, serif;
  font-size: clamp(36px, 6vw, 82px);
  font-weight: 400;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #060809;
}

.footer-inner {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 0 auto;
  padding: 48px 0 36px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 38px;
  padding-bottom: 38px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  display: block;
  font-size: 17px;
}

.footer-brand small {
  color: var(--muted);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 28px;
  color: var(--muted);
  font-size: 12px;
}

.footer-nav a:hover {
  color: var(--signal);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: rgba(156, 167, 167, 0.68);
  font-size: 11px;
}

.lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  padding: clamp(18px, 4vw, 64px);
  place-items: center;
  background: rgba(3, 5, 6, 0.96);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(1400px, 100%);
  margin: 0;
  text-align: center;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 78svh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox video {
  width: min(1280px, 100%);
  max-height: 78svh;
  margin: 0 auto;
  background: #000;
}

.lightbox figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.lightbox figcaption p {
  max-width: 720px;
  margin: 10px auto 0;
  color: rgba(242, 243, 238, 0.76);
  line-height: 1.75;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms var(--ease),
    transform 680ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Admin console */
.admin-body {
  min-height: 100vh;
  background-size: 48px 48px;
}

.admin-topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 72px;
  padding: 12px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 13, 0.9);
  backdrop-filter: blur(18px);
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cloud-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.cloud-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 3px rgba(239, 182, 111, 0.1);
}

.cloud-status.is-online::before {
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(102, 227, 210, 0.1);
}

.admin-main {
  width: min(1500px, calc(100% - var(--page-gutter) * 2));
  margin: 0 auto;
  padding: 42px 0 90px;
}

.admin-loading,
.auth-shell {
  min-height: calc(100svh - 160px);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.loader {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-top-color: var(--signal);
  border-radius: 50%;
  animation: rotate 900ms linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.auth-panel {
  width: min(460px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-soft);
  text-align: left;
}

.auth-panel h1 {
  margin-bottom: 12px;
  font-size: 36px;
}

.auth-panel > p {
  color: var(--muted);
}

.form-stack,
.form-grid {
  display: grid;
  gap: 18px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.span-2 {
  grid-column: span 2;
}

.field label {
  color: rgba(242, 243, 238, 0.8);
  font-size: 12px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: none;
  background: #0c1113;
  color: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(102, 227, 210, 0.72);
  box-shadow: 0 0 0 3px rgba(102, 227, 210, 0.08);
}

.field small {
  color: var(--muted);
  font-size: 11px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.admin-sidebar {
  position: sticky;
  top: 102px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 26, 0.72);
}

.admin-nav {
  display: grid;
  gap: 5px;
}

.admin-nav button {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: color 180ms ease, background-color 180ms ease;
}

.admin-nav button:hover,
.admin-nav button[aria-current="true"] {
  background: var(--signal-soft);
  color: var(--signal);
}

.admin-nav svg {
  width: 16px;
  height: 16px;
}

.admin-content {
  min-width: 0;
}

.admin-section {
  display: none;
}

.admin-section.is-active {
  display: block;
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-section-head h1 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 48px);
}

.admin-section-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 26, 0.8);
}

.panel + .panel {
  margin-top: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.panel-head h2,
.panel-head h3 {
  margin: 0;
}

.panel-head h2 {
  font-size: 24px;
}

.panel-head h3 {
  font-size: 18px;
}

.repeater {
  display: grid;
  gap: 14px;
}

.repeater-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 11, 13, 0.48);
}

.repeater-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.repeater-item-head strong {
  color: var(--signal);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-control {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.image-preview {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0b1012;
}

.image-preview img {
  height: 100%;
  object-fit: cover;
}

.video-preview {
  display: grid;
  place-items: center;
}

.video-ready {
  display: grid;
  gap: 7px;
  justify-items: center;
  color: var(--signal);
}

.video-ready svg {
  width: 28px;
  height: 28px;
}

.video-ready small {
  color: var(--muted);
  font-size: 10px;
}

.file-drop {
  display: grid;
  min-height: 130px;
  place-content: center;
  justify-items: center;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  color: var(--muted);
  text-align: center;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.file-drop:hover,
.file-drop.is-dragging {
  border-color: var(--signal);
  background: var(--signal-soft);
  color: var(--signal);
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-drop svg {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
}

.upload-progress {
  height: 2px;
  margin-top: 12px;
  overflow: hidden;
  background: var(--line);
}

.upload-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--signal);
  transition: width 180ms ease;
}

.sticky-actions {
  position: sticky;
  z-index: 20;
  bottom: 18px;
  margin-top: 20px;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 11, 13, 0.9);
  backdrop-filter: blur(16px);
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.save-state {
  color: var(--muted);
  font-size: 12px;
}

.save-state.is-dirty {
  color: var(--sun);
}

.save-state.is-saved {
  color: var(--signal);
}

.notice {
  padding: 15px 17px;
  border: 1px solid rgba(239, 182, 111, 0.32);
  border-radius: 5px;
  background: rgba(239, 182, 111, 0.06);
  color: #e8c99e;
  font-size: 13px;
}

.notice code {
  color: var(--paper);
}

.toast-region {
  position: fixed;
  z-index: 2000;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 240px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--signal);
  border-radius: 3px;
  background: rgba(12, 17, 19, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
  color: var(--paper);
  font-size: 13px;
  animation: toast-in 260ms var(--ease);
}

.toast.is-error {
  border-left-color: var(--danger);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100svh - var(--header-height));
    padding: 26px var(--page-gutter) 36px;
    display: grid;
    gap: 0;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 11, 13, 0.97);
    transform: translateY(-120%);
    visibility: hidden;
    transition:
      transform 340ms var(--ease),
      visibility 340ms;
  }

  .main-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-link {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-grid;
  }

  .split-heading,
  .declaration-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .member-grid {
    gap: 18px;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

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

  .admin-nav button {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .hero-inner {
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(52px, 18vw, 84px);
  }

  .hero-tagline {
    font-size: 20px;
  }

  .signal-data {
    grid-template-columns: 1fr;
  }

  .signal-item {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

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

  .work-tile,
  .work-tile:nth-child(n) {
    grid-column: auto;
    min-height: 430px;
  }

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

  .member-photo {
    aspect-ratio: 5 / 6;
  }

  .manifesto-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-main,
  .footer-meta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .admin-topbar {
    align-items: flex-start;
  }

  .admin-topbar .brand-copy small,
  .cloud-status {
    display: none;
  }

  .admin-topbar-actions .ghost-button {
    min-height: 40px;
    padding: 8px 11px;
  }

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

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

  .field.span-2 {
    grid-column: auto;
  }

  .image-control {
    grid-template-columns: 1fr;
  }

  .image-preview {
    width: min(220px, 100%);
  }

  .sticky-actions {
    position: static;
  }

  .toast-region {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .toast {
    min-width: 0;
  }
}

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

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