/* =========================================================================
   WENDY PARIS — Comedy Keynote Speaker Site
   Design concept: "Comedy Club Marquee" — a bold, colorful theater vibe,
   ticket-stub cards, and hand-drawn squiggle highlights, built with a
   crafted (not novelty) type pairing so it reads fun *and* professional.
   ========================================================================= */

:root {
  /* ---- Color tokens ------------------------------------------------- */
  --ink: #1c1b33;          /* near-black navy, headlines / dark sections */
  --ink-soft: #2e2d54;     /* lighter navy, secondary dark surfaces */
  --paper: #fff6e9;        /* warm cream page background */
  --paper-dim: #ffecd1;    /* slightly deeper cream for alt sections */
  --white: #ffffff;
  --yellow: #ffc93d;       /* marquee bulb yellow */
  --pink: #ff4d80;         /* riot pink — primary accent */
  --orange: #ff7a3d;       /* punch orange — secondary accent */
  --mint: #2fc1a0;         /* mint — links / success / third accent */

  /* ---- Type ----------------------------------------------------------*/
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, Menlo, monospace;

  /* ---- Scale ---------------------------------------------------------*/
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 10px 0 rgba(28, 27, 51, 0.9);
  --shadow-soft: 0 14px 30px rgba(28, 27, 51, 0.12);
  --container: 1160px;
}

/* ---- Reset ------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
  body { font-size: 16px; }
}

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

/* ---- Eyebrow / label chips ---------------------------------------------*/
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--yellow);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.on-dark { background: var(--yellow); color: var(--ink); }

/* ---- Squiggle highlight -------------------------------------------------*/
.squiggle {
  position: relative;
  white-space: nowrap;
}
.accent-pink { color: var(--pink); }
.accent-orange { color: var(--orange); }
.accent-mint { color: var(--mint); }
.squiggle::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: -10px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14'><path d='M0 9 Q 8 1 16 9 T 32 9 T 48 9 T 64 9 T 80 9 T 96 9' fill='none' stroke='%23FF4D80' stroke-width='5' stroke-linecap='round'/></svg>");
  background-repeat: repeat-x;
  background-size: 46px 14px;
}
.squiggle.orange::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14'><path d='M0 9 Q 8 1 16 9 T 32 9 T 48 9 T 64 9 T 80 9 T 96 9' fill='none' stroke='%23FF7A3D' stroke-width='5' stroke-linecap='round'/></svg>");
}
.squiggle.mint::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14'><path d='M0 9 Q 8 1 16 9 T 32 9 T 48 9 T 64 9 T 80 9 T 96 9' fill='none' stroke='%232FC1A0' stroke-width='5' stroke-linecap='round'/></svg>");
}

/* =========================================================================
   HEADER — a traditional flat strip (logo left, nav right). Color and type
   carry the personality here; the bar shape itself stays simple and fixed.
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 4px solid var(--pink);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-family: var(--font-display);
}
.site-logo__badge {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex: none;
}
.site-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-logo__name { font-size: 18px; font-weight: 700; letter-spacing: 0.01em; }
.site-logo__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 4px;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav__link {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.site-nav__link:hover,
.site-nav__link:focus-visible { background: var(--ink-soft); color: var(--yellow); }
.site-nav__link[aria-current="page"] { background: var(--pink); color: var(--white); }

.site-nav__item { position: relative; }
.site-nav__item:hover .site-nav__dropdown,
.site-nav__item:focus-within .site-nav__dropdown { display: flex; }
.site-nav__dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 8px;
  min-width: 200px;
  margin-top: 6px;
}
.site-nav__dropdown a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
}
.site-nav__dropdown a:hover { background: var(--paper-dim); color: var(--pink); }

.site-nav__contact {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  margin-left: 6px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--pink);
  transition: transform 0.12s ease;
}
.site-nav__contact:hover { transform: translate(-2px, -2px); }

.site-header__toggle {
  display: none;
  background: none;
  border: 2px solid var(--paper);
  border-radius: 8px;
  width: 42px; height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--paper);
}
.site-header__toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header__toggle { display: flex; }
  .site-header__bar { flex-wrap: wrap; }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    padding-top: 10px;
    gap: 6px;
  }
  .site-nav.is-open .site-nav__dropdown {
    display: flex;
    position: static;
    box-shadow: none;
    background: var(--ink-soft);
    margin-top: 4px;
  }
  .site-nav.is-open .site-nav__dropdown a { color: var(--paper); }
  .site-nav__contact { margin-left: 0; text-align: center; }
}

/* ---- Star ring — a circle of stars around a highlighted word -------------*/
.star-ring {
  position: relative;
  display: inline-block;
}
.star-ring .star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  margin: -0.5em 0 0 -0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.36em;
  line-height: 1;
  color: var(--yellow);
  transform: rotate(var(--angle)) translateY(-2.6em) rotate(calc(-1 * var(--angle)));
  pointer-events: none;
  z-index: -1;
  animation: star-twinkle 2.6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.star-ring .star:nth-child(odd) { color: var(--pink); }
@keyframes star-twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  text-align: center;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin-bottom: 22px;
}
.hero__sub {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.hero--page { padding: 64px 0 72px; }
.hero--page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }

.burst {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  background: var(--pink);
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.1;
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 2;
}

/* ---- Buttons ------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
}
.btn-secondary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--orange); }
.btn-dark {
  background: var(--ink);
  color: var(--yellow);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--pink);
}
.btn-dark:hover { transform: translate(-2px, -2px); }

/* =========================================================================
   TICKET-STUB CARD — signature component used for videos, articles, cards
   ========================================================================= */
.ticket {
  position: relative;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px; height: 26px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -16px; }
.ticket::after { right: -16px; }
.ticket--dashed {
  border-top: 3px dashed var(--ink);
  margin-top: 22px;
  padding-top: 22px;
}

/* ---- Video frame ---------------------------------------------------------*/
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame__placeholder {
  color: var(--paper);
  text-align: center;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.video-frame__placeholder strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--yellow);
  margin-bottom: 8px;
}
.play-dot {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  border: 3px solid var(--white);
}

/* ---- Section headers ------------------------------------------------------*/
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---- Zig-zag divider between sections ------------------------------------*/
.zigzag {
  height: 18px;
  background-image:
    linear-gradient(135deg, var(--paper) 25%, transparent 25%),
    linear-gradient(225deg, var(--paper) 25%, transparent 25%);
  background-position: 0 0;
  background-size: 18px 18px;
  background-color: var(--ink);
}
.zigzag.flip { transform: scaleY(-1); }

/* ---- Alternating section backgrounds --------------------------------------*/
.bg-dim { background: var(--paper-dim); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h2, .bg-ink h3 { color: var(--paper); }
.bg-ink .section-head p { color: #cfcdf0; }

/* =========================================================================
   GRIDS / CARDS
   ========================================================================= */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; flex: 1; }
.card .btn { align-self: flex-start; margin-top: 6px; }

/* ---- Photo placeholder tiles (swap for real <img> tags) -------------------*/
.photo-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
  padding: 14px;
  overflow: hidden;
}
.photo-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(28,27,51,0.78);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--yellow);
}
.photo-tile--1 { background: linear-gradient(155deg, var(--pink), var(--orange)); }
.photo-tile--2 { background: linear-gradient(155deg, var(--mint), var(--ink-soft)); }
.photo-tile--3 { background: linear-gradient(155deg, var(--yellow), var(--pink)); }
.photo-tile--4 { background: linear-gradient(155deg, var(--orange), var(--ink)); }
.photo-tile--5 { background: linear-gradient(155deg, var(--ink-soft), var(--mint)); }
.photo-tile--6 { background: linear-gradient(155deg, var(--pink), var(--ink)); }

/* ---- Instagram grid --------------------------------------------------------*/
.insta-card {
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  color: var(--white);
  display: flex; align-items: flex-end;
  background: linear-gradient(160deg, var(--ink-soft), var(--ink));
}
.insta-card__tag {
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(0,0,0,0.35);
  width: 100%;
}
.insta-card svg { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; opacity: 0.85; }
.insta-follow {
  text-align: center;
  margin-top: 36px;
}

/* ---- Article rendering (from converted XML) --------------------------------*/
.article-wrap {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 640px) { .article-wrap { padding: 26px; } }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 3px dashed var(--ink);
  padding-bottom: 18px;
  margin-bottom: 26px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-title { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.article-subtitle { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 8px; }
.article-body h2 {
  font-size: 1.3rem;
  margin-top: 34px;
  color: var(--pink);
}
.article-body p { color: var(--ink); }
.article-body ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.article-body li { margin-bottom: 6px; }
.pullquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  background: var(--paper-dim);
  border-left: 6px solid var(--pink);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}
.article-loading, .article-error {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  padding: 40px 0;
}

/* ---- Forms (contact page) --------------------------------------------------*/
.form-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
}
.form-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ---- Contact info list -----------------------------------------------------*/
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__icon {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info h4 { margin-bottom: 4px; font-size: 1rem; font-family: var(--font-body); font-weight: 800; }
.contact-info p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---- Small date/status tag (e.g. upcoming show dates) ---------------------*/
.date-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: 20px;
}
.site-footer .zigzag { transform: scaleY(-1); }
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.site-footer__brand { max-width: 320px; }
.site-footer__brand .site-logo__name { color: var(--paper); }
.site-footer__brand p { color: #c9c7ea; font-size: 14.5px; margin-top: 12px; }
.site-footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.site-footer__col h5 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
  color: var(--yellow);
  margin-bottom: 14px;
}
.site-footer__col a {
  display: block;
  color: var(--paper);
  font-size: 14.5px;
  padding: 5px 0;
  opacity: 0.9;
}
.site-footer__col a:hover { color: var(--pink); opacity: 1; }
.site-footer__bottom {
  border-top: 1px solid var(--ink-soft);
  text-align: center;
  padding: 18px 24px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9694c4;
}

/* ---- Utility --------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Split hero (photo left, copy right) ----------------------------------*/
.hero--split { text-align: left; padding: 64px 0; }
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  align-items: center;
  gap: 52px;
}
.hero--split .hero__photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}
.hero--split .hero__photo img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 20px rgba(28, 27, 51, 0.28));
}

.hero--split .hero__grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  align-items: center;
  gap: 52px;
}
.hero--split .hero__sub { margin: 0 0 34px; }
.hero--split .btn-row { justify-content: flex-start; }

@media (max-width: 860px) {
  .hero--split .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero--split .hero__copy { text-align: center; }
  .hero--split .hero__sub { margin: 0 auto 34px; }
  .hero--split .btn-row { justify-content: center; }
  .hero--split .hero__photo img { max-width: 300px; margin: 0 auto; }
}