/* ==========================================================================
   WrongInfo styles
   1. Tokens  2. Base  3. Header  4. Buttons  5. Home  6. Cards
   7. Pages  8. Article  9. Footer  10. Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #171717;
  --surface: #20201e;
  --ink: #f5f0e8;
  --muted: #aaa49a;
  --line: #393734;
  --tint: #252421;
  --red-text: #c5a879;
  --btn: #c5a879;
  --btn-hover: #d6bb91;
  --band: #20201e;
  --band-ink: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.06), 0 14px 28px rgba(0, 0, 0, 0.09);
  --radius: 14px;
  --radius-sm: 10px;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #171717;
  --surface: #20201e;
  --ink: #f5f0e8;
  --muted: #aaa49a;
  --line: #393734;
  --tint: #252421;
  --red-text: #c5a879;
  --btn: #c5a879;
  --btn-hover: #d6bb91;
  --band: #111110;
  --band-ink: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.4), 0 14px 28px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; outline: none; }

svg { max-width: 100%; }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.12; letter-spacing: -0.02em; }

a { color: var(--red-text); text-underline-offset: 0.2em; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: min(100% - 2.5rem, 1120px); margin-inline: auto; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* 3. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  text-decoration: none;
  line-height: 1;
  color: var(--ink);
}
.logo-wrong { color: var(--ink); }
.logo-info { color: var(--red-text); }

.header-right { display: flex; align-items: center; gap: 0.5rem; }

.main-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0 0.5rem 0 0; padding: 0; }

.main-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background-color 0.15s;
}
.main-nav a:hover { color: var(--red-text); background: var(--tint); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red-text); border-radius: 8px 8px 0 0; }
.main-nav a[aria-current="page"]:hover { background: transparent; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.icon-btn:hover { background: var(--tint); border-color: var(--ink); }
.icon-btn:active { transform: translateY(1px); }

.menu-btn { display: none; }

@media (max-width: 759px) {
  .menu-btn { display: inline-grid; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }
  .site-header.nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; margin: 0; }
  .main-nav a { padding: 0.85rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: none; color: var(--red-text); border-radius: 0; }
  .main-nav li:last-child a { border-bottom: 0; }
}

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.3rem;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.16s, color 0.16s, border-color 0.16s, box-shadow 0.16s, transform 0.12s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); box-shadow: 0 6px 16px rgba(215, 31, 22, 0.28); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }

.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }

/* 5. Home ------------------------------------------------------------------ */
.hero { padding-block: clamp(2.5rem, 6vw, 4.75rem) 3rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 7vw, 4.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.tagline {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 600;
  font-style: italic;
  color: var(--red-text);
}

.lede { margin: 0 0 2rem; max-width: 52ch; font-size: 1.125rem; color: var(--muted); }

.searchbar {
  position: relative;
  display: flex;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.16s;
}
.searchbar:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.searchbar-icon { position: absolute; left: 1.1rem; top: 50%; translate: 0 -50%; color: var(--muted); width: 1.35rem; height: 1.35rem; pointer-events: none; }
.searchbar input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 0.5rem 0.9rem 2.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
}
.searchbar input::placeholder { color: var(--muted); opacity: 1; }
.searchbar input::-webkit-search-cancel-button { cursor: pointer; }
.searchbar .btn { border-radius: 10px; white-space: nowrap; padding-inline: 1.1rem; }

.quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.25rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips-label { color: var(--muted); font-size: 0.9rem; }
.chip-link {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 0.15s, color 0.15s;
}
.chip-link:hover { border-color: var(--red-text); color: var(--red-text); }

@media (max-width: 1099px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
  .searchbar { flex-direction: column; padding: 0.35rem; }
  .searchbar-icon { top: 1.95rem; left: 0.95rem; width: 1.2rem; height: 1.2rem; }
  .searchbar input { padding: 0.85rem 0.5rem 0.85rem 2.6rem; font-size: 0.85rem; }
  .searchbar .btn { width: 100%; }
}

/* Encyclopedia infobox: the "wrong fact of the day" */
.infobox {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: visible;
}
.infobox-head {
  padding: 0.75rem 1.1rem;
  background: var(--btn);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.infobox-body { padding: 1.25rem 1.1rem 1.1rem; }
.infobox-claim { margin: 0 0 1.1rem; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.infobox-facts { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 0 0 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9rem; }
.infobox-facts dt { color: var(--muted); }
.infobox-facts dd { margin: 0; font-weight: 600; }
.infobox-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.infobox-btn:hover { border-color: var(--red-text); color: var(--red-text); }
.stamp {
  position: absolute;
  right: 0.9rem;
  bottom: -1rem;
  rotate: -7deg;
  padding: 0.2rem 0.7rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
  background: var(--surface);
  border: 3px solid var(--red-text);
  border-radius: 6px;
  pointer-events: none;
}

/* Sections */
.section { padding-block: 3rem; }
.section-head { margin-bottom: 1.75rem; }
.section-title { margin: 0 0 0.5rem; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; }
.section-sub { margin: 0; color: var(--muted); max-width: 60ch; }

/* Featured */
.featured { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; }
.featured-art { background: var(--tint); border-right: 1px solid var(--line); display: flex; align-items: center; }
.featured-art svg { width: 100%; height: auto; display: block; }
.featured-body { padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; justify-content: center; }
.featured-body h2 { margin: 0; font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 800; }
.featured-body p { margin: 0; font-size: 1.1rem; color: var(--muted); }
@media (max-width: 799px) {
  .featured { grid-template-columns: 1fr; }
  .featured-art { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Random band */
.band {
  background: var(--band);
  color: var(--band-ink);
  border-radius: 22px;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.5rem;
  text-align: center;
}
.band h2 { margin: 0 0 0.75rem; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; color: #fff; }
.band p { margin: 0 auto 2rem; max-width: 46ch; font-size: 1.1rem; color: #d6d6d2; }
.band .btn-primary:focus-visible { outline-color: #fff; }

/* 6. Cards ----------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.grid { display: grid; gap: 1.25rem; }
.grid-topics { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-articles { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.topic-card:hover { border-color: var(--ink); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.topic-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.4rem;
  color: var(--red-text);
  background: var(--tint);
  border-radius: 12px;
}
.topic-icon .icon { width: 24px; height: 24px; }
.topic-name { margin: 0; font-size: 1.45rem; font-weight: 800; }
.topic-desc { margin: 0; color: var(--muted); flex: 1; }
.topic-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; }
.topic-foot .icon { color: var(--red-text); transition: transform 0.18s; }
.topic-card:hover .topic-foot .icon { transform: translateX(4px); }

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.4rem;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.article-card:hover { border-color: var(--ink); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.article-card:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.article-card h3 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.article-card h3 a { color: var(--ink); text-decoration: none; transition: color 0.15s; }
.article-card h3 a:focus-visible { outline: none; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.article-card:hover h3 a { color: var(--red-text); }
.article-card p { margin: 0; color: var(--muted); flex: 1; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem 0.2rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.chip .icon { width: 0.95rem; height: 0.95rem; color: var(--red-text); }
a.chip { transition: border-color 0.15s; }
a.chip:hover { border-color: var(--red-text); }

.meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 0.875rem; }
.meta li { display: inline-flex; align-items: center; gap: 0.35rem; }
.meta .icon { width: 1rem; height: 1rem; }

/* 7. Pages ----------------------------------------------------------------- */
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.page-head h1 { margin: 0 0 0.75rem; font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.page-head p { margin: 0 0 1.5rem; max-width: 58ch; color: var(--muted); font-size: 1.1rem; }
.page-head .searchbar { max-width: 720px; }
.page-body { padding-bottom: 4rem; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: 0.9rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red-text); }
.breadcrumb .icon { width: 0.9rem; height: 0.9rem; }

.state { text-align: center; padding-block: 4rem 5rem; max-width: 640px; }
.state-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.25rem; color: var(--red-text); background: var(--tint); border-radius: 50%; }
.state-icon .icon { width: 30px; height: 30px; }
.state h1 { margin: 0 0 0.75rem; font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 800; }
.state p { margin: 0 0 1.75rem; color: var(--muted); font-size: 1.1rem; }
.state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* 8. Article --------------------------------------------------------------- */
.article-page { width: min(100% - 2.5rem, 760px); margin-inline: auto; padding-block: clamp(1.75rem, 5vw, 3rem) 4rem; }

.article-title { margin: 0.9rem 0 1rem; font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
.article-lede { margin: 0 0 1.25rem; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.5; color: var(--muted); }

.satire-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.5rem 0 2rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--tint);
  border-left: 3px solid var(--red-text);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.satire-note .icon { color: var(--red-text); margin-top: 0.1rem; }

.plate { margin: 0 0 2.25rem; }
.plate-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.plate-frame svg { display: block; width: 100%; height: auto; }
.plate figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--muted); }

.prose { font-family: var(--font-serif); font-size: 1.19rem; line-height: 1.75; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { margin: 2.2em 0 0.7em; padding-bottom: 0.3em; font-size: 1.7rem; font-weight: 800; border-bottom: 1px solid var(--line); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.5em; padding-left: 0.2em; }
.prose li::marker { color: var(--red-text); font-weight: 700; }
.prose blockquote { margin: 1.8em 0; padding: 0.2em 0 0.2em 1.3em; border-left: 3px solid var(--red-text); font-size: 1.3rem; font-style: italic; line-height: 1.5; }
.prose blockquote cite { display: block; margin-top: 0.5em; font-size: 0.95rem; font-style: normal; color: var(--muted); font-family: var(--font-ui); }

/* Fake chart */
.chart { margin: 2.2rem 0; padding: 1.25rem 1.3rem 1.1rem; font-family: var(--font-ui); }
.chart-title { margin: 0 0 1rem; font-weight: 700; font-size: 0.98rem; }
.chart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.chart-list li { display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr 4.2rem; align-items: center; gap: 0.8rem; margin: 0; padding: 0; font-size: 0.9rem; }
.chart-label { color: var(--ink); }
.chart-track { height: 12px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.chart-bar { display: block; height: 100%; background: var(--btn); border-radius: 999px; }
.chart-value { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart figcaption { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
@media (max-width: 559px) {
  .chart-list li { grid-template-columns: 1fr 3.8rem; }
  .chart-label { grid-column: 1 / -1; }
}

.author-box { display: flex; gap: 1rem; align-items: center; margin-top: 3rem; padding: 1.25rem; }
.avatar { display: grid; place-items: center; flex: none; width: 54px; height: 54px; font-weight: 700; color: #fff; background: var(--btn); border-radius: 50%; }
.author-name { margin: 0; font-weight: 700; }
.author-role { margin: 0 0 0.3rem; font-size: 0.88rem; color: var(--red-text); font-weight: 600; }
.author-bio { margin: 0; font-size: 0.92rem; color: var(--muted); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.pager-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.pager-link:hover { border-color: var(--ink); box-shadow: var(--shadow-hover); }
.pager-link small { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.85rem; }
.pager-link small .icon { width: 1rem; height: 1rem; color: var(--red-text); }
.pager-link span { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.pager-next { text-align: right; align-items: flex-end; }
.pager-link:hover span { color: var(--red-text); }
@media (max-width: 559px) { .pager { grid-template-columns: 1fr; } .pager-next { text-align: left; align-items: flex-start; } }

.article-random { display: flex; justify-content: center; margin-top: 2.5rem; }

.related { margin-top: 3.5rem; }
.related h2 { margin: 0 0 1.25rem; font-size: 1.6rem; font-weight: 800; }
.related-wrap { width: min(100% - 2.5rem, 1120px); margin-inline: auto; padding-bottom: 4rem; }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer { margin-top: auto; padding-block: 3rem 2rem; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-brand { max-width: 480px; }
.footer-tagline { margin: 0.6rem 0 0.9rem; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 1.1rem; }
.disclaimer { margin: 0; font-size: 0.88rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink); font-weight: 500; text-decoration: none; }
.footer-links a:hover { color: var(--red-text); text-decoration: underline; }
.footer-bottom { margin: 2.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }

/* Generate page */
.gen-status { min-height: 1.6em; margin: 1rem 0 0; color: var(--muted); }
.gen-status.is-error { color: var(--red-text); font-weight: 600; }
.gen-note { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--muted); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn[disabled]:hover { background: var(--btn); box-shadow: none; }

/* 10. Utilities ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .topic-card:hover, .article-card:hover { transform: none; }
}

@media (max-width: 380px) {
  .searchbar input { font-size: 0.78rem; }
}


/* ==========================================================================
   WrongInfo Editorial Redesign — restrained, premium reading experience
   ========================================================================== */
:root {
  --bg: #171815;
  --surface: #20211d;
  --ink: #eee9dc;
  --muted: #aaa99d;
  --line: #414139;
  --tint: #262720;
  --red-text: #d0ad72;
  --btn: #c6a36b;
  --btn-hover: #dfbd86;
  --band: #20211d;
  --band-ink: #eee9dc;
  --radius: 3px;
  color-scheme: dark;
}
html { background: var(--bg); scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: .005em;
}
h1,h2,h3,h4,.logo,.article-title,.section-title,.tagline {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
}
a { color: inherit; text-decoration-color: #8d7957; text-underline-offset: 4px; }
a:hover { color: #e2c18c; }
.container { width: min(1160px, calc(100% - 48px)); }
.site-header {
  background: rgba(23,24,21,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 78px; }
.logo { font-size: 1.75rem; letter-spacing: -.06em; }
.logo-wrong { color: var(--ink); }
.logo-info { color: #c9a76f; }
.main-nav a { color: #c4c1b6; font-size: .88rem; }
.main-nav a:hover,.main-nav a.active { color: #e4c48e; }
.icon-btn { color: var(--ink); border-color: var(--line); background: transparent; }
.icon-btn:hover { border-color: #c9a76f; background: #25261f; }
#main { min-height: 60vh; }
.hero {
  padding: clamp(56px, 9vw, 112px) 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { align-items: start; gap: clamp(30px, 7vw, 90px); }
.hero-copy { max-width: 720px; }
.tagline {
  font-size: clamp(2.8rem, 7.5vw, 6.4rem);
  line-height: .98;
  max-width: 780px;
  color: var(--ink);
}
.lede,.section-sub,.topic-desc,.card p { color: var(--muted); }
.lede { font-size: 1.08rem; max-width: 610px; }
.hero .eyebrow,.eyebrow,.section-kicker,.article-topic {
  color: #c9a76f;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.quick-actions { gap: 12px; }
.btn,.btn-primary,.btn-secondary {
  border-radius: 2px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary {
  background: #c9a76f;
  color: #171815;
  border: 1px solid #c9a76f;
  font-weight: 700;
}
.btn-primary:hover { background: #e0c18e; border-color: #e0c18e; color: #171815; }
.btn-secondary { background: transparent; border: 1px solid #5a594e; color: var(--ink); }
.btn-secondary:hover { border-color: #c9a76f; background: #25261f; }
.chip,.chip-link {
  background: transparent;
  border: 1px solid #4b4b42;
  color: #c7c4b8;
  border-radius: 2px;
}
.chip:hover,.chip-link:hover { border-color: #c9a76f; color: #e2c18c; }
.infobox,.card,.featured,.topic-card,.article-card,.pager-link,.author-box,.chart {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
}
.infobox-head { background: #24251f; border-bottom: 1px solid var(--line); }
.infobox-body { color: var(--muted); }
.section { padding: 52px 0; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 24px; align-items: baseline; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.1; }
.section-sub { font-size: .92rem; }
.card { padding: 22px; transition: border-color .2s ease, background .2s ease; }
.card:hover,.topic-card:hover,.article-card:hover { border-color: #8a7655; background: #1d1e19; transform: none; }
.card h2,.card h3,.article-card h2,.topic-name { color: var(--ink); font-family: "Newsreader", Georgia, serif; font-weight: 500; letter-spacing: -.025em; }
.card h2,.article-card h2 { font-size: 1.55rem; line-height: 1.16; }
.featured { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.featured-art,.plate,.plate-frame { background: #24251f; border-color: var(--line); }
.featured-body { padding: clamp(22px, 4vw, 44px); }
.page-head { background: #1d1e19; border-bottom: 1px solid var(--line); padding-top: 42px; padding-bottom: 38px; }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); line-height: 1; }
.breadcrumb { color: var(--muted); font-size: .82rem; }
.searchbar { background: #20211d; border: 1px solid #555449; border-radius: 2px; }
.searchbar input,.searchbar select,input,textarea,select {
  background: #1b1c18; color: var(--ink); border-color: #555449;
}
input:focus,textarea:focus,select:focus { outline: 2px solid #c9a76f; outline-offset: 2px; }
.article-page { max-width: 100%; }
.article-title { font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .98; max-width: 920px; }
.article-lede { color: #c5c1b5; font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 760px; line-height: 1.65; }
.satire-note { border-left: 2px solid #c9a76f; background: #22231d; color: #c7c3b8; padding: 14px 18px; }
.prose { max-width: 760px; font-size: 1.08rem; line-height: 1.9; color: #d7d2c6; }
.prose h2 { font-size: 2rem; color: var(--ink); margin-top: 2.4em; line-height: 1.15; }
.prose blockquote { border-left: 2px solid #c9a76f; color: #d6bd91; font-family: "Newsreader", Georgia, serif; font-size: 1.6rem; padding: 10px 24px; }
.chart-title,.author-name { color: var(--ink); }
.chart-track { background: #37382f; }
.chart-bar { background: #c9a76f; }
.pager-link { color: var(--ink); }
.site-footer { background: #121310; border-top: 1px solid var(--line); color: var(--muted); padding: 48px 0 24px; }
.footer-tagline { color: #c9a76f; font-family: "Newsreader", Georgia, serif; font-size: 1.2rem; }
.footer-links a { color: #c4c1b6; }
.footer-bottom { border-top: 1px solid var(--line); }
.skip-link { background: #c9a76f; color: #171815; }
::selection { background: #c9a76f; color: #171815; }
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1160px); }
  .header-inner { min-height: 66px; }
  .main-nav { background: #1b1c18; border: 1px solid var(--line); }
  .hero { padding: 52px 0 42px; }
  .tagline { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-grid { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured-art { min-height: 170px; }
  .section { padding: 38px 0; }
  .card { padding: 18px; }
  .article-title { font-size: clamp(2.65rem, 12vw, 4rem); }
  .prose { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ==========================================================================
   WrongInfo — full editorial redesign
   A reading-first fictional atlas: warm paper, ink, cobalt, oversized type.
   ========================================================================== */
:root {
  --bg: #f3f0e8;
  --surface: #fbfaf6;
  --ink: #171b25;
  --muted: #626775;
  --line: #d8d4c9;
  --tint: #e9e5da;
  --red-text: #2448d8;
  --btn: #2448d8;
  --btn-hover: #1936ae;
  --band: #171b25;
  --band-ink: #f3f0e8;
  --shadow: 0 12px 35px rgba(23,27,37,.06);
  --shadow-hover: 0 20px 48px rgba(23,27,37,.12);
  --radius: 3px;
  --radius-sm: 2px;
  --font-ui: "DM Sans", Inter, system-ui, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #121722;
  --surface: #1a2130;
  --ink: #f3f0e8;
  --muted: #b1b7c5;
  --line: #343d4d;
  --tint: #232b3b;
  --red-text: #a9baff;
  --btn: #4566f5;
  --btn-hover: #607bff;
  --band: #090d15;
  --band-ink: #f3f0e8;
  --shadow: 0 12px 35px rgba(0,0,0,.18);
  --shadow-hover: 0 20px 48px rgba(0,0,0,.28);
  color-scheme: dark;
}
body { font-size: 16px; line-height: 1.72; letter-spacing: -.01em; }
.container { width: min(100% - 3rem, 1240px); }
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; }
.logo { font-size: 1.55rem; font-weight: 700; letter-spacing: -.075em; }
.logo-wrong { color: var(--ink); }
.logo-info { color: var(--red-text); }
.main-nav a { font-size: .83rem; font-weight: 600; letter-spacing: .015em; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red-text); }
.icon-btn { border-radius: 50%; border: 1px solid var(--line); }
.hero { background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.hero::before { content: "FIELD NOTES / 001"; position: absolute; top: 30px; right: max(24px, calc((100vw - 1240px)/2)); font: 600 .67rem/1 var(--font-ui); letter-spacing: .18em; color: var(--muted); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .65fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(5rem, 10vw, 9rem); }
.hero-copy { max-width: 790px; }
.hero-copy::before { content: "THE ENCYCLOPEDIA OF ALTERNATE REALITIES"; display: block; margin-bottom: 1.5rem; color: var(--red-text); font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.hero h1 { max-width: 800px; margin: 0; font: 500 clamp(4rem, 8.6vw, 8.3rem)/.88 var(--font-serif); letter-spacing: -.065em; }
.hero .tagline { margin: 1.8rem 0 .4rem; font: 500 clamp(1.3rem, 2.5vw, 2rem)/1.2 var(--font-serif); color: var(--red-text); }
.hero .lede { max-width: 560px; margin: .9rem 0 2rem; color: var(--muted); font-size: 1.05rem; }
.searchbar { display: flex; align-items: center; gap: .55rem; padding: .4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); }
.searchbar:focus-within { border-color: var(--red-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red-text) 12%, transparent); }
.searchbar input { min-width: 0; padding: .85rem .75rem; background: transparent; border: 0; box-shadow: none; }
.searchbar .btn { min-height: 46px; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 3px; font-size: .84rem; font-weight: 700; letter-spacing: .01em; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--btn); border-color: var(--btn); color: white; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.chip-link, .chip { border-radius: 2px; background: var(--tint); border: 1px solid var(--line); font-size: .75rem; }
.infobox { position: relative; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); box-shadow: 12px 12px 0 var(--tint); transform: rotate(1deg); }
.infobox-head { padding: 1rem 1.15rem; background: var(--ink); color: var(--bg); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.infobox-body { padding: 1.4rem; }
.infobox-claim { font: 500 1.65rem/1.12 var(--font-serif); letter-spacing: -.03em; }
.infobox-facts { border-top: 1px solid var(--line); }
.stamp { border-radius: 2px; color: var(--red-text); border: 1px solid var(--red-text); font-size: .62rem; letter-spacing: .15em; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { align-items: end; margin-bottom: 1.8rem; }
.section-title { font: 500 clamp(2.4rem, 4vw, 4rem)/.98 var(--font-serif); letter-spacing: -.05em; }
.section-sub { color: var(--muted); max-width: 420px; font-size: .9rem; }
.card { border: 1px solid var(--line); border-radius: 3px; background: var(--surface); box-shadow: none; }
.card:hover { box-shadow: var(--shadow-hover); }
.featured { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.featured-art { min-height: 390px; background: var(--tint); border-right: 1px solid var(--line); }
.featured-body { padding: clamp(1.5rem, 4vw, 3.5rem); align-self: center; }
.featured-body h2 { font: 500 clamp(2.2rem, 4.2vw, 4.1rem)/.98 var(--font-serif); letter-spacing: -.045em; }
.featured-body > p { color: var(--muted); font-size: 1rem; }
.grid { gap: 1rem; }
.grid-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic-card, .topic-link { border: 1px solid var(--line); border-radius: 3px; padding: 1.4rem; background: var(--surface); transition: transform .2s ease, border-color .2s ease; }
.topic-card:hover, .topic-link:hover { transform: translateY(-3px); border-color: var(--red-text); }
.topic-name { font: 500 1.7rem/1.05 var(--font-serif); letter-spacing: -.03em; }
.topic-desc { color: var(--muted); font-size: .86rem; }
.topic-foot { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1.2rem; font-size: .73rem; }
.grid-articles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.article-card .card-body, .article-card-body { padding: 1.25rem; }
.article-card h3, .article-card-title { font: 500 1.65rem/1.08 var(--font-serif); letter-spacing: -.03em; }
.article-card p { color: var(--muted); font-size: .88rem; }
.plate, .featured-art { background: var(--tint); }
.plate-frame { border-radius: 2px; }
.page-head { padding-block: clamp(3rem, 6vw, 5.5rem) 2.5rem; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 950px; margin: 1.5rem 0 .8rem; font: 500 clamp(3.2rem, 7vw, 6.6rem)/.91 var(--font-serif); letter-spacing: -.06em; }
.page-head > p { max-width: 690px; color: var(--muted); font-size: 1.05rem; }
.page-body { padding-block: 2.5rem 5rem; }
.breadcrumb { font-size: .76rem; color: var(--muted); }
.article-page { max-width: 900px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) 1.5rem 4rem; }
.article-title { margin: 1.5rem 0 1rem; font: 500 clamp(3.4rem, 7.5vw, 7rem)/.91 var(--font-serif); letter-spacing: -.06em; }
.article-lede { max-width: 740px; color: var(--muted); font: 400 clamp(1.2rem, 2vw, 1.6rem)/1.45 var(--font-serif); }
.article-page .plate { margin: 2.5rem 0; }
.article-page .prose { max-width: 690px; margin: 0 auto; font: 400 1.16rem/1.9 var(--font-serif); }
.article-page .prose h2 { margin: 2.5rem 0 .8rem; font: 500 2.3rem/1.05 var(--font-serif); letter-spacing: -.035em; }
.article-page .prose p { margin: 0 0 1.45rem; }
.article-page .prose blockquote { margin: 2rem 0; padding: 1.2rem 1.5rem; border-left: 3px solid var(--red-text); background: var(--tint); font-size: 1.35rem; }
.satire-note { border: 1px solid var(--line); border-left: 3px solid var(--red-text); border-radius: 2px; padding: .9rem 1rem; background: var(--surface); font-size: .78rem; }
.band { padding: clamp(2rem, 6vw, 5rem); border-radius: 3px; background: var(--band); color: var(--band-ink); }
.band h2 { font: 500 clamp(2.6rem, 5vw, 5rem)/.95 var(--font-serif); letter-spacing: -.045em; }
.band p { color: color-mix(in srgb, var(--band-ink) 72%, transparent); }
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 3rem 0 1.5rem; }
.footer-grid { gap: 3rem; }
.footer-tagline { font: 500 1.2rem var(--font-serif); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.2rem; font-size: .72rem; color: var(--muted); }
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 5rem 4rem; gap: 3rem; }
  .hero-copy { max-width: 760px; }
  .infobox { max-width: 560px; transform: none; }
  .grid-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { grid-template-columns: 1fr; }
  .featured-art { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .container { width: min(100% - 1.5rem, 1240px); }
  .header-inner { min-height: 68px; }
  .hero::before { top: 17px; right: 14px; font-size: .55rem; }
  .hero-grid { padding-block: 4.3rem 3rem; }
  .hero h1 { font-size: clamp(3.45rem, 17vw, 5rem); }
  .hero .lede { font-size: .95rem; }
  .searchbar { flex-wrap: wrap; }
  .searchbar input { flex: 1 1 100%; }
  .searchbar .btn { width: 100%; }
  .quick-actions { align-items: flex-start; flex-direction: column; }
  .grid-topics, .grid-articles { grid-template-columns: 1fr; }
  .section { padding-block: 3.25rem; }
  .section-head { display: block; }
  .section-title { font-size: 2.8rem; }
  .featured-art { min-height: 220px; }
  .featured-body { padding: 1.4rem; }
  .page-head { padding-top: 2.5rem; }
  .page-head h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .article-page { padding-inline: 1rem; }
  .article-title { font-size: clamp(3.2rem, 15vw, 5rem); }
  .article-page .prose { font-size: 1.08rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Figma homepage — charcoal, warm white, muted gold */
:root{--bg:#171717;--surface:#20201e;--ink:#f5f0e8;--muted:#aaa49a;--line:#393734;--tint:#252421;--red-text:#c5a879;--btn:#c5a879;--btn-hover:#d6bb91;--band:#20201e;--band-ink:#f5f0e8;--font-ui:"DM Sans",sans-serif;--font-serif:"Newsreader",Georgia,serif}
[data-theme="dark"],[data-theme="light"]{--bg:#171717;--surface:#20201e;--ink:#f5f0e8;--muted:#aaa49a;--line:#393734;--tint:#252421;--red-text:#c5a879;--btn:#c5a879;--btn-hover:#d6bb91;--band:#20201e;--band-ink:#f5f0e8;color-scheme:dark}
.site-header{background:rgba(23,23,23,.94);backdrop-filter:blur(16px);border-color:var(--line)}.header-inner{min-height:82px}.logo{text-transform:uppercase;font-size:20px;letter-spacing:-1px}.logo-info{color:#c5a879}.main-nav ul{gap:clamp(1rem,3vw,2.25rem)}.main-nav a{font-size:13px;color:var(--muted)}.main-nav a:hover,.main-nav a[aria-current=page]{color:var(--ink)}
.figma-hero{border-bottom:1px solid var(--line)}.figma-hero-inner{min-height:650px;padding:70px 0 38px;display:flex;flex-direction:column}.figma-kicker,.figma-section-label{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:11px;letter-spacing:.16em;text-transform:uppercase}.figma-kicker i,.figma-scroll i{width:72px;height:1px;display:inline-block;background:#c5a879}.figma-hero h1{margin:76px 0 48px;max-width:1000px;font:400 clamp(3.6rem,8.4vw,7rem)/.91 var(--font-serif);letter-spacing:-.065em}.figma-hero h1 em,.figma-collection-head h2 em,.figma-endnote h2 em{color:#c5a879;font-weight:400}.figma-hero-bottom{display:grid;grid-template-columns:minmax(170px,220px) minmax(280px,420px);gap:60px;align-items:end}.figma-hero-bottom>p{margin:0;color:var(--muted);font:400 18px/1.55 var(--font-serif);max-width:220px}.figma-search{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--muted)}.figma-search-icon{font-size:23px;color:var(--muted)}.figma-search input{width:100%;min-width:0;background:transparent;color:var(--ink);border:0;outline:0;font:400 16px var(--font-ui)}.figma-search input::placeholder{color:var(--muted)}.figma-search button{border:0;background:transparent;color:#c5a879;font-size:22px;cursor:pointer}.figma-scroll{margin-top:auto;padding-top:64px;display:flex;gap:12px;align-items:center;color:var(--muted);font-size:10px;letter-spacing:.13em;text-transform:uppercase}.figma-scroll i{width:45px;background:var(--line)}
.figma-content{max-width:1100px}.figma-feature-section{padding:110px 0 125px}.figma-section-label{gap:18px}.figma-section-label span:first-child{color:#c5a879}.figma-featured{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(32px,6vw,78px);margin-top:32px;align-items:center}.figma-featured-image{display:block;min-height:520px;background:#242320;overflow:hidden;position:relative}.figma-globe-art{height:100%;min-height:520px;position:relative;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 44%,#5c5140 0,#2b2925 30%,#1a1a19 68%)}.globe-core{width:min(42vw,280px);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(197,168,121,.72);color:#c5a879;font:400 120px/.9 var(--font-serif);box-shadow:inset -28px -18px 50px #111,inset 12px 8px 45px rgba(197,168,121,.2),0 0 60px rgba(197,168,121,.1);background:radial-gradient(circle at 35% 30%,rgba(197,168,121,.16),rgba(0,0,0,.55))}.globe-orbit{position:absolute;width:78%;aspect-ratio:1.25;border:1px solid rgba(197,168,121,.35);border-radius:50%;transform:rotate(-24deg)}.globe-caption{position:absolute;left:24px;bottom:22px;color:#aaa49a;font-size:10px;letter-spacing:.2em}
.figma-featured-copy{padding:12px 0}.figma-overline{color:#c5a879;font-size:10px;letter-spacing:.16em;text-transform:uppercase}.figma-featured-copy h2{margin:24px 0 18px;font:400 clamp(2.5rem,4.5vw,4.5rem)/.98 var(--font-serif);letter-spacing:-.05em}.figma-featured-copy h2 a,.figma-article-card h3 a{color:var(--ink);text-decoration:none}.figma-description{color:var(--muted);font:400 16px/1.7 var(--font-serif)}.figma-featured-meta .meta{display:flex;gap:12px;color:var(--muted);padding:0;list-style:none;font-size:12px}.figma-text-link{display:inline-flex;align-items:center;gap:22px;margin-top:18px;color:#c5a879;text-decoration:none;font-size:12px;letter-spacing:.03em;border-bottom:1px solid var(--line);padding-bottom:10px}.figma-text-link span{font-size:18px}
.figma-collection-section{border-top:1px solid var(--line);padding:100px 0 120px}.figma-collection-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:40px 0 50px}.figma-collection-head h2,.figma-endnote h2{margin:0;font:400 clamp(3rem,6vw,5.6rem)/.93 var(--font-serif);letter-spacing:-.06em}.figma-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.figma-article-card{min-width:0;border-top:1px solid var(--line);padding-top:16px}.figma-card-art{min-height:220px;margin-bottom:22px;display:flex;flex-direction:column;justify-content:space-between;padding:18px;color:#c5a879;text-decoration:none;background:radial-gradient(circle at 50% 35%,#4b4437,#262522 60%,#1a1a19)}.figma-card-art.art-2{background:radial-gradient(circle at 35% 55%,#354442,#242a28 60%,#191a19)}.figma-card-art.art-3{background:radial-gradient(circle at 65% 30%,#44403a,#272421 60%,#191817)}.figma-card-art span{font-size:10px;letter-spacing:.15em}.figma-card-art b{align-self:flex-end;font:400 38px var(--font-serif);opacity:.8}.figma-article-card h3{margin:12px 0;font:400 27px/1.05 var(--font-serif);letter-spacing:-.03em}.figma-browse-topics{margin-top:110px;padding-top:26px;border-top:1px solid var(--line)}.figma-topic-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:60px}.figma-topic-list a{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font:400 24px var(--font-serif)}.figma-topic-list a span:last-child{color:#c5a879;font:400 15px var(--font-ui)}.figma-endnote{border-top:1px solid var(--line);padding:90px 0 110px}.figma-endnote h2{margin:32px 0 20px}.figma-endnote>.container>p:not(.figma-overline){color:var(--muted);font:400 18px var(--font-serif)}.figma-endnote .btn{margin-top:24px}
@media(max-width:760px){.figma-hero-inner{min-height:590px;padding-top:48px}.figma-hero h1{margin:58px 0 38px;font-size:clamp(3.25rem,12vw,5.2rem)}.figma-hero-bottom,.figma-featured{grid-template-columns:1fr;gap:24px}.figma-hero-bottom>p{max-width:320px}.figma-feature-section,.figma-collection-section{padding:70px 0}.figma-featured-image,.figma-globe-art{min-height:350px}.figma-collection-head{display:block}.figma-collection-head .figma-text-link{margin-top:24px}.figma-article-grid{grid-template-columns:1fr;gap:36px}.figma-card-art{min-height:240px}.figma-topic-list{grid-template-columns:1fr}}
