:root {
  color-scheme: dark;
  --ink: #070b0d;
  --ink-soft: #10181b;
  --blue-deep: #0d2229;
  --blue-mist: #7fa6b3;
  --gold: #c69a4a;
  --gold-soft: #ead39d;
  --copper: #b45136;
  --text: #f6efe2;
  --muted: #c8bda9;
  --line: rgba(234, 211, 157, 0.22);
  --shadow: rgba(0, 0, 0, 0.52);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: var(--ink);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, rgba(29, 70, 78, 0.5), transparent 36%), var(--ink);
}

body::selection {
  background: var(--gold);
  color: #111;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(5, 8, 9, 0.9), rgba(5, 8, 9, 0.22), transparent);
}

.site-header.solid {
  background: rgba(5, 8, 9, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(7, 11, 13, 0.68);
  box-shadow: 0 0 24px rgba(198, 154, 74, 0.22);
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(22px, 6vw, 84px) 86px;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.05) brightness(0.74);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 7, 8, 0.92) 0%, rgba(4, 7, 8, 0.58) 34%, rgba(4, 7, 8, 0.28) 62%, rgba(4, 7, 8, 0.72) 100%),
    linear-gradient(0deg, rgba(7, 11, 13, 1) 0%, rgba(7, 11, 13, 0.1) 42%, rgba(7, 11, 13, 0.52) 100%);
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
}

h1 {
  max-width: 820px;
  color: #fff7e8;
  font-size: clamp(52px, 10vw, 116px);
  line-height: 0.94;
  text-shadow: 0 18px 38px var(--shadow), 0 0 34px rgba(198, 154, 74, 0.18);
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 630px;
  color: #eadfce;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

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

.hero-note {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgba(246, 239, 226, 0.78);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, #d4ad61, #8f6327);
  color: #130d06;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(7, 11, 13, 0.54);
  color: var(--gold-soft);
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(22px, 6vw, 84px);
}

.intro-section,
.rules-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  background: linear-gradient(180deg, #070b0d, #0a1417);
}

.interview-callout {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  margin-top: 10px;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 34px);
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.92), rgba(13, 34, 41, 0.72)),
    url("assets/el-secreto-cover.png") center / cover;
}

.interview-callout h3 {
  margin: 0;
  color: var(--gold-soft);
  font-size: clamp(26px, 4vw, 42px);
}

.interview-callout p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.interview-callout .button {
  width: fit-content;
}

.section-copy h2,
.section-heading h2,
.final-cta h2 {
  max-width: 780px;
  color: #fff4df;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
}

.section-copy p,
.final-cta p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-copy p:first-of-type {
  margin-top: 26px;
}

.pillars,
.spaces-grid {
  display: grid;
  gap: 16px;
}

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

.pillars article,
.space-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 34, 38, 0.9), rgba(8, 13, 15, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.pillars article {
  min-height: 230px;
  padding: 24px;
}

.pillars span {
  color: var(--copper);
  font-weight: 900;
}

.pillars h3,
.space-card h3 {
  margin-top: 28px;
  color: var(--gold-soft);
  font-size: 24px;
}

.pillars p,
.space-card p {
  color: var(--muted);
  line-height: 1.65;
}

.space-name {
  margin: 12px 0 10px;
  color: #fff0cc;
  font-weight: 800;
}

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

.text-link:hover,
.text-link:focus-visible {
  color: #fff4df;
}

.spaces-section {
  background:
    radial-gradient(circle at 82% 10%, rgba(180, 81, 54, 0.18), transparent 28%),
    linear-gradient(180deg, #0a1417, #071012);
}

.blog-preview-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(198, 154, 74, 0.12), transparent 30%),
    linear-gradient(180deg, #080b0d, #071012);
}

.blog-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(180deg, rgba(18, 34, 38, 0.82), rgba(8, 13, 15, 0.94));
}

.blog-preview p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-heading {
  margin-bottom: 34px;
}

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

.space-card {
  min-height: 220px;
  padding: 26px;
}

.rules-section {
  background: linear-gradient(180deg, #071012, #080b0d);
}

.compact p {
  max-width: 620px;
}

.rules-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li {
  border-left: 3px solid var(--gold);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.035);
  color: #efe5d5;
  font-weight: 700;
}

.final-cta {
  padding: clamp(72px, 10vw, 132px) clamp(22px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.94), rgba(7, 11, 13, 0.72)),
    url("assets/el-secreto-cover.png") center / cover;
  border-top: 1px solid var(--line);
}

.final-cta p {
  margin: 22px 0 30px;
}

.interview-hero {
  min-height: 58vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(22px, 6vw, 84px) 70px;
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.96), rgba(7, 11, 13, 0.54)),
    linear-gradient(0deg, rgba(7, 11, 13, 1), rgba(7, 11, 13, 0.28)),
    url("assets/el-secreto-cover.png") center / cover;
}

.interview-hero-copy {
  max-width: 820px;
}

.interview-hero h1 {
  font-size: clamp(48px, 8vw, 92px);
}

.interview-hero p:last-child {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.6;
}

.interview-page {
  padding: clamp(56px, 8vw, 96px) clamp(22px, 6vw, 84px);
  background: linear-gradient(180deg, #070b0d, #0a1417);
}

.interview-card {
  max-width: 980px;
}

.interview-card h2 {
  color: #fff4df;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
}

.interview-card > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.qa-list {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.qa-item {
  border-left: 3px solid var(--gold);
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.035);
}

.qa-item h3 {
  color: var(--gold-soft);
  font-size: 24px;
}

.qa-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.qa-item p + p {
  margin-top: 14px;
}

.interview-signature {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.interview-signature p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.interview-signature a {
  display: inline-block;
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
}

.interview-signature a:hover,
.interview-signature a:focus-visible {
  color: #fff4df;
}

.interview-signature span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 17px;
}

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

.library-hero {
  min-height: 52vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(22px, 6vw, 84px) 64px;
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.96), rgba(7, 11, 13, 0.58)),
    linear-gradient(0deg, rgba(7, 11, 13, 1), rgba(7, 11, 13, 0.3)),
    url("assets/el-secreto-cover.png") center / cover;
}

.blog-hero {
  min-height: 54vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(22px, 6vw, 84px) 68px;
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.96), rgba(7, 11, 13, 0.52)),
    linear-gradient(0deg, rgba(7, 11, 13, 1), rgba(7, 11, 13, 0.28)),
    url("assets/el-secreto-cover.png") center / cover;
}

.blog-hero-copy {
  max-width: 840px;
}

.blog-hero h1 {
  font-size: clamp(48px, 8vw, 92px);
}

.blog-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.6;
}

.blog-page {
  padding: clamp(56px, 8vw, 96px) clamp(22px, 6vw, 84px);
  background: linear-gradient(180deg, #070b0d, #0a1417);
}

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

.blog-card {
  min-height: 280px;
  border: 1px solid var(--line);
  padding: 26px;
  background: linear-gradient(180deg, rgba(18, 34, 38, 0.86), rgba(8, 13, 15, 0.94));
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(234, 211, 157, 0.2);
  margin-bottom: 20px;
}

.article-cover {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border: 1px solid rgba(234, 211, 157, 0.2);
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.025);
}

.blog-card.muted {
  opacity: 0.72;
}

.blog-meta {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card h3 {
  color: var(--gold-soft);
  font-size: 26px;
  line-height: 1.16;
}

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

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(280px, 420px);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
  max-width: 1480px;
  margin: 0 auto;
  padding: 150px clamp(22px, 6vw, 84px) 88px;
}

.article-page {
  max-width: 820px;
  padding: 0;
}

.article-page h1 {
  max-width: 860px;
  font-size: clamp(48px, 5.8vw, 86px);
}

.article-lead {
  max-width: 780px;
  color: #eadfce;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.6;
}

.article-page section {
  margin-top: 42px;
}

.article-page h2 {
  color: var(--gold-soft);
  font-size: clamp(28px, 4vw, 42px);
}

.article-page p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.article-aside {
  position: sticky;
  top: 112px;
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(18, 34, 38, 0.82), rgba(8, 13, 15, 0.94)),
    url("assets/el-secreto-cover.png") center / cover;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.article-aside h2 {
  color: var(--gold-soft);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.article-aside p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.admin-page {
  min-height: 100vh;
  padding: 132px clamp(20px, 5vw, 76px) 70px;
  background:
    radial-gradient(circle at 20% 0%, rgba(29, 70, 78, 0.38), transparent 34%),
    linear-gradient(180deg, #070b0d, #0a1417);
}

.admin-card {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 38px);
  background: linear-gradient(180deg, rgba(18, 34, 38, 0.86), rgba(8, 13, 15, 0.94));
}

.admin-card.narrow {
  max-width: 560px;
  margin: 0 auto;
}

.admin-card h1,
.admin-heading h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.admin-field textarea {
  resize: vertical;
}

.admin-field input:focus,
.admin-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 154, 74, 0.16);
}

.admin-field small,
.admin-help,
.admin-notice {
  color: var(--muted);
  line-height: 1.6;
}

.admin-help {
  margin: -4px 0 2px;
  font-size: 14px;
}

.admin-help code {
  color: var(--gold-soft);
}

.format-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.format-toolbar button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--gold-soft);
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.format-toolbar button:hover,
.format-toolbar button:focus-visible {
  border-color: var(--gold);
  color: #fff4df;
}

.article-content a {
  color: var(--gold-soft);
  font-weight: 800;
}

.article-content p {
  text-align: justify;
  text-wrap: pretty;
}

.article-content blockquote {
  border-left: 3px solid var(--gold);
  margin: 28px 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.article-highlight {
  border: 1px solid rgba(198, 154, 74, 0.36);
  border-left: 4px solid var(--gold);
  margin: 30px 0;
  padding: 18px 20px;
  background: linear-gradient(90deg, rgba(198, 154, 74, 0.12), rgba(255, 255, 255, 0.035));
  color: #fff3d5;
  font-weight: 800;
}

.article-separator {
  width: min(260px, 68%);
  border: 0;
  border-top: 1px solid rgba(198, 154, 74, 0.48);
  margin: 34px auto;
}

.article-content ul {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 24px;
}

.admin-notice {
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.04);
}

.admin-notice code {
  display: block;
  margin-top: 8px;
  color: var(--gold-soft);
  overflow-wrap: anywhere;
}

.admin-radio-row,
.admin-actions,
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.admin-radio-row label {
  color: var(--muted);
  font-weight: 800;
}

.admin-post-list {
  display: grid;
  gap: 14px;
}

.admin-post-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-post-row h2 {
  color: var(--gold-soft);
  font-size: clamp(24px, 3vw, 34px);
}

.admin-post-row p {
  color: var(--muted);
  line-height: 1.6;
}

.admin-link-button,
.admin-danger {
  border: 0;
  background: transparent;
  color: var(--gold-soft);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-delete-form {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.admin-danger {
  color: #ff9f8d;
}

.admin-error {
  color: #ffb1a4;
  font-weight: 800;
}

.library-hero-copy {
  max-width: 860px;
}

.library-hero h1 {
  font-size: clamp(46px, 8vw, 92px);
}

.library-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.6;
}

.library-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.library-page {
  padding: clamp(46px, 7vw, 84px) clamp(18px, 5vw, 84px);
  background: linear-gradient(180deg, #070b0d, #0a1417);
}

.license-panel {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 38px);
  align-items: center;
  margin-bottom: clamp(42px, 6vw, 72px);
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at 0% 0%, rgba(198, 154, 74, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(18, 34, 38, 0.82), rgba(8, 13, 15, 0.94));
}

.license-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(234, 211, 157, 0.2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.license-panel h2 {
  max-width: 760px;
  color: #fff4df;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.08;
}

.license-panel p {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.license-panel a {
  color: var(--gold-soft);
  font-weight: 800;
}

.license-panel a:hover,
.license-panel a:focus-visible {
  color: #fff4df;
}

.library-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.library-toolbar h2 {
  color: #fff4df;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.06;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 0 16px;
  font: inherit;
  outline: none;
}

.search-box input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 154, 74, 0.16);
}

.library-count {
  color: var(--muted);
  font-weight: 700;
}

.library-results {
  display: grid;
  gap: 14px;
}

.library-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.library-pagination span {
  min-width: 130px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.library-pagination button {
  min-width: 130px;
}

.library-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.library-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 20px;
  background: linear-gradient(180deg, rgba(18, 34, 38, 0.82), rgba(8, 13, 15, 0.94));
}

.library-card h3 {
  margin-top: 10px;
  color: var(--gold-soft);
  font-size: clamp(21px, 3vw, 28px);
}

.library-card p {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.65;
}

.file-badge {
  display: inline-flex;
  border: 1px solid rgba(234, 211, 157, 0.34);
  padding: 5px 9px;
  color: #fff0cc;
  font-size: 12px;
  font-weight: 900;
}

.library-empty {
  border: 1px solid var(--line);
  padding: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .intro-section,
  .rules-section,
  .library-toolbar {
    grid-template-columns: 1fr;
  }

  .pillars,
  .spaces-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .article-aside {
    position: static;
  }

  .admin-post-row,
  .admin-heading {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
    background: linear-gradient(180deg, rgba(5, 8, 9, 0.94), rgba(5, 8, 9, 0.56), transparent);
  }

  .brand span:last-child {
    max-width: 190px;
    font-size: 13px;
    line-height: 1.1;
    white-space: normal;
  }

  .hero {
    min-height: 100svh;
    padding: 104px 20px 42px;
  }

  .hero-media img {
    object-position: 52% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 7, 8, 0.9), rgba(4, 7, 8, 0.5)),
      linear-gradient(0deg, rgba(7, 11, 13, 1) 0%, rgba(7, 11, 13, 0.36) 52%, rgba(7, 11, 13, 0.7) 100%);
  }

  h1 {
    font-size: clamp(42px, 15vw, 56px);
    line-height: 0.98;
  }

  .hero-copy,
  .section-copy p,
  .final-cta p {
    font-size: 17px;
  }

  .hero-copy {
    margin-top: 18px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-note {
    margin-top: 14px;
    font-size: 13px;
  }

  .section {
    padding: 54px 20px;
  }

  .section-copy h2,
  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(30px, 11vw, 42px);
    line-height: 1.08;
  }

  .hero-actions,
  .interview-actions,
  .library-hero-actions,
  .article-actions,
  .library-card,
  .button {
    width: 100%;
  }

  .library-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .license-panel {
    grid-template-columns: 1fr;
  }

  .license-panel img {
    max-width: 280px;
    justify-self: center;
  }

  .library-pagination {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .library-pagination span {
    order: -1;
    min-width: 0;
  }

  .button {
    min-height: 50px;
    padding: 14px 18px;
    text-align: center;
  }

  .interview-callout .button {
    width: 100%;
  }

  .pillars,
  .spaces-grid,
  .blog-grid,
  .blog-preview {
    grid-template-columns: 1fr;
  }

  .pillars article,
  .space-card {
    min-height: auto;
  }

  .interview-callout {
    padding: 24px 20px;
  }

  .final-cta {
    padding: 62px 20px;
  }

  .blog-page,
  .article-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-shell {
    padding-top: 118px;
    gap: 32px;
  }

  .article-aside {
    order: -1;
  }
}
