/*
Theme Name: McClane & DOGE Comics
Theme URI: https://example.com/mcdg-comics
Author: McClane & DOGE
Author URI: https://example.com
Description: Action-comic WordPress theme for the $MCDG Solana meme token with a landing page and blog-ready templates.
Version: 1.0.11
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mcdg-comics
Tags: blog, custom-logo, featured-images, one-column, threaded-comments
*/

:root {
  --ink: #090914;
  --night: #111326;
  --paper: #fff2cf;
  --paper-deep: #f5d372;
  --gold: #f8bc22;
  --red: #e13d2e;
  --cyan: #26d9ff;
  --white: #fffaf0;
  --muted: #d6c8a8;
  --line: rgba(255, 250, 240, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  background: #0d0d18;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 0%, rgba(38, 217, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, #111326 0%, #0d0d18 48%, #190f12 100%);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

main#top,
.site-header,
.hero,
.ticker,
.section-panel,
.buy-strip,
.casefile,
.blog,
.community,
.site-footer {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px, 96px 96px;
}

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

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--cyan));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 44px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(6, 7, 18, 0.78), rgba(6, 7, 18, 0));
}

body.admin-bar .site-header {
  top: 32px;
}

.brand-lockup,
.nav-links,
.hero-actions,
.community-actions {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--red);
}

.custom-logo-wrap {
  display: block;
  width: 42px;
  height: 42px;
}

.custom-logo-wrap img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  gap: 28px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  opacity: 0.84;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover {
  color: var(--gold);
  opacity: 1;
}

.header-action,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 950;
  text-transform: uppercase;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action {
  color: var(--ink);
  background: var(--cyan);
}

.header-action:hover,
.btn:hover,
.post-card .post-read-link:hover,
.contract-copy:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.hero {
  position: relative;
  min-height: min(92svh, 980px);
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 132px 7vw 72px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 7, 20, 0.96) 0%, rgba(6, 7, 20, 0.78) 34%, rgba(6, 7, 20, 0.28) 72%),
    linear-gradient(0deg, rgba(6, 7, 20, 0.9) 0%, rgba(6, 7, 20, 0.12) 46%, rgba(6, 7, 20, 0.45) 100%),
    radial-gradient(circle at 84% 45%, rgba(38, 217, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, #060714 0%, #101426 54%, #070812 100%);
}

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

.hero-media {
  inset: 22px 0 -64px auto;
  width: min(65vw, 1360px);
  z-index: -3;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
  filter: saturate(1.05) contrast(1.08);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 8, 18, 0.86) 0%, rgba(7, 8, 18, 0.5) 37%, rgba(7, 8, 18, 0.08) 72%),
    linear-gradient(0deg, rgba(7, 8, 18, 0.88) 0%, rgba(7, 8, 18, 0.18) 42%, rgba(7, 8, 18, 0.42) 100%);
}

.storm-layer {
  z-index: -1;
  opacity: 0.42;
  background:
    repeating-linear-gradient(105deg, transparent 0 22px, rgba(255, 255, 255, 0.08) 23px, transparent 24px),
    radial-gradient(circle at 18% 18%, rgba(38, 217, 255, 0.34), transparent 12rem);
  mix-blend-mode: screen;
  animation: rainShift 7s linear infinite;
}

.hero-copy {
  width: min(690px, 100%);
}

.issue-tag,
.eyebrow,
.post-meta {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Impact, "Arial Black", Haettenschweiler, sans-serif;
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  color: var(--gold);
  font-size: 6.6rem;
  text-shadow: 5px 5px 0 #09445a, 9px 9px 0 var(--ink);
}

h1 span {
  display: block;
}

.hero-kicker {
  margin: 18px 0 0;
  color: var(--white);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--ink);
}

.hero-text {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: 1.04rem;
  line-height: 1.7;
}

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

.btn-primary {
  color: var(--ink);
  background: var(--gold);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 250, 240, 0.08);
  backdrop-filter: blur(8px);
}

.ticker {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  overflow: hidden;
  color: var(--ink);
  background: var(--gold);
  border-block: 4px solid var(--ink);
  transform: rotate(-2deg) scale(1.03);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 14px 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.26rem;
  text-transform: uppercase;
  animation: ticker 34s linear infinite;
  will-change: transform;
}

.ticker-run {
  display: flex;
  flex-shrink: 0;
  gap: 30px;
  padding-right: 30px;
}

.ticker-run span {
  position: relative;
  white-space: nowrap;
}

.ticker-run span::after {
  position: absolute;
  right: -20px;
  content: "+";
}

.section-panel,
.buy-strip,
.casefile,
.blog,
.community {
  width: min(1180px, calc(100% - 44px));
  margin: 104px auto 0;
}

.mission {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 52px;
  align-items: center;
}

.mission-art {
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(225, 61, 46, 0.9);
  transform: rotate(-1.4deg);
}

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

.section-copy h2 {
  max-width: 780px;
  color: var(--white);
  font-size: 3.7rem;
  text-shadow: 4px 4px 0 var(--ink);
}

.section-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 1.03rem;
  line-height: 1.72;
}

.mission-lines {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  color: var(--ink);
}

.mission-lines span {
  width: fit-content;
  padding: 10px 14px;
  font-weight: 950;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--red);
  transform: rotate(-1deg);
}

.mission-lines span:nth-child(2) {
  background: var(--cyan);
  transform: rotate(1deg);
}

.mission-lines span:nth-child(3) {
  background: var(--gold);
}

.buy-strip {
  padding: 60px 0;
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  color: var(--ink);
}

.steps li,
.post-card,
.contract-box {
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--ink);
}

.steps li {
  min-height: 244px;
  padding: 22px;
  background: var(--paper);
}

.steps li:nth-child(2) {
  background: #ffd35d;
}

.steps li:nth-child(3) {
  background: #ffede2;
}

.steps li:nth-child(4) {
  background: #c6f3ff;
}

.steps strong {
  display: block;
  margin-bottom: 48px;
  color: var(--red);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.steps span {
  display: block;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.52rem;
  line-height: 1;
  text-transform: uppercase;
}

.steps p {
  margin: 14px 0 0;
  color: rgba(9, 9, 20, 0.74);
  line-height: 1.55;
}

.casefile {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 54px;
  align-items: start;
  padding: 72px 0;
}

.evidence-board {
  position: relative;
  padding: 28px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 242, 207, 0.96), rgba(245, 211, 114, 0.94)),
    radial-gradient(circle at 15% 20%, rgba(225, 61, 46, 0.22), transparent 12rem);
  border: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 14px 14px 0 var(--red);
}

.evidence-board::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 2px dashed rgba(9, 9, 20, 0.28);
  pointer-events: none;
}

.evidence-meter {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 15px;
}

.evidence-meter span {
  position: relative;
  display: grid;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  overflow: hidden;
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.54);
  border: 3px solid var(--ink);
}

.evidence-meter span::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--share);
  content: "";
  background: linear-gradient(90deg, var(--red), var(--gold), var(--cyan));
  opacity: 0.56;
}

.evidence-meter span::after {
  position: relative;
  justify-self: end;
  content: var(--share);
}

.contract-box {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding: 20px;
  background: var(--ink);
  color: var(--white);
}

.contract-box p {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.contract-copy {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 950;
  background: var(--cyan);
  border: 3px solid var(--white);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(255, 250, 240, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contract-box small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 250, 240, 0.7);
  line-height: 1.5;
}

.contract-chart-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.blog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
  border-bottom: 3px solid currentColor;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 26px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 10px 14px 0 var(--ink);
}

.post-card::before {
  position: absolute;
  top: -56px;
  right: -56px;
  width: 154px;
  height: 154px;
  content: "";
  background:
    radial-gradient(circle, rgba(9, 9, 20, 0.18) 2px, transparent 2px),
    var(--gold);
  background-size: 12px 12px, auto;
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.featured-post {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(17, 19, 38, 0.92), rgba(225, 61, 46, 0.82)),
    url("assets/images/mcdg-hero.jpg") center / cover;
  background-blend-mode: multiply;
}

.post-card h3 {
  position: relative;
  z-index: 1;
  max-width: 290px;
  font-size: 2.35rem;
}

.post-card .post-meta {
  position: relative;
  z-index: 1;
}

.post-card p:not(.post-meta) {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  margin: 22px 0 0;
  overflow: hidden;
  line-height: 1.65;
  color: rgba(9, 9, 20, 0.74);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.featured-post p:not(.post-meta) {
  color: rgba(255, 250, 240, 0.86);
}

.post-card .post-read-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  margin-top: auto;
  padding: 0 14px;
  color: var(--white);
  font-weight: 950;
  text-transform: uppercase;
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-title-link {
  display: inline;
  position: static;
  color: inherit;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-transform: inherit;
}

.post-thumb {
  position: relative;
  z-index: 1;
  display: block;
  flex-shrink: 0;
  margin: -26px -26px 22px;
  left: auto;
  bottom: auto;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 4px solid var(--ink);
  box-shadow: none;
  transform: none;
}

.post-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.community {
  margin-bottom: 70px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(248, 188, 34, 0.95), rgba(255, 242, 207, 0.95)),
    url("assets/images/earths-last-defenders.jpg") center / cover;
  background-blend-mode: screen;
  border: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 14px 14px 0 var(--cyan);
}

.community-inner {
  max-width: 760px;
  padding: 54px;
}

.community .eyebrow {
  color: var(--red);
}

.community h2 {
  color: var(--ink);
  font-size: 3.55rem;
}

.community p:not(.eyebrow) {
  margin: 20px 0 0;
  color: rgba(9, 9, 20, 0.78);
  font-size: 1.06rem;
  line-height: 1.7;
}

.community-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.community .btn-ghost {
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 80px;
  color: var(--white);
  background: #080811;
  border-top: 5px solid var(--ink);
}

.footer-scene {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/images/footer-mission.png") center 44% / cover no-repeat;
  opacity: 0.68;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 8, 17, 0.94) 0%, rgba(8, 8, 17, 0.74) 42%, rgba(8, 8, 17, 0.36) 100%),
    linear-gradient(0deg, rgba(8, 8, 17, 0.96) 0%, rgba(8, 8, 17, 0.34) 58%, rgba(8, 8, 17, 0.68) 100%);
}

.site-footer::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.32;
  background-image: radial-gradient(circle, rgba(255, 250, 240, 0.18) 1px, transparent 1px);
  background-size: 14px 14px;
  mix-blend-mode: screen;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) 1fr;
  gap: 64px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 82px 0 62px;
}

.footer-primary h2 {
  max-width: 620px;
  color: var(--gold);
  font-size: 4.4rem;
  text-shadow: 5px 5px 0 #09445a, 9px 9px 0 var(--ink);
}

.footer-primary p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.footer-links {
  display: grid;
  grid-template-columns: 0.85fr 0.9fr minmax(250px, 1.1fr);
  gap: 22px;
  align-self: end;
}

.footer-links section {
  min-width: 0;
  padding: 20px 0 0;
  border-top: 3px solid rgba(255, 250, 240, 0.22);
}

.footer-links h3 {
  margin-bottom: 16px;
  color: var(--gold);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: rgba(255, 250, 240, 0.78);
  font-weight: 850;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contract-copy {
  min-height: 46px;
  text-align: left;
  overflow-wrap: anywhere;
}

.footer-contract small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 250, 240, 0.62);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 22px 0 28px;
  color: rgba(255, 250, 240, 0.64);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 250, 240, 0.18);
}

.archive-hero,
.single-hero {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 160px 0 74px;
}

.archive-hero h1,
.single-hero h1 {
  max-width: 980px;
  color: var(--gold);
  font-size: 5.2rem;
  text-shadow: 5px 5px 0 #09445a, 9px 9px 0 var(--ink);
}

.archive-hero h1 span,
.single-hero h1 span {
  display: block;
}

.blog-archive {
  margin-top: 24px;
  padding-bottom: 80px;
}

.pagination-wrap {
  margin-top: 42px;
}

.pagination,
.nav-links .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-numbers {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 950;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
}

.page-numbers.current {
  background: var(--gold);
}

.empty-state,
.comments-area {
  width: min(820px, calc(100% - 44px));
  margin: 54px auto 90px;
}

.empty-state h2,
.comments-area h2 {
  color: var(--white);
  font-size: 2.8rem;
  text-shadow: 4px 4px 0 var(--ink);
}

.single-article {
  padding-bottom: 90px;
}

.single-featured {
  width: min(980px, calc(100% - 44px));
  margin: 0 auto 44px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--red);
  overflow: hidden;
}

.single-featured img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.article-content {
  width: min(820px, calc(100% - 44px));
  margin: 0 auto;
  color: rgba(255, 250, 240, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

.article-content > * {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 1.6em;
  color: var(--white);
  line-height: 1;
  text-shadow: 3px 3px 0 var(--ink);
}

.article-content h2 {
  font-size: 2.8rem;
}

.article-content h3 {
  font-size: 2.15rem;
}

.article-content a {
  color: var(--gold);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.article-content blockquote {
  margin-left: 0;
  padding: 20px 24px;
  color: var(--ink);
  font-weight: 800;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--cyan);
}

.article-content img {
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--red);
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text,
.article-content figcaption {
  margin-top: 10px;
  color: rgba(255, 250, 240, 0.62);
  font-size: 0.92rem;
}

.alignwide {
  width: min(1080px, calc(100vw - 44px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-footer {
  width: min(820px, calc(100% - 44px));
  margin: 44px auto 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.post-tags a,
.post-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.comments-area {
  color: rgba(255, 250, 240, 0.86);
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-body,
.comment-respond {
  margin-top: 18px;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--ink);
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  font: inherit;
}

.comment-form .submit {
  width: auto;
  min-height: 44px;
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible,
.reveal-on-load {
  opacity: 1;
  transform: none;
}

.reveal-on-load {
  animation: heroIn 800ms ease both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes rainShift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 160px 420px, 0 0;
  }
}

@media (max-width: 980px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    padding: 16px 22px;
  }

  .site-header .nav-links {
    display: none;
  }

  .hero {
    min-height: min(88svh, 880px);
    padding: 116px 24px 58px;
  }

  .hero-media {
    inset: 0;
    width: 100%;
    opacity: 0.78;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-media img {
    object-fit: cover;
    object-position: 60% 44%;
  }

  h1 {
    font-size: 4.15rem;
  }

  .hero-kicker {
    font-size: 1.55rem;
  }

  .section-copy h2,
  .community h2 {
    font-size: 2.8rem;
  }

  .archive-hero h1,
  .single-hero h1 {
    font-size: 3.8rem;
  }

  .mission,
  .casefile {
    grid-template-columns: 1fr;
  }

  .steps,
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 64px 0 46px;
  }

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

@media (max-width: 660px) {
  .brand-lockup span:last-child {
    display: none;
  }

  .header-action {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    min-height: min(86svh, 760px);
    padding: 98px 18px 46px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 8, 18, 0.88), rgba(7, 8, 18, 0.44)),
      linear-gradient(0deg, rgba(7, 8, 18, 0.92), rgba(7, 8, 18, 0.18) 48%, rgba(7, 8, 18, 0.48));
  }

  .hero-media img {
    object-position: 100% 44%;
  }

  h1 {
    max-width: 340px;
    font-size: 2.9rem;
    text-shadow: 3px 3px 0 #09445a, 6px 6px 0 var(--ink);
  }

  .hero-kicker {
    max-width: 340px;
    font-size: 1.18rem;
    line-height: 1.12;
  }

  .hero-text {
    max-width: 340px;
    font-size: 0.98rem;
  }

  .hero-actions,
  .community-actions,
  .footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    max-width: 340px;
  }

  .btn {
    width: 100%;
  }

  .section-panel,
  .buy-strip,
  .casefile,
  .blog,
  .community,
  .archive-hero,
  .single-hero,
  .article-content,
  .article-footer,
  .comments-area {
    width: min(100% - 28px, 1180px);
    margin-top: 74px;
  }

  .archive-hero,
  .single-hero {
    margin: 0 auto;
    padding: 106px 0 32px;
  }

  .mission-art {
    box-shadow: 7px 7px 0 rgba(225, 61, 46, 0.9);
  }

  .section-copy h2,
  .community h2 {
    font-size: 2.25rem;
  }

  .archive-hero h1,
  .single-hero h1 {
    font-size: 2.7rem;
    text-shadow: 3px 3px 0 #09445a, 6px 6px 0 var(--ink);
  }

  .steps,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .steps li,
  .post-card {
    min-height: 278px;
  }

  .casefile {
    padding: 38px 0;
  }

  .evidence-board {
    padding: 20px;
    box-shadow: 8px 8px 0 var(--red);
  }

  .blog-heading {
    align-items: start;
    flex-direction: column;
  }

  .community-inner {
    padding: 34px 22px;
  }

  .site-footer {
    margin-top: 64px;
  }

  .footer-scene {
    background-position: 56% center;
    opacity: 0.52;
  }

  .footer-shell {
    width: min(100% - 28px, 1180px);
    padding: 50px 0 34px;
  }

  .footer-primary h2 {
    max-width: 340px;
    font-size: 2.65rem;
    text-shadow: 3px 3px 0 #09445a, 6px 6px 0 var(--ink);
  }

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

  .footer-bottom {
    width: min(100% - 28px, 1180px);
    flex-direction: column;
    padding: 20px 0 26px;
  }

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

  .article-content h2 {
    font-size: 2.2rem;
  }

  .article-content h3 {
    font-size: 1.8rem;
  }
}

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