/* =========================================================
   BarbieDaily.com — Site Styles
   Backyard barbecue manga newspaper
   Version: 1.0
   Notes: High contrast, mobile friendly, no doll/fashion styling.
   ========================================================= */

:root {
  --ink: #16100c;
  --ink-soft: #30221a;
  --paper: #fff4db;
  --paper-2: #ffe7b8;
  --cream: #fff9ec;
  --ember: #c22b18;
  --ember-dark: #7f170f;
  --flame: #f5a623;
  --mustard: #f2c14e;
  --smoke: #5d5a55;
  --char: #080706;
  --coal: #1d1a17;
  --grass: #315d35;
  --sky: #86c7e8;
  --line: rgba(22, 16, 12, 0.18);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --font-display: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 166, 35, 0.24), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(194, 43, 24, 0.16), transparent 26rem),
    linear-gradient(180deg, #fff7e6 0%, #f5dba8 52%, #1b130f 100%);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(22, 16, 12, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 16, 12, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.11em;
  text-underline-offset: 0.22em;
}

a:hover,
a:focus-visible {
  color: var(--ember);
}

:focus-visible {
  outline: 4px solid var(--flame);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  padding: 0.8rem 1rem;
  color: var(--cream);
  background: var(--char);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* =========================================================
   Layout helpers
   ========================================================= */

.wrap,
.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: clamp(2.8rem, 6vw, 5.75rem) 0;
}

.section-tight {
  padding: clamp(1.8rem, 4vw, 3.5rem) 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.75rem;
  color: var(--cream);
  background: var(--ember-dark);
  border: 2px solid rgba(255, 244, 219, 0.8);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--char);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--ember-dark);
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 0.98;
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  text-shadow: 5px 5px 0 rgba(194, 43, 24, 0.22);
}

h2 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
}

p {
  margin: 0 0 1rem;
}

.lede {
  max-width: 850px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 650;
}

.center {
  text-align: center;
}

.center .lede {
  margin-inline: auto;
}

.badge-row,
.button-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.72rem;
  color: var(--cream);
  background: var(--char);
  border: 2px solid rgba(255, 244, 219, 0.85);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ember);
}

.flame-text {
  color: var(--ember);
}

.paper-panel {
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream), var(--paper));
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 9px 9px 0 var(--char);
}

.dark-panel {
  color: var(--cream);
  background: linear-gradient(135deg, var(--char), var(--coal));
  border: 3px solid var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: 9px 9px 0 var(--ember-dark);
}

.dark-panel h2,
.dark-panel h3,
.dark-panel p,
.dark-panel a {
  color: var(--cream);
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 244, 219, 0.95);
  border-bottom: 4px solid var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

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

.logo,
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--cream);
  background: var(--ember);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--char);
  font-size: 1.4rem;
}

.logo small,
.site-logo small {
  display: block;
  color: var(--ember-dark);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  color: var(--cream);
  background: var(--char);
  font: 900 0.85rem/1 var(--font-body);
  letter-spacing: 0.08em;
  padding: 0.8rem 0.95rem;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ember);
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.78rem;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current='page'] {
  color: var(--cream);
  background: var(--ember);
}

/* Works with checkbox hamburger pattern:
   <input id="nav-check" class="nav-check" type="checkbox">
   <label class="nav-toggle" for="nav-check">Menu</label>
*/
.nav-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--char) 0 18px,
    var(--ember) 18px 36px,
    var(--flame) 36px 54px
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.25fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title .small {
  display: block;
  color: var(--ember);
  font-size: 0.42em;
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(8, 7, 6, 0.12);
}

.hero-subtitle {
  margin: 0 0 1.35rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 750;
}

.hero-card {
  overflow: hidden;
  background: var(--char);
  border: 4px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: 14px 14px 0 var(--ember-dark);
  transform: rotate(0.6deg);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  color: var(--cream);
  font-weight: 950;
  text-transform: uppercase;
}

.hero-caption span:last-child {
  color: var(--flame);
}

/* =========================================================
   Buttons / Calls to action
   ========================================================= */

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  color: var(--cream);
  background: var(--ember);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--char);
  font-weight: 950;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible,
.button:hover,
.button:focus-visible {
  color: var(--cream);
  background: var(--ember-dark);
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--char);
}

.btn.secondary,
.button.secondary {
  color: var(--ink);
  background: var(--mustard);
}

.btn.dark,
.button.dark {
  color: var(--cream);
  background: var(--char);
  box-shadow: 5px 5px 0 var(--ember);
}

/* =========================================================
   Cards / Grids
   ========================================================= */

.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream), var(--paper));
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.card.featured {
  box-shadow: 9px 9px 0 var(--char);
}

.card a.stretched {
  position: absolute;
  inset: 0;
  z-index: 4;
  font-size: 0;
}

.card-media {
  position: relative;
  overflow: hidden;
  background: var(--char);
  border-bottom: 3px solid var(--ink);
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.card.wide .card-media img,
.card-media.wide img {
  aspect-ratio: 16 / 9;
}

.card:hover .card-media img {
  transform: scale(1.035);
}

.card-body {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.card-body p:last-child {
  margin-bottom: 0;
}

.card h3 a,
.card h2 a {
  text-decoration: none;
}

.card-tag {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  z-index: 3;
  padding: 0.32rem 0.55rem;
  color: var(--cream);
  background: var(--ember);
  border: 2px solid var(--cream);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--char);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.card-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.card-list li {
  padding-left: 1.5rem;
  position: relative;
  font-weight: 700;
}

.card-list li::before {
  content: '🔥';
  position: absolute;
  left: 0;
  top: 0;
}

/* =========================================================
   Feature bands
   ========================================================= */

.flame-band {
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(194, 43, 24, 0.98), rgba(127, 23, 15, 0.98)),
    var(--ember);
  border-block: 5px solid var(--char);
}

.flame-band h2,
.flame-band h3,
.flame-band p,
.flame-band a {
  color: var(--cream);
}

.checker-band {
  background-color: var(--cream);
  background-image:
    linear-gradient(45deg, rgba(194, 43, 24, 0.16) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(194, 43, 24, 0.16) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(194, 43, 24, 0.16) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(194, 43, 24, 0.16) 75%);
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
}

.callout {
  padding: clamp(1.2rem, 3vw, 2rem);
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--char);
}

.callout strong {
  color: var(--ember-dark);
}

/* =========================================================
   Article / Page content
   ========================================================= */

.page-hero {
  padding: clamp(2rem, 5vw, 4.75rem) 0;
  background: linear-gradient(180deg, rgba(255, 249, 236, 0.78), rgba(255, 231, 184, 0.88));
  border-bottom: 4px solid var(--ink);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
}

.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: 12px 12px 0 var(--char);
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.article-main,
.sidebar-box {
  padding: clamp(1.15rem, 3vw, 2rem);
  color: var(--ink);
  background: rgba(255, 249, 236, 0.96);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.article-main h2,
.article-main h3 {
  margin-top: 1.8rem;
}

.article-main h2:first-child,
.article-main h3:first-child {
  margin-top: 0;
}

.article-main ul,
.article-main ol {
  padding-left: 1.25rem;
}

.article-main li {
  margin-bottom: 0.55rem;
}

.sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1rem;
}

.sidebar-box h3 {
  font-size: 1.55rem;
}

.sidebar-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-box li + li {
  border-top: 1px solid var(--line);
}

.sidebar-box a {
  display: block;
  padding: 0.65rem 0;
  font-weight: 850;
  text-decoration: none;
}

/* =========================================================
   Episode pages / Manga gallery
   ========================================================= */

.episode-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.episode-frame {
  overflow: hidden;
  margin: 1.25rem 0;
  background: var(--char);
  border: 5px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: 13px 13px 0 var(--ember-dark);
}

.episode-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.gallery-strip .card {
  scroll-snap-align: start;
}

.gallery-strip::-webkit-scrollbar {
  height: 12px;
}

.gallery-strip::-webkit-scrollbar-track {
  background: var(--paper);
  border-radius: 999px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: var(--ember);
  border-radius: 999px;
  border: 2px solid var(--paper);
}

/* =========================================================
   Characters
   ========================================================= */

.character-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 2.5rem);
  align-items: start;
}

.character-portrait {
  overflow: hidden;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: 10px 10px 0 var(--char);
}

.character-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat {
  padding: 0.85rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
}

.stat strong {
  display: block;
  color: var(--ember-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   Forms / Contact display
   ========================================================= */

.contact-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--char);
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-label {
  color: var(--ember-dark);
  font-weight: 950;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  font: inherit;
  padding: 0.9rem 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 900;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 0%, rgba(194, 43, 24, 0.25), transparent 24rem),
    linear-gradient(180deg, var(--coal), var(--char));
  border-top: 6px solid var(--ember);
  padding: clamp(2.4rem, 5vw, 4rem) 0 2rem;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer a,
.site-footer li {
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.footer-brand {
  max-width: 460px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--flame);
}

.legal-disclaimer,
.footer-legal {
  margin-top: 2rem;
  padding: 1rem;
  color: var(--cream);
  background: rgba(255, 244, 219, 0.08);
  border: 1px solid rgba(255, 244, 219, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.copyright {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 244, 219, 0.22);
  color: rgba(255, 244, 219, 0.82);
  font-size: 0.88rem;
}

/* Optional ABC Solar footer block */
.abc-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--flame);
  border-radius: var(--radius-lg);
}

.abc-footer img {
  width: 110px;
  max-height: 70px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.abc-footer p,
.abc-footer a,
.abc-footer strong {
  color: var(--ink);
}

/* =========================================================
   Tables / Source pages
   ========================================================= */

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--cream);
  background: var(--char);
  font-weight: 950;
  text-transform: uppercase;
}

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

/* =========================================================
   Image utility classes
   ========================================================= */

.img-rounded {
  border: 4px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: 10px 10px 0 var(--char);
}

.img-wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.img-square {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.img-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* =========================================================
   Accessibility / contrast helpers
   ========================================================= */

.on-dark,
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark p,
.on-dark a,
.on-dark li {
  color: var(--cream);
}

.on-light,
.on-light h1,
.on-light h2,
.on-light h3,
.on-light p,
.on-light a,
.on-light li {
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .article,
  .character-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

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

  .hero-card,
  .page-hero img,
  .episode-frame,
  .character-portrait {
    box-shadow: 8px 8px 0 var(--char);
  }
}

@media (max-width: 760px) {
  .navbar {
    min-height: 68px;
  }

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

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    background: var(--cream);
    border: 3px solid var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 8px 8px 0 var(--char);
  }

  .nav-links a {
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  .nav-check:checked ~ .nav-links,
  .navbar.open .nav-links {
    display: flex;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .hero-card {
    transform: none;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .abc-footer {
    grid-template-columns: 1fr;
  }

  .episode-nav {
    flex-direction: column;
  }

  .episode-nav .btn,
  .episode-nav .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .wrap,
  .container {
    width: min(var(--max), calc(100% - 22px));
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.6rem);
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .logo,
  .site-logo {
    font-size: 1.45rem;
  }

  .btn,
  .button {
    width: 100%;
  }

  .badge-row,
  .button-row,
  .meta-row {
    align-items: stretch;
  }

  .badge-row .badge {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   Print
   ========================================================= */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .button-row,
  .btn,
  .button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .card,
  .article-main,
  .sidebar-box,
  .callout {
    box-shadow: none;
    border-color: #000;
  }
}

