:root {
  --ink: #111827;
  --muted: #5d6675;
  --paper: #f7f3ea;
  --panel: #fffaf0;
  --night: #101827;
  --gold: #b88938;
  --green: #1e6b54;
  --line: rgba(17, 24, 39, 0.14);
  --shadow: 0 22px 60px rgba(16, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 243, 234, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid rgba(184, 137, 56, 0.65);
  background: var(--night);
  box-shadow: 0 10px 24px rgba(16, 24, 39, 0.16);
}

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

.brand-copy strong {
  color: var(--ink);
  font-size: 18px;
}

.brand-copy em {
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  background: var(--night);
  border: 2px solid var(--gold);
  font-family: Georgia, serif;
  font-weight: 800;
}

.lh-mark {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 8px 12px;
  font: inherit;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(16, 24, 39, 0.94), rgba(16, 24, 39, 0.78)),
    radial-gradient(circle at 72% 28%, rgba(184, 137, 56, 0.4), transparent 30%),
    var(--night);
  color: #fff;
}

.hero-image {
  grid-template-columns: minmax(0, 780px);
  align-content: end;
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.9), rgba(16, 24, 39, 0.38)),
    url("/assets/images/the-game-is-not-over-wide.png") center / cover no-repeat;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.page-hero .lead {
  color: var(--muted);
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--night);
}

.hero-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(30, 107, 84, 0.8), rgba(16, 24, 39, 0.88));
  background-size: 44px 44px, 44px 44px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.34);
}

.hero-visual::before {
  inset: 36px;
}

.hero-visual::after {
  width: 190px;
  height: 110px;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
}

.scoreboard {
  position: absolute;
  left: 34px;
  top: 34px;
  display: grid;
  gap: 2px;
  padding: 22px;
  background: rgba(16, 24, 39, 0.84);
  border: 1px solid rgba(184, 137, 56, 0.6);
}

.scoreboard span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

.scoreboard strong,
.scoreboard em {
  font-style: normal;
}

.section,
.page-hero {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 14px;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.card {
  min-height: 230px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(16, 24, 39, 0.06);
}

.field-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.field-card:hover,
.field-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.field-card:hover h3,
.field-card:focus-visible h3 {
  color: var(--gold);
}

.field-card.featured-field {
  background:
    linear-gradient(145deg, rgba(16, 24, 39, 0.95), rgba(16, 24, 39, 0.84)),
    url("/assets/images/bob-dylan-cultural-legacy-hero.png") center / cover no-repeat;
  color: #fff;
}

.field-card.featured-field p {
  color: rgba(255, 255, 255, 0.78);
}

.card-link {
  margin-top: auto;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.home-type-band {
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.98), rgba(16, 24, 39, 0.9)),
    var(--night);
  color: #fff;
}

.home-type-band .section-heading {
  max-width: 920px;
}

.home-type-band h2 {
  color: #fff;
}

.home-type-band p {
  color: rgba(255, 255, 255, 0.76);
}

.type-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.type-mini-card {
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(184, 137, 56, 0.32);
}

.type-mini-card strong {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
}

.type-mini-card span {
  font-weight: 900;
}

.type-mini-card em {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-style: normal;
}

.card p,
.text-block p,
.split p,
.contact-panel p {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: end;
  padding: clamp(52px, 7vw, 88px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--green);
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
  padding: clamp(52px, 7vw, 88px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--night);
}

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

.story-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.story-card a {
  display: grid;
  gap: 12px;
  height: 100%;
  padding: 0 0 24px;
  color: inherit;
  text-decoration: none;
}

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

.story-card-contain img {
  object-fit: contain;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.98), rgba(16, 24, 39, 0.94));
}

.story-card .card-kicker,
.story-card h2,
.story-card h3,
.story-card p {
  margin-left: 24px;
  margin-right: 24px;
}

.story-card h2,
.story-card h3 {
  font-size: clamp(23px, 3vw, 32px);
}

.story-card p {
  color: var(--muted);
}

.story-card:hover h2,
.story-card:hover h3 {
  color: var(--green);
}

.soon-panel {
  display: grid;
  place-items: center;
  min-height: 260px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(16, 24, 39, 0.94), rgba(30, 107, 84, 0.82)),
    var(--night);
  border-bottom: 1px solid var(--line);
}

.soon-panel span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soon-panel strong {
  font-size: clamp(26px, 4vw, 42px);
}

.featured-story img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.featured-story p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.feature-band p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 36px;
  align-items: start;
}

.method-list {
  display: grid;
  gap: 12px;
}

.method-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  min-height: 68px;
  background: #fff;
  border: 1px solid var(--line);
}

.method-list strong {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
  border-right: 1px solid var(--line);
}

.method-list span {
  padding: 12px 18px;
  font-weight: 700;
}

.page {
  min-height: calc(100vh - 170px);
}

.page-hero {
  background: #fffaf0;
  border-bottom: 1px solid var(--line);
}

.library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 34px;
  align-items: end;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(16, 24, 39, 0.96), rgba(16, 24, 39, 0.72)),
    url("/assets/images/the-game-is-not-over-wide.png") center / cover no-repeat;
}

.library-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.05;
}

.library-scorecard {
  padding: 24px;
  background: rgba(16, 24, 39, 0.82);
  border: 1px solid rgba(184, 137, 56, 0.58);
}

.library-scorecard span,
.library-placeholder strong {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-scorecard strong {
  display: block;
  margin: 8px 0;
  font-size: 24px;
}

.library-scorecard p {
  color: rgba(255, 255, 255, 0.76);
}

.library-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: clamp(40px, 6vw, 68px);
}

.library-categories a {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
}

.library-categories span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
}

.library-categories strong {
  font-size: 20px;
  line-height: 1.25;
}

.library-categories em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.article-grid-featured {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.story-card-primary {
  grid-row: span 2;
}

.story-card-primary img {
  aspect-ratio: 16 / 10;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 24px 0;
}

.story-meta span {
  padding: 6px 9px;
  color: var(--green);
  background: rgba(30, 107, 84, 0.08);
  border: 1px solid rgba(30, 107, 84, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.time-proven-hero {
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.96), rgba(16, 24, 39, 0.78)),
    url("/assets/images/bob-dylan-redefined-literature.png") center / cover no-repeat;
  color: #fff;
}

.time-proven-hero h1 {
  color: #fff;
}

.time-proven-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
}

.time-proven-intro {
  background: #fff;
}

.knowledge-note {
  align-self: stretch;
  padding: 28px;
  color: #fff;
  background: var(--night);
  border: 1px solid rgba(184, 137, 56, 0.42);
}

.knowledge-note strong {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-category-grid,
.knowledge-story-grid,
.coming-next-grid {
  display: grid;
  gap: 18px;
}

.knowledge-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.knowledge-category-card,
.knowledge-story-card {
  background: #fff;
  border: 1px solid var(--line);
}

.knowledge-category-card {
  padding: 24px;
}

.knowledge-category-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-category-card small {
  display: block;
  color: var(--muted);
  line-height: 1.8;
}

.knowledge-story-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.knowledge-story-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.knowledge-story-card:hover {
  border-color: rgba(190, 139, 48, 0.45);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.knowledge-story-card:hover h3 {
  color: var(--gold);
}

.knowledge-story-card img,
.coming-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--night);
}

.coming-thumb {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: clamp(56px, 8vw, 94px);
  border-bottom: 1px solid var(--line);
}

.knowledge-story-card > div:last-child {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.knowledge-story-card h3 {
  margin-bottom: 0;
}

.knowledge-story-card p {
  margin-bottom: 0;
}

.field-tags {
  color: var(--green);
  font-weight: 800;
}

.disabled-button {
  justify-self: start;
  color: var(--muted);
  background: var(--panel);
  border-color: var(--line);
  cursor: default;
}

.coming-next-section {
  background: var(--night);
  color: #fff;
}

.coming-next-section h2 {
  color: #fff;
}

.coming-next-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.coming-next-grid span {
  padding: 18px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 137, 56, 0.28);
}

.template-panel {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 260px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(16, 24, 39, 0.94), rgba(184, 137, 56, 0.48)),
    url("/assets/images/messi-vozinha-extra-time.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.template-panel span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.template-panel strong {
  font-family: Georgia, serif;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
}

.template-panel em {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-size: 18px;
}

.library-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 24px;
  align-items: stretch;
  background: #fff;
  border-top: 1px solid var(--line);
}

.library-band.soft {
  background: var(--panel);
}

.library-band p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.library-placeholder {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--night);
  color: #fff;
  border-left: 5px solid var(--gold);
}

.library-placeholder span {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.types-hero {
  background:
    linear-gradient(120deg, rgba(16, 24, 39, 0.97), rgba(16, 24, 39, 0.76)),
    url("/assets/images/latehero-logo.png") right 10% center / min(42vw, 520px) no-repeat,
    var(--night);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.type-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 390px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 24, 39, 0.06);
}

.type-card h2 {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 42px);
}

.type-card h3 {
  color: var(--night);
  font-size: 22px;
}

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

.type-card strong {
  color: var(--ink);
}

.type-card a,
.read-links a {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 107, 84, 0.35);
}

.page-hero h1 {
  color: var(--night);
  font-size: clamp(42px, 7vw, 74px);
}

.quote-box {
  padding: 34px;
  background: var(--night);
  color: #fff;
  border-left: 6px solid var(--gold);
}

.quote-box strong {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  font-size: 34px;
}

.quote-box span {
  color: rgba(255, 255, 255, 0.78);
}

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

.contact-panel > div {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-light-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.contact-light-list li {
  padding: 12px 14px;
  color: var(--ink);
  background: #fffaf0;
  border-left: 4px solid var(--gold);
}

.text-block {
  max-width: 860px;
}

.text-block h2 {
  margin-top: 26px;
  font-size: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.66);
  background: var(--night);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.article {
  background: #fffaf0;
}

.article-hero {
  padding: clamp(44px, 7vw, 82px) clamp(20px, 5vw, 72px) 0;
}

.article-hero h1 {
  max-width: 1060px;
  margin: 0;
  color: var(--night);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.article-meta {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.article-deck {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--green);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
}

.article-hero img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 74px) 20px clamp(62px, 8vw, 104px);
  font-size: 19px;
  line-height: 1.9;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

.article-layout .article-body {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.article-toc {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 10px;
  margin-top: clamp(38px, 6vw, 74px);
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.article-toc strong {
  color: var(--night);
  font-size: 16px;
}

.article-toc a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--green);
}

.article-body .opening {
  color: var(--night);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.65;
  font-weight: 800;
}

.article-body h2 {
  margin: 54px 0 18px;
  color: var(--night);
  font-size: clamp(28px, 4vw, 42px);
}

.article-body h3 {
  margin: 38px 0 14px;
  color: var(--green);
  font-size: 24px;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  color: var(--night);
  background: #fff;
  border-left: 5px solid var(--gold);
}

.article-body blockquote p {
  margin: 0;
  font-weight: 800;
}

.article-body figure {
  margin: 42px 0;
}

.article-body figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
}

.article-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.video-embed {
  margin: 36px 0;
}

.video-embed-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--night);
  border: 1px solid var(--line);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.portrait-figure {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.method-cards {
  display: grid;
  gap: 16px;
  margin: 26px 0 36px;
}

.method-cards section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.method-cards strong {
  grid-row: span 3;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1;
}

.method-cards h3 {
  margin-top: 0;
}

.method-cards p {
  grid-column: 2;
}

.index-table {
  display: grid;
  gap: 10px;
  margin: 26px 0 36px;
}

.index-table div,
.records-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.index-table strong,
.records-table strong {
  color: var(--night);
}

.index-table span,
.records-table span {
  color: var(--gold);
  font-weight: 900;
}

.index-table p,
.records-table p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.records-table {
  display: grid;
  gap: 10px;
  margin: 26px 0 36px;
}

.sentence-box,
.source-note {
  margin: 34px 0;
  padding: 26px;
  background: var(--night);
  color: #fff;
  border-left: 5px solid var(--gold);
}

.sentence-box span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sentence-box p {
  margin-bottom: 8px;
}

.source-note {
  background: #fff;
  color: var(--ink);
}

.article-tool-cta {
  margin: 44px 0;
  padding: clamp(24px, 5vw, 38px);
  color: #fff;
  background: linear-gradient(135deg, #101827, #1e6b54);
  border-left: 6px solid var(--gold);
}

.article-tool-cta h2 {
  margin-top: 0;
  color: #fff;
}

.article-tool-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.article-tool-cta .button + .button {
  margin-left: 10px;
}

.continue-reading {
  margin: 44px 0;
  padding: clamp(22px, 4vw, 34px);
  background: #fffaf0;
  border: 1px solid rgba(197, 142, 48, 0.3);
}

.continue-reading h2 {
  margin-top: 0;
}

.continue-reading > p {
  max-width: 720px;
}

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

.reading-link {
  display: block;
  padding: 16px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(16, 24, 39, 0.12);
  text-decoration: none;
}

.reading-link:hover {
  border-color: rgba(197, 142, 48, 0.65);
  box-shadow: 0 14px 28px rgba(16, 24, 39, 0.08);
  transform: translateY(-1px);
}

.reading-link span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reading-link strong {
  display: block;
  color: var(--green);
  font-size: 18px;
  line-height: 1.45;
}

.reading-link.is-coming {
  color: rgba(16, 24, 39, 0.6);
  background: rgba(255, 255, 255, 0.58);
}

.reading-link.is-coming strong {
  color: rgba(16, 24, 39, 0.72);
}

.card-tool {
  background: #fffaf0;
}

.type-test {
  background: #fffaf0;
}

.type-test-hero {
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(16, 24, 39, 0.96), rgba(16, 24, 39, 0.74)),
    url("/assets/images/the-game-is-not-over-wide.png") center / cover no-repeat;
}

.type-test-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
}

.type-test-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.card-tool-hero {
  padding: clamp(42px, 7vw, 76px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(16, 24, 39, 0.96), rgba(16, 24, 39, 0.74)),
    url("/assets/images/wang-deshun-closing-poster.png") center / cover no-repeat;
}

.card-tool-hero h1 {
  max-width: 960px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.05;
}

.card-tool-hero p:last-child {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 2.2vw, 24px);
}

.card-tool-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 66px) clamp(16px, 5vw, 54px);
}

.card-progress {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.card-progress span {
  position: relative;
  z-index: 1;
  color: var(--night);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-progress i {
  position: absolute;
  inset: auto auto 0 0;
  display: block;
  width: 8%;
  height: 4px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.card-form {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quiz-step {
  display: none;
  padding: clamp(24px, 5vw, 42px);
}

.quiz-step.is-active {
  display: block;
}

.quiz-step.is-shaking {
  animation: tool-shake 0.26s linear;
}

@keyframes tool-shake {
  0%, 100% { transform: translateX(0); }
  33% { transform: translateX(-5px); }
  66% { transform: translateX(5px); }
}

.quiz-step h2 {
  max-width: 820px;
  margin: 0 0 20px;
  color: var(--night);
  font-size: clamp(28px, 4vw, 46px);
}

.quiz-step label {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--night);
  font-weight: 800;
}

.quiz-step input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fffaf0;
  color: var(--night);
  font: inherit;
}

.privacy-line,
.quiz-hint,
.inline-warning {
  color: var(--muted);
  font-size: 15px;
}

.inline-warning {
  min-height: 24px;
  color: #9f2f24;
  font-weight: 800;
}

.option-grid {
  display: grid;
  gap: 12px;
}

.quiz-option {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 14px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid var(--line);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.quiz-option strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  background: var(--night);
  font-family: Georgia, serif;
}

.quiz-option span {
  font-weight: 800;
}

.quiz-option.is-selected {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(184, 137, 56, 0.22);
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 clamp(24px, 5vw, 42px) clamp(24px, 5vw, 42px);
}

.card-tool-shell .button,
.type-card-panel .button,
.share-actions .button,
.quiz-actions .button {
  color: var(--night);
  background: #fff;
  border-color: var(--line);
}

.card-tool-shell .button.primary,
.type-card-panel .button.primary,
.share-actions .button.primary,
.quiz-actions .button.primary {
  color: var(--night);
  background: var(--gold);
  border-color: var(--gold);
}

.card-tool-shell .button:hover,
.type-card-panel .button:hover,
.share-actions .button:hover,
.quiz-actions .button:hover {
  border-color: var(--gold);
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.type-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 24px;
  align-items: start;
}

.result-panel,
.share-panel,
.type-result-panel,
.type-card-panel {
  padding: 24px;
  background: #fffaf0;
  border: 1px solid var(--line);
}

.result-panel h3,
.type-result-panel h3 {
  color: var(--green);
  font-size: clamp(26px, 4vw, 40px);
}

.result-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.result-list div {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.result-list dt {
  color: var(--gold);
  font-weight: 900;
}

.result-list dd {
  margin: 4px 0 0;
  color: var(--ink);
}

.result-summary {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

.read-links {
  display: grid;
  gap: 8px;
}

.alive-panel,
.action-panel,
.recommend-panel,
.pbl-panel {
  margin-top: 22px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.alive-panel h4,
.action-panel h4,
.recommend-panel h4,
.pbl-panel h4 {
  margin: 0 0 14px;
  color: var(--night);
  font-size: clamp(22px, 3vw, 30px);
}

.alive-grid {
  display: grid;
  gap: 10px;
}

.alive-grid div,
.action-panel div {
  padding: 14px;
  background: #fffaf0;
  border-left: 4px solid var(--gold);
}

.alive-grid strong,
.action-panel strong {
  display: block;
  color: var(--green);
  font-weight: 900;
}

.alive-grid p,
.action-panel p,
.recommend-panel p,
.pbl-panel p {
  margin: 6px 0 0;
}

.recommend-panel .button,
.pbl-panel .button {
  margin-top: 10px;
}

.pbl-panel {
  background: linear-gradient(180deg, #fff, #fffaf0);
}

.small-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.share-panel canvas {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper);
  border: 1px solid var(--line);
}

.type-card-panel canvas {
  display: block;
  width: 100%;
  height: auto;
  background: var(--night);
  border: 1px solid var(--line);
}

.nickname-label,
.custom-grid label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--night);
  font-weight: 800;
}

.nickname-label input,
.custom-grid input,
.custom-grid select,
.custom-grid textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  font: inherit;
}

.custom-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.custom-grid fieldset {
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid var(--line);
}

.custom-grid legend {
  padding: 0 8px;
  color: var(--night);
  font-weight: 900;
}

.custom-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.custom-chip {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.custom-chip.is-selected {
  color: var(--night);
  background: rgba(184, 137, 56, 0.22);
  border-color: var(--gold);
}

.quiz-actions small {
  display: block;
  color: inherit;
  font-size: 11px;
  opacity: 0.72;
}

.share-actions {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.share-panel textarea {
  width: 100%;
  min-height: 190px;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font: inherit;
  resize: vertical;
}

.type-card-panel textarea {
  width: 100%;
  min-height: 180px;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font: inherit;
  resize: vertical;
}

.advanced-test-note {
  padding-top: 0;
}

.advanced-test-note .section-heading {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 42px);
  background: #fff;
  border: 1px dashed var(--gold);
}

.draft-note {
  margin: 0 0 30px;
  padding: 22px;
  background: #fff;
  border: 1px dashed var(--gold);
}

.draft-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
}

.draft-note p {
  margin: 0;
  color: var(--muted);
}

.template-article .article-hero {
  background: linear-gradient(180deg, #fffaf0, #f3ead9);
}

.source-note h2 {
  margin-top: 0;
  font-size: 26px;
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy em {
    font-size: 10px;
  }

  .hero,
  .split,
  .feature-band,
  .featured-story,
  .library-hero,
  .library-categories,
  .library-band,
  .article-grid,
  .article-grid-featured,
  .grid.three,
  .grid.four,
  .grid.two,
  .result-layout,
  .type-result-layout,
  .type-grid,
  .type-mini-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    min-height: 640px;
    background-position: center;
  }

  .hero-visual {
    min-height: 340px;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-footer {
    flex-direction: column;
  }

  .article-layout {
    display: block;
    padding: 0 20px;
  }

  .article-toc {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 22px 0 0;
    padding: 12px;
    white-space: nowrap;
  }

  .article-toc strong {
    flex: 0 0 auto;
    padding-right: 8px;
  }

  .article-toc a {
    flex: 0 0 auto;
    padding: 6px 10px;
    background: var(--paper);
    border: 1px solid var(--line);
  }

  .article-layout .article-body {
    max-width: 860px;
    margin: 0 auto;
  }

  .story-card-primary {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy em {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    top: 67px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .scoreboard {
    left: 22px;
    right: 22px;
  }

  .article-body {
    font-size: 17px;
    line-height: 1.82;
  }

  .article-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-hero img {
    margin-left: -20px;
    width: calc(100% + 40px);
    max-width: none;
    border-left: 0;
    border-right: 0;
  }

  .method-cards section {
    grid-template-columns: 1fr;
  }

  .method-cards strong,
  .method-cards p {
    grid-column: auto;
  }

  .index-table div,
  .records-table div {
    grid-template-columns: 1fr;
  }

  .quiz-option {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .quiz-option strong {
    width: 38px;
    height: 38px;
  }

  .quiz-actions .button,
  .share-actions .button {
    width: 100%;
  }

  .result-panel,
  .share-panel,
  .type-result-panel,
  .type-card-panel {
    padding: 18px;
  }
}


.person-facts {
  margin: 44px 0;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid rgba(197, 142, 48, 0.32);
  border-left: 6px solid var(--gold);
}

.person-facts h2 {
  margin-top: 0;
}

.person-facts dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.person-facts div {
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(16, 24, 39, 0.1);
}

.person-facts div:first-child {
  border-top: 0;
}

.person-facts dt {
  font-weight: 800;
  color: var(--green);
}

.person-facts dd {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 640px) {
  .article-tool-cta .button {
    display: block;
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }

  .article-tool-cta .button + .button {
    margin-left: 0;
  }

  .reading-links {
    grid-template-columns: 1fr;
  }

  .person-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
