:root {
  --ink: #1d1712;
  --muted: #6d6258;
  --paper: #fffaf4;
  --surface: #ffffff;
  --surface-2: #f6eee5;
  --line: #eadfd4;
  --accent: #c84c13;
  --accent-dark: #92350b;
  --mustard: #f0b429;
  --green: #405f3b;
  --shadow: 0 18px 45px rgba(62, 35, 18, .11);
  --radius: 22px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(240,180,41,.12), transparent 30rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(234,223,212,.9);
  background: rgba(255,250,244,.9);
  backdrop-filter: blur(18px);
}
.nav-shell {
  max-width: var(--content);
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.03em;
  font-size: 1.18rem;
}
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  color: white;
  background: linear-gradient(145deg, var(--accent), #ef7a20);
  box-shadow: 0 8px 18px rgba(200,76,19,.28);
  font-size: .8rem;
  letter-spacing: .03em;
}
.primary-nav { display: flex; gap: 8px; }
.nav-link {
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: .94rem;
}
.nav-link:hover, .nav-link.active { color: var(--accent-dark); background: #fff0e4; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero {
  max-width: var(--content);
  margin: 0 auto;
  padding: 82px 24px 72px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 72px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 850;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.4rem); max-width: 12ch; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { margin: 0; font-size: 1.28rem; }
p { margin: 0 0 1em; }
.hero-lead { margin: 24px 0 30px; max-width: 62ch; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 20px; border-radius: 14px;
  text-decoration: none; font-weight: 800;
}
.button.primary { color: white; background: var(--accent); box-shadow: 0 12px 22px rgba(200,76,19,.22); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { background: var(--surface); border: 1px solid var(--line); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.hero-stats div { display: grid; }
.hero-stats strong { font-size: 1.5rem; }
.hero-stats span { color: var(--muted); font-size: .82rem; }
.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: 8% -5% -4% 8%;
  border-radius: 38px; background: linear-gradient(145deg, #f4c05b, #e76c25);
  transform: rotate(3deg); opacity: .34;
}
.cover-frame {
  position: relative; overflow: hidden;
  border-radius: 28px; background: white; padding: 12px;
  box-shadow: var(--shadow); transform: rotate(-1.2deg);
}
.cover-frame img { border-radius: 18px; width: 100%; }

.section-shell { max-width: var(--content); margin: 0 auto; padding: 72px 24px; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.intro-grid > div:first-child p:last-child { color: var(--muted); font-size: 1.08rem; max-width: 65ch; }
.quote-card { border-radius: var(--radius); padding: 34px; background: var(--green); color: white; box-shadow: var(--shadow); }
.quote-card p { font-family: Georgia, serif; font-size: 1.6rem; line-height: 1.35; }
.quote-card span { opacity: .8; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-heading > p { max-width: 46ch; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card {
  min-height: 300px; padding: 30px; border-radius: var(--radius);
  text-decoration: none; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(62,35,18,.06);
  display: flex; flex-direction: column; transition: .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon { color: var(--accent); font-weight: 900; margin-bottom: 55px; }
.feature-card p { color: var(--muted); }
.text-link { margin-top: auto; color: var(--accent-dark); font-weight: 800; }
.author-section { padding-top: 30px; }
.author-card { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: center; padding: 38px; border-radius: var(--radius); background: var(--surface-2); }
.author-monogram { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; font-size: 2rem; font-weight: 900; }
.author-card p:last-child { color: var(--muted); max-width: 75ch; }

.page-hero { background: linear-gradient(135deg, #261c15, #5c2a16); color: white; }
.page-hero-inner { max-width: var(--content); margin: 0 auto; padding: 78px 24px; }
.page-hero.compact h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 15ch; }
.page-hero p:not(.eyebrow) { max-width: 68ch; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.disclosure { font-size: .9rem !important; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 26px; }
.search-box { flex: 1; max-width: 540px; }
.search-box input { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 14px 16px; outline: none; }
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,76,19,.1); }
.result-count { color: var(--muted); font-size: .9rem; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { border: 1px solid var(--line); background: white; color: var(--muted); border-radius: 999px; padding: 9px 14px; cursor: pointer; font-weight: 750; }
.pill.active, .pill:hover { color: white; background: var(--accent); border-color: var(--accent); }

.link-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.link-card, .playlist-card, .resource-card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 22px; box-shadow: 0 8px 20px rgba(62,35,18,.045); }
.link-card { min-height: 230px; display: flex; flex-direction: column; }
.link-card-top { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; margin-bottom: 28px; }
.link-card h3 a { text-decoration: none; }
.link-card h3 a:hover { color: var(--accent); }
.link-card p { color: var(--muted); margin-top: 12px; }
.link-domain { overflow-wrap: anywhere; }

.playlist-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.playlist-card { min-height: 245px; display: flex; flex-direction: column; }
.playlist-badge, .category-tag { display: inline-flex; align-self: flex-start; border-radius: 999px; padding: 6px 10px; background: #fff0e4; color: var(--accent-dark); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.playlist-card h3 { margin-top: 30px; }
.playlist-card p { color: var(--muted); margin-top: 12px; }
.card-action { margin-top: auto; color: var(--accent-dark); font-weight: 850; text-decoration: none; }
.card-action:hover { text-decoration: underline; }

.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.resource-card { min-height: 220px; display: flex; flex-direction: column; }
.resource-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: .72rem; }
.resource-meta > span:last-child { text-align: right; overflow-wrap: anywhere; }
.resource-card h3 { margin: 28px 0 24px; font-size: 1.08rem; line-height: 1.3; }
.card-note { margin-top: auto; color: var(--muted); font-size: .85rem; }
.empty-state { text-align: center; padding: 40px; color: var(--muted); }

.site-footer { margin-top: 50px; border-top: 1px solid var(--line); background: #211914; color: white; }
.footer-inner { max-width: var(--content); margin: 0 auto; padding: 38px 24px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-inner p { margin: 5px 0 0; color: rgba(255,255,255,.65); }

[hidden] { display: none !important; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 36px; }
  .feature-grid, .link-grid, .playlist-grid, .resource-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .nav-shell { min-height: 68px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 16px; right: 16px; top: 72px; flex-direction: column; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .nav-link { width: 100%; }
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-media { max-width: 520px; }
  .intro-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 14px; }
  .feature-grid, .link-grid, .playlist-grid, .resource-grid { grid-template-columns: 1fr; }
  .author-card { grid-template-columns: 1fr; }
  .author-monogram { width: 90px; height: 90px; }
  .toolbar.stacked-mobile { align-items: stretch; flex-direction: column; }
  .search-box { max-width: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .hero, .section-shell, .page-hero-inner { padding-left: 18px; padding-right: 18px; }
  .hero { padding-top: 38px; }
  h1 { font-size: 3.15rem; }
  .hero-stats { gap: 18px; }
  .feature-card { min-height: 250px; }
  .filter-pills { width: 100%; }
  .pill { flex: 1 1 auto; }
}

/* Awesome Burgers brand icon */
.brand-mark svg { width: 30px; height: 30px; overflow: visible; }
.brand-mark .bun-top, .brand-mark .bun-bottom { fill: #f6b44b; }
.brand-mark .cheese { fill: #ffd449; }
.brand-mark .patty { fill: #6c2f1a; }
.brand-mark .lettuce { fill: none; stroke: #496f3e; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .sesame { fill: none; stroke: #fff4cf; stroke-width: 2.5; stroke-linecap: round; }

/* Featured burger playlists */
.featured-playlists { padding-bottom: 24px; }
.featured-playlist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.featured-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.featured-playlist-card {
  position: relative;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(145deg, #2c1c14, #5f2b16);
  color: white;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.featured-playlist-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -55px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(240,180,41,.16);
}
.featured-number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(255,255,255,.16);
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.08em;
}
.featured-playlist-card .playlist-badge { background: rgba(255,255,255,.12); color: #ffd89c; }
.featured-playlist-card h3 { margin-top: 48px; font-size: 1.8rem; max-width: 12ch; }
.featured-playlist-card p { color: rgba(255,255,255,.72); margin: 18px 0 28px; }
.featured-playlist-card .button { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }

@media (max-width: 980px) {
  .featured-playlist-grid, .featured-list-grid { grid-template-columns: 1fr; }
  .featured-playlist-card { min-height: 300px; }
}
