/* Yete NYC — cream canvas, forest green structure (Mateína / Yerba Madre–inspired clarity) */
:root {
  --page: #faf8f4;
  --page-2: #f5f1ea;
  --green: #143d30;
  --green-mid: #1d5240;
  --green-soft: #2f6b52;
  --green-line: rgba(20, 61, 48, 0.14);
  --cream: #faf8f4;
  --cream-deep: #ebe6dc;
  --ink: #141c18;
  --muted: rgba(20, 28, 24, 0.72);
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 5rem;
  --max: 70rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Outfit Fallback", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--page);
}

h1,
h2,
h3,
.eyebrow {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 1rem;
  scroll-margin-top: var(--header-h);
}

section[id],
div[id] {
  scroll-margin-top: var(--header-h);
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--green-mid);
}

a:hover {
  color: var(--green);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--green);
  color: var(--page);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 100;
  text-decoration: none;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(8, 22, 14, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.55s ease,
    border-color 0.55s ease,
    box-shadow 0.55s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--green-line);
  box-shadow: 0 1px 12px rgba(20, 61, 48, 0.07);
}

.header-inner {
  padding: 0.75rem 2.5rem 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height 0.45s ease;
}

.is-scrolled .header-inner {
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo {
  height: 3.6rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 0.4s ease, max-width 0.4s ease, margin 0.4s ease;
}

.site-header:not(.is-scrolled) .brand-logo {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  margin-right: 0;
}

.brand-logo.brand-logo--hidden {
  display: none;
}

.brand-fallback {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
}

.brand-fallback[hidden] {
  display: none !important;
}

.brand-mark {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
}

.brand-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--green);
}

/* transparent state — white links over hero */
.site-header:not(.is-scrolled) .site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-header:not(.is-scrolled) .site-nav a:hover {
  color: #fff;
}

.site-nav .nav-cta {
  background: transparent;
  color: var(--green);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(20, 61, 48, 0.35);
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.site-nav .nav-cta:hover {
  background: var(--green);
  color: var(--page);
  border-color: var(--green);
}

/* dark-glass state — white CTA over hero */
.site-header:not(.is-scrolled) .site-nav .nav-cta {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.site-header:not(.is-scrolled) .site-nav .nav-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown__toggle,
.nav-dropdown:focus-within .nav-dropdown__toggle {
  color: var(--green);
}

.site-header:not(.is-scrolled) .nav-dropdown__toggle {
  color: rgba(255, 255, 255, 0.82);
}

.site-header:not(.is-scrolled) .nav-dropdown:hover .nav-dropdown__toggle,
.site-header:not(.is-scrolled) .nav-dropdown:focus-within .nav-dropdown__toggle {
  color: #fff;
}

.nav-dropdown__caret {
  font-size: 0.7em;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown__caret,
.nav-dropdown:focus-within .nav-dropdown__caret {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  margin-top: 0.6rem;
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(20, 61, 48, 0.14);
  padding: 0.4rem;
  min-width: 11.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}

/* invisible bridge so the gap between toggle and menu doesn't break hover */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 0.6rem;
}

.nav-dropdown__menu a {
  color: var(--ink) !important;
  font-size: 0.85rem;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-dropdown__menu a:hover {
  background: var(--green-light, rgba(20, 61, 48, 0.06));
  color: var(--green) !important;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  position: relative;
  transition: background 0.4s ease;
}

.site-header:not(.is-scrolled) .nav-toggle-bar,
.site-header:not(.is-scrolled) .nav-toggle-bar::before,
.site-header:not(.is-scrolled) .nav-toggle-bar::after {
  background: rgba(255, 255, 255, 0.9);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.5rem 1.5rem;
    background: var(--page);
    border-bottom: 1px solid var(--green-line);
    box-shadow: 0 8px 24px rgba(20, 61, 48, 0.08);
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 0.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(26, 60, 48, 0.06);
    color: var(--ink);
    letter-spacing: 0.02em;
  }

  /* Open mobile menu always sits on a solid cream background, so its
     links must stay dark even when the header itself is still in its
     transparent hero state (higher specificity than that rule needs beating). */
  .site-header:not(.is-scrolled) .site-nav.is-open a {
    color: var(--ink);
  }

  .site-header:not(.is-scrolled) .site-nav.is-open .nav-cta {
    color: var(--green);
    background: transparent;
    border-color: rgba(20, 61, 48, 0.35);
  }

  .site-header:not(.is-scrolled) .site-nav.is-open .nav-dropdown__toggle {
    color: var(--ink);
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
    border: none;
  }

  .nav-dropdown {
    display: contents;
  }

  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0.25rem;
    font-size: 0.95rem;
    color: var(--ink);
    border-bottom: 1px solid rgba(26, 60, 48, 0.06);
    pointer-events: none;
  }

  .nav-dropdown__caret {
    display: none;
  }

  .nav-dropdown__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin-top: 0;
    min-width: 0;
    gap: 0;
  }

  .nav-dropdown__menu::before {
    display: none;
  }

  .nav-dropdown__menu a {
    padding: 0.9rem 0.25rem 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(26, 60, 48, 0.06);
    border-radius: 0;
    font-size: 0.9rem;
    color: var(--ink) !important;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 70% at 88% 0%, rgba(47, 107, 82, 0.09), transparent 52%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(20, 61, 48, 0.06), transparent 50%),
    linear-gradient(180deg, var(--page) 0%, var(--page-2) 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-visual {
    order: -1;
    justify-self: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.happy-hour-photo {
  margin: 0;
  width: 75%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--green-line);
  box-shadow: 0 10px 36px rgba(20, 61, 48, 0.1);
}

.happy-hour-photo img {
  width: 100%;
  height: auto;
  display: block;
}

#happy-hour .hero-layout {
  padding-bottom: 3rem;
}

.hero-photo {
  margin: 0;
  max-width: min(22rem, 90vw);
  background: #fff;
  padding: 10px 10px 38px;
  transform: rotate(-1.5deg);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.10),
    0 10px 36px rgba(20, 28, 24, 0.22),
    inset 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}


.hero-photo:hover {
  transform: rotate(-1.5deg) translateY(-8px);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.12),
    0 18px 48px rgba(20, 28, 24, 0.26),
    inset 0 0 0 1px rgba(0,0,0,0.04);
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-logo-frame {
  max-width: min(20rem, 88vw);
}

.hero-logo {
  width: 100%;
  max-height: min(52vw, 18rem);
  height: auto;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}

.hero-content {
  max-width: 36rem;
}

@media (min-width: 901px) {
  .hero-content {
    padding-bottom: 0.5rem;
  }
}

.eyebrow {
  font-family: "Outfit", "Outfit Fallback", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin: 0;
}

.hero-lede {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--green);
  color: var(--page);
}

.btn-primary:hover {
  background: var(--green-mid);
  color: var(--page);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green-line);
}

.btn-ghost:hover {
  border-color: var(--green-mid);
  background: rgba(20, 61, 48, 0.05);
}

.btn-light {
  background: var(--cream);
  color: var(--green);
}

.btn-light:hover {
  background: #fff;
  color: var(--green);
}

.section {
  padding: 2.75rem 1.25rem;
}

#events {
  padding-top: 2rem;
}

/* The timeline carries its own rule and lead-in, so the section starts tighter. */
#story {
  padding-top: 1.5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-alt {
  background: linear-gradient(180deg, rgba(20, 61, 48, 0.045) 0%, rgba(20, 61, 48, 0.02) 100%);
}

.section-elevated {
  background: #fff;
  border-block: 1px solid var(--green-line);
}

.ig-lede,
.moments-lede {
  max-width: 38rem;
}

.nowrap {
  white-space: nowrap;
  font-weight: 500;
  color: var(--green-mid);
}

.media-chapter {
  margin-top: 3rem;
  padding-bottom: 0.5rem;
}

.media-chapter:first-of-type {
  margin-top: 2.25rem;
}

.media-chapter__head {
  margin-bottom: 1.1rem;
}

.media-chapter__title {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--green);
  margin: 0.25rem 0 0.35rem;
}

.media-chapter__title--sm {
  font-size: 1.1rem;
  margin-top: 1.35rem;
  margin-bottom: 0.75rem;
}

.media-chapter__title--follow {
  margin-top: 2.5rem;
}

.media-chapter__lede {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 32rem;
}

.media-scroll {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.25rem;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
  scrollbar-color: rgba(20, 61, 48, 0.35) transparent;
}

.media-scroll:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 2px;
}

.media-scroll__track {
  display: flex;
  gap: 0.75rem;
  padding: 0.25rem 1.25rem 0.5rem;
  width: max-content;
}

.media-scroll__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--green-line);
  box-shadow: 0 8px 28px rgba(20, 61, 48, 0.06);
}

.media-scroll__item img {
  display: block;
  height: clamp(220px, 36vh, 460px);
  width: auto;
  max-width: none;
  object-fit: contain;
  vertical-align: middle;
}

.media-scroll__item--video {
  background: #0a0f0d;
  border-color: rgba(255, 255, 255, 0.06);
}

.clip-video {
  display: block;
  height: clamp(220px, 38vh, 480px);
  width: auto;
  min-width: 140px;
  max-width: min(85vw, 320px);
  object-fit: contain;
}

.media-scroll--video .media-scroll__track {
  align-items: stretch;
}

.ig-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.ig-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--green-line);
  background: #fff;
  box-shadow: 0 6px 24px rgba(20, 61, 48, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.ig-tile:hover {
  border-color: rgba(20, 61, 48, 0.28);
  box-shadow: 0 10px 32px rgba(20, 61, 48, 0.1);
  transform: translateY(-2px);
}

.ig-tile__media {
  aspect-ratio: 9 / 16;
  max-height: 26rem;
  background: #0a0f0d;
  position: relative;
}

.ig-tile__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-tile__title {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.6rem 0.75rem 0.25rem;
  display: block;
}

.ig-tile__cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem 0.65rem;
  color: var(--green-mid);
  border-top: none;
  background: var(--page);
  display: block;
}

.section-accent {
  background: linear-gradient(165deg, var(--green) 0%, #0f3026 100%);
  color: var(--page);
}

.section-accent a {
  color: var(--page);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-accent .btn {
  text-decoration: none;
}

.section-accent .eyebrow {
  color: rgba(250, 248, 244, 0.78);
}

.section-accent h2,
.section-accent .lead {
  color: var(--page);
}

.section-accent .lead {
  opacity: 0.94;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
}

.two-col.align-start {
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
}

.lead.narrow {
  max-width: 40rem;
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pill-list li {
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.98rem;
  box-shadow: 0 2px 12px rgba(20, 61, 48, 0.05);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.story-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(19, 64, 48, 0.1);
  box-shadow: 0 4px 22px rgba(19, 64, 48, 0.06);
}

.story-card-wide {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card-wide {
    grid-column: auto;
  }
}

.corporate-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.corporate-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.corporate-photo img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.corporate-copy .check-list {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .corporate-split {
    grid-template-columns: 1fr;
  }

  .corporate-photo {
    max-width: min(100%, 28rem);
    margin: 0 auto;
  }
}

.events-intro {
  margin-bottom: 2.5rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 3rem;
}

.event-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(20, 61, 48, 0.06);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.event-card:hover {
  border-color: rgba(20, 61, 48, 0.15);
  box-shadow: 0 16px 48px rgba(20, 61, 48, 0.2);
}

.event-card__media {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
  will-change: opacity;
}

.event-card__media img,
.event-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.8s ease;
}

.event-card:hover .event-card__media {
  opacity: 1;
}

.event-card:hover .event-card__media img,
.event-card:hover .event-card__media video {
  transform: scale(1.0);
}

.event-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 18, 0.52);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.event-card:hover .event-card__overlay {
  opacity: 1;
}

.event-card__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}

.event-card__label {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--green);
  margin: 0;
  line-height: 1.2;
}

.event-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  transition: color 0.5s ease;
}

.event-card:hover h3 {
  color: #fff;
}

.event-card__content > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  transition: color 0.5s ease;
}

.event-card:hover .event-card__content > p {
  color: rgba(255, 255, 255, 0.82);
}

/* Mobile scroll-reveal — same visual state as :hover, triggered by JS IntersectionObserver */
.event-card.is-revealed {
  border-color: rgba(20, 61, 48, 0.15);
  box-shadow: 0 16px 48px rgba(20, 61, 48, 0.2);
}
.event-card.is-revealed .event-card__media { opacity: 1; }
.event-card.is-revealed .event-card__media img,
.event-card.is-revealed .event-card__media video { transform: scale(1.0); }
.event-card.is-revealed .event-card__overlay { opacity: 1; }
.event-card.is-revealed h3 { color: #fff; }
.event-card.is-revealed .event-card__content > p { color: rgba(255, 255, 255, 0.82); }
.event-card.is-revealed .btn-ghost,
.event-card:hover .btn-ghost {
  color: var(--green);
  border-color: var(--page);
  background: var(--page);
}
.event-card.is-revealed .btn-ghost:hover,
.event-card:hover .btn-ghost:hover {
  background: #fff;
  border-color: #fff;
}

.event-card__onepager {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-card .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

@media (max-width: 860px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

.event-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: center;
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--green-line);
  box-shadow: 0 10px 36px rgba(20, 61, 48, 0.07);
}

.event-spotlight__visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.event-spotlight__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.event-spotlight .eyebrow {
  margin-bottom: 0.35rem;
}

.event-spotlight h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.event-spotlight__meta {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-soft);
  margin: 0 0 0.75rem;
}

.event-spotlight__body p:last-of-type {
  margin-bottom: 1.25rem;
}

.event-spotlight__body .btn {
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .event-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  .event-spotlight__visual {
    max-width: 18rem;
    margin: 0 auto;
  }

  .event-spotlight__body .btn {
    width: 100%;
    max-width: 22rem;
  }
}

.check-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  max-width: 42rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: rgba(250, 248, 244, 0.94);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--page);
  opacity: 0.95;
}

.pullquote {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--green);
  color: var(--page);
  border-radius: var(--radius-lg);
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pullquote p {
  margin: 0;
}

.contact-block {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0 0;
}

.fine-print {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2rem;
  margin-bottom: 0;
}

.site-footer {
  background: var(--green);
  padding: 2.5rem 1.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-social-link {
  color: rgba(250, 248, 244, 0.6);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: rgba(250, 248, 244, 1);
}

.footer-social-link svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-text-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(250, 248, 244, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-text-link:hover {
  color: rgba(250, 248, 244, 1);
}

.footer-logo {
  height: 3.5rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(1.1);
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-brand {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-copy {
  font-size: 0.88rem;
  opacity: 0.8;
}

/* —— About / Yerba 101 —— */
.about-block {
  position: relative;
  z-index: 1;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mate-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--green-line);
}

.mate-explainer__left .eyebrow {
  font-family: "Outfit", "Outfit Fallback", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.mate-explainer__left h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0.5rem 0 1rem;
}

.mate-explainer__left p {
  color: var(--muted);
  line-height: 1.72;
}

.mate-explainer__note {
  font-size: 0.87rem;
  color: var(--muted);
  opacity: 0.8;
  margin-top: 0.25rem;
}

.cutout-wrap {
  margin-top: 1.5rem;
  transform: rotate(-2deg);
  filter: drop-shadow(4px 12px 24px rgba(0, 0, 0, 0.32));
  display: block;
}

.mate-explainer__photo {
  position: relative;
  margin: 0;
  border-radius: 0;
  line-height: 0;
  clip-path: polygon(
    4% 1%, 32% 0%, 63% 2%, 88% 1%, 97% 5%,
    98% 22%, 96% 42%, 99% 62%, 97% 80%, 98% 97%,
    74% 100%, 47% 97%, 22% 99%, 4% 100%,
    1% 84%, 3% 62%, 0% 40%, 2% 20%
  );
}

.mate-explainer__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.mate-diagram__img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.mate-explainer__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* About Yete now sits inside the combined section. It keeps its hero grid, which
   already collapses to one column at 900px, minus the framing .section provides. */
.ritual-about {
  margin: 2.5rem 0 2rem;
}

.ritual-about .hero-layout {
  max-width: none;
  padding: 0;
}

@media (max-width: 768px) {
  .mate-explainer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-eyebrow {
  margin-top: 0.5rem;
}

.about-h2 {
  margin-bottom: 1rem;
}

/* —— Events —— */
.events-lede {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.events-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .events-split {
    grid-template-columns: 1fr;
  }
}

.events-panel h3 {
  font-size: 1.2rem;
  color: var(--green);
}

.events-list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.events-shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--green-line);
  box-shadow: 0 10px 32px rgba(20, 61, 48, 0.08);
}

.events-shot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.ig-feed__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ig-feed__title {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-size: 1.25rem;
  margin: 0;
}

.ig-feed__follow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-soft);
  text-decoration: none;
  transition: opacity 0.2s;
}

.ig-feed__follow:hover { opacity: 0.65; }

behold-widget {
  display: block;
  width: 100%;
}

/* —— Gallery tease cards —— */
.gallery-tease-intro {
  margin-bottom: 2.5rem;
}

.gallery-tease-heading {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  margin: 0;
  color: var(--green);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.gallery-tease-row {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding: 0 var(--page-pad) 1.25rem;
  scrollbar-width: none;
  user-select: none;
}

.gallery-tease-row::-webkit-scrollbar { display: none; }

.gallery-tease-card {
  position: relative;
  display: block;
  flex: 0 0 calc(33.33% - 0.68rem);
  min-width: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: none;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: #0a1e14;
}

.gallery-tease-card__bg {
  position: absolute;
  inset: -4px;
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.65);
  transform: scale(1.06);
  transition: transform 0.65s ease, filter 0.65s ease;
}

.gallery-tease-card:hover .gallery-tease-card__bg {
  transform: scale(1.12);
  filter: blur(2px) brightness(0.55);
}

.gallery-tease-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 18, 0.42);
}

.gallery-tease-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  text-align: center;
}

.gallery-tease-card__body h3 {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  margin: 0 0 0.4rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.gallery-tease-card__body p {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .gallery-tease-row {
    gap: 0.75rem;
    padding: 0 var(--page-pad) 1rem;
  }
  .gallery-tease-card {
    flex: 0 0 78%;
    aspect-ratio: 3 / 2;
  }
}

/* —— Gallery modal (horizontal reel) —— */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
}

.gallery-modal[hidden] { display: none; }

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 10, 0.96);
}

.gallery-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 1;
}

.gallery-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem 0;
  flex-shrink: 0;
}

.gallery-modal__title {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  margin: 0;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
}

.gallery-modal__close {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.gallery-modal__close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.gallery-modal__reel {
  flex: 1;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2rem 2rem;
  gap: 1.25rem;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-modal__reel:active { cursor: grabbing; }
.gallery-modal__reel::-webkit-scrollbar { display: none; }

.gallery-modal__item {
  flex: 0 0 auto;
  height: min(72vh, 640px);
  border-radius: 6px;
  overflow: hidden;
  scroll-snap-align: center;
  background: rgba(255,255,255,0.04);
  transition: filter 0.3s ease;
}

.gallery-modal__item:hover {
  filter: brightness(1.06);
}

.gallery-modal__item img,
.gallery-modal__item video {
  height: 100%;
  width: auto;
  max-width: 85vw;
  object-fit: cover;
  display: block;
}

.gallery-modal__hint {
  text-align: center;
  padding: 0.75rem 0 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .gallery-modal__head {
    padding: 1rem 1.25rem 0;
  }
  .gallery-modal__reel {
    padding: 1.5rem 1.25rem;
    gap: 0.75rem;
  }
  .gallery-modal__item {
    height: min(55vh, 420px);
  }
}

/* —— Mates —— */
.section-mates {
  background: linear-gradient(165deg, rgba(20, 61, 48, 0.06) 0%, var(--page) 45%);
  border-block: 1px solid var(--green-line);
}

.mates-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .mates-grid {
    grid-template-columns: 1fr;
  }
}

.mates-copy .lead {
  max-width: 38rem;
}

.gift-note {
  max-width: 38rem;
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0.25rem 0 1.5rem;
}

.gift-note strong {
  color: var(--green);
}

.gift-note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.mates-shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--green-line);
  box-shadow: 0 14px 44px rgba(20, 61, 48, 0.1);
}

.mates-shot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.mates-shot--carousel {
  position: relative;
}

.mates-shot__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mates-shot__track::-webkit-scrollbar {
  display: none;
}

.mates-shot__track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  scroll-snap-align: start;
}

.mates-shot__track img.is-hands {
  object-position: center 25%;
}

.mates-shot__track img.is-table {
  object-position: center 75%;
}

.mates-shot__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 244, 0.3);
  background: rgba(10, 20, 15, 0.4);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.mates-shot__arrow:hover {
  background: rgba(10, 20, 15, 0.65);
  border-color: rgba(250, 248, 244, 0.55);
}

.mates-shot__arrow--prev { left: 0.85rem; }
.mates-shot__arrow--next { right: 0.85rem; }

.mates-shot__dots {
  position: absolute;
  /* Buttons are 24px taller than the dot they draw; keep the dots where they were. */
  bottom: calc(0.9rem - 12px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
}

/* Each button fills its dot's slot (dot + former gap) and is tall enough to tap;
   the visible 9px dot is drawn by ::before, so the dots look and sit as before. */
.mates-shot__dot {
  position: relative;
  width: calc(9px + 0.55rem);
  height: 33px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.mates-shot__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s, transform 0.2s;
}

.mates-shot__dot.is-active::before {
  background: #fff;
  transform: scale(1.25);
}

.mates-shot__dot:focus-visible {
  outline: none;
}

.mates-shot__dot:focus-visible::before {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

/* —— Brand name —— */
.brand-name {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--green);
  margin-left: 1.1rem;
  white-space: nowrap;
  transition: color 0.4s ease;
}

.site-header:not(.is-scrolled) .brand-name {
  color: rgba(255, 255, 255, 0.95);
  margin-left: 0;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}


/* —— Fullscreen hero —— */
.fh-wrap {
  padding: 0;
}

.fh {
  position: relative;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
  background: #050d0a;
}

/* warm amber tint — analog, earthy, lived-in */
.fh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"),
    rgba(160, 100, 35, 0.07);
  background-size: 220px 220px, cover;
  mix-blend-mode: overlay;
  opacity: 0.55;
}

.fh__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.fh__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
  will-change: opacity;
}

.fh__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.fh__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
  pointer-events: none;
}

.fh__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 244, 0.3);
  background: rgba(10, 20, 15, 0.35);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
}

.fh__arrow:hover {
  background: rgba(10, 20, 15, 0.6);
  border-color: rgba(250, 248, 244, 0.55);
}

.fh__arrow--prev { left: 1.5rem; }
.fh__arrow--next { right: 1.5rem; }

.fh__dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 10;
}

.fh__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.fh__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.fh__dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}


/* text container — full-height overlay so no top-edge seam is ever visible */
.fh__overlay {
  position: absolute;
  inset: 0;
  padding: 0 3.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  z-index: 5;
  background:
    /* Many-stop vertical lift — short jumps between stops prevent banding */
    linear-gradient(
      to top,
      rgba(6, 22, 13, 0.96) 0%,
      rgba(6, 22, 13, 0.90) 7%,
      rgba(6, 22, 13, 0.80) 15%,
      rgba(6, 22, 13, 0.67) 25%,
      rgba(6, 22, 13, 0.51) 37%,
      rgba(6, 22, 13, 0.35) 50%,
      rgba(6, 22, 13, 0.20) 64%,
      rgba(6, 22, 13, 0.09) 78%,
      rgba(6, 22, 13, 0.03) 90%,
      transparent 100%
    ),
    /* Corner radial from lower-left — darkens the text zone with no rectangular edges */
    radial-gradient(
      ellipse 85% 60% at -10% 108%,
      rgba(6, 28, 16, 0.60) 0%,
      rgba(6, 28, 16, 0.28) 45%,
      transparent 70%
    );
}

.fh__hl {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: #fff;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.fh__tagline {
  font-family: "Outfit", "Outfit Fallback", sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2.5rem;
  letter-spacing: 0.02em;
}

.fh__cta-link {
  display: inline-block;
  font-family: "Outfit", "Outfit Fallback", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  padding: 0.6rem 1.45rem;
  border-radius: 2rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.fh__cta-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

/* The leading action is filled, so it reads first against any frame of the video. */
.fh__cta-link--solid {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--green);
  text-shadow: none;
}

.fh__cta-link--solid:hover {
  background: #fff;
  border-color: #fff;
  color: var(--green);
}

/* The two hero CTAs sit side by side, and wrap rather than crowd a narrow screen. */
.fh__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: inherit;
}

/* Desktop CTA — restrained next to the headline, but still legible over video */
@media (min-width: 769px) {
  .fh__cta-link {
    font-size: 0.85rem;
    padding: 0.5rem 1.3rem;
    border-radius: 1.5rem;
    letter-spacing: 0.04em;
  }
}

/* ── Mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
  /* Navbar */
  .header-inner {
    padding: 0.6rem 1.25rem 0.6rem 1.25rem;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .site-header:not(.is-scrolled) .brand-name {
    font-size: 1.4rem;
  }

  /* Hero overlay — mobile: slightly denser than desktop, same inset approach */
  .fh__overlay {
    padding: 0 1.5rem 5.5rem;
    background:
      linear-gradient(
        to top,
        rgba(6, 22, 13, 0.97) 0%,
        rgba(6, 22, 13, 0.92) 7%,
        rgba(6, 22, 13, 0.83) 15%,
        rgba(6, 22, 13, 0.71) 25%,
        rgba(6, 22, 13, 0.55) 37%,
        rgba(6, 22, 13, 0.37) 50%,
        rgba(6, 22, 13, 0.20) 64%,
        rgba(6, 22, 13, 0.08) 78%,
        rgba(6, 22, 13, 0.02) 90%,
        transparent 100%
      ),
      radial-gradient(
        ellipse 140% 55% at 50% 110%,
        rgba(6, 28, 16, 0.55) 0%,
        rgba(6, 28, 16, 0.22) 48%,
        transparent 72%
      );
  }

  .fh__hl {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
  }

  .fh__tagline {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  /* Sections */
  .section {
    padding: 4.5rem 1.25rem;
  }

  #events {
    padding-top: 3.5rem;
  }

  /* Stack hero CTAs vertically */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .section-inner {
    padding-left: 0;
    padding-right: 0;
  }

  /* About / hero section */
  .hero-layout {
    padding: 2rem 1.25rem 1.5rem;
  }

  /* Summary band */
  .summary-band {
    padding: 2rem 1.25rem;
  }

  /* Events spotlight */
  .event-spotlight {
    padding: 1.5rem;
  }

  /* IG rail — 1 col on small screens */
  .ig-rail {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  /* Mates */
  .section-mates .section-inner {
    padding: 0 1.25rem;
  }

  /* Contact */
  .contact-block {
    padding: 2rem 1.25rem;
  }

  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1.25rem;
  }

  /* Gallery dots wrap nicely */
  .gallery-dots {
    padding: 0.25rem 1.25rem 0.75rem;
  }

  /* Arrow buttons in gallery (legacy — removed) */
  .__gallery-arrow-legacy {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.3rem;
  }

  /* Hero arrows */
  .fh__arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
  }

  /* Dots sit above content */
  .fh__dots {
    bottom: 1.25rem;
  }
}

/* —— Summary band (below hero reel) —— */
.summary-band {
  background: var(--green);
  color: var(--page);
  padding: 2.75rem 1.25rem;
  text-align: center;
}

.summary-band__inner {
  max-width: 52rem;
  margin: 0 auto;
}

.summary-band__eyebrow {
  font-family: "Outfit", "Outfit Fallback", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.65);
  margin: 0 0 0.75rem;
}

.summary-band__text {
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: rgba(250, 248, 244, 0.95);
  margin: 0;
}

/* ── Story Timeline ──────────────────────────────── */
.story-timeline {
  position: relative;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--green-line);
}

.tl-moments {
  position: relative;
  padding: 0.5rem 0;
}

.tl-moments::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--green-line) 6%,
    var(--green-line) 94%,
    transparent 100%
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.tl-moment {
  display: grid;
  grid-template-columns: 1fr 4rem 1fr;
  align-items: center;
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.tl-moment.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.tl-spine {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tl-node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--page);
  border: 1.5px solid var(--green-soft);
  box-shadow: 0 0 0 3px var(--page), 0 0 0 4.5px var(--green-line);
  flex-shrink: 0;
}

.tl-photo {
  margin: 0;
  position: relative;
  display: block;
  line-height: 0;
  background: #fff;
  padding: 10px 10px 38px;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.10),
    0 6px 22px rgba(20, 28, 24, 0.18),
    inset 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.45s ease, box-shadow 0.3s ease;
}


.tl-photo:hover {
  box-shadow:
    0 2px 6px rgba(0,0,0,0.12),
    0 12px 36px rgba(20, 28, 24, 0.22),
    inset 0 0 0 1px rgba(0,0,0,0.04);
}

.tl-photo img,
.tl-photo video {
  width: 100%;
  height: auto;
  display: block;
}

.tl-moment--photo-left .tl-photo {
  margin-left: auto;
  padding-right: 0.5rem;
}

.tl-moment--photo-right .tl-photo {
  margin-right: auto;
  padding-left: 0.5rem;
}

.tl-moment--photo-right .tl-photos-stack {
  padding-left: 0.5rem;
  padding-right: 0;
}

.tl-photos-stack {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding-right: 0.5rem;
}

.tl-photos-stack .tl-photo {
  margin: 0;
  padding: 10px 10px 38px;
  flex: 0 0 60%;
  max-width: none;
}

.tl-photos-stack .tl-photo:first-child {
  position: relative;
  z-index: 2;
}

.tl-photos-stack .tl-photo:not(:first-child) {
  margin-left: -20%;
  margin-top: 1.8rem;
  position: relative;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tl-photos-stack .tl-photo:last-child {
  margin-top: 3.6rem;
  margin-left: -18%;
}

.tl-photos-stack .tl-photo--2:hover {
  transform: rotate(1.8deg) translate(26%, 12px);
  z-index: 3;
}

.tl-photos-stack .tl-photo--3b:hover {
  transform: rotate(2.5deg) translate(26%, 12px);
  z-index: 3;
}

.tl-photos-stack .tl-photo--3c:hover {
  transform: rotate(-1.6deg) translate(26%, 12px);
  z-index: 3;
}

.tl-photos-stack .tl-photo--4b:hover {
  transform: rotate(-1.8deg) translate(26%, 12px);
  z-index: 3;
}

.tl-photos-stack .tl-photo--4c:hover {
  transform: rotate(1.4deg) translate(26%, 12px);
  z-index: 3;
}

.tl-photo--1 {
  transform: rotate(-2.2deg);
  max-width: 88%;
}
.tl-photo--1:hover { transform: rotate(-2.2deg) translateY(-7px); }

.tl-photo--2 {
  transform: rotate(1.8deg);
  max-width: 84%;
}
.tl-photo--2:hover { transform: rotate(1.8deg) translateY(-7px); }

.tl-photo--3 {
  transform: rotate(-1.3deg);
  max-width: 90%;
}
.tl-photo--3:hover { transform: rotate(-1.3deg) translateY(-7px); }

.tl-photo--3b {
  transform: rotate(2.5deg);
}
.tl-photo--3b:hover { transform: rotate(2.5deg) translateY(-7px); }

.tl-photo--3c {
  transform: rotate(-1.6deg);
}
.tl-photo--3c:hover { transform: rotate(-1.6deg) translateY(-7px); }

.tl-photo--4b {
  transform: rotate(-1.8deg);
}
.tl-photo--4b:hover { transform: rotate(-1.8deg) translateY(-7px); }

.tl-photo--4c {
  transform: rotate(1.4deg);
}
.tl-photo--4c:hover { transform: rotate(1.4deg) translateY(-7px); }

.tl-photo--4 {
  transform: rotate(2.2deg);
  max-width: 86%;
}
.tl-photo--4:hover { transform: rotate(2.2deg) translateY(-7px); }

.tl-photo--5 {
  transform: rotate(-1.5deg);
  max-width: 58%;
  margin: 0 auto;
  padding-right: 0;
}
.tl-photo--5:hover { transform: rotate(-1.5deg) translateY(-6px); }

.tl-body {
  padding: 0 0.25rem;
}

.tl-moment--photo-left .tl-body {
  padding-left: 1.25rem;
}

.tl-moment--photo-right .tl-body {
  padding-right: 1.25rem;
}

.tl-period {
  display: block;
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-style: italic;
  font-size: 0.83rem;
  color: var(--green-soft);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  opacity: 0.88;
}

.tl-title {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--green);
  margin: 0 0 0.7rem;
  line-height: 1.25;
  font-family: "Fraunces", "Fraunces Fallback", Georgia, serif;
  font-weight: 600;
}

.tl-body > p {
  color: var(--muted);
  line-height: 1.74;
  font-size: 0.97rem;
  max-width: 30rem;
  margin: 0;
}

.tl-stamp {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.tl-stamp img {
  width: 80px;
  height: auto;
  opacity: 0.38;
  transform: rotate(-3.5deg);
  filter: sepia(0.4) contrast(0.88);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tl-stamp img:hover {
  opacity: 0.62;
  transform: rotate(-3.5deg) scale(1.05);
}

@media (max-width: 768px) {
  /* Make the story section itself full-bleed so the scroll rail spans the viewport.
     ID specificity beats .section { padding } regardless of source order. */
  #story {
    padding-left: 0;
    padding-right: 0;
  }

  #story .section-inner {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }

  .story-timeline {
    overflow: visible; /* must not clip the horizontal scroll child */
    padding-top: 1.5rem;
  }

  .about-eyebrow,
  .about-h2 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tl-moments {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 0;
    padding: 1rem 0 1.75rem;
    align-items: flex-start; /* allow cards to size by their own content */
  }

  .tl-moments::-webkit-scrollbar { display: none; }
  .tl-moments::before { display: none; }

  /* Each moment becomes a full-bleed immersive card */
  .tl-moment {
    flex: 0 0 88vw;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
    background: #fff;
    border: 1px solid var(--green-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(20, 61, 48, 0.1);
    scroll-snap-align: center;
    margin-left: 6vw; /* first card indent */
  }

  /* Remove per-card left margin except first — gap via padding trick */
  .tl-moment + .tl-moment {
    margin-left: 1rem;
  }

  /* Last card gets trailing breathing room */
  .tl-moment:last-child {
    margin-right: 6vw;
  }

  .tl-spine { display: none; }

  /* Photo stack: block container owns the height and clips overflow.
     80vw ≈ nearly-square — gives portrait subjects room to breathe
     without the 62vw landscape crop that was cutting off heads. */
  .tl-photos-stack {
    order: 0;
    display: block;
    width: 100%;
    height: 80vw;
    overflow: hidden;
    padding: 0;
    margin: 0;
    transform: none;
    background: transparent;
    box-shadow: none;
    flex-shrink: 0;
  }

  /* For photo-right cards the stack is last in DOM but must appear first */
  .tl-moment--photo-right .tl-photos-stack {
    order: 0;
  }

  /* Hide secondary stacked photos */
  .tl-photos-stack .tl-photo:not(:first-child) {
    display: none;
  }

  /* First photo fills the block container exactly.
     Higher specificity (0,2,0) overrides desktop per-photo max-width and margin rules. */
  .tl-photos-stack .tl-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: none;
    transition: none;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
  }

  .tl-photos-stack .tl-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 0;
  }

  .tl-photos-stack .tl-photo--1 img {
    object-position: center 40%;
  }

  /* Logo card — direct child of .tl-moment, not inside .tl-photos-stack.
     Use .tl-moment .tl-photo--5 (specificity 0,2,0) to beat desktop
     .tl-moment--photo-left .tl-photo { margin-left: auto } (also 0,2,0, but earlier). */
  .tl-moment .tl-photo--5 {
    order: 0;
    display: block;
    width: 100%;
    height: 52vw;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: none;
    transition: none;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    flex-shrink: 0;
  }

  .tl-moment .tl-photo--5 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    background: var(--cream);
    border-radius: 0;
  }

  /* Text block sits below the photo */
  .tl-moment--photo-left .tl-body,
  .tl-moment--photo-right .tl-body {
    order: 1;
    padding: 0.875rem 1.25rem 1.25rem;
  }

  .tl-body > p {
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .tl-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .tl-period {
    margin-bottom: 0.25rem;
  }
}

/* ── Timeline progress dots (mobile only) ───────── */
.tl-progress {
  display: none;
}

@media (max-width: 768px) {
  .tl-progress {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding: 0 0 0.5rem;
  }

  .tl-progress-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-line);
    border: none;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
  }

  .tl-progress-dot.is-active {
    background: var(--green-soft);
    transform: scale(1.4);
  }
}

/* ── Global mobile fixes ─────────────────────────── */
html, body {
  overflow-x: clip; /* clip instead of hidden — doesn't block child scroll containers */
}

/* ── Mobile (≤ 768px) additions ─────────────────── */
@media (max-width: 768px) {

  /* About block spacing — add horizontal padding since section.hero lacks .section class */
  .about-block {
    padding-top: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .ritual-about {
    margin: 1.5rem 0;
  }

  .mate-explainer {
    gap: 1.5rem;
    padding: 0 0 1.5rem;
    margin-bottom: 1rem;
  }

  .story-timeline {
    padding-top: 1.25rem;
  }

  /* Center contact buttons */
  .contact-actions {
    align-items: center;
  }

  .contact-actions .btn {
    width: 100%;
    max-width: 22rem;
    text-align: center;
    justify-content: center;
  }

  /* Gallery category head needs horizontal padding on mobile */
  .gallery-category__head {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Negative-margin alt sections can cause scroll — clip them */
  .gallery-category--alt {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  /* ig feed header stacks on small screens */
  .ig-feed__head {
    flex-direction: column;
    gap: 0.4rem;
  }

  /* Mates section — show image below copy */
  .mates-shot {
    max-width: 28rem;
    margin: 0 auto;
  }

  /* Event cards full-width CTA */
  .event-card .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Ensure h2 scales on small screens */
  h2 {
    font-size: clamp(1.35rem, 5vw, 2rem);
  }

  /* Events lede readable on mobile */
  .events-lede {
    font-size: 1rem;
  }

  /* Hero lede text size */
  .hero-lede {
    font-size: 0.97rem;
  }

  /* Minimum tap target height for all buttons */
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

/* Hero fullscreen arrows tuck in */
  .fh__arrow--prev { left: 0.75rem; }
  .fh__arrow--next { right: 0.75rem; }

  /* Why-band in one-pager */
  .why-band {
    grid-template-columns: 1fr;
  }
}

/* ── Very small screens (≤ 480px) ───────────────── */
@media (max-width: 480px) {

  .fh__hl {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .fh__overlay {
    padding: 0 1.25rem 4.5rem;
  }

  .gallery-carousel__stage {
    height: clamp(260px, 52vw, 380px);
  }

  /* Stack event spotlight fully */
  .event-spotlight {
    padding: 1.25rem 1rem;
  }

  /* Tighter section padding */
  .section {
    padding: 2.25rem 1rem;
  }

  /* Waitlist card padding */
  .card {
    padding: 1.5rem 1rem;
  }
}
