:root {
  --bg: #06070b;
  --bg-raised: #0d1118;
  --panel: rgba(10, 13, 20, 0.82);
  --panel-strong: rgba(12, 16, 24, 0.92);
  --ink: #f6efe3;
  --muted: #c5b8aa;
  --line: rgba(255, 234, 214, 0.12);
  --line-strong: rgba(255, 234, 214, 0.18);
  --accent: #ff7d43;
  --accent-soft: #ffb56d;
  --cold: #79a9c6;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --nav-height: 82px;
  --max-width: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 125, 67, 0.26), transparent 22%),
    radial-gradient(circle at 78% 14%, rgba(121, 169, 198, 0.16), transparent 20%),
    radial-gradient(circle at 72% 68%, rgba(136, 34, 28, 0.24), transparent 26%),
    linear-gradient(180deg, #07080d 0%, #090b12 34%, #05060a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 84%);
  pointer-events: none;
  opacity: 0.55;
}

img,
video {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 56px;
}

.site-shell-home {
  width: min(calc(100% - 16px), 1540px);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--nav-height);
  margin: 18px 0 28px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 240, 222, 0.1);
  border-radius: 999px;
  background: rgba(8, 11, 18, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd89f, #ff7d43 62%, #6d1e17 100%);
  box-shadow: 0 0 18px rgba(255, 125, 67, 0.5);
}

.brand-text,
h1,
h2,
h3,
blockquote {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: 0.02em;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: #fff7ec;
  background: rgba(255, 125, 67, 0.12);
  transform: translateY(-1px);
}

.nav-editor {
  color: #fff9f0;
  background: linear-gradient(135deg, #ff7d43 0%, #922822 100%);
  box-shadow: 0 16px 34px rgba(146, 40, 34, 0.28);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 125, 67, 0.12);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff4e6;
}

main {
  display: grid;
  gap: 32px;
}

.hero-stage,
.publisher-intro,
.page-hero,
.story-card,
.contact-section,
.editor-panel,
.preview-panel,
.feature-card,
.mosaic-card,
.contact-card,
.preview-card,
.repeatable-card,
.editor-section,
.release-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16, 20, 30, 0.92), rgba(9, 12, 18, 0.82));
  box-shadow: var(--shadow);
}

.hero-stage {
  min-height: calc(100vh - 44px);
  isolation: isolate;
}

.hero-media-layer,
.page-hero-media,
.feature-media,
.mosaic-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 145, 77, 0.18), transparent 18%),
    linear-gradient(140deg, #17151d 0%, #1c2130 48%, #090b12 100%);
}

.hero-media-layer img,
.page-hero-media img,
.feature-media img,
.mosaic-media img,
.hero-media-layer video,
.page-hero-media video,
.feature-media video,
.mosaic-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 5, 9, 0.9) 0%, rgba(4, 5, 9, 0.48) 44%, rgba(4, 5, 9, 0.6) 100%),
    linear-gradient(180deg, rgba(255, 113, 56, 0.06), rgba(0, 0, 0, 0.36));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 32px;
  min-height: inherit;
  padding: clamp(28px, 4vw, 54px);
}

.cinematic-copy {
  max-width: 860px;
  padding-top: 15vh;
}

.hero-copy h1,
.page-hero-copy h1,
.editor-panel h1 {
  margin: 0 0 16px;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.88;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.page-hero {
  min-height: 72vh;
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  min-height: inherit;
  max-width: 880px;
  padding: clamp(28px, 4vw, 54px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-intro,
.page-intro,
.site-footer,
.editor-section-header p,
.preview-card p,
.feature-copy p,
.story-card p,
.contact-card p,
.publisher-copy p,
.hero-fact p,
.preview-contact-item p,
.release-card p,
.mosaic-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-intro {
  max-width: 720px;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-action {
  background: linear-gradient(135deg, #ff7d43 0%, #a33824 100%);
  color: #fff8ef;
  box-shadow: 0 16px 40px rgba(163, 56, 36, 0.28);
}

.secondary-action {
  border: 1px solid rgba(255, 244, 232, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.hero-side-panel {
  display: grid;
  gap: 16px;
  align-self: end;
  padding: 20px;
  border: 1px solid rgba(255, 241, 227, 0.12);
  border-radius: 28px;
  background: rgba(7, 10, 17, 0.58);
  backdrop-filter: blur(18px);
}

.side-kicker,
.feature-kicker {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-facts,
.publisher-stat-grid,
.feature-stack,
.gallery-mosaic,
.story-grid,
.contact-cards,
.editor-form,
.editor-section,
.repeatable-group,
.repeatable-card,
.preview-contact-item,
.release-actions {
  display: grid;
  gap: 16px;
}

.hero-fact,
.publisher-stat {
  padding: 16px;
  border: 1px solid rgba(255, 239, 224, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-fact strong,
.publisher-stat strong,
.contact-card a {
  color: #fff7ec;
}

.hero-fact strong,
.publisher-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.hero-marquee {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: min(58vw, 720px);
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 244, 232, 0.16);
  border-radius: 999px;
  background: rgba(7, 10, 17, 0.48);
  color: #fff8ef;
  font-size: 0.92rem;
}

.publisher-intro,
.contact-section,
.editor-panel,
.preview-panel,
.release-card {
  padding: 32px;
}

.publisher-intro {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.publisher-copy h2,
.section-heading h2,
.editor-section-header h2,
.preview-header h2,
.release-card h2 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.96;
}

.publisher-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.publisher-stat strong {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
}

.section-heading {
  display: grid;
  gap: 8px;
}

.feature-stack,
.gallery-mosaic {
  gap: 22px;
}

.feature-card,
.mosaic-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  min-height: 420px;
}

.feature-card:nth-child(even) {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.feature-card:nth-child(even) .feature-media {
  order: 2;
}

.feature-card:nth-child(even) .feature-copy {
  order: 1;
}

.feature-media,
.mosaic-media {
  position: relative;
  min-height: 100%;
}

.feature-copy,
.mosaic-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  padding: 28px;
  background: linear-gradient(180deg, rgba(14, 18, 27, 0.62), rgba(9, 12, 18, 0.96));
}

.feature-copy h3,
.mosaic-copy h3,
.contact-card h3,
.preview-card h3,
.repeatable-card h3,
.story-card h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.story-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.story-card {
  padding: 28px;
}

.story-card-quote {
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at top left, rgba(255, 125, 67, 0.15), transparent 30%),
    linear-gradient(180deg, rgba(20, 24, 36, 0.92), rgba(10, 13, 20, 0.96));
}

.story-card blockquote {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.06;
}

.gallery-mosaic {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mosaic-card {
  grid-template-columns: 1fr;
  min-height: 420px;
}

.mosaic-copy {
  position: absolute;
  inset: auto 0 0 0;
}

.contact-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.contact-card {
  padding: 26px;
}

.contact-card a {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 0 10px;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.editor-shell {
  max-width: 1480px;
}

.editor-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
}

.editor-toolbar,
.repeatable-header,
.repeatable-card-actions,
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.editor-toolbar {
  margin: 26px 0 24px;
}

.workflow-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.workflow-card {
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.workflow-card h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.media-guidance-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.media-guidance-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.media-guidance-card p,
.media-inline-status-item p,
.field-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.button-subtitle {
  display: block;
  margin-top: -2px;
  color: #f0caa3;
}

.prominent-file-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 64px;
  padding: 0 20px 0 78px;
  border-color: rgba(255, 162, 112, 0.4);
  border-width: 1px;
  background:
    linear-gradient(135deg, rgba(255, 125, 67, 0.32), rgba(163, 56, 36, 0.28)),
    radial-gradient(circle at top right, rgba(255, 220, 186, 0.18), transparent 34%);
  box-shadow: 0 14px 36px rgba(163, 56, 36, 0.22), inset 0 1px 0 rgba(255, 241, 228, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.prominent-file-button::before {
  content: "上传";
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 245, 236, 0.12);
  color: #fff8ef;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: translateY(-50%);
}

.prominent-file-button span {
  display: block;
  width: 100%;
  font-weight: 700;
  color: #fff8ef;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.prominent-file-button:hover,
.prominent-file-button:focus-within {
  transform: translateY(-1px);
  border-color: rgba(255, 187, 140, 0.65);
  box-shadow: 0 18px 42px rgba(163, 56, 36, 0.3);
}

.media-inline-status {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-inline-status-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.media-inline-status-item strong {
  color: #fff7ec;
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7d43 0%, #a33824 100%);
  color: #fff8ef;
  font-weight: 800;
}

.editor-status {
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.editor-status strong {
  display: block;
  margin-bottom: 8px;
  color: #fff7ec;
}

.editor-status[data-tone="success"] {
  border-color: rgba(120, 194, 142, 0.34);
  background: rgba(76, 144, 95, 0.12);
}

.editor-status[data-tone="error"] {
  border-color: rgba(255, 112, 97, 0.4);
  background: rgba(145, 44, 36, 0.16);
}

.editor-toolbar button,
.toolbar-button,
.repeatable-header button,
.repeatable-card button,
.release-actions a,
.release-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 244, 232, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff5e8;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.editor-toolbar button:hover,
.toolbar-button:hover,
.repeatable-header button:hover,
.repeatable-card button:hover,
.release-actions a:hover,
.release-actions button:hover,
.editor-toolbar button:focus-visible,
.toolbar-button:focus-within,
.repeatable-header button:focus-visible,
.repeatable-card button:focus-visible,
.release-actions a:focus-visible,
.release-actions button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 214, 183, 0.28);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.toolbar-button-primary,
.repeatable-header button,
.release-actions .primary-action {
  background: linear-gradient(135deg, #ff7d43 0%, #a33824 100%);
  color: #fff8ef;
}

.toolbar-button-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.toolbar-button-danger,
.button-danger {
  background: linear-gradient(135deg, rgba(185, 70, 52, 0.94), rgba(118, 24, 22, 0.94));
  color: #fff4ef;
}

.editor-toolbar {
  margin: 26px 0 24px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.file-button {
  position: relative;
  overflow: hidden;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.inline-file-button {
  justify-content: flex-start;
}

.editor-section {
  padding: 22px;
}

.editor-section-header {
  display: grid;
  gap: 4px;
}

.editor-section label,
.repeatable-card label {
  display: grid;
  gap: 8px;
}

.editor-section span,
.repeatable-card span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.editor-section input,
.editor-section textarea,
.editor-section select,
.repeatable-card input,
.repeatable-card textarea,
.repeatable-card select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 237, 216, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff9f0;
}

.editor-section input.is-readonly,
.repeatable-card input.is-readonly {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.025);
  color: #f0dbc8;
}

.repeatable-header {
  align-items: center;
  justify-content: space-between;
}

.repeatable-header h3,
.preview-header h2,
.release-card h2 {
  margin: 0;
}

.repeatable-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(18, 22, 32, 0.9), rgba(10, 13, 20, 0.82));
}

.repeatable-card-actions {
  justify-content: flex-end;
}

.preview-panel {
  position: sticky;
  top: calc(var(--nav-height) + 36px);
  height: fit-content;
}

.preview-header {
  margin-bottom: 18px;
}

.preview-card,
.release-card {
  padding: 22px;
}

.real-preview-card {
  display: grid;
  gap: 16px;
}

.preview-control-row,
.preview-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-viewport-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.preview-page-tabs button,
.preview-viewport-tabs button,
.preview-action-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff5e8;
}

.preview-page-tabs button.is-active,
.preview-viewport-tabs button.is-active,
.preview-action-row button {
  background: linear-gradient(135deg, #ff7d43 0%, #a33824 100%);
  color: #fff8ef;
}

.preview-frame-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(6, 8, 14, 0.85);
  transition: width 220ms ease;
}

.preview-frame-wrap[data-viewport="mobile"] {
  width: min(100%, 420px);
  margin: 0 auto;
}

.site-preview-frame {
  width: 100%;
  height: 920px;
  border: 0;
  background: #06070b;
}

.preview-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 24px;
}

.preview-gallery.small {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-thumb {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #d7a36a, #7f2d21);
  aspect-ratio: 3 / 4;
}

.preview-thumb img,
.preview-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-thumb figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.media-checklist-summary,
.media-checklist-list {
  display: grid;
  gap: 10px;
}

.media-checklist-summary {
  margin: 14px 0 18px;
}

.media-checklist-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  width: fit-content;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #fff8ef;
  background: rgba(255, 255, 255, 0.04);
}

.media-checklist-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.media-checklist-item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff7ec;
}

.media-checklist-item p {
  margin: 0;
  word-break: break-all;
}

.media-checklist-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 10px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.media-checklist-state.pending {
  background: rgba(255, 177, 72, 0.16);
  color: #ffd796;
}

.media-checklist-state.saved {
  background: rgba(120, 194, 142, 0.16);
  color: #a8e4b8;
}

.release-actions {
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 700ms ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 120ms;
}

.reveal:nth-child(3) {
  animation-delay: 220ms;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1160px) {
  .hero-grid,
  .publisher-intro,
  .feature-card,
  .feature-card:nth-child(even),
  .story-grid,
  .workflow-cards,
  .media-inline-status,
  .editor-layout {
    grid-template-columns: 1fr;
  }

  .preview-viewport-tabs {
    margin-left: 0;
  }

  .feature-card:nth-child(even) .feature-media,
  .feature-card:nth-child(even) .feature-copy {
    order: initial;
  }

  .contact-cards,
  .gallery-mosaic {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .cinematic-copy,
  .page-hero-copy {
    padding-top: 20vh;
  }

  .hero-marquee {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    justify-content: flex-start;
    padding: 0 28px 28px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .hero-copy h1,
  .page-hero-copy h1,
  .editor-panel h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .publisher-intro,
  .contact-section,
  .editor-panel,
  .preview-panel,
  .release-card {
    padding: 24px;
  }

  .feature-card,
  .mosaic-card {
    min-height: 360px;
  }

  .preview-gallery,
  .preview-gallery.small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
  }
}