/* The McRib Inu — comic drive-thru strip */

:root {
  --sauce: #8b2e14;
  --ketchup: #da291c;
  --ketchup-deep: #9e160e;
  --mustard: #ffc72c;
  --bun: #f5d9a8;
  --cream: #fff6e8;
  --cream-deep: #ffe8c4;
  --ink: #1a0f0a;
  --ink-soft: #3d2418;
  --booth: #c41e12;
  --glow: rgba(255, 199, 44, 0.35);
  --panel: #fffaf0;
  --shadow: 6px 6px 0 var(--ink);
  --radius-panel: 18px;
  --font-display: "Bangers", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% 0%, #ffd48a 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 20%, #f5a07a 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, #e85a3a 0%, transparent 55%),
    linear-gradient(165deg, #ffecd0 0%, #f4b183 35%, #c93a22 70%, #7a1a10 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
}

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

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

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  background: rgba(26, 15, 10, 0.92);
  border-bottom: 4px solid var(--mustard);
  backdrop-filter: blur(8px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--mustard);
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--mustard);
  background: var(--cream);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--mustard);
}

.nav-toggle {
  display: none;
  background: var(--mustard);
  border: 3px solid var(--ink);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 5px solid var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(26, 15, 10, 0.88) 0%, rgba(26, 15, 10, 0.72) 42%, rgba(26, 15, 10, 0.25) 68%, rgba(26, 15, 10, 0.15) 100%),
    linear-gradient(0deg, rgba(154, 22, 14, 0.45) 0%, transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(720px, 94%);
  margin: 0;
  margin-right: auto;
  margin-left: max(3vw, calc((100% - 1180px) / 2));
  padding: 3.5rem 0 3rem;
}

.hero-copy {
  color: var(--cream);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 0.75rem;
}

.hero-kicker img {
  width: 22px;
  height: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin: 0 0 0.35rem;
  color: var(--mustard);
  text-shadow: 4px 4px 0 var(--ink), 0 0 28px var(--glow);
}

.hero-symbol {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--cream);
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}

.hero-bio {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 36ch;
  margin: 0 0 1.5rem;
  color: #ffe8c8;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

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

.btn-ketchup {
  background: var(--ketchup);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  color: var(--mustard);
  border-color: var(--mustard);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

/* —— CA bar —— */
.ca-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 246, 232, 0.12);
  border: 3px dashed var(--mustard);
  border-radius: 14px;
  max-width: 100%;
}

.ca-label {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mustard);
}

.ca-value {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.8rem;
  color: var(--cream);
  word-break: break-all;
  flex: 1;
  min-width: 0;
}

.ca-copy {
  flex-shrink: 0;
}

/* —— Sauce drip divider —— */
.drip {
  display: block;
  width: 100%;
  height: 28px;
  background: var(--ketchup);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 40%,
    94% 100%,
    88% 40%,
    80% 85%,
    72% 40%,
    64% 95%,
    56% 40%,
    48% 80%,
    40% 40%,
    32% 100%,
    24% 40%,
    16% 75%,
    8% 40%,
    0 90%
  );
}

/* —— Sections —— */
.section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
}

.section-inner {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--mustard);
}

.section-lead {
  margin: 0 auto;
  max-width: 42ch;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* About — asymmetric comic strip */
.about {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.about-strip {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about-story {
  background: var(--panel);
  border: 4px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.about-story p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.about-story .tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--ketchup);
  background: var(--mustard);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 0.25rem 0.7rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.about-gallery {
  display: grid;
  grid-template-rows: auto;
  gap: 1rem;
}

.frame {
  border: 4px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow);
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--cream);
}

.frame-wide {
  margin-top: 1.5rem;
}

/* How to buy — ticket stubs */
.howtobuy {
  background:
    linear-gradient(180deg, rgba(158, 22, 14, 0.92), rgba(122, 26, 16, 0.95)),
    var(--ketchup-deep);
  color: var(--cream);
}

.howtobuy .section-title {
  color: var(--mustard);
  text-shadow: 3px 3px 0 var(--ink);
}

.howtobuy .section-lead {
  color: #ffe0b8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.step {
  background: var(--cream);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 16px 16px 40px 16px;
  box-shadow: var(--shadow);
  padding: 1.4rem 1.2rem 1.5rem;
  position: relative;
  transition: transform 0.25s ease;
}

.step:hover {
  transform: translateY(-6px);
}

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  object-fit: contain;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.4rem;
  color: var(--ketchup);
}

.step p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

.howtobuy .ca-bar {
  background: rgba(0, 0, 0, 0.25);
  border-color: var(--mustard);
  margin: 0 auto 1.5rem;
  max-width: 720px;
}

/* Community */
.community {
  background: linear-gradient(180deg, #ffe8c4 0%, #ffd48a 45%, #f0a060 100%);
}

.community-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.community-copy {
  background: var(--panel);
  border: 4px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
}

.community-copy h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.6rem;
  color: var(--ketchup);
  letter-spacing: 0.03em;
}

.community-copy p {
  margin: 0 0 1.25rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.community-banner {
  border: 4px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--cream);
}

.community-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 1.75rem 1rem 2rem;
  border-top: 4px solid var(--mustard);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--mustard);
  margin-bottom: 0.5rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--mustard);
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 600;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-inner {
    width: min(94%, 640px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .ca-bar {
    justify-content: center;
  }

  .hero-bg img {
    object-position: center center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(26, 15, 10, 0.75) 0%, rgba(26, 15, 10, 0.55) 50%, rgba(26, 15, 10, 0.85) 100%);
  }

  .about-strip,
  .community-stage,
  .steps {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(26, 15, 10, 0.97);
    padding: 0.75rem 1rem 1rem;
    border-bottom: 3px solid var(--mustard);
  }

  .nav-links.open {
    display: flex;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .step {
    border-radius: 16px;
  }
}
