/* ==========================================================================
   The Lucy & Patty Show — Design Tokens
   Colors, type, spacing, radii, shadows, motion.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Titan+One&family=Bangers&family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* Brand body font — Host Grotesk (uploaded) */
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-Light.ttf')           format('truetype'); font-weight: 300; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-LightItalic.ttf')     format('truetype'); font-weight: 300; font-style: italic;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-Regular.ttf')         format('truetype'); font-weight: 400; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-Italic.ttf')          format('truetype'); font-weight: 400; font-style: italic;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-Medium.ttf')          format('truetype'); font-weight: 500; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-MediumItalic.ttf')    format('truetype'); font-weight: 500; font-style: italic;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-SemiBold.ttf')        format('truetype'); font-weight: 600; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-SemiBoldItalic.ttf')  format('truetype'); font-weight: 600; font-style: italic;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-Bold.ttf')            format('truetype'); font-weight: 700; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-BoldItalic.ttf')      format('truetype'); font-weight: 700; font-style: italic;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-ExtraBold.ttf')       format('truetype'); font-weight: 800; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('../fonts/HostGrotesk-ExtraBoldItalic.ttf') format('truetype'); font-weight: 800; font-style: italic;  font-display: swap; }

:root {
  /* --- Character-anchored primaries ------------------------------------- */
  --patty-orange: #F28C2E;
  --lucy-tan:     #D68A3C;
  --collar-green: #5B8A3A;
  --collar-purple:#6B3FA0;

  /* --- World-anchored supporting --------------------------------------- */
  --pool-blue:     #2FA9D6;
  --lawn-green:    #7FB94A;
  --sun-yellow:    #FFD23F;
  --bubblegum:     #F25D8C;

  /* --- Neutrals (from the ink in the source SVG) ------------------------ */
  --ink:        #1B1410;   /* outlines, primary text */
  --ink-soft:   #3A2B22;   /* secondary text */
  --paper:      #FBF3E4;   /* canvas background */
  --newsprint:  #E8DFCB;   /* alt surface */
  --halftone:   #BDB3A3;   /* dot screens, muted fills */
  --white:      #FFFFFF;   /* bubbles, pop highlights only */

  /* --- Character tints (use for subtle surfaces, NOT text) -------------- */
  --patty-50:  #FEF0E0;
  --patty-100: #FCD9B3;
  --patty-500: #F28C2E;   /* same as patty-orange */
  --patty-700: #B8620F;

  --lucy-50:  #FAEED8;
  --lucy-100: #F0D4A2;
  --lucy-500: #D68A3C;
  --lucy-700: #8F5418;

  --green-50:  #E7F1DC;
  --green-500: #5B8A3A;
  --green-700: #3E6125;

  --purple-50:  #EBE0F6;
  --purple-500: #6B3FA0;
  --purple-700: #472870;

  --blue-50:  #D8F0F9;
  --blue-500: #2FA9D6;
  --blue-700: #186A8A;

  /* --- Semantic tokens -------------------------------------------------- */
  --fg:          var(--ink);
  --fg-muted:    var(--ink-soft);
  --fg-inverse:  var(--paper);

  --bg:          var(--paper);
  --bg-alt:      var(--newsprint);
  --bg-bubble:   var(--white);

  --border:      var(--ink);
  --border-soft: var(--halftone);

  --accent:        var(--patty-orange);   /* primary action */
  --accent-alt:    var(--collar-purple);  /* secondary action / links */
  --success:       var(--collar-green);
  --info:          var(--pool-blue);
  --warning:       var(--sun-yellow);
  --love:          var(--bubblegum);

  --link:          var(--collar-purple);
  --link-hover:    var(--patty-orange);

  /* --- Type: families --------------------------------------------------- */
  --font-wordmark:  "Luckiest Guy", "Impact", system-ui, sans-serif;  /* logo + hero wordmark */
  --font-display:   "Titan One", "Luckiest Guy", system-ui, sans-serif; /* headers */
  --font-lettering: "Bangers", "Impact", system-ui, sans-serif;         /* speech bubbles + SFX */
  --font-body:      "Host Grotesk", "Nunito", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono:      "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* --- Type: scale (1.200 minor third, then a big hero jump) ------------ */
  --fs-xs:    12px;
  --fs-sm:    14px;
  --fs-base:  16px;
  --fs-md:    18px;
  --fs-lg:    22px;
  --fs-xl:    28px;
  --fs-2xl:   36px;
  --fs-3xl:   48px;
  --fs-4xl:   64px;
  --fs-5xl:   88px;
  --fs-hero:  120px;

  --lh-tight:  1.05;
  --lh-snug:   1.25;
  --lh-normal: 1.5;
  --lh-loose:  1.7;

  --tracking-tight:  -0.01em;
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-shout:   0.08em;

  /* --- Spacing (8pt base) ---------------------------------------------- */
  --s-0:  0;
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;

  /* --- Radii ------------------------------------------------------------ */
  --r-sm:   6px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   36px;
  --r-pill: 999px;

  /* --- Borders --------------------------------------------------------- */
  --bw-hair:  1px;
  --bw-ui:    2px;
  --bw-card:  3px;    /* standard panel / button */
  --bw-char:  4px;    /* character outline */

  /* --- Shadows (hard, printed) ----------------------------------------- */
  --shadow-hard:  4px 4px 0 var(--ink);
  --shadow-lift:  6px 6px 0 var(--ink);
  --shadow-press: 0 0 0 var(--ink);
  --shadow-soft:  2px 2px 0 rgba(27, 20, 16, 0.25); /* rare */

  /* --- Motion --------------------------------------------------------- */
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --ease-cartoon:  cubic-bezier(.34, 1.56, .64, 1);
  --ease-out:      cubic-bezier(0, 0, .2, 1);

  --dur-tap:   120ms;
  --dur-ui:    220ms;
  --dur-page:  380ms;
  --dur-big:   600ms;

  /* --- Z layers -------------------------------------------------------- */
  --z-panel:  1;
  --z-sticky: 10;
  --z-nav:    20;
  --z-modal:  40;
  --z-toast:  50;
}

/* ==========================================================================
   Alt mood palettes — activate with [data-palette="sunset"], etc.
   Only re-maps the semantic accents. Neutrals stay the same.
   ========================================================================== */
[data-palette="sunset"] {
  --accent:     #F28C2E;       /* Patty Orange */
  --accent-alt: var(--bubblegum);
  --info:       var(--collar-purple);
  --success:    var(--collar-green);
  --bg-alt:     #FAE2D1;       /* peach paper */
}

[data-palette="rainy"] {
  --accent:     var(--pool-blue);
  --accent-alt: var(--collar-purple);
  --info:       var(--pool-blue);
  --success:    var(--collar-green);
  --bg-alt:     var(--newsprint);
}

/* ==========================================================================
   Base element styles (semantic defaults)
   ========================================================================== */
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--s-4) 0;
  font-weight: 400; /* Luckiest Guy / Titan One are already heavy */
}

h1 { font-size: clamp(var(--fs-3xl), 6vw, var(--fs-5xl)); }
h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl)); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

h5, h6 {
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
  margin: 0 0 var(--s-3) 0;
}

p {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  margin: 0 0 var(--s-4) 0;
  text-wrap: pretty;
}

small { font-size: var(--fs-sm); color: var(--fg-muted); }

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--dur-ui) var(--ease-standard);
}
a:hover { color: var(--link-hover); }

code, pre, kbd {
  font-family: var(--font-mono);
  font-size: 0.92em;
}
code {
  background: var(--newsprint);
  padding: 0.1em 0.35em;
  border-radius: var(--r-sm);
  border: var(--bw-hair) solid var(--border-soft);
}

/* ==========================================================================
   Comic-specific semantic classes
   ========================================================================== */

/* Comic lettering: ALL CAPS, Bangers, tight */
.c-lettering {
  font-family: var(--font-lettering);
  letter-spacing: var(--tracking-shout);
  text-transform: uppercase;
  line-height: var(--lh-tight);
}

/* Hero display — oversized, display face */
.c-hero {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-4xl), 10vw, var(--fs-hero));
  line-height: 0.95;
  letter-spacing: var(--tracking-tight);
}

/* Speech bubble text */
.c-speech {
  font-family: var(--font-lettering);
  font-size: var(--fs-lg);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-align: center;
}

/* SFX — for BORK, WOOF, NOM */
.c-sfx {
  font-family: var(--font-lettering);
  font-size: clamp(var(--fs-2xl), 6vw, var(--fs-4xl));
  text-transform: uppercase;
  letter-spacing: var(--tracking-shout);
  color: var(--sun-yellow);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 4px 4px 0 var(--ink);
}

/* Caption under a panel — italic, small, handwritten feel */
.c-caption {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--fg-muted);
}

/* Eyebrow label above a section title */
.c-eyebrow {
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-shout);
  font-size: var(--fs-xs);
  color: var(--patty-orange);
}
/* ==========================================================================
   The Lucy & Patty Show — Site Styles
   Built on the design system tokens in colors_and_type.css
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Titan+One&family=Bangers&family=Nunito:wght@400;500;600;700;800;900&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--link); }

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--patty-orange);
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 2px 2px 0 var(--ink);
  text-decoration: none;
  margin-right: 16px;
}
.logo .amp { color: var(--collar-purple); -webkit-text-stroke: 1.5px var(--ink); }

.spacer { flex: 1; }

.nav-link {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  transition: background var(--dur-ui) var(--ease-standard);
}
.nav-link:hover { background: var(--sun-yellow); color: var(--ink); }
.nav-link.active {
  background: var(--sun-yellow);
  border: 2px solid var(--ink);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 15px;
  padding: 10px 18px;
  background: var(--patty-orange);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-ui) var(--ease-cartoon),
              box-shadow var(--dur-ui) var(--ease-cartoon);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lift); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: var(--shadow-press); }

.btn.big {
  font-family: var(--font-display);
  font-size: 20px;
  padding: 14px 24px;
  border-radius: var(--r-lg);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn.big:hover { box-shadow: 7px 7px 0 var(--ink); }

.btn.ghost {
  background: transparent;
  box-shadow: none;
  border: 3px solid var(--ink);
}
.btn.ghost:hover {
  background: var(--newsprint);
  box-shadow: var(--shadow-hard);
  transform: translate(-2px, -2px);
}

.btn.alt {
  background: var(--collar-purple);
  color: var(--paper);
}
.btn.alt:hover { color: var(--paper); }

/* ==========================================================================
   WORDMARK
   ========================================================================== */

.wordmark {
  margin-bottom: 28px;
  line-height: 1;
}

.wordmark-the {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--ink);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.wordmark-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.wordmark-lucy {
  font-family: var(--font-wordmark);
  font-size: clamp(52px, 9vw, 110px);
  color: #5B8A3A;
  -webkit-text-stroke: 3px #1B1410;
  text-shadow:
    4px 4px 0 #1B1410,
    -1px 0 0 #5B8A3A,
    2px 0 0 #5B8A3A;
  letter-spacing: -0.05em;
}

.wordmark-amp {
  font-family: var(--font-wordmark);
  font-size: clamp(32px, 5vw, 64px);
  color: var(--ink);
  -webkit-text-stroke: 1px var(--ink);
}

.wordmark-patty {
  font-family: var(--font-wordmark);
  font-size: clamp(52px, 9vw, 110px);
  color: var(--collar-purple);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow:
    4px 4px 0 var(--ink),
    -1px 0 0 var(--collar-purple),
    2px 0 0 var(--collar-purple);
  letter-spacing: -0.05em;
}

.wordmark-show {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 22px);
  color: var(--ink);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  background-color: #FFD23F !important;
  background-image: radial-gradient(rgba(27,20,16,.12) 1.3px, transparent 1.4px) !important;
  background-size: 10px 10px;
  border-bottom: 3px solid #1B1410;
  min-height: 560px;
  display: block;
  width: 100%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px 0;
  display: flex;
  align-items: flex-end;
  gap: 32px;
  position: relative;
  z-index: 10;
}

.hero-text {
  flex: 1;
  padding-bottom: 56px;
  min-width: 280px;
  max-width: 560px;
}

.kicker {
  font-family: var(--font-lettering);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.tagline {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero image — design system card treatment */
.hero-image-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  max-width: 540px;
}

.hero-image-card {
  border: 4px solid var(--ink);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  background: var(--paper);
  transform: rotate(1.5deg);
  transition: transform var(--dur-ui) var(--ease-cartoon);
}

.hero-image-card:hover {
  transform: rotate(0deg) translate(-2px, -2px);
}

.hero-scene {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: 64px 32px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--patty-orange);
  margin-bottom: 10px;
}

.halftone-bg {
  background-color: var(--newsprint);
  background-image: radial-gradient(rgba(27,20,16,.18) 1.3px, transparent 1.4px);
  background-size: 8px 8px;
}

/* ==========================================================================
   STRIP SECTION
   ========================================================================== */

.strip-section { 
  background: #FBF3E4 !important;
}

.strip-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.strip-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.strip-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

/* Placeholder strip panels */
.strip-wrap {
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  margin-bottom: 8px;
}

.strip-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.panel {
  position: relative;
  aspect-ratio: 3/4;
  border-right: 3px solid var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.panel:last-child { border-right: none; }

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

/* Panel background colors */
.panel-tan         { background: #E8C87A; }
.panel-orange      { background: var(--patty-orange); }
.panel-orange-dark { background: #C4621A; }
.panel-yellow      { background: var(--sun-yellow); }
.panel-green       { background: var(--collar-green); }

/* Halftone dot overlay — applied to panel containers */
.halftone-dots::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(27,20,16,.22) 1.4px, transparent 1.5px);
  background-size: 7px 7px;
  z-index: 3;
  pointer-events: none;
}

/* Real panel artwork — no white bg, sits on colored panel */
.panel-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% - 32px);
  object-fit: contain;
  object-position: center bottom;
  z-index: 2;
  padding: 32px 4px 0;
}

/* SFX overlay on panels */
.panel-sfx-overlay {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-lettering);
  font-size: clamp(22px, 3.5vw, 42px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sun-yellow);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 3px 3px 0 var(--ink);
  z-index: 4;
  line-height: 1.1;
  pointer-events: none;
}

/* Speech bubble top-left */
.panel-bubble {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 5px 10px;
  font-family: var(--font-lettering);
  font-size: clamp(11px, 1.4vw, 15px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 2px 2px 0 var(--ink);
  z-index: 4;
  line-height: 1.2;
}

/* Second bubble top-right (for panel 1) */
.panel-bubble-right {
  position: absolute;
  top: 8px;
  right: 8px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 5px 10px;
  font-family: var(--font-lettering);
  font-size: clamp(13px, 1.6vw, 18px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 2px 2px 0 var(--ink);
  z-index: 4;
  line-height: 1.2;
  width: fit-content;
}

.panel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 20, 16, 0.75);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  padding: 5px 8px;
  color: var(--paper);
  line-height: 1.3;
  z-index: 5;
  height: 32px;
  display: flex;
  align-items: center;
}

/* Panel 5 — wide/landscape -->
.panel-wide {
  position: relative;
  width: 100%;
  aspect-ratio: 16/5;
  border-top: 3px solid var(--ink);
  overflow: hidden;
}

.panel-art-wide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% - 32px);
  object-fit: cover;
  object-position: center;
  z-index: 2;
}

.panel-caption-wide {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 20, 16, 0.75);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  padding: 5px 8px;
  color: var(--paper);
  line-height: 1.3;
  z-index: 5;
  height: 32px;
  display: flex;
  align-items: center;
}

.strip-actions {
  margin-top: 24px;
}

/* ==========================================================================
   BADGE
   ========================================================================== */

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun-yellow);
  white-space: nowrap;
}
.badge.comic { background: var(--collar-green); color: var(--paper); border-color: var(--ink); }
.badge.meme  { background: var(--bubblegum); color: var(--paper); }
.badge.anim  { background: var(--pool-blue); color: var(--paper); }

/* ==========================================================================
   CREW SECTION
   ========================================================================== */

.crew-section {}

.crew-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 32px;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.crew-card {
  text-decoration: none;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  transition: transform var(--dur-ui) var(--ease-cartoon),
              box-shadow var(--dur-ui) var(--ease-cartoon);
  background: var(--paper);
  display: block;
}
.crew-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lift); }
.crew-tbd { cursor: default; }
.crew-tbd:hover { transform: none; box-shadow: var(--shadow-hard); }

.crew-card-img {
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
}

.green-bg  { background: var(--green-50); }
.purple-bg { background: var(--purple-50); }
.neutral-bg { background: var(--newsprint); }

.crew-dog-img {
  height: 85%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
}

.crew-initial {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--halftone);
  line-height: 1;
  padding-bottom: 16px;
}

.crew-card-body {
  padding: 16px;
  background: var(--paper);
}

.char-name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}
.char-name.green  { color: var(--collar-green); }
.char-name.purple { color: var(--collar-purple); }
.char-name.neutral { color: var(--halftone); }

.char-role {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */

.newsletter-section {
  background: var(--patty-orange);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.newsletter-inner {
  text-align: center;
}

.newsletter-eyebrow {
  font-family: var(--font-lettering);
  font-size: 32px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 8px;
  -webkit-text-stroke: 1px var(--ink);
}

.newsletter-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.0;
  margin-bottom: 32px;
  color: var(--ink);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.newsletter-input {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
  width: 280px;
  max-width: 100%;
  outline: none;
}
.newsletter-input::placeholder { color: var(--halftone); }
.newsletter-input:focus { box-shadow: var(--shadow-lift); }

.newsletter-fine {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  font-style: italic;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 32px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand { flex: 2; min-width: 200px; }

.footer-logo {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--patty-orange);
  margin-bottom: 4px;
}
.footer-logo .amp { color: var(--collar-purple); }

.footer-sub {
  font-family: var(--font-lettering);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--halftone);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 14px;
  color: var(--halftone);
  line-height: 1.6;
}

.footer-col { flex: 1; min-width: 120px; }

.footer-col-label {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--patty-orange);
  margin-bottom: 12px;
}

.footer-link {
  display: block;
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0;
  transition: color var(--dur-ui) var(--ease-standard);
}
.footer-link:hover { color: var(--sun-yellow); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(251,243,228,0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--halftone);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .nav { padding: 10px 16px; gap: 6px; }
  .nav-link { font-size: 13px; padding: 5px 8px; }

  .hero-inner { flex-direction: column; align-items: center; padding: 32px 20px 0; }
  .hero-text { text-align: center; padding-bottom: 24px; max-width: 100%; }
  .wordmark-main { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-image-wrap { max-width: 100%; }
  .hero-image-card { transform: none; }

  .strip-panels { grid-template-columns: repeat(2, 1fr); }
  .panel:nth-child(2) { border-right: none; }
  .panel:nth-child(3) { border-top: 3px solid var(--ink); }
  .panel-wide { aspect-ratio: 4/3; }

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

  .section { padding: 40px 20px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
