@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --bg-main: #ffffff;
  --bg-alt: #f1f0ec;
  --text: #141414;
  --accent: #f4a261;
  --container: 1208px;
  --shadow-text: 0 2px 2px rgba(0, 0, 0, 0.05), 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-panel: 0 0 15px rgba(0, 0, 0, 0.05);
  --radius-lg: 24px;
  --radius-pill: 999px;
  --size-h1: 6.5rem;
  --size-h2: 3rem;
  --size-h3: 2rem;
  --size-h4: 1.4rem;
  --size-h5: 1.2rem;
  --size-h6: 1rem;
}

@font-face {
  font-family: "Minerva Modern";
  src: url("../fonts/MinervaModern-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  color: var(--text);
  background: var(--bg-main);
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Minerva Modern", serif;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  font-size: var(--size-h1);
  line-height: 1.1;
  color: #fff;
  text-align: center;
  text-shadow: var(--shadow-text);
}

h2 {
  font-size: var(--size-h2);
  line-height: 1.2;
  margin-bottom: 24px;
}

h3 {
  font-size: var(--size-h3);
  line-height: 1.3;
  margin-bottom: 12px;
}

h4 {
  font-size: var(--size-h4);
  line-height: 1.3;
}

h5 {
  font-size: var(--size-h5);
  line-height: 1.3;
}

h6 {
  font-size: var(--size-h6);
  line-height: 1.3;
}

@media (max-width: 1200px) {
  :root {
    --size-h1: 5.5rem;
    --size-h2: 2.6rem;
    --size-h3: 1.85rem;
    --size-h4: 1.3rem;
    --size-h5: 1.15rem;
    --size-h6: 1rem;
  }
}

@media (max-width: 900px) {
  :root {
    --size-h1: 4.5rem;
    --size-h2: 2.3rem;
    --size-h3: 1.65rem;
    --size-h4: 1.2rem;
    --size-h5: 1.05rem;
    --size-h6: 0.95rem;
  }
}

@media (max-width: 600px) {
  :root {
    --size-h1: 2.8rem;
    --size-h2: 1.8rem;
    --size-h3: 1.3rem;
    --size-h4: 1.1rem;
    --size-h5: 1rem;
    --size-h6: 0.9rem;
  }
}

p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.lead {
  max-width: 980px;
  margin-bottom: 40px;
}

.lead.small {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: var(--radius-pill);
  padding: 0 32px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(1px);
}

.pill-btn.accent {
  background: var(--accent);
  color: var(--text);
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 16px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  width: 95px;
  height: 56px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  position: relative;
}

.mobile-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  width: 32px;
  height: 32px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-toggle__icon,
.mobile-nav-toggle__icon::before,
.mobile-nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-nav-toggle__icon {
  position: relative;
}

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

.mobile-nav-toggle__icon::before {
  transform: translateY(-6px);
}

.mobile-nav-toggle__icon::after {
  transform: translateY(6px);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(408px, calc(100% - 32px));
  max-width: 100%;
  height: 100dvh;
  background: #fff;
  box-shadow: var(--shadow-panel);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.mobile-nav.is-open .mobile-nav__overlay {
  opacity: 1;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__header {
  height: 64px;
  padding: 16px 24px;
  border-bottom: 0.5px solid #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav__header .logo {
  width: 54px;
  height: 32px;
}

.mobile-nav__close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav__close-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.mobile-nav__close-icon::before,
.mobile-nav__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav__close-icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.mobile-nav__close-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}

.mobile-nav__menu {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.mobile-nav__link,
.mobile-nav__summary,
.mobile-nav__sublink {
  min-height: 48px;
  padding: 12px 16px;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.3;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid #d6d6d6;
}

.mobile-nav__summary {
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.mobile-nav__summary::-webkit-details-marker {
  display: none;
}

.mobile-nav__summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--text);
  border-bottom: 1.5px solid var(--text);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
  margin-left: 8px;
}

.mobile-nav__group[open] > .mobile-nav__summary {
  background: var(--bg-alt);
}

.mobile-nav__group[open] > .mobile-nav__summary::after {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.mobile-nav__group-items {
  display: flex;
  flex-direction: column;
}

.mobile-nav__group {
  margin: 0;
}

.mobile-nav__sublink {
  padding-left: 32px;
}

.mobile-nav__link[aria-current="page"],
.mobile-nav__summary.is-current,
.mobile-nav__sublink[aria-current="page"] {
  color: var(--accent);
}

body.is-mobile-nav-open {
  overflow: hidden;
}

.main-nav > a,
.main-nav__menu-toggle {
  color: #fff;
  text-transform: uppercase;
  text-shadow: var(--shadow-text);
  font-size: 1.1rem;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.01em;
}

.main-nav > a[aria-current="page"] {
  color: var(--accent);
}

.main-nav__menu-toggle.is-current {
  color: var(--accent);
}

.main-nav__menu-toggle.is-current::after {
  border-right-color: var(--accent);
  border-bottom-color: var(--accent);
}

.main-nav__item {
  position: relative;
}

.main-nav__menu-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.main-nav__menu-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav__menu-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.main-nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  border-radius: 6px;
  box-shadow: var(--shadow-panel);
  background: #fff;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav__menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav__menu a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  line-height: 1.4;
  color: #141414;
  text-shadow: none;
}

.main-nav__menu a[aria-current="page"] {
  color: var(--accent);
  background: #f7f4ee;
}

.main-nav__menu a + a {
  border-top: 0.5px solid #d6d6d6;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-top: 80px;
  padding-bottom: 132px;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  text-transform: uppercase;
  color: #fff;
  text-shadow: var(--shadow-text);
  font-size: 1.1rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll__line {
  width: 2px;
  height: 79px;
  background: #fff;
}

.page-hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding-top: 96px;
  padding-bottom: 132px;
}

.page-hero-content--about {
  padding-top: 88px;
}

.about-hero h1 {
  max-width: 915px;
}

.hero-kicker {
  margin: 0;
  text-transform: uppercase;
  color: #fff;
  text-shadow: var(--shadow-text);
  line-height: 1.4;
  font-size: clamp(1rem, 1.6vw, 1.875rem);
}

.contact-hero h1 {
  max-width: 1000px;
}

.hero-kicker--large {
  font-size: clamp(1.125rem, 1.8vw, 1.875rem);
}

.about-section {
  background: #fff;
  padding: 80px 0;
}

.about-section--framed {
  box-shadow: var(--shadow-panel);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-content h2 {
  margin-bottom: 0;
}

.about-prose {
  font-size: 18px;
  line-height: 1.5;
}

.about-prose p {
  margin-bottom: 10px;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-prose ul {
  margin: 0 0 10px;
  padding-left: 28px;
}

.about-prose li + li {
  margin-top: 8px;
}

.about-quote {
  position: relative;
  min-height: 352px;
  display: flex;
  align-items: center;
}

.about-quote img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-quote blockquote {
  position: relative;
  margin: 0 auto;
  max-width: 1085px;
  text-align: center;
  color: #fff;
  font-family: "Minerva Modern", serif;
  font-size: clamp(1.5rem, 2.7vw, 2.5rem);
  line-height: 1.2;
  text-shadow: var(--shadow-text);
}

.about-quote blockquote::before,
.about-quote blockquote::after {
  position: absolute;
  top: -0.35em;
  font-family: "Minerva Modern", serif;
  font-size: clamp(2.2rem, 6vw, 6rem);
  line-height: 1;
  opacity: 0.95;
}

.about-quote blockquote::before {
  content: "“";
  left: -0.12em;
}

.about-quote blockquote::after {
  content: "”";
  right: -0.12em;
}

.about-photo {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
}

.teachings-main {
  padding-bottom: 40px;
}

.teachings-main__grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  align-items: start;
}

.videos-page .teachings-main__grid {
  grid-template-columns: clamp(220px, 24vw, 300px) minmax(0, 1fr);
}

.teachings-sidebar {
  border-right: 1px solid #d6d6d6;
  padding: 24px 0;
}

.videos-page .teachings-sidebar {
  padding-right: 18px;
}

.teachings-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.teachings-tree .teachings-tree {
  margin-left: 12px;
  padding-left: 10px;
  border-left: 1px solid #e7e7e7;
}

.teachings-tree__item {
  margin: 0;
}

.teachings-tree__group {
  margin: 0;
}

.teachings-tree__section,
.teachings-tree__link {
  display: block;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  min-height: 36px;
  padding: 8px 14px 8px 8px;
  text-decoration: none;
}

.teachings-tree__section {
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.teachings-tree__group > .teachings-tree__section {
  display: flex;
  align-items: center;
}

.teachings-tree__group > .teachings-tree__section::-webkit-details-marker {
  display: none;
}

.teachings-tree__group > .teachings-tree__section::marker {
  content: "";
}

.teachings-tree__group > .teachings-tree__section::before {
  content: "›";
  width: 14px;
  margin-right: 8px;
  line-height: 1;
  transition: transform 180ms ease;
}

.teachings-tree__group[open] > .teachings-tree__section::before {
  transform: rotate(90deg);
}

.teachings-tree__link:hover {
  background: var(--bg-alt);
}

.teachings-tree__link.is-active {
  background: var(--bg-alt);
  font-weight: 600;
}

.teachings-sidebar__item {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  min-height: 43px;
  padding: 8px 14px 8px 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: default;
}

.teachings-sidebar__item--active {
  background: var(--bg-alt);
}

.playlist-nav__button {
  cursor: pointer;
}

.playlist-video__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.playlist-panel + .playlist-panel {
  margin-top: 48px;
}

.playlist-panel__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.video-embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.video-embed-card {
  border: 1px solid #d6d6d6;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  gap: 14px;
}

.video-embed-card .feed-entry__title {
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0;
}

.video-embed-card__frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
}

.video-embed-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.teachings-sidebar__arrow {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.teachings-article {
  padding: 48px 0 0 40px;
  max-width: 1000px;
}

.videos-page .teachings-article {
  padding-left: 28px;
}

.teachings-article h3 {
  margin-bottom: 24px;
}

.teachings-prose + h3 {
  margin-top: 32px;
}

.teachings-prose {
  font-size: 18px;
  line-height: 1.5;
}

.teachings-prose p {
  margin-bottom: 10px;
}

.teachings-prose p:last-child {
  margin-bottom: 0;
}

.article-prose {
  max-width: none;
  margin-top: 16px;
}

.teachings-article-nav {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.teachings-article-nav__item {
  display: flex;
}

.teachings-article-nav__item--next {
  margin-left: auto;
}

.teachings-outline-btn {
  height: 56px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}

.teachings-outline-btn__arrow {
  font-size: 16px;
  line-height: 1;
}

.teachings-comments {
  border-top: 1px solid #d6d6d6;
  padding: 40px 0 80px;
}

.teachings-comments__inner {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.teachings-comments h3 {
  margin: 0 0 24px;
}

.teachings-comment-form {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 32px;
}

.teachings-comment-form input {
  flex: 1 1 auto;
  min-width: 240px;
  height: 56px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--bg-alt);
  padding: 0 24px;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
}

.teachings-comment-form .pill-btn {
  min-width: 168px;
}

.teachings-comment {
  border-top: 1px solid #d6d6d6;
  padding-top: 32px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
}

.teachings-comment img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.teachings-comment h4 {
  margin: 0;
  text-transform: none;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

.teachings-comment__date {
  margin: 8px 0 16px;
  font-size: 18px;
}

.meditation-video {
  background: #fff;
  box-shadow: var(--shadow-panel);
  padding: 80px 0 40px;
}

.meditation-video__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.meditation-video__lead h2 {
  margin-bottom: 32px;
}

.meditation-video__lead p {
  margin-bottom: 8px;
}

.meditation-video__lead p:last-child {
  margin-bottom: 0;
}

.meditation-feature {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.meditation-feature img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 1209 / 680;
  object-fit: cover;
}

.meditation-feature h3 {
  margin: 0;
}

.meditation-cards {
  padding: 40px 0 80px;
}

.meditation-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.meditation-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.meditation-card img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 584 / 379;
  object-fit: cover;
}

.meditation-card h3 {
  margin: 0;
  letter-spacing: 0.01em;
}

.meditation-outline-btn {
  width: 171px;
  height: 56px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.section-spaced {
  padding: 80px 0;
}

.page-hero + .section-spaced {
  padding-top: 48px;
}

.section-stack-lg {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feed-section {
  background: var(--bg-alt);
}

.feed-intro {
  margin: 0;
  max-width: 1208px;
  font-size: 18px;
  line-height: 1.5;
}

.feed-entry {
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.blog-entry img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 584 / 379;
  object-fit: cover;
}

.blog-entry__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.feed-entry__title {
  margin: 0;
  font-size: var(--size-h2);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.feed-entry__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.feed-readmore {
  width: 168px;
  height: 56px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--accent);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.feed-readmore--wide {
  width: 171px;
}

.feed-divider {
  width: 100%;
  height: 1px;
  background: rgba(94, 94, 94, 0.35);
}

.feed-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 16px 0;
}

.feed-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.feed-pagination__link,
.feed-pagination__page {
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(43, 43, 43, 0.3);
  background: #fff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 600;
}

.feed-pagination__gap {
  min-width: 24px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feed-pagination__link.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.feed-pagination__page.is-current {
  border-color: var(--accent);
  background: var(--accent);
}

.events-thumb-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feed-entry__media {
  display: block;
  width: 100%;
  height: 356px;
  object-fit: cover;
}

.events-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: var(--shadow-panel);
  border-radius: 16px;
  padding: 10px 16px;
  font-family: "Minerva Modern", serif;
  font-size: 16px;
  line-height: 1.3;
  text-transform: uppercase;
}

.feed-entry__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  min-height: 356px;
}

.feed-entry__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-entry__meta {
  margin: 0;
  font-family: "Minerva Modern", serif;
  font-size: 24px;
  line-height: 1.5;
}

.site-header--solid {
  position: static;
  background: #fff;
  border-bottom: 0.5px solid #d6d6d6;
}

.site-header--solid .main-nav > a,
.site-header--solid .main-nav__menu-toggle {
  color: var(--text);
  text-shadow: none;
}

.site-header--solid .mobile-nav-toggle {
  color: var(--text);
}

.site-header--solid .main-nav__menu-toggle::after {
  border-right-color: var(--text);
  border-bottom-color: var(--text);
}

.detail-main {
  padding: 48px 0 80px;
}

.event-article-main {
  background: #fff;
  box-shadow: var(--shadow-panel);
}

.detail-article {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.detail-article h2 {
  color: var(--text);
  text-shadow: none;
  text-align: left;
  margin: 0;
}

.detail-article-prose {
  max-width: 1208px;
}

.detail-article-prose p {
  margin-bottom: 12px;
}

.detail-article-prose p:last-child {
  margin-bottom: 0;
}

.event-article-quote {
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  border-left: 6px solid var(--accent);
  font-family: "Minerva Modern", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: none;
}

.event-article-related {
  border-top: 1px solid rgba(94, 94, 94, 0.35);
  padding: 40px 0;
}

.detail-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.detail-related-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-related-card img {
  display: block;
  width: 100%;
  height: 379px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.detail-related-card h3 {
  margin: 0;
  letter-spacing: 0.01em;
}

.detail-related-card__cta {
  width: 171px;
}

.event-article-comments {
  border-top: 1px solid rgba(94, 94, 94, 0.35);
}

.event-article-comments .teachings-comments__inner {
  width: min(var(--container), 100%);
}

.retreat-article-main {
  background: var(--bg-alt);
}

.retreat-article-related {
  background: var(--bg-alt);
  border-top: 1px solid rgba(94, 94, 94, 0.35);
  padding: 40px 0 80px;
}

.retreats-entry__media {
  border-radius: var(--radius-lg);
}

.retreats-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.retreats-gallery__item {
  margin: 0;
}

.retreats-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.events-month-heading {
  margin: 8px 0 0;
}

.events-entry--calendar .events-entry__copy {
  position: relative;
  padding-left: 72px;
}

.events-calendar-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  border-radius: 10px;
  border: 1px solid #d6d6d6;
  text-align: center;
  overflow: hidden;
  background: #fff;
}

.events-calendar-badge span {
  display: block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 6px 4px;
}

.events-calendar-badge strong {
  display: block;
  font-family: "Minerva Modern", serif;
  font-size: 22px;
  line-height: 1;
  padding: 8px 4px;
}

.events-entry__facts,
.event-detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.events-entry__facts span,
.event-detail-facts span {
  border-radius: 999px;
  border: 1px solid #d6d6d6;
  font-size: 12px;
  padding: 5px 10px;
}

.event-detail-facts {
  margin-bottom: 16px;
}

.community-content {
  background: #fff;
  box-shadow: var(--shadow-panel);
}

.community-content h2 {
  margin: 0;
}

.community-copy p {
  margin-bottom: 8px;
}

.community-copy p:last-child {
  margin-bottom: 0;
}

.community-image {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 1208 / 877;
  object-fit: cover;
}

.one-on-one-content {
  background: #fff;
  box-shadow: var(--shadow-panel);
}

.one-on-one-content__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.one-on-one-content h2 {
  margin: 0;
}

.one-on-one-lead {
  margin: 0;
  max-width: 1120px;
  font-size: 18px;
  line-height: 1.5;
}

.one-on-one-offer {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}

.one-on-one-offer img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.one-on-one-offer__body {
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.one-on-one-offer__body h3 {
  margin: 0;
}

.one-on-one-offer__body p {
  margin: 0;
}

.one-on-one-list {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
  line-height: 1.5;
}

.one-on-one-cta {
  width: 200px;
  height: 56px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--accent);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.contact-content {
  background: #fff;
  box-shadow: var(--shadow-panel);
}

.contact-content__inner {
  align-items: center;
}

.contact-copy {
  width: 100%;
  text-align: center;
}

.contact-copy h2 {
  margin: 0 0 32px;
}

.contact-copy p {
  margin: 0;
}

.contact-form {
  width: min(792px, 100%);
  border-radius: 25px;
  background: var(--bg-alt);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__field span {
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 0;
  font-size: 18px;
  line-height: 1.5;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: #fff;
  padding: 14px 24px;
}

.contact-form__field input {
  height: 56px;
  border-radius: var(--radius-pill);
}

.contact-form__field textarea {
  min-height: 142px;
  border-radius: 24px;
  resize: vertical;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--text);
  opacity: 1;
}

.contact-form__field input:focus-visible,
.contact-form__field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-form__submit {
  width: 168px;
  height: 56px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--accent);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
}

.not-found-hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
}

.not-found-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.not-found-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-top: 96px;
  color: #fff;
}

.not-found-kicker {
  margin: 0;
  text-transform: uppercase;
  text-shadow: var(--shadow-text);
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  line-height: 1.4;
}

.not-found-code {
  margin: 0;
  font-family: "Minerva Modern", serif;
  font-weight: 500;
  font-size: clamp(4rem, 12vw, 9.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: var(--shadow-text);
}

.not-found-text {
  margin: 0;
  max-width: 720px;
  text-shadow: var(--shadow-text);
}

.not-found-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.not-found-actions .pill-btn {
  min-width: 180px;
}

.not-found-secondary {
  min-width: 220px;
  height: 56px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  text-shadow: var(--shadow-text);
}

.intro {
  background: #fff;
}

@media (min-width: 1101px) {
  .intro h2 {
    white-space: nowrap;
  }
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.intro-grid p {
  margin-bottom: 18px;
}

.intro-image {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  justify-self: end;
}

.quote-banner {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
}

.quote-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-banner blockquote {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-family: "Minerva Modern", serif;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  line-height: 1.2;
  text-shadow: var(--shadow-text);
  margin: 0 auto;
  max-width: 1085px;
}

.connect {
  text-align: center;
  background: #e9e9e9;
}

.connect h2 {
  letter-spacing: 0;
  margin-bottom: 32px;
}

.connect .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 1177px;
  margin-bottom: 48px;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 272px));
  justify-content: center;
  gap: 40px;
}

.media-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 272px;
  height: 272px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.media-card span {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: var(--shadow-text);
  font-family: "Minerva Modern", serif;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.03125em;
  text-transform: uppercase;
}

.latest {
  background: var(--bg-alt);
}

.content-row {
  display: grid;
  grid-template-columns: minmax(220px, 480px) 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(94, 94, 94, 0.35);
}

.content-row.no-border {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.thumb-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.thumb {
  display: block;
  width: 100%;
  height: 356px;
  object-fit: cover;
}

.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 14px;
  background: #fff;
  font-family: "Minerva Modern", serif;
  text-transform: uppercase;
}

.meta {
  font-family: "Minerva Modern", serif;
  font-size: 22px;
  margin-bottom: 10px;
}

.content-row p {
  margin-bottom: 24px;
}

.testimonials {
  text-align: center;
}

.testimonials-carousel {
  margin-top: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.testimonials-carousel__control {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-family: "Minerva Modern", serif;
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.testimonials-carousel__control:hover {
  opacity: 0.75;
}

.testimonials-carousel__control:disabled {
  opacity: 0.25;
  cursor: default;
}

.testimonials-carousel__viewport {
  width: 100%;
}

.testimonials-carousel__slides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 0 24px;
}

.testimonial-card[hidden] {
  display: none;
}

.testimonials-carousel.is-enhanced .testimonials-carousel__slides {
  gap: 0;
}

.testimonials-carousel.is-enhanced .testimonial-card.is-visible + .testimonial-card.is-visible {
  border-left: 1px solid rgba(94, 94, 94, 0.3);
}

.testimonial-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 16px;
}

.testimonial-card__quote {
  margin: 0 auto;
  max-width: 40ch;
}

.testimonial-card__author {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 24px;
  font-family: "Minerva Modern", serif;
  text-transform: none;
}

.site-footer {
  background: var(--bg-alt);
  padding: 80px 0;
  text-align: center;
}

.site-footer h2 {
  margin-bottom: 12px;
}

.newsletter {
  margin: 36px auto 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.newsletter input {
  width: min(420px, 100%);
  height: 56px;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 0 24px;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.socials a {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.socials img {
  width: 21px;
  height: 21px;
}

.copyright {
  border-top: 1px solid rgba(94, 94, 94, 0.35);
  padding-top: 24px;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .section,
  .site-footer {
    padding: 64px 0;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav > a {
    font-size: 0.9rem;
    padding: 8px;
  }

  .main-nav__menu-toggle {
    font-size: 0.9rem;
    padding: 8px;
  }

  .main-nav__menu {
    width: 190px;
  }

  .main-nav__menu a {
    font-size: 0.9rem;
  }

  .connect-grid {
    grid-template-columns: repeat(2, minmax(0, 272px));
    gap: 24px;
  }

  .content-row {
    grid-template-columns: 1fr;
  }

  .thumb {
    height: min(56vw, 356px);
  }

  .about-section,
  .about-quote {
    min-height: 0;
  }

  .page-hero-content--about {
    padding-top: 128px;
  }

  .about-section {
    padding: 64px 0;
  }

  .about-content {
    gap: 32px;
  }

  .about-prose ul {
    padding-left: 24px;
  }

  .teachings-main__grid {
    grid-template-columns: 1fr;
  }

  .teachings-sidebar {
    border-right: 0;
    border-bottom: 1px solid #d6d6d6;
    padding: 16px 0;
  }

  .teachings-sidebar__item {
    min-height: 0;
  }

  .teachings-article {
    max-width: none;
    padding: 32px 0 0;
  }

  .playlist-panel__header {
    align-items: flex-start;
  }

  .video-embed-grid {
    grid-template-columns: 1fr;
  }

  .teachings-comment-form {
    gap: 16px;
  }

  .meditation-video {
    padding: 64px 0 40px;
  }

  .meditation-video__inner {
    gap: 36px;
  }

  .meditation-feature {
    gap: 32px;
  }

  .meditation-cards {
    padding: 32px 0 64px;
  }

  .meditation-cards__grid {
    gap: 24px;
  }

  .section-spaced {
    padding: 64px 0;
  }

  .page-hero + .section-spaced {
    padding-top: 40px;
  }

  .section-stack-lg {
    gap: 36px;
  }

  .feed-entry {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-entry__body {
    gap: 20px;
  }

  .feed-entry__media {
    height: min(56vw, 356px);
  }

  .feed-entry__body {
    gap: 20px;
    min-height: 0;
  }

  .events-entry--calendar .events-entry__copy {
    padding-left: 0;
  }

  .events-calendar-badge {
    position: static;
    margin-bottom: 12px;
  }

  .feed-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .feed-pagination__link {
    width: 100%;
  }

  .detail-main {
    padding: 40px 0 64px;
  }

  .detail-article {
    gap: 24px;
  }

  .detail-article-prose p {
    margin-bottom: 10px;
  }

  .event-article-quote {
    margin: 24px 0;
  }

  .event-article-related {
    padding: 32px 0;
  }

  .detail-related__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-related-card img {
    height: min(56vw, 379px);
  }

  .retreat-article-related {
    padding: 32px 0 64px;
  }

  .retreats-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .one-on-one-content__inner {
    gap: 24px;
  }

  .one-on-one-offer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .one-on-one-offer img {
    min-height: min(76vw, 420px);
  }

  .one-on-one-offer__body {
    padding: 32px;
    gap: 16px;
  }

  .contact-form {
    padding: 40px 28px;
    gap: 24px;
  }

  .not-found-content {
    gap: 16px;
  }

  .not-found-actions {
    flex-wrap: wrap;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-image {
    justify-self: center;
  }
}

@media (max-width: 740px) {
  :root {
    --size-h1: 3.2rem;
    --size-h2: 2rem;
    --size-h3: 1.45rem;
    --size-h4: 1.1rem;
    --size-h5: 1rem;
    --size-h6: 0.9rem;
  }

  .site-header {
    padding-top: 8px;
  }

  .nav-wrap {
    align-items: center;
  }

  .nav-wrap > a .logo {
    width: 54px;
    height: 32px;
  }

  .main-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
  }

  .mobile-nav-toggle__icon,
  .mobile-nav-toggle__icon::before,
  .mobile-nav-toggle__icon::after {
    width: 24px;
    height: 2.5px;
  }

  .mobile-nav-toggle__icon::before {
    transform: translateY(-8px);
  }

  .mobile-nav-toggle__icon::after {
    transform: translateY(8px);
  }

  .mobile-nav {
    display: block;
  }

  .hero-content {
    padding-top: 140px;
  }

  .hero-content,
  .page-hero-content {
    padding-bottom: 115px;
  }

  .hero-scroll {
    bottom: 0;
  }

  .hero-scroll__line {
    height: 62px;
  }

  .page-hero-content {
    padding-top: 156px;
  }

  .not-found-content {
    padding-top: 156px;
  }

  .meditation-cards__grid {
    grid-template-columns: 1fr;
  }

  .mobile-full {
    width: 100%;
  }

  .teachings-article-nav {
    flex-direction: column;
  }

  .teachings-article-nav__item--next {
    margin-left: 0;
  }

  .detail-main {
    padding: 32px 0 48px;
  }

  .page-hero + .section-spaced {
    padding-top: 32px;
  }

  .event-article-quote {
    padding-left: 16px;
    border-left-width: 4px;
  }

  .one-on-one-offer__body {
    padding: 24px;
  }

  .contact-form {
    padding: 32px 18px;
  }

  .contact-form__submit {
    width: 100%;
  }

  .not-found-actions {
    width: 100%;
    flex-direction: column;
  }

  .not-found-actions .pill-btn,
  .not-found-secondary {
    width: 100%;
  }

  .teachings-comment-form {
    flex-direction: column;
    align-items: stretch;
  }

  .teachings-comment-form .pill-btn {
    width: 100%;
  }

  .teachings-comment {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-quote blockquote::before,
  .about-quote blockquote::after {
    display: none;
  }

  .connect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .connect-grid .media-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .connect-grid .media-card span {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
    padding: 0 6px;
    text-align: center;
  }

  .testimonials-carousel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonials-carousel__control {
    justify-self: center;
  }

  .testimonials-carousel__slides {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 0;
  }

  .testimonials-carousel.is-enhanced .testimonial-card.is-visible + .testimonial-card.is-visible {
    border-left: 0;
  }

  .retreats-gallery {
    grid-template-columns: 1fr;
  }

  .newsletter {
    flex-direction: column;
    align-items: stretch;
  }

  .pill-btn,
  .newsletter .pill-btn {
    width: 100%;
  }
}
