/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0a0a0a;
  color: #e5e5e5;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { touch-action: manipulation; }

/* ─── Skip to Content ─── */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: #34803A;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.skip-to-content:focus { left: 0; }

/* ─── Focus States ─── */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible {
  outline: 2px solid #3A8A3E;
  outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: 'Bebas Neue', cursive; font-weight: 400; line-height: 1.1; letter-spacing: 0.02em; }
.accent { color: #3A8A3E; }
.italic-serif { font-family: 'Instrument Serif', serif; font-style: italic; }

/* ─── Reveal Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Breadcrumbs ─── */
.breadcrumbs {
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 13px;
  color: #999;
}
.breadcrumbs a {
  color: #3A8A3E;
  transition: opacity 0.3s;
}
.breadcrumbs a:hover { opacity: 0.7; }
.breadcrumbs span { margin: 0 8px; color: #888; }

/* ─── Page Header (inner pages) ─── */
.page-header {
  padding: 100px 24px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-header .section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #3A8A3E;
  margin-bottom: 12px;
}
.page-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 16px;
  color: #999;
  max-width: 640px;
  margin: 0 auto;
}

/* ─── Left Sidebar Navigation ─── */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 220px;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  padding: 40px 24px 32px;
}
.sidebar-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 26px;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 48px;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  flex: 1;
}
.sidebar-links a {
  font-size: 16px;
  font-weight: 900;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
  padding: 10px 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 6px;
}
.sidebar-links a:hover { color: #3A8A3E; }
.sidebar-links a.active {
  color: #3A8A3E;
  background: rgba(58, 138, 62, 0.08);
}
.sidebar-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #999;
  min-width: 44px;
  min-height: 44px;
}
.sidebar-social:hover { background: rgba(58, 138, 62, 0.15); border-color: #3A8A3E; color: #3A8A3E; }
.sidebar-social svg { width: 16px; height: 16px; fill: currentColor; }
.main-content {
  margin-left: 220px;
}

/* ─── Mobile nav (replaces sidebar on small screens) ─── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-mobile-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: #fff;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overscroll-behavior: none;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  color: #fff;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  padding: 8px 24px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-menu a:hover { color: #3A8A3E; }
.mobile-menu a.active { color: #3A8A3E; }

/* ─── Hero ─── */
.hero {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 40px 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-text {
  max-width: 560px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3A8A3E;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.95;
  color: #fff;
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: #ccc;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-default-img {
  display: block;
  max-height: 85vh;
  margin: 0 auto;
}
.hero-default-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  mask-image: radial-gradient(ellipse 80% 80% at center, #000 35%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, #000 35%, transparent 72%);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 60px 24px 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
    order: 2;
  }
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-default-img {
    order: 1;
    max-height: 60vh;
  }
  .hero-default-img img {
    max-height: 60vh;
  }
}

/* Respect reduced-motion preference for the reveal-on-scroll animation */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── Credibility Strip ─── */
.credibility {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px;
  background: #0a0a0a;
}
.credibility-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.credibility-item {
  text-align: center;
}
.credibility-item strong {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  color: #3A8A3E;
  display: block;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.credibility-item span {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* ─── Section Shared ─── */
.section {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #3A8A3E;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 24px;
}
.section p {
  font-size: 16px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ─── Container ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
  min-height: 44px;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: #34803A;
  color: #fff;
}
.btn-primary:hover { background: #2d6e31; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  border-color: #3A8A3E;
  color: #3A8A3E;
}

/* ─── About Teaser (Homepage) ─── */
.about-teaser {
  padding: 120px 0;
  text-align: center;
}
.about-teaser h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 24px;
}
.about-teaser p {
  font-size: 16px;
  color: #999;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 20px;
}
.about-teaser .btn {
  margin-top: 16px;
}

/* ─── Book Callout (Homepage) ─── */
.book-callout {
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.book-callout-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.book-callout .book-cover img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.book-details .book-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #3A8A3E;
  margin-bottom: 12px;
  display: block;
}
.book-details h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin-bottom: 20px;
}
.book-details p {
  font-size: 16px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 16px;
}
.book-details .book-status {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  color: #3A8A3E;
  margin-bottom: 24px;
}

/* ─── Bottom CTA (Homepage) ─── */
.bottom-cta {
  padding: 120px 0;
  text-align: center;
}
.bottom-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 20px;
}
.bottom-cta p {
  font-size: 16px;
  color: #999;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ─── Pillar Cards (Homepage) ─── */
.pillars {
  padding: 120px 24px;
  background: #0a0a0a;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pillars-header {
  text-align: center;
  margin-bottom: 72px;
}
.pillars-header h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 12px;
}
.pillars-header p {
  font-size: 16px;
  color: #999;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar-card {
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.4s, transform 0.4s;
  display: block;
}
.pillar-card:hover {
  border-color: rgba(58, 138, 62, 0.3);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 28px;
  color: #3A8A3E;
}
.pillar-card h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 16px;
}
.pillar-card p {
  font-size: 15px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 16px;
}
.pillar-link {
  font-size: 13px;
  font-weight: 600;
  color: #3A8A3E;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.3s;
}
.pillar-card:hover .pillar-link { opacity: 0.7; }

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-content p + p { margin-top: 20px; }
.about-highlight {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 24px;
  color: #3A8A3E;
  line-height: 1.5;
  margin: 40px 0;
  padding-left: 24px;
  border-left: 3px solid rgba(58, 138, 62, 0.3);
}
/* Masonry-style column layout — each photo keeps its native aspect ratio,
   no cropping, no awkward gaps from mismatched heights. CSS multi-column
   distributes images top-to-bottom in column 1, then column 2, etc. */
.about-images {
  column-count: 2;
  column-gap: 12px;
}
.about-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 12px;
  /* Prevents an image from breaking across columns */
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
/* `.tall` is a legacy hint from the old grid layout; it does nothing in the
   masonry flow but kept as no-op so existing markup doesn't need a sweep. */
.about-img.tall {
  /* no special treatment needed in masonry */
}

/* A single image we want visibly smaller than the others while still flowing
   in the masonry column — used on the tall bike portrait so it doesn't tower
   over the rest of the gallery. */
.about-img-small {
  width: 65%;
  margin-left: auto;
  margin-right: auto;
}
.about-highlight cite {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 13px;
  color: #999;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ─── Readerest Section ─── */
.readerest-section {
  background: #0a0a0a;
  padding: 120px 24px;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.readerest-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.readerest-top {
  text-align: center;
  margin-bottom: 56px;
}
.readerest-top h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 8px;
}
.readerest-top p {
  font-size: 16px;
  color: #999;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}
.readerest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}
.readerest-story h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: #3A8A3E;
  margin-bottom: 20px;
}
.readerest-story p {
  font-size: 16px;
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 16px;
}
.readerest-story p:last-child {
  margin-bottom: 0;
}
.readerest-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.readerest-stat {
  text-align: center;
}
.readerest-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: #3A8A3E;
  line-height: 1;
}
.readerest-stat-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.readerest-photo {
  position: relative;
  padding: 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.readerest-photo img {
  width: 100%;
  border-radius: 8px;
}
.readerest-footer {
  text-align: center;
}
.readerest-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  background: #34803A;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.3s, transform 0.3s;
  min-height: 44px;
}
.readerest-cta:hover { background: #2d6e31; transform: translateY(-2px); }

/* ─── Book Section ─── */
.book-section {
  background: #0a0a0a;
  padding: 120px 24px;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
.book-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.book-cover {
  width: 100%;
  max-width: none;
  margin: 0 auto 40px;
  display: block;
  border-radius: 0;
  box-shadow: none;
  mask-image: radial-gradient(ellipse 80% 80% at center, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, #000 25%, transparent 70%);
}
.book-author {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  color: #3A8A3E;
  margin-bottom: 20px;
}
.book-description {
  font-size: 15px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 32px;
}
.book-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.book-btn {
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.book-btn:hover { transform: translateY(-2px); }
.book-btn-primary {
  background: #34803A;
  color: #fff;
}
.book-btn-primary:hover { background: #2d6e31; }
.book-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.book-btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

/* ─── Free Resources ─── */
.resources {
  padding: 120px 24px;
  background: #0a0a0a;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.resources-inner {
  max-width: 900px;
  margin: 0 auto;
}
.resources-header {
  text-align: center;
  margin-bottom: 56px;
}
.resources-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 12px;
}
.resources-header p {
  font-size: 16px;
  color: #999;
  max-width: 600px;
  margin: 0 auto;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Split layout: vertical category sidebar on the left, content panel on
   the right (desktop). On smaller screens it stacks — sidebar collapses
   to a wrapping row above the content. */
.resources-split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.resource-content { min-height: 220px; }

/* Category buttons — same visual language as the home hero CTAs
   (GET A READEREST / READ THE BOOK / etc). Inter, uppercase,
   letter-spaced, generous padding. Outlined when inactive, filled
   green when active. Click an active one to close. Resets browser
   button defaults so the styling lands consistently. */
.resource-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resource-tab {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.resource-tab:hover {
  border-color: #3A8A3E;
  color: #3A8A3E;
  transform: translateY(-2px);
}
.resource-tab.is-active {
  background: #34803A;
  border-color: #3A8A3E;
  color: #fff;
}
.resource-tab.is-active:hover {
  background: #2d6e31;
  color: #fff;
}
@media (max-width: 900px) {
  .resources-split { grid-template-columns: 1fr; gap: 28px; }
  .resource-tabs { flex-direction: row; flex-wrap: wrap; }
  .resource-tab { flex: 1 1 calc(33% - 12px); min-width: 0; }
  .resource-content { min-height: 120px; }
}
@media (max-width: 540px) {
  .resource-tabs { gap: 10px; }
  .resource-tab { flex: 1 1 calc(50% - 10px); padding: 18px 12px; font-size: 13px; letter-spacing: 0.1em; }
}

/* Quiet line of guidance shown until a category is opened. No box,
   just a centered muted line — matches the rest of the site's
   restrained typography. */
.resource-prompt {
  margin: 0 0 24px;
  text-align: center;
  font-size: 14px;
  color: #999;
  font-style: italic;
}

/* Panels: only the active one is visible. The [hidden] attribute also
   hides everything as a no-JS fallback. */
.resource-panel { display: none; }
.resource-panel.is-active { display: block; }

.resource-empty {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  color: #999;
  font-style: italic;
}
.resource-empty a {
  color: #3A8A3E;
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
}
.resource-empty a:hover { text-decoration: underline; }

.resource-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.resource-card:hover {
  border-color: rgba(58, 138, 62, 0.2);
  transform: translateY(-4px);
}
.resource-icon {
  width: 40px;
  height: 40px;
  color: #3A8A3E;
  margin-bottom: 20px;
}
.resource-card h2 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.resource-card p {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.resource-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3A8A3E;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.3s;
  min-height: 44px;
}
.resource-download:hover { opacity: 0.7; }
.resource-download svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ─── Podcasts ─── */
.podcasts {
  padding: 120px 24px;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.podcasts-inner { max-width: 900px; margin: 0 auto; }
.podcast-hero {
  position: relative;
  margin-bottom: 48px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.podcast-hero img {
  width: 100%;
  display: block;
}
.podcast-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}
.podcast-hero-overlay .podcast-hero-title {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 0.02em;
  line-height: 1.1;
  font-size: 32px;
  color: #fff;
  margin-bottom: 4px;
}
.podcast-hero-overlay p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.podcast-group { margin-bottom: 48px; }
.podcast-group:last-child { margin-bottom: 0; }

/* Rick-as-a-guest grid: thumbnail cards linking to other shows.
   Two across on desktop/tablet → 1 column on small phones. */
.guest-appearances {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}
@media (max-width: 540px) {
  .guest-appearances {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .guest-info { padding: 12px 14px 14px; }
  .guest-info h3 { font-size: 14px; }
  .guest-info p { font-size: 12.5px; line-height: 1.4; }
}
.guest-appearance {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.guest-appearance:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 138, 62, 0.4);
}
.guest-thumb {
  aspect-ratio: 16 / 9;
  background: #161616;
  overflow: hidden;
}
.guest-thumb img,
.guest-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guest-info {
  padding: 14px 16px 16px;
}
.guest-info h3 {
  margin: 0 0 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.guest-info p {
  margin: 0;
  font-size: 13px;
  color: #999;
  line-height: 1.45;
}
.podcast-group h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}
.podcast-group > p {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}
.podcast-card {
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.3s, background 0.3s;
}
.podcast-card:hover {
  border-color: rgba(58, 138, 62, 0.2);
  background: rgba(255, 255, 255, 0.05);
}
.podcast-card-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.podcast-card-info p {
  font-size: 13px;
  color: #999;
  margin: 0;
}
.podcast-card-link {
  font-size: 12px;
  font-weight: 600;
  color: #3A8A3E;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: opacity 0.3s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}
.podcast-card-link:hover { opacity: 0.7; }

/* ─── Contact ─── */
.contact {
  background: #0a0a0a;
  padding: 120px 24px;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.contact-sidebar h2 {
  font-size: clamp(36px, 5vw, 52px);
  color: #fff;
  margin-bottom: 12px;
}
.contact-sidebar > p {
  font-size: 15px;
  color: #999;
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-block { margin-bottom: 32px; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}
.contact-block p {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
}
.contact-block a {
  color: #3A8A3E;
  transition: opacity 0.3s;
}
.contact-block a:hover { opacity: 0.7; }
.contact-rate {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}
.contact-rate-item {
  padding: 12px 20px;
  background: rgba(58, 138, 62, 0.08);
  border: 1px solid rgba(58, 138, 62, 0.2);
  border-radius: 8px;
  text-align: center;
}
.contact-rate-item strong {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  color: #3A8A3E;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.contact-rate-item span {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Contact Form ─── */
.contact-form { width: 100%; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  font-family: 'Bebas Neue', cursive;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
}
.form-label .required {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 12px;
  color: #3A8A3E;
  margin-left: 4px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
  min-height: 44px;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(58, 138, 62, 0.5);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #888;
}
.form-textarea {
  min-height: 160px;
  resize: vertical;
}
.form-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-height: 28px;
}
.form-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.3s;
}
.form-radio input[type="radio"]:checked {
  border-color: #3A8A3E;
}
.form-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: #34803A;
  border-radius: 50%;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background: #34803A;
  color: #fff;
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  min-height: 44px;
  margin-top: 8px;
}
.form-submit:hover {
  background: #2d6e31;
  transform: translateY(-2px);
}

/* ─── Socials ─── */
.socials-section {
  padding: 100px 24px;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}
.socials-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.socials-inner h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 12px;
}
.socials-inner > p {
  font-size: 15px;
  color: #999;
  margin-bottom: 48px;
}
.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.social-card {
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  min-height: 44px;
}
.social-card:hover {
  border-color: rgba(58, 138, 62, 0.3);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
}
.social-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.social-card p {
  font-size: 12px;
  color: #999;
  margin: 0;
}

/* ─── Mentoring ─── */
.mentoring-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.mentoring-feature {
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}
.mentoring-feature h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}
.mentoring-feature p {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
}
.mentoring-pricing {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 48px 0;
}
.mentoring-price-card {
  padding: 40px 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.3s;
}
.mentoring-price-card:hover {
  border-color: rgba(58, 138, 62, 0.3);
}
.mentoring-price-card strong {
  font-family: 'Bebas Neue', cursive;
  font-size: 48px;
  color: #3A8A3E;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.mentoring-price-card span {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mentoring-cta {
  text-align: center;
  margin-top: 48px;
}

/* ─── Footer ─── */
.footer {
  padding: 32px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: #999;
  transition: color 0.3s;
}
.footer-links a:hover { color: #3A8A3E; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: #888;
}
.footer-bottom a { color: #3A8A3E; transition: opacity 0.3s; }
.footer-bottom a:hover { opacity: 0.7; }

/* ─── Responsive: 1024px (Tablet Landscape) ─── */
@media (max-width: 1024px) {
  .sidebar { width: 200px; padding: 32px 20px 28px; }
  .main-content { margin-left: 200px; }
  .section { padding: 100px 32px; }
  .podcasts { padding: 100px 32px; }
  .book-section { padding: 100px 32px; }
  .book-inner { gap: 40px; }
  .contact { padding: 100px 32px; }
  .contact-inner { gap: 48px; }
  .readerest-section { padding: 100px 32px; }
  .readerest-grid { gap: 40px; }
  .resources { padding: 100px 32px; }
  .socials-section { padding: 80px 32px; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .mentoring-features { grid-template-columns: 1fr 1fr; }
  .about-teaser { padding: 100px 0; }
  .book-callout { padding: 100px 0; }
  .book-callout-inner { gap: 48px; }
  .bottom-cta { padding: 100px 0; }
}

/* ─── Responsive: 768px (Tablet Portrait) ─── */
@media (max-width: 768px) {
  html { scroll-padding-top: 70px; }
  .sidebar { display: none; }
  .nav-mobile { display: flex; }
  .nav-hamburger { display: flex; }
  .main-content { margin-left: 0; }
  .hero-default-img { max-height: 75vh; }
  .hero-default-img img {
    max-height: 75vh;
    mask-image: radial-gradient(ellipse 90% 85% at center, #000 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 85% at center, #000 40%, transparent 75%);
  }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Tablet: keep masonry but allow 3 columns since there's more width */
  .about-images { column-count: 3; }
  .credibility-inner { gap: 32px; }
  .section { padding: 80px 24px; }
  .podcasts { padding: 80px 24px; }
  .book-section { padding: 80px 24px; }
  .book-cover { max-width: 320px; }
  .contact { padding: 80px 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .podcast-card { padding: 20px; }
  .readerest-section { padding: 80px 24px; }
  .readerest-grid { grid-template-columns: 1fr; gap: 40px; }
  .readerest-photo { padding: 20px; }
  .resources { padding: 80px 24px; }
  .resources-grid { grid-template-columns: 1fr; gap: 16px; }
  .socials-section { padding: 60px 24px; }
  .socials-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card { padding: 32px 24px; }
  .about-teaser { padding: 80px 0; }
  .book-callout { padding: 80px 0; }
  .book-callout-inner { grid-template-columns: 1fr; gap: 40px; }
  .book-callout .book-cover { max-width: 320px; margin: 0 auto; }
  .bottom-cta { padding: 80px 0; }
  .page-header { padding: 80px 24px 40px; }
  .breadcrumbs { padding: 12px 24px; }
  .mentoring-features { grid-template-columns: 1fr; }
  .mentoring-pricing { flex-direction: column; align-items: center; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
}

/* ─── Responsive: 480px (Mobile) ─── */
@media (max-width: 480px) {
  .hero-default-img { max-height: 70vh; }
  .hero-default-img img {
    max-height: 70vh;
    mask-image: radial-gradient(ellipse 95% 90% at center, #000 45%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 95% 90% at center, #000 45%, transparent 78%);
  }
  .credibility-inner { gap: 24px; }
  .credibility-item strong { font-size: 24px; }
  .section { padding: 60px 20px; }
  .podcasts { padding: 60px 20px; }
  .pillars { padding: 60px 20px; }
  .about-teaser { padding: 60px 0; }
  .book-callout { padding: 60px 0; }
  .book-callout .book-cover { max-width: 280px; }
  .bottom-cta { padding: 60px 0; }
  .book-section { padding: 60px 20px; }
  .book-cover { max-width: 280px; }
  .pillar-card { padding: 32px 24px; }
  .pillar-card p { max-width: 100%; }
  .about-highlight { font-size: 20px; padding-left: 16px; }
  .about-images { column-count: 2; column-gap: 8px; }
  .about-img { margin-bottom: 8px; }
  .podcast-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact { padding: 60px 20px; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-rate { gap: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row > div:first-child { margin-bottom: 20px; }
  .form-submit { width: 100%; }
  .mobile-menu a { font-size: 32px; }
  .readerest-section { padding: 60px 20px; }
  .readerest-stats { gap: 20px; flex-wrap: wrap; }
  .readerest-stat-num { font-size: 24px; }
  .readerest-photo { padding: 16px; border-radius: 12px; }
  .resources { padding: 60px 20px; }
  .resource-card { padding: 28px 24px; }
  .socials-section { padding: 48px 20px; }
  .socials-grid { grid-template-columns: 1fr; gap: 10px; }
  .social-card { display: flex; align-items: center; gap: 12px; text-align: left; padding: 20px 16px; }
  .page-header { padding: 60px 20px 32px; }
  .mentoring-pricing { gap: 16px; }
  .mentoring-price-card { padding: 28px 32px; }
  .footer-links { gap: 16px; justify-content: center; }
}

/* ─── FAQ (Mentoring) ─── */
.faq-list { margin-top: 32px; }
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(58, 138, 62, 0.3); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 48px 20px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  list-style: none;
  position: relative;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #3A8A3E;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: #3A8A3E; }
.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 0;
}
.faq-item a { color: #3A8A3E; transition: opacity 0.3s; }
.faq-item a:hover { opacity: 0.7; }

/* Podcast hero overlay: below 600px the absolute overlay can outgrow the
   image, so let it flow beneath the photo instead. */
@media (max-width: 600px) {
  .podcast-hero-overlay {
    position: static;
    background: #141414;
    padding: 20px;
  }
  .podcast-hero-overlay .podcast-hero-title { font-size: 26px; }
}
