/* =========================================================
   SolarJersey.com
   An ABC Solar Manga Comedy Site
   site.css
   "Put on the Solar Jersey. Join Team Solar."
   ========================================================= */

/* -----------------------------
   Root Theme
----------------------------- */

:root {
  --sun: #ffcc21;
  --sun-hot: #ff8c00;
  --solar-red: #ff304f;
  --solar-blue: #087cff;
  --deep-blue: #08142f;
  --night: #050814;
  --ink: #101010;
  --paper: #fff8df;
  --cream: #fff2b8;
  --panel: #ffffff;
  --panel-warm: #fff7da;
  --green: #21d17d;
  --pink: #ff5fd2;
  --purple: #7c4dff;
  --danger: #ff1744;
  --shadow: rgba(0, 0, 0, 0.25);
  --heavy-shadow: rgba(0, 0, 0, 0.42);
  --line: #111;
  --radius: 24px;
  --comic-radius: 18px;
  --max: 1180px;

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-comic: "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
}

/* -----------------------------
   Global Reset
----------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 204, 33, 0.35), transparent 24rem),
    radial-gradient(circle at 85% 15%, rgba(8, 124, 255, 0.25), transparent 22rem),
    radial-gradient(circle at 40% 90%, rgba(255, 48, 79, 0.22), transparent 26rem),
    linear-gradient(135deg, #fff7d6 0%, #fff 38%, #ffeab8 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: multiply;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(0,0,0,0.12) 1px, transparent 1.6px);
  background-size: 10px 10px;
  opacity: 0.18;
  z-index: -2;
}

/* -----------------------------
   Typography
----------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-comic);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  text-transform: uppercase;
}

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

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

p {
  font-size: 1.07rem;
  line-height: 1.65;
  margin: 0 0 1.05rem;
}

a {
  color: inherit;
}

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

strong {
  font-weight: 900;
}

/* -----------------------------
   Layout Helpers
----------------------------- */

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

.section {
  padding: clamp(3rem, 7vw, 6.5rem) 0;
  position: relative;
}

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

.center {
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-comic);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1deg);
}

.kicker::before {
  content: "⚡";
}

.big-lede {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  line-height: 1.4;
  font-weight: 800;
}

.no-bottom {
  margin-bottom: 0;
}

/* -----------------------------
   Top Bar / Navigation
----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 223, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 4px solid var(--ink);
  box-shadow: 0 8px 0 rgba(0,0,0,0.07);
}

.nav {
  width: min(1260px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-comic);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.logo-mark {
  width: 48px;
  height: 48px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--sun) 0 36%, var(--sun-hot) 37% 58%, var(--solar-red) 59% 100%);
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
  animation: sun-wobble 3s infinite ease-in-out;
}

.logo-mark::after {
  content: "J";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  -webkit-text-stroke: 2px var(--ink);
  font-size: 1.8rem;
  font-weight: 1000;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 950;
  font-size: 0.92rem;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.58rem 0.78rem;
  transition: 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: translateY(-2px) rotate(-1deg);
}

/* Optional mobile toggle support */
.menu-toggle {
  display: none;
  border: 3px solid var(--ink);
  background: var(--sun);
  border-radius: 14px;
  font-weight: 1000;
  padding: 0.65rem 0.85rem;
  box-shadow: 4px 4px 0 var(--ink);
}

/* -----------------------------
   Hero
----------------------------- */

.hero {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 204, 33, 0.85), transparent 20rem),
    radial-gradient(circle at 80% 45%, rgba(8, 124, 255, 0.23), transparent 23rem),
    linear-gradient(135deg, #fff0a8 0%, #fff 48%, #ffd36c 100%);
  border-bottom: 6px solid var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  width: 90vmax;
  height: 90vmax;
  right: -45vmax;
  top: -42vmax;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255, 204, 33, 0.85) 0 8deg,
      rgba(255, 140, 0, 0.15) 8deg 16deg
    );
  animation: slow-spin 28s linear infinite;
  z-index: 0;
}

.hero::after {
  content: "ZAP!";
  position: absolute;
  right: clamp(1rem, 8vw, 9rem);
  top: clamp(6rem, 14vw, 10rem);
  font-family: var(--font-comic);
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--solar-red);
  -webkit-text-stroke: 4px var(--ink);
  transform: rotate(12deg);
  opacity: 0.92;
  filter: drop-shadow(6px 6px 0 rgba(0,0,0,0.2));
  animation: zap-pop 1.8s infinite steps(2, end);
}

.hero-grid {
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-title {
  color: var(--ink);
  text-shadow:
    4px 4px 0 white,
    8px 8px 0 rgba(0,0,0,0.13);
}

.hero-title .hot {
  color: var(--solar-red);
  -webkit-text-stroke: 2px var(--ink);
}

.hero-card {
  background: var(--panel);
  border: 5px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(1.5deg);
  position: relative;
}

.hero-card::before {
  content: "ABC SOLAR MANGA COMEDY";
  position: absolute;
  top: -1.1rem;
  left: 1.5rem;
  background: var(--solar-blue);
  color: white;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  right: -26px;
  bottom: -26px;
  background: var(--sun);
  border: 5px solid var(--ink);
  clip-path: polygon(50% 0%, 62% 32%, 98% 18%, 75% 50%, 100% 82%, 62% 68%, 50% 100%, 38% 68%, 0 82%, 25% 50%, 2% 18%, 38% 32%);
  animation: star-pulse 1.8s infinite ease-in-out;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* -----------------------------
   Buttons
----------------------------- */

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 1000;
  text-transform: uppercase;
  padding: 0.9rem 1.2rem;
  box-shadow: 6px 6px 0 var(--ink);
  transition: 160ms ease;
  cursor: pointer;
}

.btn:hover,
.button:hover,
.btn:focus,
.button:focus {
  transform: translate(-2px, -3px) rotate(-1deg);
  box-shadow: 9px 9px 0 var(--ink);
}

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

.btn.blue {
  background: var(--solar-blue);
  color: white;
}

.btn.red {
  background: var(--solar-red);
  color: white;
}

.btn.ghost {
  background: white;
}

/* -----------------------------
   Manga Panels
----------------------------- */

.manga-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

.panel {
  background: var(--panel);
  border: 5px solid var(--ink);
  border-radius: var(--comic-radius);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  box-shadow: 8px 8px 0 var(--ink);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 204, 33, 0.26), transparent 9rem),
    radial-gradient(circle at 90% 20%, rgba(255, 48, 79, 0.14), transparent 8rem);
  pointer-events: none;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel.tilt-left {
  transform: rotate(-1deg);
}

.panel.tilt-right {
  transform: rotate(1deg);
}

.panel.big {
  grid-column: span 7;
}

.panel.medium {
  grid-column: span 5;
}

.panel.third {
  grid-column: span 4;
}

.panel.half {
  grid-column: span 6;
}

.panel.full {
  grid-column: 1 / -1;
}

.panel.black {
  background: var(--night);
  color: white;
}

.panel.yellow {
  background: var(--sun);
}

.panel.blue {
  background: var(--solar-blue);
  color: white;
}

.panel.red {
  background: var(--solar-red);
  color: white;
}

.panel.green {
  background: var(--green);
}

/* -----------------------------
   Character Cards
----------------------------- */

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.character-card {
  background: white;
  border: 5px solid var(--ink);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 9px 9px 0 var(--ink);
  transition: 180ms ease;
  position: relative;
}

.character-card:hover {
  transform: translateY(-7px) rotate(-1deg);
  box-shadow: 13px 13px 0 var(--ink);
}

.character-art {
  min-height: 240px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(255,255,255,0.9), transparent 24%),
    repeating-conic-gradient(
      from 0deg,
      var(--sun) 0 8deg,
      #fff2a3 8deg 16deg
    );
  border-bottom: 5px solid var(--ink);
  position: relative;
  overflow: hidden;
}

.character-art span {
  font-family: var(--font-comic);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 1000;
  -webkit-text-stroke: 3px var(--ink);
  color: white;
  filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.28));
  transform: rotate(-4deg);
}

.character-body {
  padding: 1.25rem;
}

.character-body h3 {
  margin-bottom: 0.45rem;
}

.catchphrase {
  display: inline-block;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 900;
  font-size: 0.88rem;
}

/* -----------------------------
   Speech Bubbles
----------------------------- */

.speech {
  position: relative;
  background: white;
  border: 5px solid var(--ink);
  border-radius: 28px;
  padding: 1.25rem 1.35rem;
  box-shadow: 8px 8px 0 var(--ink);
  font-weight: 850;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.speech::after {
  content: "";
  position: absolute;
  left: 2rem;
  bottom: -27px;
  width: 42px;
  height: 42px;
  background: white;
  border-right: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
  transform: rotate(45deg);
}

.speech.shout {
  border-radius: 18px;
  background: var(--sun);
  text-transform: uppercase;
  font-family: var(--font-comic);
  letter-spacing: -0.035em;
}

.speech.shout::after {
  background: var(--sun);
}

/* -----------------------------
   Comic Sound Effects
----------------------------- */

.sound {
  font-family: var(--font-comic);
  font-weight: 1000;
  text-transform: uppercase;
  color: var(--solar-red);
  -webkit-text-stroke: 3px var(--ink);
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  line-height: 0.85;
  transform: rotate(-5deg);
  text-shadow: 6px 6px 0 rgba(0,0,0,0.15);
}

.sound.blue {
  color: var(--solar-blue);
}

.sound.yellow {
  color: var(--sun);
}

.sound.small {
  font-size: clamp(2rem, 5vw, 4rem);
}

/* -----------------------------
   Lists
----------------------------- */

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

.punch-list li {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 0.8rem 0.95rem 0.8rem 2.7rem;
  font-weight: 850;
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
}

.punch-list li::before {
  content: "☀";
  position: absolute;
  left: 0.8rem;
  top: 0.68rem;
  color: var(--sun-hot);
  -webkit-text-stroke: 1px var(--ink);
}

/* -----------------------------
   Product / Jersey Cards
----------------------------- */

.jersey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.jersey-card {
  background: var(--panel);
  border: 4px solid var(--ink);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 7px 7px 0 var(--ink);
  position: relative;
  overflow: hidden;
  transition: 180ms ease;
}

.jersey-card:hover {
  transform: translateY(-6px) rotate(1deg);
}

.jersey-card::before {
  content: "";
  display: block;
  height: 150px;
  border: 4px solid var(--ink);
  border-radius: 18px;
  margin-bottom: 1rem;
  background:
    linear-gradient(90deg, transparent 48%, rgba(0,0,0,0.18) 49% 51%, transparent 52%),
    radial-gradient(circle at 50% 26%, white 0 15%, transparent 16%),
    linear-gradient(135deg, var(--solar-blue), var(--sun), var(--solar-red));
}

.jersey-card h3 {
  font-size: 1.45rem;
}

.price-joke {
  display: inline-block;
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-weight: 1000;
  box-shadow: 3px 3px 0 var(--ink);
}

/* -----------------------------
   Alive Background Objects
----------------------------- */

.floaty {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.22));
  animation: float-around 6s infinite ease-in-out;
}

.floaty.sun {
  width: 90px;
  height: 90px;
  background: var(--sun);
  border: 5px solid var(--ink);
  border-radius: 50%;
}

.floaty.bolt {
  width: 74px;
  height: 112px;
  background: var(--solar-red);
  border: 5px solid var(--ink);
  clip-path: polygon(58% 0, 8% 55%, 43% 55%, 28% 100%, 92% 38%, 56% 38%);
}

.floaty.panel-icon {
  width: 118px;
  height: 78px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
    var(--solar-blue);
  background-size: 24px 24px;
  border: 5px solid var(--ink);
  border-radius: 10px;
  transform: rotate(-8deg);
}

/* -----------------------------
   Forms
----------------------------- */

.form-card {
  background: white;
  border: 5px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 10px 10px 0 var(--ink);
}

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

input,
textarea,
select {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fffef5;
  margin-bottom: 1rem;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: 4px solid var(--sun);
}

/* -----------------------------
   Footer
----------------------------- */

.site-footer {
  background:
    radial-gradient(circle at 20% 10%, rgba(255,204,33,0.24), transparent 18rem),
    linear-gradient(135deg, var(--night), #10172f);
  color: white;
  border-top: 6px solid var(--ink);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "TEAM SOLAR";
  position: absolute;
  right: -1rem;
  bottom: -0.4rem;
  font-family: var(--font-comic);
  font-size: clamp(4rem, 14vw, 13rem);
  font-weight: 1000;
  color: rgba(255,255,255,0.055);
  letter-spacing: -0.08em;
}

.footer-grid {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid a {
  color: white;
  font-weight: 800;
}

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

/* -----------------------------
   Special Utility Blocks
----------------------------- */

.warning-box {
  background: var(--sun);
  border: 5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 8px 8px 0 var(--ink);
  font-weight: 850;
}

.disclaimer-box {
  background: white;
  border: 4px dashed var(--ink);
  border-radius: 18px;
  padding: 1.2rem;
  font-size: 0.95rem;
}

.energy-strip {
  background:
    repeating-linear-gradient(
      45deg,
      var(--sun) 0 18px,
      var(--sun-hot) 18px 36px,
      var(--solar-red) 36px 54px,
      var(--solar-blue) 54px 72px
    );
  height: 22px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  animation: stripe-move 2.8s linear infinite;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: white;
  padding: 0.45rem 0.7rem;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 1000;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.badge.sun {
  background: var(--sun);
}

.badge.blue {
  background: var(--solar-blue);
  color: white;
}

.badge.red {
  background: var(--solar-red);
  color: white;
}

/* -----------------------------
   Tables
----------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
  background: white;
}

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

th,
td {
  padding: 0.9rem;
  border-bottom: 3px solid var(--ink);
  text-align: left;
}

th {
  background: var(--sun);
  font-family: var(--font-comic);
  text-transform: uppercase;
}

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

/* -----------------------------
   Animations
----------------------------- */

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sun-wobble {
  0%, 100% {
    transform: rotate(-5deg) scale(1);
  }
  50% {
    transform: rotate(7deg) scale(1.06);
  }
}

@keyframes zap-pop {
  0%, 100% {
    transform: rotate(12deg) scale(1);
  }
  50% {
    transform: rotate(9deg) scale(1.08);
  }
}

@keyframes star-pulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.13) rotate(12deg);
  }
}

@keyframes float-around {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-18px) rotate(7deg);
  }
}

@keyframes stripe-move {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100px 0;
  }
}

/* -----------------------------
   Alive Hover Effects
----------------------------- */

.alive:hover {
  animation: alive-shake 0.42s ease-in-out;
}

@keyframes alive-shake {
  0% { transform: translate(0,0) rotate(0); }
  20% { transform: translate(-2px,1px) rotate(-1deg); }
  40% { transform: translate(2px,-1px) rotate(1deg); }
  60% { transform: translate(-1px,2px) rotate(-1deg); }
  80% { transform: translate(1px,-2px) rotate(1deg); }
  100% { transform: translate(0,0) rotate(0); }
}

/* -----------------------------
   Mobile
----------------------------- */

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

  .hero-card {
    transform: rotate(0deg);
  }

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

  .panel.big,
  .panel.medium,
  .panel.third,
  .panel.half {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    padding: 0.8rem 0;
    min-height: auto;
  }

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

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0 0.35rem;
  }

  .nav.open,
  .site-header.open .nav {
    flex-wrap: wrap;
  }

  .nav.open .nav-links,
  .site-header.open .nav-links,
  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    background: white;
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    opacity: 0.45;
  }

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

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

  .character-grid,
  .jersey-grid {
    grid-template-columns: 1fr;
  }

  .manga-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    grid-column: 1 / -1 !important;
  }

  .sound {
    -webkit-text-stroke: 2px var(--ink);
  }
}

@media (max-width: 480px) {
  .wrap,
  .hero-grid,
  .nav,
  .footer-grid {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    font-size: clamp(2.7rem, 17vw, 4.5rem);
  }

  .hero-card,
  .panel,
  .form-card {
    box-shadow: 6px 6px 0 var(--ink);
  }

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

  .logo {
    font-size: 1.18rem;
  }

  .kicker {
    box-shadow: 3px 3px 0 var(--ink);
  }
}

/* -----------------------------
   Reduced Motion
----------------------------- */

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