:root {
  --bar: 88px;
}
.site-masthead,
.site-chrome {
  background: #0d1211;
  color: #f4f5ee;
}
.site-masthead {
  position: relative;
  z-index: 11;
}
.masthead-layout {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.header-lockup {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  flex: none;
}
.header-lockup:hover { text-decoration: none; }
.logo-symbol {
  position: relative;
  width: 56px;
  height: 41px;
  overflow: hidden;
  flex: none;
}
/* Show the monogram directly from the original supplied image. */
.logo-symbol img {
  position: absolute;
  width: 90.1px;
  max-width: none;
  height: 90.1px;
  left: -18.74px;
  top: -9.94px;
}
.church-name {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 18px;
  border-left: 1px solid #ffffff30;
  font-family: var(--sans);
  text-transform: uppercase;
}
.church-name-main {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .11em;
  white-space: nowrap;
}
.church-name-label {
  font-size: .7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .42em;
  color: #bdc7c0;
}
.header-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}
.header-navigation a { padding-block: 10px; }
.header-navigation a:hover { color: var(--lime); }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: .9rem;
  min-height: 44px;
  flex: none;
}
.menu-lines {
  width: 20px;
  height: 8px;
  border-block: 1px solid currentColor;
}
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 #ffffff1a;
}
.invitation-layout {
  display: grid;
  grid-template-columns: minmax(180px,1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding-block: 14px;
  border-top: 1px solid #ffffff20;
  min-height: 88px;
}
.gathering-details {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 12px;
  min-width: 0;
}
.gathering-label {
  font-size: .72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--lime);
}
.site-chrome #next-event {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
  color: #f4f5ee;
}
.site-chrome #next-date {
  font-size: .85rem;
  color: #bdc7c0;
  white-space: normal;
}
.gathering-timing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.header-today {
  font-size: .72rem;
  color: #a9b5ae;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.header-countdown {
  display: flex;
  align-items: center;
  gap: 14px;
  font-variant-numeric: tabular-nums;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.countdown-number {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  min-width: 2ch;
  text-align: center;
}
.countdown-label {
  font-size: .65rem;
  line-height: 1;
  color: #a9b5ae;
}
.gathering-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.gathering-actions button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e5eae5;
  padding: 6px 0;
  min-height: 30px;
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
}
.gathering-actions .calendar-add { color: var(--lime); }
.calendar-add span { margin-right: 3px; font-size: 1rem; }
.gathering-actions .calendar-view {
  text-decoration: underline;
  text-decoration-color: #ffffff42;
  text-underline-offset: 4px;
}
.site-menu {
  position: fixed;
  inset: 16px 16px auto auto;
  width: min(360px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: 0;
  color: #f4f5ee;
  background: #0d1211;
  padding: 24px;
  border: 1px solid #ffffff25;
}
.site-menu::backdrop { background: #080c0bba; }
.menu-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.menu-top span { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.menu-top button { border: 0; background: none; color: #c1ccc4; min-height: 44px; }
.site-menu nav { display: flex; flex-direction: column; padding-top: 16px; }
.site-menu nav a { padding-block: 16px; font-size: 1.45rem; border-top: 1px solid #ffffff24; }
@media (max-width: 1050px) {
  .masthead-layout { min-height: 76px; padding-block: 12px; }
  .header-navigation { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 700px) {
  :root { --bar: 121px; }
  .masthead-layout { gap: 12px; }
  .header-lockup { gap: 12px; }
  .church-name { padding-left: 12px; }
  .church-name-main { font-size: 1.2rem; letter-spacing: .1em; }
  .church-name-label { font-size: .65rem; letter-spacing: .35em; }
  .logo-symbol { transform: scale(.85); transform-origin: left center; margin-right: -8px; }
  .invitation-layout {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 6px 12px;
    padding-block: 10px;
    min-height: 121px;
  }
  .gathering-details { flex-direction: column; align-items: flex-start; gap: 2px; }
  .gathering-label { font-size: .65rem; }
  .site-chrome #next-event { font-size: .95rem; }
  .site-chrome #next-date { display: block; font-size: .8rem; }
  .header-countdown { gap: 11px; }
  .countdown-number { font-size: 1.2rem; }
  .countdown-label { font-size: .6rem; }
  .gathering-actions {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .gathering-actions button { font-size: .8rem; min-height: 30px; }
}
@media (max-width: 350px) {
  .header-lockup { gap: 8px; }
  .church-name { padding-left: 8px; }
  .church-name-main { font-size: 1.05rem; }
  .nav-toggle { font-size: .8rem; gap: 8px; padding-left: 4px; }
  .header-countdown { gap: 7px; }
  .countdown-label { font-size: .56rem; }
}
@media (orientation: landscape) and (max-height: 600px) {
  :root { --bar: 72px; }
  .masthead-layout { min-height: 68px; padding-block: 10px; }
  .invitation-layout {
    min-height: 72px;
    padding-block: 8px;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 18px;
  }
  .gathering-details { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
  .gathering-label { font-size: .6rem; }
  .site-chrome #next-event { font-size: .9rem; }
  .site-chrome #next-date { font-size: .75rem; }
  .gathering-timing { gap: 6px; }
  .header-today { font-size: .65rem; }
  .header-countdown { gap: 10px; }
  .countdown-number { font-size: 1.1rem; }
  .countdown-label { font-size: .56rem; }
  .gathering-actions { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 0; }
  .gathering-actions button { font-size: .75rem; min-height: 26px; padding-block: 4px; }
}
.gathering-details .gathering-label { font-size:.875rem; }
.gathering-details .event-format { flex-basis:100%; line-height:1.2; }
.gathering-actions button { min-height:44px; font-size:.9rem; }
.countdown-label { font-size:.75rem; }
.header-today { font-size:.8rem; }
@media(max-width:700px){.invitation-layout { column-gap:10px; }.header-countdown { gap:8px; }.countdown-label { font-size:.7rem; }.gathering-details .gathering-label { font-size:.75rem; }.gathering-details .event-format { font-size:.75rem; }.gathering-actions button { font-size:.875rem; }.site-chrome #next-event { font-size:.95rem; }}
@media(orientation:landscape) and (max-height:600px){.gathering-actions button { min-height:30px; }.countdown-label { font-size:.7rem; }.invitation-layout { gap:14px; }}
