/* --- Fix for invisible YES button text --- */
.btn-yes {
  background: var(--brown) !important;
  color: var(--cream) !important;
  border: 2px solid var(--brown);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 10001;
}

.btn-yes:hover {
  background: var(--goldenrod) !important;
  color: var(--brown) !important;
  border-color: var(--goldenrod);
}

/* Optional: Make sure text is centered */
.age-gate button {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

/* --- Remove the Nick & Dylan wording from the story section --- */

/* Hide any paragraphs that contain "Nick" or "Dylan" */
.story-section p:has-text("Nick"),
.story-section p:has-text("Dylan"),
.story-intro {
  display: none !important;
}

/* For older browsers that don't support :has-text(), fallback: hide the first intro line */
.story-intro {
  display: none !important;
}

/* --- Remove Nick & Dylan paragraphs from the story section --- */

/* Hide the first two paragraphs in the story-section */
.story-section p:nth-of-type(2),
.story-section p:nth-of-type(3) {
  display: none !important;
}

/* Optional: close up any leftover spacing */
.story-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Instagram QR styling */
.qr-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 30px;
  border-radius: 16px;
  border: 3px solid var(--brown);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.qr-image:hover {
  transform: scale(1.03);
  border-color: var(--goldenrod);
}

.qr-code-section {
  background: white;
  padding: 60px 40px;
  border: 3px solid var(--brown);
  text-align: center;
}

.qr-label {
  font-size: 1.2rem;
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.merch-poster-wrap { text-align:center; margin:40px auto 80px; }
.merch-poster-img {
  max-width:700px; width:100%; height:auto; display:block; margin:0 auto;
  border-radius:12px; box-shadow:0 10px 40px rgba(0,0,0,0.1);
}

/* 1) Make all images responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 2) Prevent layout shifts: reserve space using aspect-ratio helpers (use these classes on images/containers where needed) */
.cover-16x9 { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
.cover-4x5  { aspect-ratio: 4 / 5;  object-fit: cover; width: 100%; height: auto; }
.cover-1x1  { aspect-ratio: 1 / 1;  object-fit: cover; width: 100%; height: auto; }

/* 3) General gallery/grid images (e.g., “From the Garden”) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gallery-grid > * { grid-column: span 6; }         /* 2-up on mobile */
@media (min-width: 768px)  { .gallery-grid > * { grid-column: span 4; } }  /* 3-up tablet */
@media (min-width: 1100px) { .gallery-grid > * { grid-column: span 3; } }  /* 4-up desktop */
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;      /* tall photo look; change to 1/1 or 16/9 if you prefer */
  object-fit: cover;
  border-radius: 8px;
}

/* 4) “Strains” card images: keep a consistent card height and crop elegantly */
.strain-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}

/* 5) Hero or section banners that sometimes overflow */
.section-banner img,
.wp-block-image.alignfull img,
.wp-block-cover__image-background {
  width: 100%;
  max-height: min(75vh, 900px);
  object-fit: cover;
}

/* 6) Safety: never let images escape their containers */
figure, .wp-block-image { overflow: hidden; }

/* 7) Optional: soften big images on small screens */
@media (max-width: 480px) {
  .wp-block-image { margin-left: 0 !important; margin-right: 0 !important; }
}

/* ==== Global container: center page content and set comfy side padding ==== */
main, .site, .entry-content {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* ==== Default: center headings and section intros ==== */
h1, h2, h3, h4, h5, h6,
.section-title,
.wp-block-cover,
.wp-block-cover__inner-container,
.wp-block-group.has-background {
  text-align: center;
}

/* Make headings look balanced on two lines */
h1, h2, h3 { text-wrap: balance; line-height: 1.1; }

/* ==== Body copy: centered layout, readable left alignment on wide screens ==== */
.wp-block-paragraph,
.wp-block-list,
.wp-block-quote,
.wp-block-table,
.wp-block-media-text,
.wp-block-columns,
.wp-block-column {
  margin-left: auto;
  margin-right: auto;
}

/* On tablets/desktop, keep long copy left-aligned for readability */
@media (min-width: 768px) {
  .wp-block-paragraph:not(.force-center),
  .wp-block-list,
  .wp-block-quote,
  .wp-block-table {
    max-width: 70ch;        /* tidy line length */
    text-align: left;
  }
}

/* ==== Columns & groups: center the whole section neatly ==== */
.wp-block-columns       { justify-content: center; }
.wp-block-column > *    { margin-left: auto; margin-right: auto; }
.wp-block-group         { text-align: center; }

/* ==== Buttons & CTAs: center by default ==== */
.wp-block-buttons { justify-content: center; }
.wp-block-button  { text-align: center; }

/* ==== Images & captions: centered visually, copy readable ==== */
figure, .wp-block-image      { text-align: center; }
figcaption, .wp-element-caption {
  text-align: center;
  opacity: .85;
}

/* ==== Full/wide blocks: keep text centered inside ==== */
.alignfull, .alignwide { text-align: center; }
.alignfull > .wp-block-group__inner-container,
.alignwide > .wp-block-group__inner-container {
  margin-inline: auto;
}

/* ==== Header/site title example (optional, if your theme supports) ==== */
.site-header {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.site-title, .wp-block-site-title { width: 100%; text-align: center; }

/* ==== Decorative underline for section titles (use class "section-title") ==== */
.section-title {
  display: inline-block; margin-inline: auto; text-align: center;
}
.section-title::after {
  content: ""; display: block; width: 72px; height: 2px; background: currentColor;
  margin: 10px auto 0; opacity: .25;
}

/* ==== Utilities you can use anywhere (Block → Advanced → Additional CSS class) ==== */
.text-center { text-align: center !important; }
.text-left   { text-align: left   !important; }
.mx-auto     { margin-left: auto !important; margin-right: auto !important; }
.max-copy    { max-width: 70ch !important; }   /* great for paragraphs/lists */
.force-center * { text-align: center !important; }

/* ==== Age Gate Logo ==== */
.agegate-logo img {
  display: block;
  margin: 0 auto 20px;
  max-width: 180px;       /* adjusts size on desktop */
  height: auto;
}

@media (max-width: 600px) {
  .agegate-logo img {
    max-width: 140px;     /* smaller on mobile */
  }
}
/* === Age Gate Layout === */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(2px);
}

/* === Content Card (now color-matched to logo beige) === */
.age-gate-content {
  width: min(92vw, 560px);
  background: #EEDBC6;           /* MATCHES your logo’s beige background */
  color: #2b1e1a;
  border-radius: 18px;
  padding: 40px 28px 34px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* === Logo === */
.agegate-logo {
  text-align: center;
  margin-bottom: 24px;
}

.agegate-logo img {
  display: inline-block;
  width: 100%;
  max-width: 420px;              /* larger desktop version */
  height: auto;
  border-radius: 12px;
  background-color: #EEDBC6;     /* fills white gaps on JPEG edges */
  padding: 6px;                  /* optional inner breathing space */
  box-sizing: border-box;
}

/* === Responsive sizing === */
@media (max-width: 768px) {
  .agegate-logo img {
    max-width: 340px;
  }
}

@media (max-width: 480px) {
  .agegate-logo img {
    max-width: 260px;
    padding: 4px;
  }
}

/* === Headline === */
.agegate-heading {
  font-size: clamp(20px, 3.4vw, 30px);
  line-height: 1.2;
  margin: 10px 0 22px;
}

/* === Buttons === */
.agegate-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.agegate-btn {
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s ease;
}

.agegate-btn-yes {
  background: var(--goldenrod, #DD9E4E);
  color: #1a120f;
}
.agegate-btn-no {
  background: #e1d3c6;
  color: #2b1e1a;
}
.agegate-btn:hover {
  transform: translateY(-1px);
  opacity: .9;
}

.agegate-note {
  margin-top: 14px;
  font-size: 13px;
  opacity: .75;
}
.agegate-logo img {
  opacity: 0;
  transform: translateY(-6px);
  animation: fadeLogo 0.9s ease forwards;
}
@keyframes fadeLogo {
  to { opacity: 1; transform: none; }
}
.age-gate-logo img {
  background-color: #fbe1ca; /* beige tone that matches logo background */
  image-rendering: -webkit-optimize-contrast;
  filter: brightness(1.05) contrast(1.1);
  border-radius: 6px; /* optional: smooth edges */
}
.logo img {
  height: 60px;
  width: auto;
}
.rosin-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.rosin-image {
  flex: 1 1 45%;
  max-width: 45%;
}

@media (max-width: 768px) {
  .rosin-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.hero-content img {
  display: block;
  margin: 0 auto 10px auto;
  max-width: 280px;
  height: auto;
}
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: url('https://leaflabscultivation.com/wp-content/uploads/2025/10/IMG_1094.jpeg') 
              no-repeat center center/cover;
}

/* gradient overlay to darken image slightly */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(20,20,20,0.6), rgba(50,50,50,0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.hero-logo img {
  max-width: 300px;
  height: auto;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2.6rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: #fbe1ca; /* warm cream tone from your palette */
}

.cta-button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  font-weight: bold;
  color: #fff;
  background-color: #DD9E4E; /* goldenrod accent */
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #b07c3d;
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-logo img {
    max-width: 220px;
  }
}
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: 
    linear-gradient(to bottom, rgba(20, 20, 20, 0.6), rgba(91, 61, 55, 0.9) 90%, #5B3D37 100%), 
    url('https://leaflabscultivation.com/wp-content/uploads/2025/10/IMG_1094.jpeg') 
    no-repeat center center / cover;
}

/* dark overlay now blended into gradient background */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(91, 61, 55, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.hero-logo img {
  max-width: 300px;
  height: auto;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2.6rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: #FBE1CA; /* cream accent from your palette */
}

.cta-button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  font-weight: bold;
  color: #fff;
  background-color: #DD9E4E; /* goldenrod accent */
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #b07c3d;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-logo img {
    max-width: 220px;
  }
}

/* ======  FONT IMPORT  ====== */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

/* ======  LEAF LABS HERO SECTION  ====== */
:root{
  --brown:#5B3D37;        /* deep soil tone */
  --goldenrod:#DD9E4E;    /* warm sunlight tone */
  --slate-blue:#597278;   /* cool slate tone */
  --cream:#FBE1CA;        /* accent highlight */
}

body{
  font-family:'Roboto Mono', monospace;
  color:var(--brown);
  background-color:#fff;
}

/* --- Hero Layout --- */
.hero{
  position:relative;
  min-height:95vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  background:linear-gradient(to bottom right, var(--goldenrod) 0%, var(--slate-blue) 100%);
  overflow:hidden;
}

/* --- Content Container --- */
.hero-content{
  z-index:1;
  padding:40px 20px;
  max-width:760px;
  margin:auto;
}

/* --- Logo --- */
.hero-logo img{
  display:block;
  margin:0 auto 16px;
  max-width:320px;
  width:80%;
  height:auto;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.3));
}

/* --- Headings & Text --- */
.hero h1{
  font-family:'Roboto Mono', monospace;
  font-size:2.8rem;
  letter-spacing:2px;
  text-transform:uppercase;
  margin:0 0 10px;
  color:#fff;
}

.hero .est-year{
  font-family:'Roboto Mono', monospace;
  font-size:1.1rem;
  letter-spacing:1px;
  margin:0 0 6px;
  opacity:.9;
  color:#fff;
}

.hero .subtitle{
  font-family:'Roboto Mono', monospace;
  font-size:1.2rem;
  color:var(--cream);
  margin:0 0 24px;
}

/* --- Button --- */
.cta-button{
  display:inline-block;
  padding:12px 34px;
  background:var(--brown);
  color:#fff;
  font-weight:700;
  letter-spacing:1px;
  border-radius:4px;
  text-decoration:none;
  transition:background .3s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow:0 4px 8px rgba(0,0,0,.25);
}
.cta-button:hover{
  background:#3f2a24;
  transform:translateY(-2px);
  box-shadow:0 6px 12px rgba(0,0,0,.3);
}

/* --- Responsive --- */
@media (max-width:768px){
  .hero{ min-height:80vh; }
  .hero h1{ font-size:2rem; }
  .hero-logo img{ max-width:220px; }
  .cta-button{ padding:10px 26px; font-size:.95rem; }
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  /* Make it obvious first; we’ll tune down after you see it */
  opacity:0.6;                 /* try 0.35–0.45 later */
  mix-blend-mode:multiply;     /* more visible than overlay */

  /* Full triangle tile as a data URI (no uploads needed) */
  background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAACMCAYAAACuwEE+AAADt0lEQVR4nO3dwU4cMRBF0SKrLFjm/78y+84CWsAQoKtd5Xpl37cjxw6E9s+eT6u8v4f8W6Y6C7CwVqX9E3b8Tz3l2d8uFv8o3o0kqP3Cw2h3h0G6M5R9s3eY0y+0rD4z2k9Ff2s8f0i6F2q3kzqz4c8bN3q7tqk2m3m9fG8n9wqvJmM1p6Jr7j9t3J3m0i7cG2+3lQK2bVd4d0wq1r1c7xqfO2mJxg2bZb5Y3m8X2Y0v7yNwVnWvG8fQn7l2a1Xr7e7YyqfYqfW+bn1d7n9QmZ9q8v3i9v0o8m7wzYqHnYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw2cYw==");
  background-size:160px 160px; /* bigger triangles = more visible */
  background-repeat:repeat;
}
.hero::before{
  opacity: 0.25;          /* 0.15 = very faint, 0.35 = a bit stronger */
  mix-blend-mode: overlay; /* try multiply for more contrast */
  background-size: 120px 120px; /* 80px = tighter, 160px = larger */
}
.hero::before { opacity: 0.25 !important; }

#home {
  background-image:
    linear-gradient(to bottom right, #DD9E4E 0%, #597278 100%),
    url('YOUR_TRIANGLE_IMAGE_URL_HERE');
  background-size: cover, 140px 140px;
  background-repeat: no-repeat, repeat;
  background-position: center, top left;
}
/* ==== Base mobile polish ==== */
:root {
  /* scale typography slightly smaller on narrow screens for fit */
  --hero-max-width: 900px;
  --hero-pad: 60px 20px;
  --btn-bg: #5B3D37;
  --btn-bg-hover: #3f2a24;
  --accent: #DD9E4E;
  --khaki: #D3B8A9;
}

/* Respect device safe areas (iPhone Dynamic Island, etc.) */
html, body {
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
  padding-top: max(0px, env(safe-area-inset-top));
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

/* Smoother text + prevent auto-zoom on iOS by keeping inputs >=16px */
body, input, button, select, textarea {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

/* ==== HERO ===== */
#home .hero-content {
  max-width: var(--hero-max-width);
  padding: var(--hero-pad);
  margin-inline: auto;
}

#home .hero-logo img {
  width: 90%;
  max-width: 650px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.4));
}

/* Headings & tagline scale gracefully */
#home h1.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  letter-spacing: clamp(2px, 0.5vw, 4px);
  text-transform: uppercase;
  margin: 0 0 18px;
}

#home .hero-kicker,
#home .hero-subtitle {
  margin: 0 0 12px;
}

#home .hero-kicker { font-size: clamp(1.05rem, 2.5vw, 1.6rem); opacity:.95; }
#home .hero-subtitle { font-size: clamp(1.1rem, 2.6vw, 1.5rem); color: #FBE1CA; }

/* CTA row */
#home .hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap; margin-top: 20px;
}

#home .hero-cta .cta-button {
  display: inline-block;
  padding: clamp(14px, 3vw, 20px) clamp(36px, 5vw, 56px);
  background: var(--btn-bg); color: #fff;
  font-weight: 800; letter-spacing: 1.5px;
  border-radius: 6px; text-decoration: none;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  box-shadow: 0 6px 12px rgba(0,0,0,.3);
  transition: background .3s, transform .2s, box-shadow .2s;
  touch-action: manipulation;
}

/* Inline “Wholesale only” label */
#home .hero-cta .wholesale-pill {
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  color: var(--khaki);
  font-weight: 700;
  line-height: 1;
}

/* Hover effects (disabled on touch devices) */
@media (hover: hover) and (pointer: fine) {
  #home .hero-cta .cta-button:hover {
    background: var(--btn-bg-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,.35);
  }
}

/* Tighten for tablets/phones */
@media (max-width: 768px) {
  #home .hero-logo img { max-width: 500px; margin-bottom: 18px; }
}
@media (max-width: 480px) {
  #home .hero-logo img { max-width: 320px; }
}

/* ==== Animated triangle background: reduce motion if user prefers ==== */
@media (prefers-reduced-motion: reduce) {
  .triangle-overlay { animation: none !important; }
}

/* ==== STAY CURIOUS FORM (mobile-first) ==== */
.stay-curious {
  max-width: 620px;
  margin: 48px auto 0;
  padding: 0 16px;
}

.stay-curious h3 {
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  margin-bottom: 12px;
}

.stay-curious form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Labels */
.stay-curious label {
  font-size: 0.95rem;
  color: #FBE1CA;
}

/* Inputs: large, thumb-friendly */
.stay-curious input[type="email"],
.stay-curious input[type="text"] {
  width: 100%;
  padding: 14px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.2);
  color: #fff;
  outline: none;
  min-height: 48px;         /* touch target */
  font-size: 16px;          /* prevent iOS zoom */
}

/* Button */
.stay-curious button[type="submit"] {
  padding: 14px 18px;
  border-radius: 6px;
  border: none;
  background: var(--accent);
  color: #1b1b1b;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .6px;
  min-height: 48px;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s;
  touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
  .stay-curious button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(0,0,0,.3);
    opacity: .95;
  }
}

/* Inline consent text / privacy note fits nicely on mobile */
.stay-curious .fine-print {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}

/* iOS Safari autofill legibility */
input:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  transition: background-color 10000s ease-in-out 0s;
}
/* ===== UNIVERSAL RESET FOR MOBILE SMOOTHNESS ===== */
html, body {
  -webkit-text-size-adjust: 100%; /* Prevent iOS text zoom */
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a, button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ===== HERO SECTION ===== */
#home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 4vh 5vw;
}

#home .hero-content {
  max-width: 900px;
  width: 100%;
  margin: auto;
  padding: 5vw 3vw;
}

#home .hero-logo img {
  width: 90%;
  max-width: 550px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.4));
}

/* Headings + Text scale responsively */
#home h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

#home p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  margin-bottom: 10px;
  line-height: 1.4;
}

#home .cta-button {
  display: inline-block;
  padding: clamp(14px, 3vw, 20px) clamp(32px, 6vw, 56px);
  background-color: #5B3D37;
  color: #fff;
  font-size: clamp(1rem, 3.2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0,0,0,.3);
  transition: background .3s, transform .2s, box-shadow .2s;
}

@media (hover:hover) {
  #home .cta-button:hover {
    background: #3f2a24;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,.35);
  }
}

/* Wholesale text stays aligned beside or below button */
#home .wholesale-pill {
  display: inline-block;
  margin-left: 10px;
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: #D3B8A9;
  font-weight: 600;
  vertical-align: middle;
}

/* Stack on small screens */
@media (max-width: 480px) {
  #home .cta-button, #home .wholesale-pill {
    display: block;
    margin: 10px auto;
  }
}

/* ===== STAY CURIOUS FORM ===== */
.stay-curious {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 5vw;
}

.stay-curious h3 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: #FBE1CA;
  margin-bottom: 20px;
}

.stay-curious input[type="email"], 
.stay-curious input[type="text"] {
  width: 100%;
  padding: 16px;
  font-size: 16px; /* prevents iOS zoom */
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  margin-bottom: 14px;
}

.stay-curious button {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  background: #DD9E4E;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.6px;
  border: none;
  box-shadow: 0 5px 10px rgba(0,0,0,.25);
  transition: all .25s ease;
}

@media (hover:hover) {
  .stay-curious button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(0,0,0,.3);
  }
}

/* ==== MOBILE QUALITY OF LIFE ==== */
input:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  transition: background-color 10000s ease-in-out 0s;
}
/* Container spacing */
#social-impact .section-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 32px);
}

/* Poster scales to viewport, never overflows */
.merch-poster-wrap {
  width: 100%;
  max-width: min(900px, 95vw);
  margin: 12px auto 20px;
}
.merch-poster-wrap img {
  display: block;
  width: 100%;
  height: auto;           /* keep aspect ratio */
  border-radius: 8px;     /* optional: soften corners */
}

/* Text sizing that adapts to mobile */
#social-impact .section-title {
  font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  text-align: center;
  margin-bottom: 10px;
}
#social-impact .impact-text h3 {
  font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  margin: 10px 0;
}
#social-impact .impact-text p,
#social-impact .impact-text .large-text {
  font-size: clamp(1rem, 3.6vw, 1.125rem);
  line-height: 1.55;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* CTA button that fits thumbs */
#social-impact .cta-button {
  display: inline-block;
  padding: clamp(12px, 3.2vw, 14px) clamp(16px, 5vw, 22px);
  font-size: clamp(1rem, 3.5vw, 1.05rem);
  border-radius: 6px;
  text-decoration: none;
  background: #DD9E4E;    /* your goldenrod */
  color: #1b1b1b;
  box-shadow: 0 4px 10px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover:hover) and (pointer:fine) {
  #social-impact .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0,0,0,.28);
  }
}

/* Tighten layout on smaller phones */
@media (max-width: 480px) {
  #social-impact .impact-content { margin-top: 6px; }
  #social-impact .cta-button { width: 100%; text-align: center; }
}
.callout-box {
  max-width: 800px;
  margin: 40px auto;
  padding: 28px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  text-align: center;
  color: #fff;
  font-family: 'Roboto Mono', monospace;
}

.callout-box h3 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  margin-bottom: 14px;
  letter-spacing: 1px;
  color: #DD9E4E;
}

.callout-box p {
  font-size: clamp(1rem, 3vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Quote styling */
.sagan-quote {
  margin: 22px auto 0;
  padding: 16px 22px;
  border-left: 4px solid #DD9E4E;
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  font-style: italic;
  color: #FBE1CA;
}

.sagan-quote footer {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #D3B8A9;
  font-style: normal;
}

/* iPhone & Android responsiveness */
@media (max-width: 480px) {
  .callout-box {
    padding: 24px 16px;
  }
  .sagan-quote {
    padding: 12px 16px;
    font-size: 1rem;
  }
}
/* ===== Scroll-in fade for Carl Sagan quote ===== */
.sagan-quote {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Active state when visible */
.sagan-quote.visible {
opacity: 1;

  /* ======= Quote Styling ======= */
.callout-box .sagan-quote {
  position: relative;
  margin: 30px auto 0;
  padding: 24px 26px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  max-width: 780px;
  text-align: center;
  color: #FBE1CA;
  font-style: italic;
  font-weight: 400;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.callout-box .sagan-quote.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Decorative underline (gold) */
.callout-box .sagan-quote::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #DD9E4E 0%, #FBE1CA 100%);
  transform: translateX(-50%);
  transition: width 1s ease 0.5s;
}

.callout-box .sagan-quote.visible::after {
  width: 60%;
}

/* Typography */
.callout-box .sagan-quote p {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  line-height: 1.45;
  letter-spacing: 0.4px;
}

.callout-box .sagan-quote footer {
  margin-top: 10px;
  font-style: normal;
  color: #D3B8A9;
  font-size: clamp(.95rem, 2.6vw, 1.05rem);
}

/* Mobile polish */
@media (max-width: 480px) {
  .callout-box .sagan-quote {
    padding: 18px 16px;
  }
  .callout-box .sagan-quote p {
    font-size: 1.2rem;
  }
} transform: translateY(0);
}
.callout-box {
  text-align: center;
  margin: 3rem auto;
  max-width: 700px;
}

.callout-box h3 {
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--goldenrod);
}

.callout-box p {
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.6;
}

.sagan-quote {
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--khaki);
  border-left: 3px solid var(--goldenrod);
  padding-left: 1rem;
}
.callout-box.prominent {
  text-align: center;
  margin: 4rem auto;
  max-width: 850px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05); /* faint glow background */
  border-radius: 10px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 25px rgba(221, 158, 78, 0.3);
}

.callout-box.prominent h3 {
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: var(--goldenrod);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.callout-box.prominent p {
  font-size: 1.2rem;
  color: var(--cream);
  line-height: 1.8;
  font-weight: 500;
}

.callout-box.prominent .sagan-highlight {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.4rem;
  color: var(--goldenrod);
  text-shadow: 0 0 8px rgba(221, 158, 78, 0.6);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.callout-box.prominent {
  text-align: center;
  margin: 5rem auto;
  max-width: 850px;
  padding: 3rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #0A1F24 0%, #2B4E55 50%, #DD9E4E 100%);
  box-shadow: 0 0 30px rgba(221,158,78,0.4);
}

.callout-box.prominent h3 {
  font-size: 2.2rem;
  color: #FBE1CA; /* your cream */
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.callout-box.prominent p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.8;
}

.sagan-highlight {
  color: #FBE1CA;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(251,225,202,0.8);
}
.story-text {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--cream);
  max-width: 850px;
  margin: 2.5rem auto;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-shadow: 0 0 8px rgba(0,0,0,0.3);
  background: linear-gradient(145deg, rgba(91,61,55,0.85), rgba(221,158,78,0.25));
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(221,158,78,0.3);
  backdrop-filter: blur(3px);
}
#story-section {
  background: linear-gradient(to bottom right, #0a0a0a 0%, #2B4E55 100%);
  padding: 5rem 1.5rem;
}
.callout-box.prominent {
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(221,158,78,0.4);
  padding-bottom: 2rem;
}

.story-text {
  margin-top: 2rem;
  opacity: 0.95;
  transition: opacity 0.4s ease-in-out;
}

.story-text:hover {.callout-box.prominent {
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(221,158,78,0.4);
  padding-bottom: 2rem;
}

.story-text {
  margin-top: 2rem;
  opacity: 0.95;
  transition: opacity 0.4s ease-in-out;
}

.story-text:hover {
  opacity: 1;
}
  opacity: 1;
}
/* --- Section container: river backdrop --- */
.river-section {
  background: linear-gradient(
    135deg,
    #0b1f23 0%,
    #244c53 40%,
    #597278 70%,
    #dd9e4e 100%
  );
  padding: 6rem 1.5rem;
  border-radius: 0 0 80% 80% / 10%;
  position: relative;
  overflow: hidden;
}

/* Subtle “flow” animation on background */
.river-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/grey-washed-wall.png');
  opacity: 0.08;
  animation: flow 20s linear infinite;
}

@keyframes flow {
  from { background-position: 0 0; }
  to { background-position: 800px 0; }
}

/* --- Shared river-flow text styles --- */
.river-flow {
  max-width: 850px;
  margin: 0 auto;
  color: var(--cream);
  line-height: 1.8;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* --- Callout box styling --- */
.callout-box.river-flow {
  padding: 2.5rem;
  background: rgba(91, 115, 120, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 25px rgba(221, 158, 78, 0.3);
  margin-bottom: 2rem;
}

.callout-box.river-flow h3 {
  font-size: 2.2rem;
  color: var(--goldenrod);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sagan-highlight {
  display: block;
  color: var(--cream);
  font-weight: 700;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(251, 225, 202, 0.8);
  margin-top: 1rem;
}

/* --- Story text follows like a downstream current --- */
.story-text.river-flow {
  font-size: 1.2rem;
  color: var(--cream);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
}
/* --- Allagash River: flowing gradient backdrop --- */
.river-section {
  --river-a: #0b1f23; /* deep river */
  --river-b: #244c53; /* pine-slate */
  --river-c: #597278; /* slate-blue */
  --river-gold: #dd9e4e; /* golden reflection */

  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;

  /* long, wide gradient so drifting feels slow and natural */
  background: linear-gradient(120deg,
      var(--river-a) 0%,
      var(--river-b) 35%,
      var(--river-c) 70%,
      var(--river-gold) 100%);
  background-size: 200% 100%;
  animation: river-drift 60s linear infinite;
  will-change: background-position;
  border-radius: 0 0 80% 80% / 10%;
}

/* subtle surface texture + shimmer band that drifts opposite direction */
.river-section::before,
.river-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.river-section::before {
  /* fine texture moving slowly right */
  background: url('https://www.transparenttextures.com/patterns/grey-washed-wall.png');
  opacity: 0.07;
  animation: texture-drift 90s linear infinite;
  mix-blend-mode: overlay;
}

.river-section::after {
  /* soft, moving highlight band like sunlight on water */
  background: radial-gradient(120% 40% at -20% 50%, rgba(255,255,255,0.08), transparent 60%),
              radial-gradient(120% 40% at 120% 50%, rgba(255,255,255,0.05), transparent 60%);
  animation: shimmer-sweep 75s ease-in-out infinite alternate;
}

/* shared text styles */
.river-flow {
  max-width: 850px;
  margin: 0 auto;
  color: var(--cream);
  line-height: 1.85;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* callout box (upper eddy) */
.callout-box.river-flow {
  padding: 2.5rem;
  background: rgba(91, 115, 120, 0.22);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 24px rgba(221,158,78,0.28);
  margin-bottom: 2rem;
}

.callout-box.river-flow h3 {
  font-size: 2.2rem;
  color: var(--goldenrod);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.sagan-highlight {
  display: block;
  color: var(--cream);
  font-weight: 700;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(251,225,202,0.8);
  margin-top: 1rem;
}

/* story text (downstream current) */
.story-text.river-flow {
  font-size: 1.2rem;
  color: var(--cream);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(4px);
}

/* --- Animations --- */
@keyframes river-drift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes texture-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 800px 0; }
}

@keyframes shimmer-sweep {
  0%   { transform: translateX(0); opacity: 0.35; }
  100% { transform: translateX(-4%); opacity: 0.25; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .river-section,
  .river-section::before,
  .river-section::after {
    animation: none !important;
    background-position: 50% 50% !important;
  }
}
/* ============ Allagash / NPS-inspired palette (works with your vars) ============ */
:root {
  --pine: #264a3a;          /* ranger pine */
  --river: #2b4e55;         /* slatey river */
  --spruce: #436d60;        /* mid green-blue */
  --sand: #e7dcc9;          /* soft paper */
  --fog: #f4efe7;           /* off white */
  --ranger-gold: #dd9e4e;   /* your goldenrod */
  --ink: #0a0a0a;
}

/* ============ River Section (Sagan + Story) ============ */
.river-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.25rem 2rem;
  background: linear-gradient(120deg, #0b1f23 0%, var(--river) 45%, #597278 75%, var(--ranger-gold) 110%);
  background-size: 200% 100%;
  animation: river-drift 60s linear infinite;
  border-top: 6px solid var(--pine);     /* NPS-style sturdy header bar */
  border-bottom: 1px solid rgba(0,0,0,0.15);
}

/* faint paper texture like NPS pages */
.river-section::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 4px);
  mix-blend-mode: overlay;
  opacity: 0.4;
}

/* Shared text container vibe */
.river-flow {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--cream);
  line-height: 1.85;
}

/* Callout adopts “interpretive panel” look */
.callout-box.river-flow {
  background: rgba(67, 109, 96, 0.22);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 6px solid var(--pine);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 28px rgba(0,0,0,0.25);
  padding: 2.25rem;
  margin-bottom: 1.5rem;
}

.callout-box.river-flow h3 {
  font-size: 2.1rem;
  letter-spacing: 1.5px;
  color: var(--fog);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.sagan-highlight {
  display: block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--fog);
  text-shadow: 0 0 10px rgba(251,225,202,0.8);
}

/* Story block reads like a ranger note card */
.story-text.river-flow {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 6px solid var(--ranger-gold);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  color: var(--fog);
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  margin-top: 1rem;
}

/* Gentle drift */
@keyframes river-drift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .river-section { animation: none; background-position: 50% 50%; }
}

/* ============ Wave separator into Values grid ============ */
.river-section + .wave-sep {
  display: block;
  line-height: 0;
  transform: translateY(-1px);
}
.river-section + .wave-sep svg {
  display: block; width: 100%; height: 54px;
}

/* ============ Values Grid → NPS plan-your-visit style cards ============ */
.values-grid {
  background: linear-gradient(#0f1514, #101818);
  padding: 2.5rem 1.25rem 3rem;
}

.values-grid .value-item {
  background: #0f1514;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 6px solid var(--pine);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  color: var(--sand);
  max-width: 980px;
  margin: 0.75rem auto;
  box-shadow: 0 2px 14px rgba(0,0,0,0.25);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.values-grid .value-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.28);
}

.values-grid h4 {
  color: var(--fog);
  letter-spacing: 1px;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.values-grid p {
  color: var(--sand);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ============ Team footer ============ */
.team-section {
  text-align: center;
  background: #0f1514;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.25rem 1rem 3rem;
}
.team-section h3 {
  color: var(--fog);
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}
.team-section img {
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}
/* ===== Allagash / NPS-inspired palette (works with your existing vars) ===== */
:root{
  --pine:#264a3a;           /* ranger pine */
  --river:#2b4e55;          /* slatey river */
  --spruce:#436d60;         /* mid green-blue */
  --paper:#e7dcc9;          /* soft paper */
  --fog:#f4efe7;            /* off-white */
  --ranger-gold:#dd9e4e;    /* your goldenrod */
}

/* ===== River section (Sagan + Story) ===== */
.river-section{
  position:relative; overflow:hidden;
  padding:5rem 1.25rem 2rem;
  background:linear-gradient(120deg,#0b1f23 0%,var(--river) 45%,#597278 75%,var(--ranger-gold) 110%);
  background-size:200% 100%;
  animation:river-drift 60s linear infinite;
  border-top:6px solid var(--pine);      /* NPS-like sturdy header bar */
  border-bottom:1px solid rgba(0,0,0,0.15);
  will-change:background-position;
}

/* faint paper/linen texture like NPS pages */
.river-section::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,0.04) 0 2px,transparent 2px 4px);
  mix-blend-mode:overlay; opacity:.4;
}

/* shared text container */
.river-flow{
  max-width:900px; margin:0 auto; text-align:center;
  color:var(--fog); line-height:1.85; position:relative; z-index:1;
}

/* callout adopts an “interpretive panel” look */
.callout-box.river-flow{
  background:rgba(67,109,96,0.22);
  border:1px solid rgba(255,255,255,0.12);
  border-left:6px solid var(--pine);
  border-radius:10px; backdrop-filter:blur(6px);
  box-shadow:0 4px 28px rgba(0,0,0,0.25);
  padding:2.25rem; margin-bottom:1.5rem;
}
.callout-box.river-flow h3{
  font-size:2.1rem; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--fog); margin-bottom:.75rem;
}
.sagan-highlight{
  display:block; margin-top:1rem; font-weight:700; font-size:1.45rem;
  color:var(--fog); text-shadow:0 0 10px rgba(251,225,202,.8);
}

/* story block reads like a ranger note card */
.story-text.river-flow{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  border-left:6px solid var(--ranger-gold);
  border-radius:10px; padding:1.75rem 1.5rem;
  color:var(--fog); font-size:1.15rem;
  box-shadow:0 6px 20px rgba(0,0,0,0.18);
  margin-top:1rem;
}

/* gentle drift */
@keyframes river-drift{0%{background-position:0% 50%}100%{background-position:100% 50%}}
@media (prefers-reduced-motion:reduce){.river-section{animation:none; background-position:50% 50%}}

/* ===== Wave separator into Values grid ===== */
.river-section + .wave-sep{display:block; line-height:0; transform:translateY(-1px)}
.river-section + .wave-sep svg{display:block; width:100%; height:54px}

/* ===== Values grid: NPS plan-your-visit style cards ===== */
.values-grid{
  background:linear-gradient(#0f1514,#101818);
  padding:2.5rem 1.25rem 3rem;
}
.values-grid .value-item{
  background:#0f1514;
  border:1px solid rgba(255,255,255,0.08);
  border-left:6px solid var(--pine);
  border-radius:10px; padding:1.25rem 1.25rem 1.25rem 1rem;
  color:var(--paper); max-width:980px; margin:.75rem auto;
  box-shadow:0 2px 14px rgba(0,0,0,.25);
  transition:transform 140ms ease, box-shadow 140ms ease;
}
.values-grid .value-item:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 22px rgba(0,0,0,.28);
}
.values-grid h4{
  color:var(--fog); letter-spacing:1px; font-size:1.05rem; margin-bottom:.35rem;
}
.values-grid p{
  color:var(--paper); line-height:1.7; font-size:.98rem;
}

/* ===== Team footer ===== */
.team-section{
  text-align:center; background:#0f1514;
  border-top:1px solid rgba(255,255,255,0.06);
  padding:2.25rem 1rem 3rem;
}
.team-section h3{color:var(--fog); letter-spacing:1.5px; margin-bottom:.75rem}
.team-section img{filter:drop-shadow(0 6px 18px rgba(0,0,0,.35))}

/* ===== Small-screen tweaks ===== */
@media (max-width:600px){
  .callout-box.river-flow h3{font-size:1.7rem}
  .sagan-highlight{font-size:1.25rem}
  .story-text.river-flow{font-size:1.05rem}
}
/* =========================
   MOBILE & iPAD CLEANUP
   ========================= */

/* iPad & small laptops (landscape tablets & <= 1024px) */
@media (max-width: 1024px){
  /* Reduce canoe height a bit */
  :root{
    --canoe-h: 420px;
    --canoe-h-tablet: 440px;
    --logo-size: clamp(100px, 14vw, 170px);
    --canoe-center-y: 50%;
  }

  /* Switch from curved offset layout to a neat 2-col grid */
  .team-grid.canoe-layout{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px 18px;
    height: auto !important;
    margin-top: 16px;
  }
  .team-grid.canoe-layout .team-member{
    position: static !important;
    width: auto !important;
    transform: none !important;
    offset-path: none !important;
    offset-distance: 0 !important;
  }

  /* Canoe outline: lighter & shorter so it serves as subtle divider */
  .canoe-outline{
    top: 96px;
    height: 220px;
    opacity: .55;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.05));
  }

  /* Typographic polish */
  .team-section h3{
    font-size: clamp(14px, 1.8vw, 18px);
    letter-spacing: .12em;
    margin-bottom: 12px;
  }
  .team-member{
    padding: 14px;
    border-radius: 12px;
  }
  .team-member h4{
    font-size: 16px;
  }
  .team-member p{
    font-size: 14px;
    line-height: 1.55;
  }
  .team-email a{
    padding-bottom: 2px;
  }
}

/* Phones (<= 600px) — ultra simple */
@media (max-width: 600px){
  :root{
    --logo-size: clamp(88px, 28vw, 130px);
    --canoe-center-y: 49%;
  }

  /* One column list */
  .team-grid,
  .team-grid.canoe-layout{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    height: auto !important;
  }
  .team-grid.canoe-layout .team-member{
    position: static !important;
    width: auto !important;
    transform: none !important;
    offset-path: none !important;
    offset-distance: 0 !important;
  }

  /* Hide the decorative canoe lines to reduce clutter */
  .canoe-outline{ display: none; }

  /* Softer cards & bigger tap targets */
  .team-member{
    padding: 16px 14px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
  }
  .team-member h4{
    font-size: 15px;
    letter-spacing: .06em;
  }
  .team-member p{
    font-size: 14px;
  }
  .team-email a{
    display: inline-block;
    margin-top: 2px;
    padding: 4px 0; /* easier to tap */
  }

  /* Section spacing */
  .team-canoe-wrap{ padding: 22px 16px 60px; }
  .team-section h3{ margin-bottom: 10px; }
}

/* Accessibility niceties */
@media (prefers-reduced-motion: reduce){
  .team-member{ transition: none !important; }
}
/* ===============================
   iPhone & iPad — logo alignment
   =============================== */

/* Base: center the logo above canoe */
.team-section .canoe-logo {
  position: absolute;
  left: 50%;
  top: var(--canoe-center-y, 52%);
  transform: translate(-50%, -50%);
  width: var(--logo-size, 140px);
  height: auto;
  z-index: 3;
  display: block;
}

/* Prevent the logo from appearing between team cards */
.team-grid .canoe-logo {
  display: none !important;
}

/* Tablet view (iPads and smaller laptops) */
@media (max-width: 1024px) {
  .team-section .canoe-logo {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 20px auto 10px auto;
    display: block;
    width: clamp(100px, 20vw, 180px);
  }
}

/* iPhone / small phones */
@media (max-width: 600px) {
  .team-section .canoe-logo {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 16px auto 10px auto;
    width: clamp(80px, 32vw, 140px);
  }
}
/* iPad overlap badge effect */
@media (min-width: 601px) and (max-width: 1024px){
  /* Let the logo sit above the canoe, overlapping it a bit */
  .team-section .canoe-logo{
    position: relative !important;
    display: block;
    margin: 8px auto -10px;           /* pulls logo down into the canoe */
    transform: translateY(-8%);       /* fine-tune overlap depth */
    width: clamp(120px, 22vw, 200px); /* comfortable tablet size */
    z-index: 3;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.12));
  }

  /* Keep the canoe visible under the logo */
  .canoe-outline{
    display: block !important;
    opacity: .65;
    top: 96px;                        /* slight rise for better composition */
    height: 240px;                    /* shallower canoe on tablet */
  }

  /* Keep the grid clean and readable on tablet */
  .team-grid.canoe-layout{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
    height: auto !important;
  }
}
/* ===========================
   LEAF LABS — VALUES + STEWARDS CLEAN COLOR SYSTEM
   Unified fonts, brightened backgrounds, mobile responsive.
=========================== */
:root {
  --brown: #5B3D37;
  --slate: #597278;
  --gold: #DD9E4E;
  --paper: #f5f0eb;
  --white: #ffffff;
}

/* === Typography === */
body, p, h3, h4 {
  font-family: 'Roboto Mono', monospace;
  color: var(--slate);
}
h3, h4 {
  color: var(--brown);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* === VALUES GRID === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 16px;
}
.value-item {
  background: linear-gradient(180deg, var(--white), var(--paper));
  border: 1px solid rgba(89,114,120,.15);
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,.04);
  transition: all 0.2s ease;
}
.value-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}
.value-item h4 {
  color: var(--brown);
}
.value-item p {
  color: var(--slate);
  line-height: 1.6;
}

/* === STEWARDS SECTION === */
.stewards-wrap {
  background: linear-gradient(#fff, var(--paper));
  padding: 40px 0 56px;
}
.stewards-card {
  background: var(--white);
  border: 1px solid rgba(89,114,120,.12);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 36px;
}
.stewards-title {
  text-align: center;
  color: var(--brown);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  font-weight: 700;
}
.stewards-logo {
  display: block;
  margin: 0 auto 24px;
  width: clamp(140px, 18vw, 240px);
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.08));
}

/* === STEWARDS GRID === */
.stewards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.steward {
  background: linear-gradient(180deg, var(--white), var(--paper));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,.04);
  transition: all 0.2s ease;
}
.steward:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}
.steward h4 {
  color: var(--brown);
}
.steward p {
  color: var(--slate);
  margin: 0 0 6px;
  line-height: 1.55;
}
.steward .email a {
  color: var(--slate);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(89,114,120,.45);
  transition: color .2s ease, border-color .2s ease;
}
.steward .email a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* === Responsive stacking === */
@media (max-width: 1024px) {
  .values-grid,
  .stewards-grid {
    grid-template-columns: 1fr;
  }
}
/* Values grid spacing (keeps each block nicely spread out) */
.ll-block { padding: 80px 24px; }           /* desktop breathing room */
@media (max-width:1024px){ .ll-block { padding: 60px 20px; } }

/* 3-up grid on desktop, stacks on iPad/mobile (already in your CSS) */
.ll-values { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
@media (max-width:1024px){ .ll-values { grid-template-columns: 1fr; } }

/* Fade-between-colors for each card */
.ll-values .value {
  padding: 24px;
  border-radius: 12px;
  /* no borders/shadows to keep it clean */
}

/* 1 → 2: brown → slate */
.ll-values .value:nth-child(1){
  background: linear-gradient(135deg, var(--brown) 0%, var(--slate) 100%);
  color: #fff;
}
.ll-values .value:nth-child(1) h4,
.ll-values .value:nth-child(1) p { color:#fff; }

/* 2 → 3: slate → gold */
.ll-values .value:nth-child(2){
  background: linear-gradient(135deg, var(--slate) 0%, var(--gold) 100%);
  color: #fff;
}
.ll-values .value:nth-child(2) h4,
.ll-values .value:nth-child(2) p { color:#fff; }

/* 3 → paper: gold → paper (dark text for contrast) */
.ll-values .value:nth-child(3){
  background: linear-gradient(135deg, var(--gold) 0%, var(--paper) 100%);
  color: var(--brown);
}
.ll-values .value:nth-child(3) h4 { color: var(--brown); }
.ll-values .value:nth-child(3) p  { color: var(--slate); }

.ll-block {
  margin-bottom: 60px; /* space between blocks */
}

@media (max-width: 600px) {
  .ll-block {
    margin-bottom: 40px; /* smaller space on mobile */
  }
}
.ll-block {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 10px;
}

/* make stars vivid & centered title */
.ll-music-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  /* large, bright stars */
  background-image:
    radial-gradient(circle, rgba(255,255,240,0.75) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(255,250,210,0.45) 1px, transparent 1px);
  background-size: 90px 90px, 160px 160px;
  opacity: .9;
  animation: twinkle 12s linear infinite alternate;
  pointer-events: none;
}
.ll-music-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* subtle cosmic layer */
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.12), transparent 70%);
  background-size: cover;
  opacity: .3;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes twinkle {
  0% {opacity:.7;}
  50% {opacity:1;}
  100% {opacity:.6;}
}

/* new glow from badge */
.ll-badge {
  background: radial-gradient(circle at top, #ffeacb 0%, #d78e48 85%);
  border: 3px solid rgba(20,15,11,.7);
  border-radius: 12px;
  min-width: 240px;
  box-shadow:
    0 0 25px rgba(255,225,150,.5),
    0 10px 25px rgba(0,0,0,.6);
  position: relative;
}

/* center dates + loc lines */
.ll-title-block {
  text-align: center;
  padding: 18px 20px 8px;
}
.ll-title-dates,
.ll-title-loc {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.ll-title-dates {
  font-size: 12px;
  letter-spacing: .35em;
  color: #ffeacb;
}
.ll-title-loc {
  font-size: 11.5px;
  letter-spacing: .28em;
  color: #e8d3b2;
}

/* soft edge vignette for realism */
.ll-music-frame {
  position: relative;
}
.ll-music-frame::before,
.ll-music-frame::after {
  transition: opacity 1.5s ease;
}
.ll-music-frame::before {
  z-index: 1;
}
.ll-music-frame::after {
  z-index: 2;
  box-shadow: inset 0 0 150px rgba(0,0,0,0.7);
}