/* =========================================================
   IndicaDaily.com — site.css
   Night editorial manga design system
   Educational cannabis culture / adults 21+ where legal
   ========================================================= */

/* -----------------------------
   1. Theme tokens
------------------------------ */
:root {
  color-scheme: dark;

  --bg: #090812;
  --bg-2: #11101d;
  --bg-3: #191326;
  --panel: rgba(22, 18, 34, 0.88);
  --panel-strong: rgba(31, 24, 47, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.055);

  --ink: #fbf4e6;
  --text: #efe4d4;
  --muted: #c9b9a8;
  --soft: #9e8dad;

  --purple: #8f63ff;
  --purple-2: #b99bff;
  --violet: #5b3a83;
  --lavender: #d8c8ff;

  --gold: #f4c76e;
  --gold-2: #d89f45;
  --amber: #ffb86b;

  --green: #8bcf88;
  --green-2: #4f9e65;

  --danger: #ff7b7b;
  --ok: #a9e58f;

  --line: rgba(244, 199, 110, 0.24);
  --line-soft: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.30);
  --glow: 0 0 34px rgba(143, 99, 255, 0.34);
  --gold-glow: 0 0 30px rgba(244, 199, 110, 0.18);

  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-xl: 48px;

  --max: 1180px;
  --pad: clamp(18px, 3vw, 34px);

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, rgba(143, 99, 255, 0.19), transparent 34rem),
    radial-gradient(circle at 90% 2%, rgba(244, 199, 110, 0.10), transparent 28rem),
    radial-gradient(circle at 70% 82%, rgba(91, 58, 131, 0.20), transparent 34rem),
    linear-gradient(180deg, #080712 0%, #110c1c 46%, #080712 100%);
  line-height: 1.62;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 80%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.08), transparent 34rem),
    linear-gradient(90deg, rgba(0,0,0,.42), transparent 18%, transparent 82%, rgba(0,0,0,.45));
  mix-blend-mode: screen;
  opacity: .55;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--lavender);
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease, border-color .18s ease, transform .18s ease;
}

a:hover {
  color: var(--gold);
}

p {
  margin: 0 0 1rem;
}

strong {
  color: var(--ink);
}

small {
  color: var(--muted);
}

hr {
  border: 0;
  height: 1px;
  margin: 2.5rem 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

::selection {
  background: rgba(244, 199, 110, .28);
  color: var(--ink);
}

/* -----------------------------
   3. Layout utilities
------------------------------ */
.wrap {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.section {
  padding: clamp(58px, 8vw, 112px) 0;
}

.section-tight {
  padding: clamp(38px, 6vw, 76px) 0;
}

.grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 32px);
}

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

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

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

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.center {
  text-align: center;
}

.lede {
  max-width: 760px;
  color: #eadccb;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.75;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker::before,
.kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line);
}

.eyebrow {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fine-print {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 14px;
  z-index: 999;
  padding: 10px 14px;
  color: #120c1c;
  background: var(--gold);
  border-radius: 999px;
  font-weight: 900;
}

.skip-link:focus {
  left: 14px;
}

/* -----------------------------
   4. Typography
------------------------------ */
h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: .98;
  font-family: var(--font-display);
  letter-spacing: -.035em;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 10vw, 8rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  text-wrap: balance;
}

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

h4 {
  font-size: 1.13rem;
  letter-spacing: .01em;
}

.title-gradient {
  background: linear-gradient(92deg, #fff7e9 0%, #e2d1ff 42%, #f4c76e 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.script-accent {
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
}

/* -----------------------------
   5. Header / navigation
------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(244, 199, 110, .17);
  background: rgba(8, 7, 18, .78);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background:
    radial-gradient(circle at 35% 25%, rgba(244,199,110,.28), transparent 48%),
    rgba(255,255,255,.05);
  box-shadow: var(--gold-glow);
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.brand-title span {
  color: var(--purple-2);
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-color: rgba(244, 199, 110, .25);
  background: rgba(244, 199, 110, .09);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.05);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 99px;
  background: currentColor;
}

/* CSS-only menu support:
   Use <input id="nav-check" class="nav-check" type="checkbox"> before .nav-links
   and <label for="nav-check" class="nav-toggle"><span></span></label> */
.nav-check {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

/* -----------------------------
   6. Buttons / CTAs
------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(244, 199, 110, .34);
  border-radius: 999px;
  color: #160e20;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 12px 30px rgba(244, 199, 110, .22);
  font-weight: 950;
  line-height: 1;
}

.btn:hover {
  color: #100b18;
  transform: translateY(-1px);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255,255,255,.07);
  box-shadow: none;
}

.btn.secondary:hover {
  background: rgba(143, 99, 255, .14);
}

.btn.ghost {
  color: var(--text);
  border-color: var(--line-soft);
  background: transparent;
  box-shadow: none;
}

/* -----------------------------
   7. Hero sections
------------------------------ */
.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 900px);
  display: grid;
  align-items: end;
  padding: clamp(92px, 10vw, 150px) 0 clamp(44px, 7vw, 82px);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(8,7,18,.88) 0%, rgba(8,7,18,.64) 42%, rgba(8,7,18,.25) 100%),
    linear-gradient(0deg, rgba(8,7,18,.98) 0%, transparent 42%, rgba(8,7,18,.42) 100%);
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2rem;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(20, 15, 30, .72);
  box-shadow: var(--shadow-soft);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: "✦";
  color: var(--purple-2);
}

.hero p {
  max-width: 720px;
  color: #f1e6d8;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.55rem;
}

.hero-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 880px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: rgba(15, 12, 25, .72);
  box-shadow: var(--shadow-soft);
}

.mini-card b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.mini-card span {
  color: var(--muted);
  font-size: .92rem;
}

/* -----------------------------
   8. Cards / panels
------------------------------ */
.card,
.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.032)),
    var(--panel);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 199, 110, .12), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(143, 99, 255, .15), transparent 36%);
}

.card-body,
.panel-body {
  position: relative;
  padding: clamp(18px, 3vw, 30px);
}

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

.card h3 {
  margin-top: .2rem;
}

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

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 900;
}

.card-link::after {
  content: "→";
  transition: transform .18s ease;
}

.card-link:hover::after {
  transform: translateX(3px);
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3vw, 38px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
}

.feature-card img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

/* -----------------------------
   9. Image treatments
------------------------------ */
.image-frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 10px);
  object-fit: cover;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), inset 0 -90px 90px rgba(0,0,0,.26);
}

.portrait-card img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.hero-thumb {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* -----------------------------
   10. Callouts / warnings
------------------------------ */
.notice {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(244, 199, 110, .35);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(244, 199, 110, .13), rgba(143, 99, 255, .08)),
    rgba(16, 12, 25, .88);
  box-shadow: var(--gold-glow);
}

.notice strong {
  color: var(--gold);
  font-size: 1.05rem;
}

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

.notice.warning {
  border-color: rgba(255, 123, 123, .38);
  background:
    linear-gradient(135deg, rgba(255, 123, 123, .12), rgba(143, 99, 255, .08)),
    rgba(16, 12, 25, .9);
}

.notice.good {
  border-color: rgba(169, 229, 143, .42);
  background:
    linear-gradient(135deg, rgba(169, 229, 143, .12), rgba(143, 99, 255, .07)),
    rgba(16, 12, 25, .9);
}

.legal-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: var(--muted);
  background: rgba(0,0,0,.18);
  font-size: .9rem;
  text-align: center;
}

.legal-strip strong {
  color: var(--gold);
}

/* -----------------------------
   11. Lists / checks
------------------------------ */
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(244, 199, 110, .35);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(244, 199, 110, .08);
  font-weight: 950;
  line-height: 1;
}

.number-list {
  counter-reset: item;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.number-list li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.number-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.number-list li::before {
  content: counter(item);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(244, 199, 110, .08);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
}

/* -----------------------------
   12. Tables
------------------------------ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.035);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

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

th {
  color: var(--gold);
  background: rgba(244, 199, 110, .08);
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

td {
  color: var(--text);
}

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

/* -----------------------------
   13. Episode / article pages
------------------------------ */
.article {
  padding: clamp(42px, 6vw, 82px) 0;
}

.article-header {
  margin-bottom: clamp(26px, 5vw, 54px);
}

.article-header h1 {
  font-size: clamp(2.8rem, 8vw, 6.6rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.article-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.prose {
  color: var(--text);
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2,
.prose h3 {
  margin-top: 2.2rem;
}

.prose a {
  border-bottom: 1px solid rgba(216, 200, 255, .35);
}

.prose blockquote {
  margin: 1.8rem 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  background: rgba(244, 199, 110, .08);
}

.sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 16px;
}

.sidebar .panel-body {
  padding: 18px;
}

/* -----------------------------
   14. Character / cast grid
------------------------------ */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.character-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.045);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.character-card .card-body {
  padding: 16px;
}

.character-card h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.character-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .93rem;
}

/* -----------------------------
   15. Forms
------------------------------ */
form {
  display: grid;
  gap: 14px;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255,255,255,.06);
  font: inherit;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(244, 199, 110, .55);
  box-shadow: 0 0 0 4px rgba(244, 199, 110, .10);
}

/* -----------------------------
   16. Footer
------------------------------ */
.site-footer {
  margin-top: clamp(42px, 6vw, 90px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 0%, rgba(143, 99, 255, .13), transparent 34rem),
    rgba(0,0,0,.24);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: clamp(22px, 4vw, 48px);
  padding: clamp(42px, 6vw, 70px) 0;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: .75rem;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
  color: var(--muted);
  font-size: .88rem;
}

/* -----------------------------
   17. Page-specific helpers
------------------------------ */
.night-market {
  background:
    radial-gradient(circle at 20% 20%, rgba(143,99,255,.13), transparent 26rem),
    radial-gradient(circle at 80% 65%, rgba(244,199,110,.08), transparent 26rem);
}

.myrcene {
  --accent: #b88cff;
}

.limonene {
  --accent: #f4c76e;
}

.caryophyllene {
  --accent: #e58b5c;
}

.humulene {
  --accent: #9bcf83;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(244, 199, 110, .24);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255,255,255,.05);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tag::before {
  content: "✧";
  color: var(--purple-2);
}

.source-note {
  color: var(--muted);
  font-size: .92rem;
}

/* -----------------------------
   18. Responsive
------------------------------ */
@media (max-width: 980px) {
  .grid-4,
  .cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-card,
  .article-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .hero-card-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 18px;
  }

  .nav {
    min-height: 66px;
  }

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

  .nav-links {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(12, 10, 21, .97);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    justify-content: center;
    border-color: rgba(255,255,255,.08);
  }

  .hero {
    min-height: 680px;
    align-items: end;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(8,7,18,.98) 0%, rgba(8,7,18,.78) 46%, rgba(8,7,18,.52) 100%);
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .cast-grid {
    grid-template-columns: 1fr;
  }

  .card-body,
  .panel-body {
    padding: 18px;
  }

  .footer-grid {
    padding-bottom: 42px;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 1.16rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .mini-card {
    padding: 14px;
  }
}

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