/* solarburger.com — full site.css */

:root {
  --sun: #ffcc22;
  --sun-deep: #ff9f1c;
  --burger: #7a3e18;
  --ketchup: #e63925;
  --lettuce: #36a852;
  --ink: #171717;
  --ink-soft: #333333;
  --paper: #fff8df;
  --cream: #fff3c2;
  --white: #ffffff;
  --black: #090909;
  --panel: #fffdf2;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  --comic-shadow: 7px 7px 0 #111;
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 204, 34, 0.35), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(255, 159, 28, 0.22), transparent 30%),
    linear-gradient(180deg, #fff7c9 0%, #fffdf3 45%, #fff2b8 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(45deg, rgba(0, 0, 0, 0.055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.055) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.055) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.055) 75%);
  background-size: 34px 34px;
  background-position: 0 0, 0 17px, 17px -17px, -17px 0;
  z-index: -1;
}

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

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 3px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 223, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 4px solid var(--black);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08);
}

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

.brand,
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 1000;
  letter-spacing: -0.04em;
  font-size: clamp(1.5rem, 4vw, 2.45rem);
  line-height: 1;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--black);
  font-size: 1.45rem;
}

.brand span,
.logo span {
  background: linear-gradient(90deg, var(--black), #5a2b10);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-links a,
.menu a {
  display: inline-block;
  padding: 9px 12px;
  border: 3px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  font-size: 0.94rem;
}

.nav-links a:hover,
.menu a:hover,
.nav-links a[aria-current="page"],
.menu a[aria-current="page"] {
  background: var(--sun);
  border-color: var(--black);
  box-shadow: 3px 3px 0 var(--black);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 112px) 0 clamp(42px, 7vw, 82px);
  border-bottom: 5px solid var(--black);
}

.hero::before {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
  right: -260px;
  top: -330px;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 204, 34, 0.95) 0 8deg, rgba(255, 159, 28, 0.3) 8deg 16deg);
  border-radius: 50%;
  opacity: 0.55;
  z-index: -1;
}

.hero-grid {
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.hero-card {
  background: rgba(255, 253, 242, 0.88);
  border: 5px solid var(--black);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--comic-shadow);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: var(--ketchup);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--black);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.85rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 1000;
}

h1 .highlight,
.hero-title .highlight {
  color: var(--ketchup);
  text-shadow: 4px 4px 0 var(--sun);
}

.hero-subtitle,
.lead {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 750;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 4px solid var(--black);
  border-radius: 999px;
  background: var(--sun);
  color: var(--black);
  text-decoration: none;
  font-weight: 1000;
  box-shadow: 5px 5px 0 var(--black);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.button:hover,
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--black);
}

.button.secondary,
.btn.secondary {
  background: var(--white);
}

.button.dark,
.btn.dark {
  background: var(--black);
  color: var(--white);
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.poster-img {
  width: 100%;
  display: block;
  border: 5px solid var(--black);
  border-radius: 30px;
  box-shadow: var(--comic-shadow);
  background: var(--cream);
}

.burst {
  display: inline-grid;
  place-items: center;
  width: 126px;
  height: 126px;
  position: absolute;
  right: -12px;
  bottom: -20px;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: var(--sun);
  color: var(--black);
  font-weight: 1000;
  text-align: center;
  line-height: 1.05;
  transform: rotate(-8deg);
  box-shadow: 5px 5px 0 var(--black);
}

/* Sections */

main {
  overflow: hidden;
}

.section {
  padding: clamp(46px, 7vw, 88px) 0;
}

.section.tight {
  padding: clamp(30px, 5vw, 58px) 0;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 1000;
}

.section-intro {
  max-width: 820px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 2vw, 1.25rem);
  font-weight: 700;
}

.panel {
  background: var(--panel);
  border: 5px solid var(--black);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--comic-shadow);
}

.panel.sun {
  background: linear-gradient(135deg, #fff8a5, #fffdf2);
}

.panel.red {
  background: linear-gradient(135deg, #ffe1d9, #fffdf2);
}

.panel.green {
  background: linear-gradient(135deg, #ddffd8, #fffdf2);
}

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

.panel.dark .muted,
.panel.dark p {
  color: rgba(255, 255, 255, 0.84);
}

/* Cards */

.grid {
  display: grid;
  gap: 22px;
}

.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;
  background: var(--white);
  border: 4px solid var(--black);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 6px 6px 0 var(--black);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 204, 34, 0.22), transparent 45%);
}

.card h2,
.card h3 {
  position: relative;
  margin: 0 0 10px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 1000;
}

.card p,
.card li {
  position: relative;
  color: var(--ink-soft);
  font-weight: 650;
}

.card a {
  position: relative;
  font-weight: 1000;
  color: var(--black);
}

.card .number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 3px solid var(--black);
  border-radius: 50%;
  background: var(--sun);
  font-weight: 1000;
  box-shadow: 3px 3px 0 var(--black);
}

.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 4px solid var(--black);
  border-radius: 18px;
  margin-bottom: 16px;
  background: var(--cream);
}

/* Manga panels */

.comic-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.comic-panel {
  min-height: 210px;
  background: var(--white);
  border: 5px solid var(--black);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 6px 6px 0 var(--black);
  position: relative;
  overflow: hidden;
}

.comic-panel:nth-child(odd) {
  background: #fff7b7;
}

.comic-panel:nth-child(even) {
  background: #ffe5da;
}

.comic-panel h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 1000;
}

.comic-panel p {
  margin: 0;
  font-weight: 800;
}

.comic-panel::after {
  content: "!";
  position: absolute;
  right: -8px;
  bottom: -52px;
  font-size: 9rem;
  line-height: 1;
  font-weight: 1000;
  opacity: 0.11;
}

/* Speech bubbles */

.speech {
  position: relative;
  display: inline-block;
  max-width: 720px;
  padding: 18px 22px;
  margin: 18px 0;
  border: 4px solid var(--black);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
  font-weight: 900;
}

.speech::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -18px;
  width: 28px;
  height: 28px;
  background: var(--white);
  border-right: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
  transform: rotate(45deg);
}

/* Character pages */

.character {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 24px;
}

.character-avatar {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 5px solid var(--black);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 35%, var(--sun), #fff3b2 58%, #ffffff 59%);
  box-shadow: 6px 6px 0 var(--black);
  font-size: 5rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.badge-list li,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: var(--sun);
  font-weight: 1000;
  font-size: 0.86rem;
}

/* Episode list */

.episode-list {
  display: grid;
  gap: 18px;
  counter-reset: episodes;
}

.episode-item {
  counter-increment: episodes;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: stretch;
  background: var(--white);
  border: 4px solid var(--black);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 6px 6px 0 var(--black);
}

.episode-item::before {
  content: counter(episodes, decimal-leading-zero);
  display: grid;
  place-items: center;
  min-height: 90px;
  border: 4px solid var(--black);
  border-radius: 18px;
  background: var(--sun);
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 1000;
}

.episode-item h2,
.episode-item h3 {
  margin: 0 0 6px;
  line-height: 1.05;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.045em;
}

.episode-item p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-weight: 700;
}

.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Article */

.article {
  width: min(900px, calc(100% - 34px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) 0;
}

.article-header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 5px solid var(--black);
}

.article h1 {
  margin-bottom: 18px;
}

.article h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.article h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.05;
}

.article p,
.article li {
  font-size: 1.08rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.article blockquote {
  margin: 30px 0;
  padding: 24px;
  border: 5px solid var(--black);
  border-radius: var(--radius);
  background: var(--sun);
  box-shadow: 6px 6px 0 var(--black);
  font-size: 1.25rem;
  font-weight: 1000;
  line-height: 1.35;
}

.article blockquote p {
  margin: 0;
  color: var(--black);
  font-size: inherit;
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  border: 4px solid var(--black);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--black);
  background: var(--white);
}

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

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

th {
  background: var(--sun);
  font-weight: 1000;
}

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

/* Forms */

form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 1000;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border: 4px solid var(--black);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
}

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

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

/* Utility */

.center {
  text-align: center;
}

.muted {
  color: var(--ink-soft);
}

.small {
  font-size: 0.92rem;
}

.big {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  font-weight: 900;
}

.divider {
  height: 5px;
  background: var(--black);
  margin: clamp(34px, 6vw, 62px) 0;
  border-radius: 999px;
}

.callout {
  padding: clamp(20px, 4vw, 34px);
  border: 5px solid var(--black);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 204, 34, 0.9), rgba(255, 255, 255, 0.95)),
    var(--sun);
  box-shadow: var(--comic-shadow);
}

.callout h2,
.callout h3 {
  margin-top: 0;
}

.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.logo-cloud a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 16px;
  border: 4px solid var(--black);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  text-decoration: none;
  font-weight: 1000;
}

/* Footer */

.site-footer {
  margin-top: 70px;
  padding: 34px 18px 42px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 204, 34, 0.22), transparent 28%),
    #111;
  color: #fff;
  text-align: center;
  border-top: 5px solid var(--sun);
}

.site-footer .footer-inner {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 12px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.site-footer strong {
  color: #ffd447;
  font-size: 1.05rem;
}

.site-footer a {
  color: #ffd447;
}

.abc-logo-link {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
}

.abc-logo-link img {
  width: 180px;
  max-width: 80%;
  height: auto;
  background: #fff;
  padding: 10px;
  border-radius: 14px;
  border: 3px solid #ffd447;
}

/* Simple footer nav */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffd447;
  text-decoration: underline;
}

/* Sitemap */

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}

.sitemap-list a {
  display: block;
  padding: 16px;
  border: 4px solid var(--black);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
  text-decoration: none;
  font-weight: 1000;
}

/* Animations */

@media (prefers-reduced-motion: no-preference) {
  .card,
  .comic-panel,
  .episode-item,
  .panel,
  .button,
  .btn {
    transition: transform 0.16s ease, box-shadow 0.16s ease;
  }

  .card:hover,
  .comic-panel:hover,
  .episode-item:hover,
  .panel:hover {
    transform: translateY(-3px);
  }

  .burst {
    animation: solarburger-bob 2.4s ease-in-out infinite;
  }

  @keyframes solarburger-bob {
    0%,
    100% {
      transform: rotate(-8deg) translateY(0);
    }

    50% {
      transform: rotate(-5deg) translateY(-7px);
    }
  }
}

/* Responsive */

@media (max-width: 960px) {
  .navbar,
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links,
  .menu {
    justify-content: flex-start;
  }

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

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

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

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

  .character-avatar {
    width: min(260px, 100%);
  }

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

@media (max-width: 640px) {
  body {
    line-height: 1.55;
  }

  .container,
  .wrap,
  .hero-grid,
  .article {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    position: static;
  }

  .navbar,
  .nav {
    min-height: auto;
  }

  .brand,
  .logo {
    font-size: 1.7rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .nav-links,
  .menu {
    gap: 6px;
  }

  .nav-links a,
  .menu a {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-card {
    padding: 22px;
    box-shadow: 5px 5px 0 var(--black);
  }

  h1,
  .hero-title {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

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

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

  .burst {
    position: static;
    margin: 18px auto 0;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .comic-strip,
  .sitemap-list {
    grid-template-columns: 1fr;
  }

  .episode-item {
    grid-template-columns: 1fr;
  }

  .episode-item::before {
    min-height: 64px;
  }

  .panel,
  .card,
  .comic-panel,
  .callout {
    box-shadow: 5px 5px 0 var(--black);
  }

  .site-footer {
    margin-top: 42px;
    padding: 28px 14px 34px;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .site-footer,
  .hero-actions,
  .actions {
    display: none;
  }

  .panel,
  .card,
  .comic-panel,
  .episode-item {
    box-shadow: none;
    break-inside: avoid;
  }
}
