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

:root[data-theme="light"] {
  --bg: #f4efe5;
  --bg-soft: #e9e2d5;
  --surface: #fffdf8;
  --surface-quiet: #eee8dc;
  --ink: #211f1a;
  --ink-soft: #666159;
  --ink-faint: #969087;
  --line: rgba(104, 84, 54, 0.18);
  --line-strong: rgba(130, 97, 50, 0.42);
  --gold: #9a7541;
  --gold-bright: #bf9a61;
  --signal: #1f514b;
  --signal-soft: #dbe7e2;
  --danger: #944b43;
  --nav: rgba(244, 239, 229, 0.88);
  --shadow: rgba(41, 34, 23, 0.12);
  --hero-overlay: rgba(20, 29, 25, 0.82);
  --hero-copy: #f2ede3;
}

:root[data-theme="dark"] {
  --bg: #10110f;
  --bg-soft: #171915;
  --surface: #1b1d19;
  --surface-quiet: #22251f;
  --ink: #ece8dd;
  --ink-soft: #aaa69b;
  --ink-faint: #716e67;
  --line: rgba(208, 179, 124, 0.16);
  --line-strong: rgba(213, 181, 119, 0.44);
  --gold: #c5a46c;
  --gold-bright: #dfc38d;
  --signal: #75a49c;
  --signal-soft: #17332f;
  --danger: #dd958d;
  --nav: rgba(16, 17, 15, 0.88);
  --shadow: rgba(0, 0, 0, 0.36);
  --hero-overlay: rgba(9, 13, 11, 0.78);
  --hero-copy: #f2ede3;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: 'Manrope', 'Noto Sans SC', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  transition: color 0.35s ease, background-color 0.35s ease;
}

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

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

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

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

.serif {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 12000;
  padding: 8px 14px;
  color: var(--surface);
  background: var(--ink);
  text-decoration: none;
  transform: translate(-50%, -180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 11000;
  width: 0;
  height: 2px;
  background: var(--gold-bright);
}

.content-shell,
.nav-shell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: var(--nav);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header[data-scrolled="true"] {
  box-shadow: 0 10px 35px -24px var(--shadow);
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  min-height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.brand span {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  list-style: none;
}

.desktop-nav a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.submit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  font-size: 0.76rem;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.submit-link:hover {
  border-color: var(--ink);
  color: var(--surface);
  background: var(--ink);
}

.theme-toggle,
.mobile-menu summary {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover,
.mobile-menu summary:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.theme-toggle svg,
.mobile-menu summary svg {
  width: 17px;
  height: 17px;
}

.theme-toggle svg {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

[data-theme="light"] .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .icon-moon {
  opacity: 0;
  transform: rotate(80deg) scale(0.5);
}

[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(-80deg) scale(0.5);
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.mobile-menu {
  position: relative;
  display: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu ul {
  position: absolute;
  top: calc(100% + 12px);
  right: -48px;
  width: min(280px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 60px -24px var(--shadow);
  list-style: none;
}

.mobile-menu a {
  display: block;
  padding: 12px 14px;
  color: var(--ink-soft);
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 1.25rem;
  text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  color: var(--gold);
  background: var(--surface-quiet);
}

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

.echo-hero {
  position: relative;
  display: flex;
  min-height: min(760px, 78svh);
  align-items: flex-end;
  overflow: hidden;
  color: var(--hero-copy);
  background: #18231f;
}

.echo-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 34%;
  border-left: 1px solid rgba(223, 195, 141, 0.12);
  background: rgba(255, 255, 255, 0.018);
  content: '';
}

.echo-hero::after {
  position: absolute;
  top: 142px;
  right: calc(34% - 1px);
  width: 1px;
  height: 94px;
  background: var(--gold-bright);
  content: '';
  opacity: 0.72;
  transform-origin: top;
  animation: signalDraw 0.9s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.echo-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto 86px;
  padding-right: min(48%, 560px);
  animation: contentReveal 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow,
.section-kicker {
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.echo-hero h1 {
  margin-top: 16px;
  font-size: 8rem;
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0;
}

.echo-hero-cn {
  margin-top: 34px;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}

.echo-hero-copy {
  max-width: 580px;
  margin-top: 16px;
  color: rgba(242, 237, 227, 0.72);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.9rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

.button-primary {
  border-color: var(--gold-bright);
  color: #17150f;
  background: var(--gold-bright);
}

.button-primary:hover {
  border-color: #f2d9a5;
  background: #f2d9a5;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--hero-copy);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--hero-copy);
  background: rgba(255, 255, 255, 0.08);
}

.hero-index {
  position: absolute;
  right: 32px;
  bottom: 24px;
  left: 32px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: rgba(242, 237, 227, 0.42);
  font-family: 'Manrope', sans-serif;
  font-size: 0.61rem;
  letter-spacing: 0;
}

.works-section {
  padding: 104px 0 120px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

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

.section-heading h2,
.editorial-copy h2,
.closing-call h2,
.submit-intro h1,
.submission-aside h2,
.submission-success h2 {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: 3.6rem;
  line-height: 1;
}

.section-note {
  padding-bottom: 8px;
  color: var(--ink-faint);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.75rem;
}

.section-note span {
  color: var(--signal);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}

.works-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.type-filter {
  display: inline-flex;
  border: 1px solid var(--line);
}

.type-filter button {
  min-height: 34px;
  padding: 6px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.68rem;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.type-filter button:last-child {
  border-right: 0;
}

.type-filter button:hover {
  color: var(--ink);
  background: var(--surface-quiet);
}

.type-filter button[aria-pressed="true"] {
  color: var(--surface);
  background: var(--ink);
}

.search-field {
  display: grid;
  width: min(420px, 100%);
  gap: 8px;
}

.search-field span {
  color: var(--ink-faint);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.7rem;
}

.search-field input {
  width: 100%;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.95rem;
}

.search-field input::placeholder {
  color: var(--ink-faint);
}

.search-field input:disabled {
  opacity: 0.5;
}

.text-link {
  flex: 0 0 auto;
  padding: 6px 0;
  color: var(--gold);
  font-size: 0.78rem;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.loading-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.echo-card {
  position: relative;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  padding: 26px 26px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.echo-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--signal);
  content: '';
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.echo-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 55px -36px var(--shadow);
  transform: translateY(-4px);
}

.echo-card:hover::before {
  transform: scaleX(1);
}

.echo-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-faint);
  font-size: 0.65rem;
}

.echo-card-meta span:last-child {
  color: var(--signal);
}

.echo-card h3 {
  margin-top: 42px;
  color: var(--ink);
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.echo-card p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.82rem;
  line-height: 1.85;
}

.echo-card-qr-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: end;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
}

.echo-card-qr {
  width: 104px;
  height: 104px;
  padding: 5px;
  border: 1px solid var(--line);
  background: #ffffff;
  object-fit: contain;
}

.echo-card-scan {
  padding-bottom: 3px;
}

.echo-card-scan strong,
.echo-card-scan span {
  display: block;
  font-family: 'Noto Sans SC', sans-serif;
}

.echo-card-scan strong {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 500;
}

.echo-card-scan span {
  margin-top: 6px;
  color: var(--ink-faint);
  font-size: 0.64rem;
  line-height: 1.6;
}

.echo-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--gold);
  font-size: 0.72rem;
  text-decoration: none;
}

.echo-card-link span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.echo-card-link span:last-child {
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.echo-card-link:hover span:last-child {
  transform: translate(3px, -3px);
}

.empty-state {
  max-width: 680px;
  margin: 46px auto 0;
  padding: 72px 32px;
  text-align: center;
}

.empty-signal,
.aside-signal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-signal {
  height: 78px;
  gap: 9px;
}

.empty-signal span,
.aside-signal span {
  display: block;
  width: 1px;
  background: var(--gold);
  transform-origin: center;
  animation: signalPulse 2.2s ease-in-out infinite;
}

.empty-signal span:nth-child(1) { height: 18px; }
.empty-signal span:nth-child(2) { height: 44px; animation-delay: 0.12s; }
.empty-signal span:nth-child(3) { height: 70px; animation-delay: 0.24s; }
.empty-signal span:nth-child(4) { height: 30px; animation-delay: 0.36s; }

.empty-index {
  margin-top: 14px;
  color: var(--signal);
  font-size: 0.65rem;
}

.empty-state h3 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 2.7rem;
  font-weight: 500;
}

.empty-state p:not(.empty-index) {
  max-width: 470px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.86rem;
  line-height: 1.9;
}

.empty-state .button {
  margin-top: 28px;
}

.editorial-band {
  padding: 120px 0;
  color: #e9e4d9;
  background: #17211d;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: 78px;
}

.editorial-image-wrap {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(214, 184, 129, 0.28);
}

.editorial-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  filter: sepia(0.16) saturate(0.7) brightness(0.74) contrast(1.12);
}

.image-caption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  padding: 6px 9px;
  color: rgba(242, 237, 227, 0.72);
  background: rgba(12, 18, 15, 0.82);
  font-size: 0.61rem;
}

.editorial-copy h2 {
  margin-top: 16px;
  color: #f1ecdf;
  font-size: 3rem;
  line-height: 1.16;
}

.editorial-copy > p:not(.section-kicker) {
  margin-top: 28px;
  color: rgba(233, 228, 217, 0.66);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.86rem;
  line-height: 1.95;
}

.editorial-marks {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid rgba(214, 184, 129, 0.22);
}

.editorial-marks div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(214, 184, 129, 0.14);
}

.editorial-marks dt {
  color: var(--gold-bright);
  font-size: 0.65rem;
}

.editorial-marks dd {
  color: rgba(233, 228, 217, 0.82);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.78rem;
}

.closing-call {
  padding: 124px 0;
  border-bottom: 1px solid var(--line);
}

.closing-call-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}

.closing-call .section-kicker {
  grid-column: 1 / -1;
}

.closing-call h2 {
  font-size: 4rem;
  line-height: 1;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 76px 0 24px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.5fr;
  gap: 56px;
}

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

.footer-grid > div:first-child > p {
  color: var(--ink-faint);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.74rem;
  line-height: 1.9;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 500;
}

.footer-links a {
  width: max-content;
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.62rem;
}

.footer-bottom a {
  text-decoration: none;
}

/* Submission */
.submit-page {
  background: var(--bg);
}

.submit-intro {
  padding: 160px 0 72px;
  border-bottom: 1px solid var(--line);
}

.submit-intro-inner {
  position: relative;
}

.submit-intro h1 {
  margin-top: 14px;
  font-size: 5.5rem;
  line-height: 0.95;
}

.submit-intro p:last-child {
  margin-top: 22px;
  color: var(--ink-soft);
  font-family: 'Noto Serif SC', serif;
  font-size: 1.05rem;
}

.submission-section {
  padding: 88px 0 120px;
}

.submission-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
  align-items: start;
  gap: 86px;
}

.submission-form {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 30px 70px -58px var(--shadow);
}

.form-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.form-number {
  grid-row: 1 / 3;
  padding-top: 4px;
  color: var(--signal);
  font-size: 0.65rem;
}

.form-heading h2 {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.form-heading p {
  margin-top: 7px;
  color: var(--ink-faint);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.72rem;
}

.field-row {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.field-row label {
  color: var(--ink);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
}

.field-row > input:not([type="file"]):not([type="radio"]),
.field-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field-row > input:not([type="file"]):not([type="radio"]) {
  height: 48px;
}

.field-row textarea {
  min-height: 110px;
  padding: 12px 0;
  line-height: 1.75;
  resize: vertical;
}

.field-row > input:not([type="file"]):not([type="radio"]):focus,
.field-row textarea:focus {
  border-color: var(--gold);
}

.field-row > input:not([type="file"]):not([type="radio"])[aria-invalid="true"],
.field-row textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-row > input:not([type="file"]):not([type="radio"])::placeholder,
.field-row textarea::placeholder {
  color: var(--ink-faint);
}

.field-hint {
  color: var(--ink-faint);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.66rem;
}

.field-counter {
  justify-self: end;
}

.type-field {
  border: 0;
}

.type-field legend,
.field-label {
  color: var(--ink);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
}

.segmented-input {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
}

.segmented-input label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.segmented-input label + label {
  border-left: 1px solid var(--line-strong);
}

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

.segmented-input span {
  display: grid;
  min-height: 46px;
  place-items: center;
  color: var(--ink-soft);
  background: transparent;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.76rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.segmented-input input:checked + span {
  color: var(--surface);
  background: var(--ink);
}

.segmented-input input:focus-visible + span {
  outline: 2px solid var(--gold-bright);
  outline-offset: -3px;
}

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

.qr-upload-control {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: transparent;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.76rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.qr-upload-control:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--surface-quiet);
}

.qr-file-input:focus-visible + .qr-upload-control {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.qr-file-input[aria-invalid="true"] + .qr-upload-control {
  border-color: var(--danger);
}

.qr-preview {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface-quiet);
}

.qr-preview img {
  width: 72px;
  height: 72px;
  padding: 3px;
  background: #ffffff;
  object-fit: contain;
}

.qr-preview span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 11px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.7rem;
  cursor: pointer;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--signal);
}

.form-submit {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--surface);
  background: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.form-submit:hover:not(:disabled) {
  color: #17150f;
  background: var(--gold-bright);
  transform: translateY(-2px);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.72rem;
}

.form-status[data-tone="error"] {
  color: var(--danger);
}

.form-status[data-tone="success"] {
  color: var(--signal);
}

.submission-aside {
  position: sticky;
  top: 108px;
  padding-top: 12px;
}

.aside-signal {
  justify-content: flex-start;
  height: 92px;
  gap: 8px;
  margin-bottom: 34px;
}

.aside-signal span:nth-child(1) { height: 18px; }
.aside-signal span:nth-child(2) { height: 34px; animation-delay: 0.1s; }
.aside-signal span:nth-child(3) { height: 68px; animation-delay: 0.2s; }
.aside-signal span:nth-child(4) { height: 44px; animation-delay: 0.3s; }
.aside-signal span:nth-child(5) { height: 24px; animation-delay: 0.4s; }

.submission-aside h2 {
  margin-top: 16px;
  font-size: 3rem;
  line-height: 1.12;
}

.submission-standards {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid var(--line-strong);
}

.submission-standards div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.submission-standards dt {
  color: var(--signal);
  font-size: 0.65rem;
}

.submission-standards dd {
  color: var(--ink-soft);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.76rem;
}

.aside-note {
  margin-top: 28px;
  color: var(--ink-faint);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.7rem;
  line-height: 1.8;
}

.submission-success {
  padding: 126px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--signal-soft);
}

.submission-success h2 {
  margin-top: 14px;
  font-size: 3.5rem;
}

.submission-success p:not(.section-kicker) {
  margin-top: 18px;
  color: var(--ink-soft);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.82rem;
}

.submission-success .button {
  margin-top: 28px;
}

.submit-footer {
  padding-top: 18px;
}

.submit-footer .footer-bottom {
  margin-top: 0;
}

@keyframes signalDraw {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 0.72; transform: scaleY(1); }
}

@keyframes contentReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.34; transform: scaleY(0.72); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 980px) {
  .content-shell,
  .nav-shell,
  .echo-hero-content {
    width: min(100% - 40px, 900px);
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .echo-hero-content {
    padding-right: 32%;
  }

  .echo-hero h1 {
    font-size: 6rem;
  }

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

  .editorial-layout,
  .submission-layout {
    gap: 48px;
  }

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

  .submission-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

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

@media (max-width: 740px) {
  .content-shell,
  .nav-shell,
  .echo-hero-content {
    width: calc(100% - 32px);
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand span {
    font-size: 1.3rem;
  }

  .submit-link {
    display: none;
  }

  .mobile-menu ul {
    right: -48px;
  }

  .echo-hero {
    min-height: 700px;
  }

  .echo-hero::before {
    width: 24%;
  }

  .echo-hero::after {
    top: 112px;
    right: calc(24% - 1px);
    height: 62px;
  }

  .echo-hero-content {
    margin-bottom: 82px;
    padding-right: 0;
  }

  .echo-hero h1 {
    font-size: 5rem;
  }

  .echo-hero-cn {
    margin-top: 26px;
    font-size: 1.28rem;
  }

  .echo-hero-copy {
    max-width: 460px;
    font-size: 0.82rem;
  }

  .hero-index {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .works-section,
  .editorial-band,
  .closing-call {
    padding-top: 82px;
    padding-bottom: 86px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .section-heading h2 {
    font-size: 3rem;
  }

  .section-note {
    padding-bottom: 0;
  }

  .works-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .toolbar-actions {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
  }

  .search-field {
    width: 100%;
  }

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

  .echo-card {
    min-height: 350px;
  }

  .empty-state {
    padding-inline: 0;
  }

  .empty-state h3 {
    font-size: 2.3rem;
  }

  .editorial-layout,
  .submission-layout {
    grid-template-columns: 1fr;
  }

  .editorial-image-wrap,
  .editorial-image-wrap img {
    min-height: 330px;
  }

  .editorial-copy h2,
  .submission-aside h2 {
    font-size: 2.45rem;
  }

  .closing-call-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .closing-call h2 {
    font-size: 3rem;
  }

  .closing-call .button {
    width: max-content;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 28px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .submit-intro {
    padding-top: 132px;
    padding-bottom: 58px;
  }

  .submit-intro h1 {
    font-size: 4rem;
  }

  .submission-section {
    padding-top: 56px;
    padding-bottom: 84px;
  }

  .submission-form {
    padding: 30px 22px;
  }

  .submission-aside {
    position: static;
    padding-top: 20px;
  }

  .aside-signal {
    height: 72px;
    margin-bottom: 26px;
  }

  .submission-success h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 420px) {
  .nav-actions {
    gap: 7px;
  }

  .theme-toggle,
  .mobile-menu summary {
    width: 36px;
    height: 36px;
  }

  .echo-hero {
    min-height: 680px;
  }

  .echo-hero h1 {
    font-size: 4.4rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-index span:last-child {
    display: none;
  }

  .toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .type-filter button {
    padding-inline: 7px;
  }

  .submit-intro h1 {
    font-size: 3.35rem;
  }

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

  .form-number {
    grid-row: auto;
    margin-bottom: 12px;
  }
}

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

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