@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg: #0b1110;
  --bg-soft: #131f1b;
  --panel: rgba(17, 28, 25, 0.9);
  --panel-strong: rgba(22, 35, 31, 0.96);
  --line: rgba(223, 205, 162, 0.18);
  --text: #f4ead1;
  --muted: #c0b597;
  --gold: #d9b56d;
  --gold-strong: #f0c980;
  --rose: #b95f4f;
  --moss: #6e8b65;
  --blood: #7f2d2d;
  --ink: #080d0c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px),
    radial-gradient(circle at top, rgba(127, 45, 45, 0.22), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(105, 140, 111, 0.14), transparent 22%),
    linear-gradient(180deg, #101915 0%, #0c1310 58%, #09100d 100%);
  background-size: auto, 34px 34px, auto, auto, auto;
  min-height: 100vh;
}

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

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(217, 181, 109, 0.18);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
}

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

.shell {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(9, 16, 13, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-mark {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(217, 181, 109, 0.95), rgba(130, 60, 40, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-copy strong,
.hero-copy h1,
.section-title,
.article h1,
.article h2,
.article h3,
.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
}

.brand-copy strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  margin: 0;
}

.brand-copy span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  padding: 44px 0 22px;
}

.page-hero {
  background:
    linear-gradient(160deg, rgba(28, 42, 37, 0.94), rgba(9, 15, 13, 0.96)),
    radial-gradient(circle at top right, rgba(127, 45, 45, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(217, 181, 109, 0.08), transparent 34%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hero-copy,
.hero-panel,
.hero-panel .mini-grid,
.hero-panel .mini-card {
  min-width: 0;
}

.hero-copy,
.hero-panel {
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(28, 42, 37, 0.94), rgba(9, 15, 13, 0.96)),
    radial-gradient(circle at top right, rgba(127, 45, 45, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(217, 181, 109, 0.08), transparent 34%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy h1,
.page-hero h1,
.article h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.92;
}

.hero-copy p,
.page-hero p,
.lede,
.article-intro {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.hero-actions,
.tag-row,
.link-grid,
.card-grid,
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #16120e;
  background: linear-gradient(135deg, var(--gold-strong), #c68b51);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.92rem;
}

.tool-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.tool-controls label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.tool-controls input,
.tool-controls select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text);
  background: rgba(8, 13, 12, 0.72);
  border: 1px solid var(--line);
}

.database-summary {
  margin-top: 16px;
  color: var(--gold-strong);
  font-weight: 700;
}

.database-insight-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.database-insight-panel > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.database-insight-card {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(240, 201, 128, 0.16);
  background: rgba(8, 13, 12, 0.36);
}

.database-insight-card span {
  display: block;
  margin-top: 6px;
  color: var(--gold-strong);
  font-size: 1.05rem;
  font-weight: 800;
}

.database-insight-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.database-session-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.database-session-panel > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.database-session-card {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(123, 177, 137, 0.2);
  background: linear-gradient(160deg, rgba(123, 177, 137, 0.08), rgba(8, 13, 12, 0.38));
}

.database-session-card span {
  display: block;
  margin-top: 5px;
  color: var(--gold-strong);
  font-weight: 800;
}

.database-session-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.database-session-card .button {
  margin-top: 12px;
}

.database-distribution-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(240, 201, 128, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(8, 13, 12, 0.32);
}

.database-distribution-panel > p,
.database-distribution-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.database-distribution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.database-distribution-card {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.035);
}

.database-distribution-card ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.database-distribution-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}

.database-distribution-card em {
  color: var(--gold-strong);
  font-style: normal;
  font-weight: 800;
}

.database-ladder-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(123, 177, 137, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(123, 177, 137, 0.07), rgba(8, 13, 12, 0.36));
}

.database-ladder-panel > p,
.database-ladder-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.database-ladder-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.database-ladder-list li {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.database-ladder-list span,
.database-ladder-list em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
}

.database-ladder-list em {
  color: var(--gold-strong);
  font-weight: 800;
}

.database-ladder-panel .button {
  margin-top: 14px;
}

.database-risk-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(240, 201, 128, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(8, 13, 12, 0.34);
}

.database-risk-panel > p {
  margin: 6px 0 0;
  color: var(--muted);
}

.database-risk-panel--safe {
  border-color: rgba(123, 177, 137, 0.28);
  background: linear-gradient(160deg, rgba(123, 177, 137, 0.08), rgba(8, 13, 12, 0.34));
}

.database-risk-panel--mixed {
  border-color: rgba(240, 201, 128, 0.26);
  background: linear-gradient(160deg, rgba(240, 201, 128, 0.08), rgba(8, 13, 12, 0.34));
}

.database-risk-panel--high {
  border-color: rgba(217, 100, 100, 0.32);
  background: linear-gradient(160deg, rgba(217, 100, 100, 0.09), rgba(8, 13, 12, 0.34));
}

.database-risk-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.database-risk-counts span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.database-risk-panel .button {
  margin-top: 14px;
}

.database-recent-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(240, 201, 128, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(8, 13, 12, 0.3);
}

.database-recent-panel > p,
.database-recent-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.database-recent-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.database-recent-list li {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.database-recent-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.database-recent-panel .text-button {
  margin-top: 12px;
}

.database-proof-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(240, 201, 128, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(240, 201, 128, 0.07), rgba(8, 13, 12, 0.34));
}

.database-proof-panel > p,
.database-proof-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.database-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.database-proof-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.database-proof-card strong,
.database-proof-card span {
  display: block;
}

.database-proof-card strong {
  color: var(--gold-strong);
  font-size: 1.08rem;
}

.database-proof-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-filter-row,
.database-actions,
.database-export-row,
.database-progress-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-filter-row,
.database-export-row,
.database-progress-row {
  margin-top: 14px;
}

.database-export-row,
.database-progress-row {
  align-items: center;
}

.database-check-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(240, 201, 128, 0.2);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.database-check-filter input {
  accent-color: var(--gold-strong);
}

.quick-filter,
.text-button {
  border: 1px solid rgba(240, 201, 128, 0.24);
  border-radius: 999px;
  background: rgba(240, 201, 128, 0.08);
  color: var(--gold-strong);
  cursor: pointer;
  font: inherit;
}

.quick-filter {
  min-height: 40px;
  padding: 8px 14px;
}

.quick-filter:hover,
.quick-filter:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  border-color: rgba(240, 201, 128, 0.52);
  background: rgba(240, 201, 128, 0.14);
}

.quick-filter--clear {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.database-shortlist,
.database-plan-panel,
.database-saved-view-panel {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 201, 128, 0.18);
  background: linear-gradient(160deg, rgba(240, 201, 128, 0.08), rgba(255, 255, 255, 0.035));
}

.database-plan-panel,
.database-saved-view-panel {
  margin-top: 14px;
}

.database-saved-view-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.database-save-view-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.database-save-view-controls input {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text);
  background: rgba(8, 13, 12, 0.72);
  border: 1px solid var(--line);
}

.database-saved-views {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.database-saved-view {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-md);
  background: rgba(8, 13, 12, 0.36);
}

.database-saved-view span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.database-plan-output {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(8, 13, 12, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.database-plan-output h3 {
  margin: 0 0 10px;
}

.database-plan-output pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 14px 0 0;
  padding: 14px;
  border-radius: var(--radius-md);
  color: rgba(244, 234, 209, 0.86);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.database-actions {
  align-items: center;
  margin-top: 16px;
}

.database-actions .button {
  margin-top: 0;
}

.database-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.database-compare-table span {
  color: var(--muted);
  font-size: 0.92rem;
}

.database-export-status {
  min-height: 1.2em;
  color: var(--gold-strong);
  font-weight: 700;
}

.database-progress {
  min-height: 1.2em;
  color: var(--gold-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.database-card:target {
  border-color: rgba(240, 201, 128, 0.58);
  box-shadow: 0 0 0 3px rgba(240, 201, 128, 0.12);
}

.database-card--checked {
  border-color: rgba(123, 177, 137, 0.38);
  background: linear-gradient(160deg, rgba(123, 177, 137, 0.08), rgba(255, 255, 255, 0.025));
}

.database-action-card {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(240, 201, 128, 0.16);
  border-radius: var(--radius-md);
  background: rgba(8, 13, 12, 0.42);
}

.database-action-card ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.database-gap-card {
  border-color: rgba(240, 201, 128, 0.2);
  background: linear-gradient(160deg, rgba(240, 201, 128, 0.07), rgba(255, 255, 255, 0.035));
}

.text-button {
  padding: 8px 12px;
}

.database-grid,
.marker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.database-card,
.marker-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.database-card-top,
.marker-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.database-card h2,
.marker-card h3 {
  margin: 0 0 10px;
}

.database-meta,
.marker-meta {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.database-meta div,
.marker-meta div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
}

.database-meta dt,
.marker-meta dt {
  color: var(--gold-strong);
  font-weight: 700;
}

.database-meta dd,
.marker-meta dd {
  margin: 0;
  color: var(--muted);
}

.marker-card.visited {
  border-color: rgba(240, 201, 128, 0.42);
  background: linear-gradient(160deg, rgba(217, 181, 109, 0.08), rgba(255, 255, 255, 0.035));
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.panel,
.card,
.mini-card,
.answer-box,
.note-box,
.meta-box,
.article-nav,
.two-col > aside,
.page-hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel {
  padding: 22px;
}

.search-panel {
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-panel form,
.search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.search-filter-row .button.active {
  color: var(--text);
  background: rgba(217, 181, 109, 0.12);
  border-color: rgba(217, 181, 109, 0.28);
}

.search-panel input,
.search-row input {
  flex: 1 1 280px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 10, 0.65);
  color: var(--text);
  font: inherit;
}

.search-panel input::placeholder,
.search-row input::placeholder {
  color: rgba(244, 234, 209, 0.42);
}

.search-panel button,
.search-row button {
  cursor: pointer;
  min-height: 44px;
}

.stats {
  margin-top: 18px;
}

.stat {
  min-width: 150px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.4rem;
  color: var(--gold-strong);
}

.section {
  padding: 22px 0;
}

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

.section-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-copy {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

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

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proof-preview-card {
  overflow: hidden;
  padding: 0;
}

.proof-preview-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0e1513;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-preview-copy {
  padding: 18px 20px 20px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.path-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(217, 181, 109, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.path-card h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
}

.path-card > p {
  color: var(--muted);
  line-height: 1.72;
}

.path-steps {
  display: grid;
  gap: 10px;
}

.path-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px 12px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.path-step:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 181, 109, 0.35);
  background: rgba(255, 255, 255, 0.055);
}

.path-step span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #16120e;
  background: linear-gradient(135deg, var(--gold-strong), #c68b51);
  font-weight: 700;
}

.path-step strong {
  color: var(--text);
}

.path-step p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.card {
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover,
.mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 181, 109, 0.35);
  background: var(--panel-strong);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(217, 181, 109, 0.08);
  color: var(--gold-strong);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card h3,
.mini-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.card p,
.mini-card p,
.list-block p,
.article li,
.article p {
  color: var(--muted);
  line-height: 1.74;
}

.card-signal,
.card-maintenance {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.94rem;
  line-height: 1.7;
}

.card-signal strong {
  color: var(--text);
}

.card-maintenance {
  padding-top: 0;
  border-top: 0;
  color: rgba(244, 234, 209, 0.72);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  padding: 18px;
}

.route-list,
.article ul,
.article ol {
  padding-left: 20px;
}

.meta-box a {
  display: inline-block;
  color: var(--gold-strong);
  margin: 4px 0;
}

.route-list li,
.article li {
  margin-bottom: 10px;
}

.page-hero {
  margin-top: 24px;
  padding: 20px 22px;
}

.breadcrumbs {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--gold);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0 40px;
}

.article {
  min-width: 0;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(18, 28, 24, 0.96), rgba(11, 18, 15, 0.96)),
    radial-gradient(circle at top left, rgba(217, 181, 109, 0.08), transparent 28%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.article h2 {
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 2rem;
}

.article h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.meta-pill {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

.guide-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 16px;
  align-items: start;
  margin: 14px 0 20px;
}

.guide-answer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(217, 181, 109, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
}

.guide-answer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-strong), var(--blood));
}

.guide-answer h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

.guide-dashboard-side {
  display: grid;
  gap: 14px;
}

.answer-box,
.note-box,
.meta-box,
.article-nav,
.maintenance-box,
.next-step-box,
.faq-section,
.fact-card {
  padding: 16px 18px;
}

.answer-box h3,
.note-box h3,
.meta-box h3,
.article-nav h3,
.next-step-box h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.maintenance-box {
  background: linear-gradient(160deg, rgba(110, 139, 101, 0.14), rgba(24, 38, 31, 0.82));
}

.maintenance-box p,
.next-step-box p,
.fact-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.evidence-status {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.evidence-status strong {
  display: block;
  color: var(--gold-strong);
}

.evidence-status p {
  margin-top: 8px;
}

.evidence-progress {
  margin-top: 12px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.evidence-progress--priority {
  margin-top: 0;
}

.evidence-progress-bar {
  height: 100%;
  min-width: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-strong), #c68b51);
}

.evidence-progress-meta,
.proof-progress-meta,
.proof-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.evidence-progress-meta {
  margin-top: 10px;
  color: rgba(244, 234, 209, 0.68);
  font-size: 0.82rem;
}

.proof-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 12px;
}

.proof-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.proof-hero--pending {
  background:
    linear-gradient(145deg, rgba(84, 130, 166, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(84, 130, 166, 0.2);
}

.proof-hero--ready {
  background:
    linear-gradient(145deg, rgba(110, 139, 101, 0.16), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(110, 139, 101, 0.22);
}

.proof-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #0e1513;
}

.proof-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.proof-hero-copy strong {
  color: var(--text);
  font-size: 1.05rem;
}

.proof-hero-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.proof-summary-stat,
.proof-progress-block {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-summary-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-strong);
  font-size: 1.05rem;
}

.proof-summary-stat span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.proof-progress-block {
  margin-top: 16px;
}

.proof-progress-top strong {
  color: var(--text);
}

.proof-progress-top span {
  color: var(--gold-strong);
  font-weight: 700;
}

.proof-progress-meta {
  margin-top: 10px;
  color: rgba(244, 234, 209, 0.68);
  font-size: 0.82rem;
}

.note-box {
  margin: 26px 0;
}

.note-box h2,
.note-box h3 {
  margin-top: 0;
}

.note-box p,
.note-box li {
  color: var(--muted);
  line-height: 1.7;
}

.note-box ul,
.note-box ol {
  margin-bottom: 0;
}

.note-box--priority {
  background:
    linear-gradient(145deg, rgba(217, 181, 109, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(217, 181, 109, 0.24);
}

.note-box--warning {
  background:
    linear-gradient(145deg, rgba(185, 95, 79, 0.18), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(185, 95, 79, 0.28);
}

.note-box--proof {
  background:
    linear-gradient(145deg, rgba(84, 130, 166, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(84, 130, 166, 0.28);
}

.note-box--decision {
  background:
    linear-gradient(145deg, rgba(217, 181, 109, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(217, 181, 109, 0.18);
}

.note-box--editorial {
  background:
    linear-gradient(145deg, rgba(121, 144, 188, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(121, 144, 188, 0.28);
}

.note-box--maintainer {
  background:
    linear-gradient(145deg, rgba(90, 143, 129, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(90, 143, 129, 0.28);
}

.note-box--reader {
  background:
    linear-gradient(145deg, rgba(158, 120, 188, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(158, 120, 188, 0.24);
}

.note-box--planner {
  background:
    linear-gradient(145deg, rgba(217, 181, 109, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(217, 181, 109, 0.2);
}

.note-box--combat {
  background:
    linear-gradient(145deg, rgba(150, 62, 62, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(185, 95, 79, 0.32);
}

.note-box--route {
  background:
    linear-gradient(145deg, rgba(84, 130, 166, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(84, 130, 166, 0.28);
}

.note-box--build {
  background:
    linear-gradient(145deg, rgba(110, 139, 101, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(110, 139, 101, 0.28);
}

.note-box--progress {
  background:
    linear-gradient(145deg, rgba(217, 181, 109, 0.13), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(217, 181, 109, 0.28);
}

.note-box--setup {
  background:
    linear-gradient(145deg, rgba(158, 120, 188, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(158, 120, 188, 0.28);
}

.maintainer-details {
  margin-top: 4px;
}

.maintainer-details summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

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

.maintainer-details summary strong {
  color: var(--text);
  font-size: 1.08rem;
}

.maintainer-details summary span {
  color: rgba(244, 234, 209, 0.68);
  font-size: 0.92rem;
}

.maintainer-details-body {
  margin-top: 16px;
}

.editorial-review-date {
  margin-top: -4px;
  color: rgba(244, 234, 209, 0.68);
  font-size: 0.9rem;
}

.editorial-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.editorial-mini-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.editorial-mini-card h3 {
  margin: 0 0 10px;
}

.editorial-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.decision-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.decision-card h3 {
  margin: 0 0 10px;
}

.decision-card p,
.decision-card li {
  color: var(--muted);
  line-height: 1.68;
}

.decision-card--go {
  background:
    linear-gradient(145deg, rgba(110, 139, 101, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(110, 139, 101, 0.26);
}

.decision-card--wait {
  background:
    linear-gradient(145deg, rgba(185, 95, 79, 0.18), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(185, 95, 79, 0.28);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.proof-card {
  min-height: 136px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-kit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proof-run-grid {
  display: grid;
  gap: 16px;
}

.proof-run-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(217, 181, 109, 0.11), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.proof-run-order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  color: #16120e;
  background: linear-gradient(135deg, var(--gold-strong), #c68b51);
  font-size: 2rem;
  font-weight: 800;
}

.proof-run-copy h3 {
  margin: 0 0 10px;
}

.proof-run-copy h3 a {
  color: var(--text);
}

.proof-run-copy p {
  color: var(--muted);
  line-height: 1.68;
}

.proof-run-block {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-run-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-strong);
}

.proof-run-block p {
  margin: 0;
}

.proof-run-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}

.proof-run-file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.proof-run-file-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-run-file-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-strong);
}

.proof-run-file-card code {
  display: block;
  overflow-wrap: anywhere;
}

.proof-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proof-check-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(110, 139, 101, 0.13), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.proof-check-top {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 10px;
}

.proof-check-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #16120e;
  background: linear-gradient(135deg, #92c37f, #d9b56d);
  font-weight: 800;
  font-size: 1.25rem;
}

.proof-check-card h3 {
  margin: 0;
}

.proof-check-card h3 a {
  color: var(--text);
}

.proof-check-card p {
  color: var(--muted);
  line-height: 1.68;
}

.proof-check-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.proof-check-list li {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.proof-check-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.proof-check-block {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-check-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-strong);
}

.proof-check-block p {
  margin: 0;
}

.proof-kit-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(84, 130, 166, 0.12), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.proof-kit-card h3 {
  margin: 0 0 10px;
}

.proof-kit-card h3 a {
  color: var(--text);
}

.proof-kit-card p {
  color: var(--muted);
  line-height: 1.68;
}

.proof-kit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.proof-kit-block {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-kit-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-strong);
}

.proof-kit-block p {
  margin: 0;
}

.proof-kit-block code,
.proof-kit-step-file {
  display: block;
  overflow-wrap: anywhere;
}

.live-proof-gallery > p {
  margin-bottom: 0;
}

.live-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.live-proof-card {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.live-proof-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0e1513;
}

.live-proof-copy {
  padding: 14px 16px 16px;
}

.live-proof-copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.live-proof-copy p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.66;
}

.proof-kit-checklist {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.proof-kit-step {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-kit-step-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.proof-kit-step-title {
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}

.proof-kit-step-file {
  margin-top: 6px;
  color: var(--gold-strong);
  font-size: 0.9rem;
}

.capture-handoff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 14px;
}

.capture-handoff-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.capture-handoff-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-strong);
}

.capture-handoff-card p {
  margin: 0;
}

.capture-handoff-card code,
.meta-box code {
  display: block;
  overflow-wrap: anywhere;
}

.proof-slot {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(145deg, rgba(84, 130, 166, 0.12), rgba(255, 255, 255, 0.025));
  background-size: auto, 18px 18px, auto;
  border: 1px dashed rgba(84, 130, 166, 0.34);
}

.proof-slot--ready {
  padding: 0;
  overflow: hidden;
  border-style: solid;
}

.proof-slot-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0e1513;
}

.proof-slot-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
}

.proof-slot-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(84, 130, 166, 0.18);
  border: 1px solid rgba(84, 130, 166, 0.34);
  color: #d8ebfb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-slot-badge--ready {
  background: rgba(110, 139, 101, 0.18);
  border-color: rgba(110, 139, 101, 0.34);
  color: #d9efc8;
}

.proof-slot-label {
  color: rgba(244, 234, 209, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.proof-slot-path {
  color: rgba(244, 234, 209, 0.55);
  font-size: 0.82rem;
  line-height: 1.55;
  word-break: break-word;
}

.proof-slot-note {
  color: rgba(244, 234, 209, 0.68);
  font-size: 0.82rem;
  line-height: 1.55;
}

.reference-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 1.25rem;
}

.reference-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.reference-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.reference-card div {
  padding: 16px;
}

.reference-card h3 {
  margin: 0 0 8px;
}

.reference-card p {
  margin: 0;
  color: var(--muted);
}

.reference-card--article {
  margin-top: 1rem;
}

.reference-source {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold-strong);
  font-size: 0.92rem;
}

.official-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 1.25rem;
}

.official-media-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

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

.video-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(217, 181, 109, 0.18), transparent 34%),
    rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--line);
}

.video-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 13, 0.08), rgba(11, 15, 13, 0.55)),
    radial-gradient(circle at center, rgba(217, 181, 109, 0.18), transparent 32%);
}

.video-frame--poster:hover img,
.video-frame--poster:focus-visible img {
  transform: scale(1.035);
  filter: brightness(1.08);
}

.video-play-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding-left: 4px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: #16120e;
  background: linear-gradient(135deg, var(--gold-strong), #c68b51);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  font-size: 1.55rem;
  font-weight: 900;
}

.video-source-label {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: inline-flex;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 14, 12, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.86rem;
  font-weight: 700;
}

.video-card figcaption {
  padding: 16px;
}

.video-card h3 {
  margin: 0 0 8px;
}

.video-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.official-media-reference {
  overflow: hidden;
}

@media (max-width: 760px) {
  .reference-gallery,
  .official-media-grid {
    grid-template-columns: 1fr;
  }
}

.proof-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.proof-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.proof-queue-checklist {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.proof-queue-step {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.proof-queue-head strong {
  color: var(--text);
}

.proof-queue-title {
  color: rgba(244, 234, 209, 0.86);
  font-size: 0.95rem;
  line-height: 1.55;
}

.proof-queue-file {
  margin-top: 8px;
  color: rgba(244, 234, 209, 0.58);
  font-size: 0.82rem;
  line-height: 1.55;
  word-break: break-word;
}

.note-box--sketch {
  background:
    linear-gradient(145deg, rgba(116, 92, 173, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(116, 92, 173, 0.28);
}

.sketch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sketch-step {
  position: relative;
  min-height: 148px;
  padding: 18px 16px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sketch-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #16120e;
  background: linear-gradient(135deg, var(--gold-strong), #c68b51);
  font-weight: 700;
}

.sketch-step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.sketch-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.status-chip--pending {
  color: #ffd9a8;
  background: rgba(185, 95, 79, 0.18);
  border-color: rgba(185, 95, 79, 0.35);
}

.status-chip--verified {
  color: #d7f0c6;
  background: rgba(110, 139, 101, 0.18);
  border-color: rgba(110, 139, 101, 0.35);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.fact-grid-compact {
  margin-bottom: 0;
}

.fact-card {
  background: rgba(255, 255, 255, 0.03);
}

.fact-card strong {
  color: var(--gold-strong);
}

.planner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.planner-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.planner-card h3 {
  margin: 0 0 10px;
}

.planner-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.planner-footnote {
  margin-top: 16px;
  color: rgba(244, 234, 209, 0.68);
  font-size: 0.92rem;
}

.reader-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.reader-help-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.reader-help-card h3 {
  margin: 0 0 10px;
}

.reader-help-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.reader-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.reader-help-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-followup-list {
  display: grid;
  gap: 10px;
}

.sidebar-followup-link {
  display: grid;
  gap: 6px;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.sidebar-followup-link:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 181, 109, 0.3);
  background: rgba(255, 255, 255, 0.055);
}

.sidebar-followup-link strong {
  color: var(--text);
  line-height: 1.4;
}

.sidebar-followup-link span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.sidebar-followup-link--utility {
  background: rgba(255, 255, 255, 0.03);
}

.next-step-box {
  margin-top: 26px;
  background: rgba(217, 181, 109, 0.08);
}

.faq-section {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.faq-section h2 {
  margin-top: 0;
}

.faq-item {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq-item h3 {
  margin-top: 0;
}

.faq-item p {
  margin-bottom: 0;
}

.table-wrap {
  position: relative;
  margin: 20px 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset -18px 0 18px -20px rgba(217, 181, 109, 0.85);
}

.site-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  table-layout: fixed;
}

.site-table th,
.site-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-table th {
  color: var(--gold-strong);
  background: rgba(217, 181, 109, 0.08);
  font-weight: 700;
}

.site-table td {
  color: var(--muted);
  line-height: 1.65;
}

.site-table tr:last-child td {
  border-bottom: 0;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.article th,
.article td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article th {
  color: var(--gold-strong);
  background: rgba(217, 181, 109, 0.08);
  font-weight: 700;
}

.article td {
  color: var(--muted);
  line-height: 1.65;
}

.article tr:last-child td {
  border-bottom: 0;
}

.diagram-figure {
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

.diagram-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #101714;
}

.diagram-figure figcaption {
  padding: 12px 16px 14px;
  color: var(--muted);
  line-height: 1.6;
}

.guide-visual-boundary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin: 1rem 0;
  padding: 1rem;
}

.guide-visual-boundary h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.guide-visual-boundary p {
  margin: 0;
  color: var(--muted);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.editorial-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.editorial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 181, 109, 0.35);
  background: var(--panel-strong);
}

.editorial-media {
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.editorial-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-copy {
  padding: 18px 20px 20px;
}

.editorial-copy h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.editorial-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.sidebar-stack {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  position: static;
  top: auto;
  align-self: stretch;
}

.article-nav a {
  display: block;
  min-height: 38px;
  padding: 7px 0;
  color: var(--muted);
}

.article-nav a:hover {
  color: var(--gold-strong);
}

.site-footer {
  padding: 28px 0 44px;
  color: var(--muted);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item strong {
  color: var(--gold-strong);
}

.section-kicker {
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
}

.footer-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-card p {
  margin: 8px 0 0;
}

.footer-quick-links {
  font-size: 0.95rem;
  opacity: 0.9;
}

code {
  font-family: "Space Grotesk", sans-serif;
  color: var(--gold-strong);
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .guide-dashboard {
    grid-template-columns: 1fr;
  }

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

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

  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .proof-kit-grid {
    grid-template-columns: 1fr;
  }

  .proof-run-card {
    grid-template-columns: 1fr;
  }

  .proof-check-grid {
    grid-template-columns: 1fr;
  }

  .proof-run-order {
    width: 64px;
    height: 64px;
    font-size: 1.65rem;
  }

  .proof-run-file-grid {
    grid-template-columns: 1fr;
  }

  .live-proof-grid {
    grid-template-columns: 1fr;
  }

  .capture-handoff-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .reader-help-grid {
    grid-template-columns: 1fr;
  }

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

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

  .database-grid,
  .marker-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 142px;
  }

  .shell {
    width: min(var(--content), calc(100% - 24px));
  }

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

  .header-row {
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    max-width: 100%;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    flex: 0 0 auto;
  }

  .brand-copy span {
    font-size: 0.78rem;
  }

  .article,
  .page-hero {
    padding: 18px;
    border-radius: 18px;
  }

  .hero-copy,
  .hero-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .card-grid,
  .mini-grid,
  .region-grid {
    grid-template-columns: 1fr;
  }

  .tool-controls {
    grid-template-columns: 1fr;
  }

  .database-meta div,
  .marker-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 10px 13px;
  }

  .hero-actions,
  .search-panel form,
  .search-row {
    width: 100%;
  }

  .hero-actions .button,
  .search-panel input,
  .search-row input,
  .search-panel button,
  .search-row button {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  .table-wrap {
    margin-left: -4px;
    margin-right: -4px;
    border-radius: 14px;
  }

  .article table,
  .site-table {
    min-width: 560px;
    font-size: 0.92rem;
  }

  .article th,
  .article td,
  .site-table th,
  .site-table td {
    padding: 12px;
  }

  .meta-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .proof-summary {
    grid-template-columns: 1fr;
  }

  .stats {
    flex-direction: column;
  }

  .stat {
    width: 100%;
  }

  .hero {
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(var(--content), calc(100% - 20px));
  }

  .brand-copy span {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1,
  .article h1 {
    font-size: clamp(2.1rem, 16vw, 3.2rem);
  }

  .article h2 {
    font-size: 1.62rem;
  }

  .article h3 {
    font-size: 1.25rem;
  }

  .hero-copy p,
  .page-hero p,
  .lede,
  .article-intro {
    font-size: 1rem;
    line-height: 1.65;
  }
}
