/* The Trip Report Report — styles matched to the original Duda site */
:root {
  --ink: #1a1b1f;
  --brown: #3c210f;
  --green: #3d6038;
  --rust: #b16d2e;
  --pink: #e4648e;
  --grey: #9a9a9a;
  --panel: #f2f2f2;
  --serif: 'Prata', Georgia, 'Times New Roman', serif;
  --sans: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --button: 'Montserrat', system-ui, sans-serif;
  --header-h: 234px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
strong { font-weight: 700; }
.container { max-width: 1266px; margin: 0 auto; padding: 0 33px; }
.center { text-align: center; }
.c-green { color: var(--green); }
.c-rust { color: var(--rust); }
.c-pink { color: var(--pink); }
.sans { font-family: var(--sans); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 9px solid var(--green);
}
.header-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px 15px;
}
.logo img { width: 235px; height: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 21px 0 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 0 15px;
  line-height: 32px;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.48px;
  font-size: 16px;
}
.main-nav a span { position: relative; display: inline-block; }
.main-nav a span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.main-nav a:hover span::after,
.main-nav a.active span::after { transform: scaleX(1); }

.hamburger {
  display: none;
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  padding: 5px 2px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span { display: block; height: 2px; background: #000; border-radius: 1px; }

/* Drawer (mobile menu) */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(336px, 86vw);
  background: #fff;
  z-index: 100;
  padding: 70px 30px 30px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: none;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: var(--brown);
}
.drawer-nav { list-style: none; margin: 0 0 40px; padding: 0; }
.drawer-nav a {
  display: block;
  padding: 15px 0;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: 0.48px;
  border-bottom: 1px solid #eee;
}
.drawer-nav a.active { color: var(--grey); }
.drawer-contact { font-family: var(--sans); }
.drawer-contact h4 { font-size: 20px; line-height: 40px; }
.drawer-contact p { line-height: 32px; }
.drawer-contact a { text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 486px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brown);
  background-image: var(--hero-img);
  background-size: cover;
  background-position: 50% 100%;
  color: #fff;
  text-align: center;
  padding: 79px 20px 84px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1c1c1c 0%, #240000 100%);
  opacity: 0.65;
}
.hero-inner { position: relative; width: calc(100% - 40px); max-width: 1117px; }
.hero-title { font-size: 60px; line-height: 1.37; margin-bottom: 24px; }
.hero-title a { color: #fff; text-decoration: none; }
.hero p { font-size: 18px; line-height: 27px; margin-bottom: 24px; }
.hero p:last-of-type { margin-bottom: 0; }
.hero p a { color: #fff; text-decoration: none; }
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 49px;
  flex-wrap: nowrap;
}
.hero-buttons .btn { min-width: 0; max-width: 282px; flex: 1 1 0; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  min-width: 282px;
  padding: 10px 20px;
  background: #fff;
  border-radius: 4px;
  font-family: var(--button);
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.btn-spotify { color: var(--green); }
.btn-apple { color: var(--pink); }
.btn-patreon { color: var(--rust); }
.btn.bordered { border: 2px solid currentColor; min-width: 0; }
.btn-solid { background: var(--green); color: #fff; min-width: 220px; }
.btn-outline { border: 2px solid var(--green); color: var(--green); min-width: 0; padding: 8px 18px; margin: 4px; }

/* ---------- Home: about ---------- */
.about { padding: 30px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 528px 568px;
  justify-content: space-between;
  align-items: center;
  gap: 52px;
  padding: 0 49px 0 69px;
  max-width: 1266px;
}
.about-title { font-size: 26px; line-height: 39px; font-weight: 700; margin-bottom: 35px; }
.about-text p { font-size: 18px; line-height: 27px; margin-bottom: 27px; }
.about-text p:last-child { margin-bottom: 0; }
.about-img img { width: 100%; }

/* ---------- Section titles / episode bits ---------- */
.section-title { font-size: 35px; line-height: 1.35; margin: 0 0 28px; }
.section-title .count { font-size: 20px; color: var(--grey); }
.latest { padding: 50px 0 20px; }
.latest .section-title { text-align: center; }
.recent { padding: 30px 0 70px; }
.recent .section-title { text-align: center; }
.recent .center { margin-top: 40px; }

.ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.ep-grid .ep-card { display: flex; flex-direction: column; }
.ep-grid .ep-card-art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ep-grid .ep-card-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.ep-grid .ep-listen { margin-top: auto; }

.ep-list { display: flex; flex-direction: column; gap: 0; }
.ep-list .ep-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid #e6e1dc;
}
.ep-list .ep-card:last-child { border-bottom: 1px solid #e6e1dc; }
.ep-list .ep-card-art img { width: 180px; height: 180px; object-fit: cover; }

.ep-card-art img { border-radius: 4px; transition: opacity 0.2s; }
.ep-card-art:hover img { opacity: 0.85; }
.ep-meta {
  font-family: var(--button);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rust);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  align-items: center;
}
.ep-code {
  background: var(--green);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
}
.ep-title { font-size: 23px; line-height: 1.35; margin-bottom: 12px; }
.ep-title a { text-decoration: none; color: var(--ink); }
.ep-title a:hover { color: var(--green); }
.ep-summary { color: var(--brown); line-height: 1.6; margin-bottom: 14px; }
.ep-listen {
  font-family: var(--sans);
  font-style: italic;
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}
.ep-listen:hover { text-decoration: underline; }

/* ---------- Episodes page ---------- */
.episodes-page { padding: 67px 0 80px; }
.page-title { font-size: 35px; line-height: 48px; }
.episodes-page .page-title { margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--brown); margin-bottom: 40px; }
.episodes-page .section-title { margin-top: 50px; }
.subscribe { margin-top: 50px; }

/* ---------- Single episode ---------- */
.episode { padding: 40px 0 80px; }
.episode .container { max-width: 960px; }
.crumbs { font-family: var(--sans); margin-bottom: 28px; }
.crumbs a { color: var(--green); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.episode-head { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; margin-bottom: 36px; }
.episode-art { width: 260px; height: 260px; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 30px rgba(60, 33, 15, 0.25); }
.episode-title { font-size: 40px; line-height: 1.25; margin-bottom: 22px; }
.episode-links { display: flex; flex-wrap: wrap; gap: 12px; }
.episode-player { margin-bottom: 30px; }
.show-notes .section-title { font-size: 26px; font-weight: 700; margin-bottom: 18px; }
.notes-body { color: var(--brown); font-size: 17px; line-height: 1.7; }
.notes-body p { margin: 0 0 1.1em; }
.notes-body a { color: var(--green); font-weight: 700; }
.notes-body ul, .notes-body ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.notes-body li { margin-bottom: 0.35em; }
.notes-body h1, .notes-body h2, .notes-body h3, .notes-body h4 { color: var(--ink); margin: 1.4em 0 0.6em; line-height: 1.3; }
.notes-body img { margin: 1em 0; border-radius: 4px; }
.ep-pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e6e1dc;
}
.ep-pager a { text-decoration: none; max-width: 48%; display: flex; flex-direction: column; gap: 4px; }
.ep-pager span { font-family: var(--sans); font-style: italic; color: var(--green); font-size: 15px; }
.ep-pager strong { font-weight: 400; color: var(--ink); }
.pager-next { text-align: right; margin-left: auto; }
.ep-pager a:hover strong { color: var(--green); }

/* ---------- Harm reduction ---------- */
.page-intro { padding: 29px 0 16px; }
.intro-grid {
  display: grid;
  grid-template-columns: 576px 533px;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.intro-text .page-title { margin-bottom: 24px; }
.intro-text p { margin-bottom: 24px; }
.intro-text p.narrow { max-width: 480px; }
.intro-text a { color: inherit; text-decoration: none; }
.resource-list { list-style: none; margin: 0; padding: 0; }
.resource-list li { margin: 20px 0; padding-bottom: 24px; }
.resource { display: block; text-decoration: none; color: var(--brown); line-height: 22px; }
.resource br { display: block; content: ''; margin-top: 22px; }
.resource-name { display: block; font-size: 23px; line-height: 31px; margin-bottom: 20px; }
.resource-link { display: block; margin-top: 10px; font-family: var(--sans); font-style: italic; }
.resource:hover .resource-link { text-decoration: underline; }
.resource:hover .resource-name { color: var(--green); }

/* ---------- Extras ---------- */
.extras { padding: 67px 0 60px; }
.extras .container { max-width: 1266px; }
.extras-title { font-size: 35px; line-height: 48px; text-align: center; margin: 0 16px 24px; }
.extras-title + .stack, .extras-title + .two-col { margin-top: 0; }
.stack { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-bottom: 95px; }
.stack img { width: 507px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 0 16px;
  margin-bottom: 80px;
}
.two-col.align-center { align-items: center; }
.two-col img.cover { width: 100%; height: 320px; object-fit: cover; }
.mushroom-row { margin-bottom: 80px; }
.quote p { font-size: 16px; line-height: 24px; }
.quote br { display: block; content: ''; margin-top: 24px; }
.gallery { display: grid; }
.gallery-item {
  display: block;
  background-size: cover;
  background-position: center;
  background-color: #eee;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.gallery-item:hover { opacity: 0.88; }
.poppers {
  grid-template-columns: 1fr 1fr;
  column-gap: 17px;
  row-gap: 47px;
  max-width: 1115px;
  margin: 0 auto;
}
.poppers .gallery-item { aspect-ratio: 549 / 707; }
.zoomable { cursor: zoom-in; }

/* ---------- FAQ ---------- */
.faq { padding: 67px 0 66px; }
.faq-grid {
  display: grid;
  grid-template-columns: 520px 500px;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 0 49px 0 74px;
}
.faq-list details {
  background: var(--panel);
  margin-bottom: 20px;
  border-radius: 2px;
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 17px;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 24px; line-height: 33px; color: var(--ink); }
.chev {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.chev::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.2s;
}
details[open] .chev::after { transform: translate(-50%, -20%) rotate(-135deg); }
.faq-list .answer { padding: 0 17px 22px; color: var(--brown); line-height: 22px; }
.faq-list .answer br { display: block; content: ''; margin-top: 22px; }
.faq-list .answer ul { margin: 0; padding-left: 1.4em; }
.sheep { text-align: center; }
.sheep-note { font-style: italic; max-width: 463px; margin: 0 auto; line-height: 24px; }
.sheep-note a { text-decoration: none; }
.sheep-gallery {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 34px 0 34px;
}
.sheep-gallery .gallery-item { aspect-ratio: 245 / 175; }

/* ---------- 404 ---------- */
.notfound { padding: 100px 0; }
.notfound p { margin: 16px 0; }
.notfound .btn { margin: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--rust);
  color: #fff;
  text-align: center;
  padding: 23px 20px 23px;
}
.footer-credit { font-size: 16px; line-height: 24px; margin-bottom: 20px; }
.footer-small { font-size: 14px; line-height: 21px; font-style: italic; max-width: 657px; margin: 0 auto 20px; }
.footer-small:last-child { margin-bottom: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 16px;
}
.lightbox-close { top: 10px; right: 14px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .about-grid, .faq-grid { grid-template-columns: 1fr 1fr; padding: 0 33px; }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .two-col { gap: 40px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 144px; }
  .header-inner { padding: 16px 20px 13px; }
  .logo img { width: 158px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 48px; }
  .hero-buttons { gap: 16px; }
  .hero-buttons .btn { padding: 10px 12px; font-size: 14px; }
  .ep-grid { grid-template-columns: 1fr 1fr; }
  .ep-grid .ep-card:nth-child(3) { display: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 120px; }
  .container { padding: 0 20px; }
  .logo img { width: 130px; }
  .hamburger { right: 20px; }
  .hero { min-height: 0; padding: 60px 20px; }
  .hero-inner { width: 100%; }
  .hero-title { font-size: 38px; line-height: 1.25; }
  .hero p { font-size: 17px; }
  .hero-buttons { gap: 16px; margin-top: 30px; flex-direction: column; align-items: center; }
  .hero-buttons .btn { flex: none; max-width: 320px; font-size: 16px; }
  .btn { min-width: 0; width: 100%; max-width: 320px; }
  .btn-outline { width: auto; }

  .about-grid, .intro-grid, .faq-grid, .two-col, .episode-head { grid-template-columns: 1fr; padding: 0 20px; gap: 30px; }
  .about { padding: 40px 0; }
  .about-title { font-size: 24px; line-height: 34px; margin-bottom: 22px; }
  .about-text p { font-size: 17px; }
  .intro-img { order: -1; }
  .page-title, .extras-title, .section-title { font-size: 28px; line-height: 38px; }
  .stack img { width: 100%; }
  .stack { margin-bottom: 60px; }
  .two-col { padding: 0; margin-bottom: 50px; }
  .two-col img.cover { height: 240px; }
  .poppers { grid-template-columns: 1fr; row-gap: 20px; }
  .faq-list summary h3 { font-size: 20px; line-height: 28px; }
  .faq-grid { padding: 0; }

  .ep-grid { grid-template-columns: 1fr; }
  .ep-grid .ep-card:nth-child(3) { display: flex; }
  .ep-list .ep-card { grid-template-columns: 96px 1fr; gap: 18px; padding: 22px 0; }
  .ep-list .ep-card-art img { width: 96px; height: 96px; }
  .ep-list .ep-summary { display: none; }
  .ep-title { font-size: 19px; }

  .episode-head { padding: 0; gap: 22px; }
  .episode-art { width: 180px; height: 180px; }
  .episode-title { font-size: 28px; }
  .ep-pager { flex-direction: column; }
  .ep-pager a { max-width: 100%; }
  .pager-next { text-align: left; margin-left: 0; }
  .lightbox { padding: 50px 10px; }
}
