/* ============================================================
   OBINOFIA NDIUNO — Historical & Cultural Community Archive
   Design: Digital heritage museum. Igbo-inspired palette.
   Mobile-first, fully responsive.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --ink:        #1c1630;      /* deep indigo-ebony                  */
  --ink-2:      #2a2144;      /* raised surface                     */
  --ink-3:      #372c52;      /* card surface                       */
  --earth:      #8a3b1f;      /* terracotta / earth red             */
  --earth-deep: #6e2c14;
  --gold:       #d9a441;      /* warm gold                          */
  --gold-soft:  #e8c273;
  --cream:      #f7f1e3;      /* warm ivory                         */
  --cream-2:    #efe6d2;
  --sand:       #e3d7bd;
  --leaf:       #3d5a3c;      /* deep green                         */
  --leaf-soft:  #7a927a;
  --paper:      #fdfaf2;

  /* Typography */
  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans:  "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;

  /* Layout */
  --container: 1180px;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(28, 22, 48, 0.14);
  --transition: 0.25s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.06rem;
  line-height: 1.7;
  color: #2b2534;
  background-color: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: var(--earth); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--earth);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Top header ---------- */
.site-header {
  background: var(--ink);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 800;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem var(--sp-3);
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background:
    radial-gradient(circle at 50% 40%, var(--gold-soft) 0 12%, transparent 14%),
    var(--ink-2);
  position: relative;
  flex-shrink: 0;
}
.brand-badge::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed var(--gold);
  opacity: 0.8;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Navigation ---------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(232, 194, 115, 0.6);
  color: var(--cream);
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-sans);
}
.nav-toggle:hover { background: var(--ink-2); }
.nav-toggle .icon { font-size: 1rem; line-height: 1; }

.site-nav {
  display: none;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.4rem var(--sp-2) 0.9rem;
}
.site-nav.open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.site-nav a {
  display: block;
  color: var(--cream);
  padding: 0.6rem 0.9rem;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.site-nav a:hover, .site-nav a.active {
  background: var(--earth);
  color: #fff;
}
.site-nav a.active { font-weight: 600; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; padding: 0 var(--sp-2) 0.4rem; }
  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem;
  }
  .site-nav a {
    border-bottom: none;
    padding: 0.5rem 0.85rem;
    font-size: 0.92rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  color: var(--cream);
  padding: clamp(3.5rem, 9vw, 7rem) var(--sp-3) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 164, 65, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 60%, var(--ink-3) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(217,164,65,0.05) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(217,164,65,0.05) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 6.5vw, 4.2rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--gold-soft);
  margin-bottom: 1.6rem;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: #d8d2e6;
  font-size: 1.02rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ---------- Media placeholders ---------- */
.placeholder {
  border: 2px dashed rgba(217, 164, 65, 0.5);
  background:
    repeating-linear-gradient(45deg, rgba(217,164,65,0.05) 0 3px, transparent 3px 30px),
    var(--cream-2);
  border-radius: var(--radius);
  padding: 2.4rem 1.2rem;
  text-align: center;
  color: #5b4b37;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}
.placeholder .ph-icon {
  font-size: 1.7rem;
  color: var(--earth);
  line-height: 1;
}
.placeholder.hollow { background: transparent; }
.placeholder.dark {
  border-color: rgba(232,194,115,0.45);
  background:
    repeating-linear-gradient(45deg, rgba(217,164,65,0.07) 0 3px, transparent 3px 30px),
    var(--ink-2);
  color: #cbc4dc;
}
.placeholder.dark .ph-icon { color: var(--gold); }

/* ---------- Real media filling former placeholder areas ---------- */
.pl-img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream-2);
}
.pl-vid {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border-radius: var(--radius);
}
.card .card-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream-2);
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
@media (max-width: 640px) {
  .pl-vid { aspect-ratio: 16 / 10; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-soft); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(232,194,115,0.7);
}
.btn-ghost:hover { background: rgba(232,194,115,0.12); color: var(--cream); }
.btn-ink {
  background: var(--ink);
  color: var(--cream);
}
.btn-ink:hover { background: var(--ink-2); color: var(--cream); }
.btn-earth {
  background: var(--earth);
  color: #fff;
}
.btn-earth:hover { background: var(--earth-deep); color: #fff; }

/* ---------- Section scaffolding ---------- */
.section { padding: var(--sp-5) 0; }
.section-tight { padding: var(--sp-4) 0; }
.section-alt { background: var(--cream-2); }
.section-dark {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }

.section-head {
  max-width: 780px;
  margin: 0 auto var(--sp-4);
  text-align: center;
}
.section-head .tag {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--earth);
  margin-bottom: 0.7rem;
}
.section-head h2 { margin-bottom: 0.6rem; }
.section-head p { color: #5d5567; }

/* Decorative divider */
.divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  width: 64px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider .dia { color: var(--earth); }

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: var(--sp-3);
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .card-media { min-height: 90px; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.card-body h3 { margin-bottom: 0.45rem; font-size: 1.18rem; }
.card-body p { font-size: 0.95rem; color: #5d5567; margin-bottom: 0.8rem; }
.card-meta {
  font-size: 0.78rem;
  color: #8a7f70;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.5rem;
}
.card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
}
.card-dark {
  background: var(--ink-2);
  border-color: var(--ink-2);
}
.card-dark .card-body h3 { color: var(--cream); }
.card-dark .card-body p { color: #c5bed6; }
.card-dark .card-link { color: var(--gold-soft); }

/* ---------- Profile / village cards ---------- */
.profile-card { text-align: center; }
.profile-avatar {
  width: 130px; height: 130px;
  margin: 1.4rem auto 0;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background:
    radial-gradient(circle at 50% 35%, var(--gold-soft) 0 14%, transparent 16%),
    var(--ink-2);
  position: relative;
}
.profile-avatar::after {
  content: "?";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: rgba(232, 194, 115, 0.55);
}
.profile-card .card-body { text-align: center; }

/* ---------- Two-column prose ---------- */
.split {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.15fr 0.85fr; }
  .split.media-first { grid-template-columns: 0.85fr 1.15fr; }
}
.prose h3 {
  margin-top: 1.6rem;
  border-bottom: 2px solid var(--sand);
  padding-bottom: 0.35rem;
}
.prose blockquote {
  margin: 1.2rem 0;
  padding: 1rem 1.3rem;
  border-left: 4px solid var(--gold);
  background: var(--cream-2);
  font-family: var(--font-serif);
  font-style: italic;
  color: #4a3f52;
}
.prose .footnote {
  font-size: 0.85rem;
  color: #7a7189;
  font-style: italic;
}

/* ---------- Source reference ---------- */
.source-ref {
  margin-top: 1.4rem;
  padding: 0.7rem 1rem;
  background: var(--cream-2);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  font-size: 0.84rem;
  color: #6b6156;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.source-ref strong { color: var(--earth); }

/* ---------- Classification chips ---------- */
.chip {
  display: inline-block;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.chip-legend { background: #e7dbbe; color: #7a5c1e; }
.chip-tradition { background: #cfe0d1; color: #2f5233; }
.chip-account { background: #dcd2ea; color: #4b2c7a; }
.chip-belief { background: #e8cdc9; color: #8a2c1a; }
.chip-myth { background: #d8cfae; color: #6b5f1f; }
.chip-claim { background: #e9d9ca; color: #8a5a1f; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin: 0 auto;
  max-width: 820px;
  padding-left: 1.6rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--earth), var(--leaf));
}
.tl-item { position: relative; margin-bottom: 2.2rem; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.35rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 3px var(--gold);
}
.tl-date {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--earth);
  font-size: 1.02rem;
}
.tl-date .unc {
  font-size: 0.72rem;
  font-weight: 400;
  font-style: italic;
  color: #9c6a3f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 0.4rem;
}
.tl-item h3 { margin: 0.15rem 0 0.35rem; }
.tl-item p { font-size: 0.97rem; color: #4f4858; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.gallery-card {
  background: var(--cream-2);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery-card .thumb {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-card .g-body { padding: 0.9rem 1rem; }
.gallery-card h4 { margin: 0 0 0.2rem; font-size: 1.02rem; }
.gallery-card p { margin: 0; font-size: 0.85rem; color: #6b6156; }

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--sp-3);
}
.gallery-filter .btn { margin: 0; font-size: 0.85rem; padding: 0.5rem 1rem; }
.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item .placeholder { border-radius: 0; border: none; min-height: 130px; }
.gallery-item figcaption {
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  color: #5d5567;
}
.gallery-item figcaption h3 { margin: 0 0 0.3rem; font-size: 1.02rem; color: var(--ink); }
.gallery-item .meta { font-size: 0.82rem; color: #6b6156; margin: 0.15rem 0; }

.gallery-grid > [data-media-grid] {
  display: contents;
}
.gallery-item img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item.gallery-video {
  grid-column: 1 / -1;
  border-color: var(--earth-deep);
}
.gallery-item .video-frame {
  background: #000;
  aspect-ratio: 16 / 9;
  display: flex;
}
.gallery-item .video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.gallery-video figcaption { background: #fff; }
@media (max-width: 900px) {
  .gallery-item.gallery-video { grid-column: auto; }
  .gallery-item .video-frame { aspect-ratio: 16 / 10; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
}
th, td {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--sand);
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
}
tr:nth-child(even) td { background: var(--cream-2); }

/* ---------- Notice / alert ---------- */
.notice {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: #fbf3df;
  color: #5f4c22;
  margin: 1.2rem 0;
  font-size: 0.95rem;
}
.notice strong { color: var(--earth); }
.notice.info {
  border-color: var(--leaf-soft);
  background: #eef3ec;
  color: #33503a;
}

/* ---------- Accordion ---------- */
.accordion details {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.accordion summary {
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--earth); }
.accordion details[open] summary::after { content: "–"; }
.accordion .a-body { padding: 0.2rem 1.1rem 1.1rem; }

/* ---------- Hero page banner (inner pages) ---------- */
.page-hero {
  text-align: center;
  color: var(--cream);
  padding: clamp(2.8rem, 6vw, 4.5rem) var(--sp-3);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217,164,65,0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.page-hero h1 { color: var(--cream); }
.page-hero .crumb { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; }
.page-hero p { max-width: 720px; margin: 0.7rem auto 0; color: #cfc8de; }

/* ---------- Anchor pill nav ---------- */
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.pill-nav a {
  border: 1px solid var(--sand);
  background: #fff;
  color: var(--ink);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
}
.pill-nav a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9c2da;
  padding: var(--sp-5) 0 var(--sp-3);
  margin-top: var(--sp-5);
}
.footer-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-grid h4 { color: var(--gold); font-size: 1rem; margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { color: #c9c2da; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-note {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: var(--sp-4);
  padding-top: var(--sp-2);
  font-size: 0.82rem;
  color: #938ca6;
  text-align: center;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: #4f4858; }

/* ---------- Back to top ---------- */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Code/kbd ---------- */
code {
  background: var(--cream-2);
  border: 1px solid var(--sand);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.9em;
  color: var(--earth);
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .pill-nav, .placeholder, .back-to-top { display: none; }
  body { font-size: 12pt; }
}