:root {
  --ink: #07111f;
  --navy: #0b1a2c;
  --blue: #0868d7;
  --gold: #edae28;
  --orange: #e66b19;
  --cream: #f8efd9;
  --paper: #fffaf0;
  --burgundy: #5c1820;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 900; letter-spacing: -.04em; font-size: 1.35rem; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: var(--gold); border-radius: 50%; font-size: .82rem; letter-spacing: -.08em; transform: rotate(-5deg); }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: .85rem; font-weight: 800; }
nav a { opacity: .82; }
nav a:hover, nav a:focus-visible { opacity: 1; }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }

.hero { min-height: 820px; height: 100vh; max-height: 960px; position: relative; overflow: hidden; background: var(--navy); color: white; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,9,18,.92) 0%, rgba(3,9,18,.72) 36%, rgba(3,9,18,.08) 67%, rgba(3,9,18,.18) 100%); }
.hero-copy { position: absolute; z-index: 2; left: clamp(24px, 7vw, 108px); top: 50%; transform: translateY(-45%); width: min(640px, 47vw); }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; font-weight: 900; }
.eyebrow { color: #f4c661; display: flex; gap: 10px; align-items: center; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
h1 { max-width: 690px; font-size: clamp(3.5rem, 6.2vw, 7.5rem); line-height: .88; }
h1 em { display: block; color: var(--gold); font-weight: inherit; }
.hero-intro { max-width: 540px; margin: 28px 0; font-size: clamp(1rem, 1.4vw, 1.24rem); line-height: 1.65; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 22px; border-radius: 4px; font-size: .84rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; transition: transform .2s, background .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--ink); box-shadow: 6px 6px 0 rgba(230,107,25,.55); }
.rating-note { font-size: .78rem; color: rgba(255,255,255,.62); }
.hero-side-note { position: absolute; z-index: 2; right: 22px; top: 46%; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .22em; font-size: .62rem; opacity: .68; }
.hero-side-note strong { color: var(--gold); margin-top: 14px; }

.ticker { overflow: hidden; background: var(--gold); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.ticker div { width: max-content; padding: 14px 0; display: flex; gap: 22px; align-items: center; text-transform: uppercase; font-weight: 900; letter-spacing: .12em; font-size: .74rem; animation: crawl 24s linear infinite; }
.ticker i { font-style: normal; color: var(--burgundy); font-size: 1rem; }
@keyframes crawl { to { transform: translateX(-40%); } }

.mic-section { padding: 110px clamp(22px, 7vw, 108px); background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; max-width: 1260px; margin: 0 auto 48px; }
.kicker { color: #9f541c; margin: 0 0 12px; }
.section-heading h2, .about-copy h2, .signup-section h2 { font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: .95; }
.section-heading > p { margin: 0; max-width: 470px; line-height: 1.75; color: #526071; }
.featured-set { max-width: 1260px; margin: 0 auto 26px; background: var(--ink); color: white; box-shadow: 12px 12px 0 var(--gold); }
.set-label, .set-footer { display: flex; justify-content: space-between; padding: 16px 22px; text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; font-weight: 900; color: #e7bc62; }
.set-label { border-bottom: 1px solid rgba(255,255,255,.12); }
.set-footer { border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); }
.joke-stage { min-height: 410px; padding: clamp(48px, 7vw, 90px); position: relative; display: flex; flex-direction: column; justify-content: center; }
.quote-mark { position: absolute; left: 22px; top: 20px; font-family: Georgia, serif; font-size: 8rem; color: rgba(237,174,40,.18); }
.joke-stage p { margin: 0; max-width: 980px; font-family: Georgia, serif; font-size: clamp(1.7rem, 3.4vw, 4rem); line-height: 1.12; letter-spacing: -.035em; }
.joke-stage .beat { color: var(--gold); line-height: .7; }
.joke-stage .punch { color: var(--gold); }
.stage-direction { margin-top: 30px; color: rgba(255,255,255,.4); font-family: monospace; font-size: .75rem; }
.joke-grid { max-width: 1260px; margin: 46px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.joke-card { min-height: 360px; padding: 26px; border: 2px solid var(--ink); display: flex; flex-direction: column; background: var(--cream); transition: transform .2s, box-shadow .2s; }
.joke-card:hover { transform: translateY(-5px) rotate(-.3deg); box-shadow: 8px 8px 0 var(--blue); }
.card-top { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; font-weight: 900; color: #7a643e; }
.setup { margin: 52px 0 14px; font-family: Georgia, serif; font-size: 1.22rem; line-height: 1.35; }
.punchline { margin: 0; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.22; font-weight: 700; }
.card-tag { margin-top: auto; padding-top: 28px; color: #a55219; font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }

.about-section { padding: 110px clamp(22px, 7vw, 108px) 0; display: grid; grid-template-columns: minmax(320px, .85fr) 1.15fr; gap: clamp(48px, 8vw, 120px); align-items: center; overflow: hidden; background: var(--cream); }
.portrait-wrap { align-self: end; position: relative; max-width: 560px; margin: auto; }
.portrait-halo { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); left: 8%; top: 15%; box-shadow: 22px 22px 0 var(--blue); }
.portrait-wrap img { position: relative; z-index: 1; max-height: 740px; object-fit: contain; object-position: bottom; }
.portrait-caption { position: absolute; z-index: 2; left: -12px; bottom: 30px; background: var(--ink); color: white; padding: 12px 18px; transform: rotate(-2deg); text-transform: uppercase; letter-spacing: .13em; font-size: .65rem; font-weight: 900; }
.about-copy { padding: 70px 0 110px; max-width: 680px; }
.about-copy .lead { font-family: Georgia, serif; font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.4; }
.about-copy > p:not(.kicker):not(.lead) { line-height: 1.75; color: #4e5a66; }
blockquote { margin: 42px 0 0; padding: 24px 0 24px 26px; border-left: 6px solid var(--gold); font-family: Georgia, serif; font-size: 1.4rem; line-height: 1.5; font-style: italic; }

.signup-section { padding: 72px clamp(22px, 7vw, 108px); background: var(--blue); color: white; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 8px solid var(--ink); }
.signup-section .kicker { color: #ffd777; }
.signup-section h2 { max-width: 800px; }
.button-light { flex: 0 0 auto; background: white; color: var(--ink); }
footer { padding: 28px clamp(22px, 7vw, 108px); background: var(--ink); color: white; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .72rem; }
footer p { color: rgba(255,255,255,.5); }
footer .brand { font-size: 1rem; }

@media (max-width: 850px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero { min-height: 760px; max-height: none; }
  .hero-art { object-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,9,18,.88), rgba(3,9,18,.5)), linear-gradient(0deg, rgba(3,9,18,.8), transparent 60%); }
  .hero-copy { width: auto; right: 24px; top: auto; bottom: 50px; transform: none; }
  h1 { font-size: clamp(3.2rem, 14vw, 5.2rem); }
  .hero-intro { max-width: 440px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .joke-grid { grid-template-columns: 1fr; }
  .joke-card { min-height: 300px; }
  .about-section { grid-template-columns: 1fr; padding-top: 80px; }
  .about-copy { grid-row: 1; padding: 0; }
  .portrait-wrap { max-height: 580px; overflow: hidden; }
  .signup-section { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .site-header { padding: 16px; }
  .nav-cta { padding: 9px 12px; font-size: .7rem; }
  .hero { min-height: 720px; }
  .hero-art { object-position: 68% top; }
  .hero-copy { left: 18px; right: 18px; bottom: 28px; }
  .hero-intro { font-size: .94rem; margin: 18px 0; }
  .rating-note, .hero-side-note { display: none; }
  .mic-section { padding-top: 74px; padding-bottom: 74px; }
  .joke-stage { min-height: 360px; padding: 54px 26px; }
  .featured-set { box-shadow: 7px 7px 0 var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div { animation: none; }
  .button, .joke-card { transition: none; }
}
