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

:root {
  --constellation: #E7D7B8;
  --anama-font: "Cormorant Garamond", "Playfair Display", serif;
}

.brand-type {
  font-family: var(--anama-font);
  font-weight: 600;
  letter-spacing: .08em;
}

.brand-logo img {
  height: 108px;
  max-width: 182px;
  filter: contrast(1.18) saturate(1.1) drop-shadow(0 3px 7px rgba(41,78,75,.2));
}

.topbar,
.nav {
  height: 118px !important;
}

.topbar .brand-logo,
.nav .brand-logo {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.topbar .brand-logo img,
footer .brand-logo img {
  filter: contrast(1.2) saturate(1.12) drop-shadow(0 3px 8px rgba(41,78,75,.24));
}

.brand-logo-footer img {
  height: 178px;
  max-width: 222px;
  filter: contrast(1.2) saturate(1.12) drop-shadow(0 3px 9px rgba(252,251,248,.3)) !important;
}

.topbar nav,
.nav nav {
  gap: clamp(.8rem,1.5vw,1.7rem) !important;
  align-items: center;
}

/* Homepage typography adjustments requested for the primary navigation and key signposts. */
.topbar nav {
  font-size: 1.08rem;
}

.topbar > .button-small {
  font-size: .984rem;
}

.hero-meta {
  font-size: .864rem;
}

.manifesto > p {
  font-size: 1.02rem;
}

#paths .section-heading > .eyebrow,
.product-card > .eyebrow {
  font-size: .9rem;
}

.events-nav {
  padding: 9px 15px;
  border: 1px solid currentColor;
  font-weight: 600;
  white-space: nowrap;
}

.mobile-events-nav {
  display: none;
}

.upcoming-activities {
  padding: 100px 8vw;
  background: #FCFBF8;
  color: #294E4B;
}

.upcoming-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}

.upcoming-heading p {
  margin: 0 0 8px;
  color: #B99A6A;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.upcoming-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem,4vw,4.5rem);
  font-weight: 300;
  line-height: 1.08;
}

.upcoming-heading>a {
  color: #294E4B;
  border-bottom: 1px solid #294E4B;
  padding-bottom: 4px;
  font-weight: 600;
}

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

.activity-card {
  --gate: #468C87;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #F5F1E8;
  border-top: 6px solid var(--gate);
  transition: transform .25s ease, box-shadow .25s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(41,78,75,.12);
}

.activity-card.constellation {
  --gate: #E7D7B8;
  background: #E7D7B8;
  border-top-color: #B99A6A;
}

.activity-card.constellation .activity-gate {
  color: #8F7850;
}
.activity-card.breath { --gate: #8FBCCC; }
.activity-card.meet { --gate: #468C87; }
.activity-card.retreat { --gate: #C7D8D3; }

.activity-gate {
  color: var(--gate);
  font-family: var(--anama-font);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.activity-card h3 {
  margin: 24px 0 8px;
  font-family: "Heebo", sans-serif;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: .03em;
}

.activity-english {
  display: block;
  margin: -2px 0 16px;
  color: #294E4B;
  font-family: var(--anama-font);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.2;
}

.activity-card p {
  margin: 0;
  color: #756F67;
  font-size: .9rem;
}

.activity-date {
  margin-top: auto;
  padding-top: 28px;
  color: #294E4B;
  font-weight: 700;
}

.activity-dates {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 4px 14px;
}

.activity-dates time,
.activity-location,
.activity-location-note {
  display: block;
}

.activity-location {
  margin-top: 14px;
}

.activity-location-note {
  margin-top: 4px;
  color: #756F67;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.45;
}

.activity-card>a {
  margin-top: 14px;
  color: #294E4B;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.calendar-page {
  min-height: 100vh;
  padding-top: 118px;
  background: #F5F1E8;
}

.calendar-hero {
  padding: 90px 8vw 70px;
  background: #294E4B;
  color: #FCFBF8;
}

.calendar-hero p {
  max-width: 680px;
  color: #C7D8D3;
}

.calendar-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3.5rem,7vw,7rem);
  font-weight: 300;
  line-height: 1;
}

.calendar-board {
  padding: 80px 8vw 110px;
}

.calendar-board .activity-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.calendar-note {
  margin: 0 0 34px;
  padding: 18px 22px;
  border-right: 4px solid #B99A6A;
  background: #FCFBF8;
  color: #756F67;
}

.month-calendar {
  overflow: hidden;
  border: 1px solid rgba(41,78,75,.2);
  background: #FCFBF8;
  box-shadow: 0 18px 55px rgba(41,78,75,.09);
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #4F746F;
  color: #fff;
}

.calendar-toolbar h2 {
  margin: 0;
  font-size: clamp(1.55rem,3vw,2.25rem);
  font-weight: 400;
  text-align: center;
}

.calendar-toolbar button {
  width: fit-content;
  min-height: 44px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.65);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.calendar-toolbar button:first-child { justify-self: start; }
.calendar-toolbar button:last-child { justify-self: end; }
.calendar-toolbar button:hover,
.calendar-toolbar button:focus-visible { background: #fff; color: #294E4B; }

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
}

.calendar-weekdays {
  border-bottom: 1px solid rgba(41,78,75,.18);
  background: #EDE7DB;
}

.calendar-weekdays span {
  padding: 11px 6px;
  color: #294E4B;
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
}

.calendar-day {
  min-height: 138px;
  padding: 10px;
  border-left: 1px solid rgba(41,78,75,.14);
  border-bottom: 1px solid rgba(41,78,75,.14);
  background: #FCFBF8;
}

.calendar-day:nth-child(7n) { border-left: 0; }
.calendar-day-empty { background: #F5F1E8; }
.calendar-day > time {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin: 0 0 8px auto;
  color: #294E4B;
  font-size: .82rem;
  font-weight: 700;
}

.calendar-day.is-today > time {
  border-radius: 50%;
  background: #294E4B;
  color: #fff;
}

.calendar-day.has-events { background: #F7FBF9; }
.calendar-event {
  display: block;
  margin-top: 7px;
  padding: 9px 10px;
  border-right: 4px solid #4F746F;
  background: #E4EFEC;
  color: #294E4B;
  line-height: 1.35;
  transition: transform .2s ease,box-shadow .2s ease;
}

.calendar-event:hover,
.calendar-event:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(41,78,75,.14);
}

.calendar-event-meet { border-right-color: #69BBD0; background: #E4F3F6; }
.calendar-event strong,
.calendar-event span,
.calendar-event small { display: block; }
.calendar-event strong { font-size: .8rem; }
.calendar-event span { margin-top: 3px; font-size: .62rem; letter-spacing: .04em; }
.calendar-event small { margin-top: 5px; font-size: .68rem; }
.calendar-availability{display:block;margin-top:7px;padding-top:6px;border-top:1px solid rgba(41,78,75,.2);font-size:.72rem}.calendar-availability.sold-out{color:#8a3d35}.calendar-alternative{display:block;margin-top:5px;color:#294E4B;font-size:.7rem;font-weight:700;text-decoration:underline}
.calendar-help { margin: 0; padding: 16px 22px; color: #596D69; font-size: .78rem; }

.gate-constellation,
.product-card:first-child,
.bridge-grid article:first-child {
  --gate: #E7D7B8;
}

.product-card:first-child {
  background: #E7D7B8 !important;
  color: #294E4B !important;
}

.product-card:first-child h4,
.product-card:first-child p,
.product-card:first-child ul,
.product-card:first-child blockquote,
.product-card:first-child a,
.product-card:first-child .product-index,
.product-card:first-child .eyebrow {
  color: #294E4B !important;
  border-color: rgba(41,78,75,.28) !important;
}

.product-card h3 small {
  display: block;
  margin-top: 10px;
  font-family: var(--anama-font);
  font-size: .43em;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.25;
}

.product-card h3 {
  font-family: "Heebo", sans-serif !important;
}

.product-card .eyebrow {
  font-family: var(--anama-font);
  font-weight: 600;
  letter-spacing: .1em;
}

.product-card:nth-child(2) .eyebrow,
.product-card:nth-child(3) .eyebrow,
.product-card:nth-child(4) .eyebrow,
.activity-card.breath .activity-gate,
.activity-card.meet .activity-gate,
.activity-card.retreat .activity-gate {
  color: #294E4B !important;
}

.facilitator-with-photo,
.person-with-photo {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr);
  gap: 26px;
  align-items: start;
}

.facilitator-photo {
  width: 190px;
  height: 228px;
  object-fit: cover;
  object-position: center 18%;
  border: 3px solid rgba(199,216,211,.82);
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(10,28,23,.24);
}

.facilitator-with-photo h2,
.person-with-photo h2 {
  margin-top: 0;
}

.bridge-grid article:first-child {
  background: #E7D7B8 !important;
}

.bridge-grid article:first-child,
.bridge-grid article:first-child p {
  color: #294E4B !important;
}

.bridge-grid span {
  font-family: var(--anama-font) !important;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .1em;
}

.constellation-page {
  --constellation: #E7D7B8;
}

.constellation-page .btn,
.constellation-page .button,
.constellation-page .mobile-cta {
  background: #E7D7B8 !important;
  color: #294E4B !important;
}

.constellation-page .btn:hover,
.constellation-page .button:hover {
  background: #D9C39A !important;
}

.constellation-page .kicker,
.constellation-page .section-number,
.constellation-page .tag {
  color: #B99A6A !important;
}

@media (max-width: 1050px) {
  .activity-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 940px) {
  .topbar,
  .nav {
    height: 92px !important;
  }

  .brand-logo img {
    height: 84px;
    max-width: 140px;
  }

  .brand-logo-footer img {
    height: 158px;
    max-width: 198px;
  }

  .facilitator-with-photo,
  .person-with-photo {
    grid-template-columns: 128px minmax(0,1fr);
    gap: 18px;
  }

  .facilitator-photo {
    width: 128px;
    height: 154px;
  }

  .mobile-events-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    background: #E7D7B8;
    color: #294E4B;
    font-size: .78rem;
    font-weight: 700;
  }

  .calendar-page {
    padding-top: 92px;
  }
}

@media (max-width: 620px) {
  .upcoming-activities,
  .calendar-board,
  .calendar-hero {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .upcoming-heading {
    grid-template-columns: 1fr;
  }

  .activity-grid,
  .calendar-board .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    min-height: 270px;
  }

  .calendar-toolbar {
    gap: 8px;
    padding: 18px 12px;
  }

  .calendar-toolbar button {
    min-height: 42px;
    padding: 6px 9px;
    font-size: .76rem;
  }

  .calendar-toolbar h2 { font-size: 1.3rem; }
  .calendar-day { min-height: 76px; padding: 5px; }
  .calendar-day > time { width: 24px; height: 24px; margin-bottom: 4px; font-size: .72rem; }
  .calendar-event { padding: 6px 5px; border-right-width: 3px; }
  .calendar-event strong { font-size: .64rem; line-height: 1.25; }
  .calendar-event span,
  .calendar-event small { display: none; }
  .calendar-availability{font-size:.58rem}.calendar-alternative{font-size:.58rem}
}
