@font-face {
  font-family: Hive Serif;
  src: url("hive-serif.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Hive Serif;
  src: url("hive-serif-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Hive Sans;
  src: url("hive-sans.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf8f4;
  --ink: #161614;
  --muted: #62605a;
  --sand: #e4e0dc;
  --line: #d8d3cb;
  --gold: #8b642f;
  --sky: #9fc9e4;
  --menu: #805c37;
  --serif: "Hive Serif", Georgia, serif;
  --sans: "Hive Sans", system-ui, sans-serif;
  --space: 30px;
  --gutter: 20px;
  --ease: cubic-bezier(.165,.84,.44,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--serif);
}
h1, h2, h3, p, figure, blockquote, dl { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(44px, 5.6vw, 80px); letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.025em; }
h3 { font-size: 24px; letter-spacing: -.018em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-color: var(--gold); }
img { display: block; width: 100%; height: auto; background: var(--sand); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.wrap { margin-inline: var(--space); }
.grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--gutter); }
.section { padding-block: 60px; }
.eyebrow { font-family: var(--sans); font-size: 12px; line-height: 1.4; }
.text-link { display: inline-block; width: fit-content; text-decoration: underline; }
.prose { max-width: 42ch; }
.prose p + p { margin-top: 1.25em; }
.prose a { margin-top: 32px; }
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 25;
  padding: 10px 18px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }

/* The fixed identity stays legible across the opening image and paper sections. */
.site-header {
  position: fixed;
  z-index: 15;
  inset: 0 0 auto;
  min-height: 56px;
  background: var(--paper);
  color: var(--ink);
  transition: color 100ms, background-color 100ms;
}
.site-header.over-hero { background: transparent; color: var(--paper); }
.header-inner {
  margin-inline: var(--space);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  min-height: 56px;
}
.header-links { display: flex; align-items: center; gap: 26px; }
.header-links.right { justify-content: flex-end; }
.header-links a { text-decoration: none; font-size: 15px; }
.header-links a:hover, .header-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: currentColor;
}
.header-home { display: grid; justify-items: center; text-align: center; text-decoration: none; }
.header-name { display: block; font-size: 13px; letter-spacing: .03em; line-height: 1.25; }
.header-name span { display: block; font-size: 9px; letter-spacing: .14em; }
.header-tagline { display: none; font-size: 14px; }
.over-hero .header-tagline { display: block; }
.over-hero .header-name { display: none; }
.menu-toggle {
  display: none;
  justify-self: end;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 20px;
  border: 0;
  background: var(--menu);
  color: var(--paper);
}
.mobile-menu::backdrop { background: #0007; }
.mobile-menu .menu-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.mobile-menu button { border: 0; background: none; min-height: 44px; padding: 0; cursor: pointer; text-decoration: underline; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: start; gap: 20px; margin-top: 12vh; }
.mobile-menu nav a { font-size: clamp(32px, 6vw, 50px); text-decoration: none; }
.mobile-menu nav a:hover { text-decoration: underline; }
.mobile-menu p { margin-top: 40px; }
body.menu-open { overflow: hidden; }

/* Photographic opening with a centered two-line wordmark. */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100svh;
  isolation: isolate;
  color: var(--paper);
  background: #373627;
}
.hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(23, 17, 10, .08); z-index: -1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 17, 10, .28), rgba(23, 17, 10, .02) 32%, rgba(23, 17, 10, .03) 68%, rgba(23, 17, 10, .16));
}
.hero-identity {
  position: absolute;
  inset: 56px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-wordmark { max-width: 95%; font-size: inherit; font-weight: 400; letter-spacing: 0; line-height: 1; }
.hero-wordmark .wordmark-intro {
  display: block;
  font-size: clamp(32px, 4.9vw, 74px);
  letter-spacing: .025em;
}
.hero-wordmark .wordmark-name {
  display: block;
  font-size: clamp(86px, 11.2vw, 168px);
  letter-spacing: .15em;
  margin-top: 15px;
  padding-left: .15em;
}
.hero-wordmark small {
  display: block;
  font-size: 14px;
  letter-spacing: .01em;
  margin-top: 26px;
}
.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: var(--space);
  right: var(--space);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  font-size: 14px;
}
.hero-bottom p { max-width: 24ch; }
.hero-bottom a { text-underline-offset: 6px; margin-right: 105px; }

/* Each section follows the reference's twelve-column editorial grid. */
.statement .eyebrow { grid-column: 1 / -1; margin-bottom: 20px; }
.statement h2 { grid-column: 1 / span 11; font-size: clamp(36px, 5.65vw, 82px); line-height: 1.12; letter-spacing: -.032em; }
.statement .text-link { grid-column: 1 / -1; margin-top: 40px; }
.editorial { align-items: start; }
.editorial .section-heading { grid-column: 1 / span 2; grid-row: 1; font-size: 24px; }
.editorial .prose { grid-column: 3 / span 3; grid-row: 1; margin-top: 114px; padding-bottom: 40px; }
.editorial > .portrait { grid-column: 7 / span 6; grid-row: 1; position: sticky; top: 80px; }
.portrait { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.section-title-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.section-title-row h2 { font-size: 30px; }
.gathering-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.gathering-card { display: block; text-decoration: none; }
.gathering-card img { aspect-ratio: 3/4; object-fit: cover; }
.gathering-card h3 { font-size: 24px; margin-top: 12px; }
.gathering-card p { color: var(--muted); margin-top: 4px; font-size: 15px; }
.gathering-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.campaign { position: relative; color: var(--paper); isolation: isolate; aspect-ratio: 16/9; min-height: 540px; }
.campaign img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; }
.campaign::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#00000015 20%,#0009); }
.campaign .grid { position: absolute; bottom: 38px; left: 0; right: 0; align-items: end; }
.campaign h2 { grid-column: 1 / span 7; font-size: clamp(38px,5vw,72px); max-width: 14ch; }
.campaign .prose { grid-column: 9 / span 4; max-width: none; }
.campaign a { margin-top: 24px; }
.gallery { align-items: end; }
.gallery-intro { grid-column: 1 / span 4; grid-row: 1; align-self: start; max-width: 32ch; }
.gallery-intro h2 { font-size: 24px; margin-bottom: 20px; }
.gallery-small { aspect-ratio: 3/4; object-fit: cover; }
.gallery-first { grid-column: 1 / span 2; grid-row: 1; }
.gallery-second { grid-column: 3 / span 2; grid-row: 1; }
.gallery-large { grid-column: 7 / span 6; grid-row: 1; }
.topic-explorer .topic-preview { grid-column: 1 / span 4; position: relative; aspect-ratio: 3/4; }
.topic-preview img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity 500ms var(--ease); }
.topic-preview img.is-active { opacity: 1; }
.topic-links { grid-column: 9 / span 4; }
.topic-links h2 { font-size: 24px; margin-bottom: 40px; }
.topic-links nav { display: flex; flex-direction: column; align-items: start; gap: 16px; }
.topic-links a { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.13; text-decoration: none; }
.topic-links a:hover, .topic-links a:focus-visible { text-decoration: underline; }
.topic-links p { margin-top: 40px; max-width: 29ch; }
.community-story { background: var(--sky); }
.community-story .story-copy { grid-column: 1 / span 3; align-self: start; padding-top: 80px; }
.community-story h2 { font-size: 30px; margin-bottom: 20px; }
.community-story .prose { max-width: 34ch; }
.community-story .portrait { grid-column: 7 / span 6; }
.closing { position: relative; aspect-ratio: 16/9; min-height: 360px; color: var(--paper); isolation: isolate; }
.closing img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: -2; }
.closing::after { content: ""; inset: 0; z-index: -1; position: absolute; background: linear-gradient(transparent 30%,#0007); }
.closing p { position: absolute; bottom: 30px; left: var(--space); font-size: clamp(30px,4.4vw,60px); max-width: 16ch; line-height: 1.1; }
.site-footer { padding-top: 60px; padding-bottom: 20px; }
.footer-intro { grid-column: 1 / span 4; max-width: 28ch; }
.footer-intro p { margin-bottom: 20px; }
.footer-links { grid-column: 5 / span 4; }
.footer-links .eyebrow { margin-bottom: 20px; color: var(--muted); }
.footer-links a { display: block; width: fit-content; margin-bottom: 8px; }
.footer-image { grid-column: 10 / span 3; }
.footer-image img { aspect-ratio: 3/4; object-fit: cover; }
.footer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-top: 60px; padding-bottom: 36px; font-size: 13px; }
.footer-wordmark { font-size: 22px; text-decoration: none; letter-spacing: -.02em; }
.footer-bottom p { color: var(--muted); margin-right: 105px; }

/* Inner pages retain all the services and beliefs, using the same type and spacing. */
.inner-main { padding-top: 56px; }
.page-hero { padding-block: 60px; }
.hero-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: center; }
.hero-grid > div:first-child { padding-right: clamp(20px,6vw,100px); }
.hero-grid h1 { margin-bottom: 32px; }
.hero-grid .frame { aspect-ratio: 3/4; object-fit: cover; }
.hero-grid .text-link { margin-top: 32px; }
.lead { max-width: 44ch; font-size: clamp(18px,2vw,26px); line-height: 1.4; }
.page-intro { max-width: 58rem; }
.page-intro h1 { margin-bottom: 32px; }
.page-intro .lead { max-width: 47ch; }
.quick-links { display: flex; flex-wrap: wrap; gap: 12px 30px; list-style: none; margin: 40px 0 0; padding: 0; }
.quick-links a { text-decoration: underline; }
.block { padding-block: 60px; }
.tinted { background: #eee8de; }
.teachings { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 20px; align-items: start; }
.teachings > :first-child { grid-column: 1 / span 4; }
.teachings > :last-child { grid-column: 7 / span 6; }
.teachings > h2 { max-width: 12ch; }
.teaching-row + .teaching-row { margin-top: 36px; }
.teaching-row h3 { margin-bottom: 16px; }
.teaching-row p { max-width: 47ch; }
.covenant { font-size: clamp(22px,2.5vw,32px); line-height: 1.5; }
.covenant p + p { margin-top: 18px; }
.order { margin-block: 0; padding-left: 22px; }
.order li { padding-left: 10px; }
.order li + li { margin-top: 28px; }
.order h3 { margin-bottom: 12px; }
.time { color: var(--gold); margin-bottom: 16px; }
.service { border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; list-style: none; cursor: pointer; }
.service summary::-webkit-details-marker { display: none; }
.service .summary-title { display: block; font-size: 24px; line-height: 1.15; }
.service .summary-note { display: block; color: var(--muted); margin-top: 8px; font-size: 15px; }
.service summary:hover .summary-title { text-decoration: underline; text-underline-offset: 5px; }
.expand { position: relative; flex: 0 0 14px; height: 14px; }
.expand::before,.expand::after { content: ""; position: absolute; width: 14px; height: 1px; background: currentColor; top: 50%; }
.expand::after { transform: rotate(90deg); }
.service[open] .expand::after { transform: none; }
.service-body { padding: 0 28px 24px 0; max-width: 47ch; }
.prayer { font-size: clamp(23px,2.5vw,34px); line-height: 1.4; margin-top: 40px; }
.prayer p + p { margin-top: 20px; }
.customs-list > div + div { margin-top: 36px; }
.customs-list dt { font-size: 24px; line-height: 1.15; margin-bottom: 16px; }
.customs-list dd { margin: 0; max-width: 47ch; }
.honey-ribbon { display: none; }
.bee-swarm { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; opacity: .86; }
.swarm-control { position: fixed; right: 20px; bottom: 12px; z-index: 16; border: 0; padding: 10px; min-height: 44px; background: #faf8f4eb; color: var(--ink); font: 12px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .hero-wordmark { animation: identity-in 1s var(--ease) both; }
  @keyframes identity-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1023px) {
  :root { --space: 20px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-home { justify-self: start; text-align: left; justify-items: start; }
  .header-links { display: none; }
  .has-js .menu-toggle { display: block; }
  html:not(.has-js) .header-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-block: 10px; }
  html:not(.has-js) .header-links { display: flex; flex-wrap: wrap; grid-row: 2; font-size: 14px; }
  html:not(.has-js) .header-links.right { justify-content: start; }
  .hero-bottom { font-size: 13px; }
  .statement h2 { font-size: 38px; grid-column: 1 / -1; }
  .statement .text-link { margin-top: 20px; }
  .editorial { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 20px; }
  .editorial > .portrait { grid-column: 1 / -1; grid-row: 1; position: static; max-height: 90vh; }
  .editorial .section-heading { grid-column: 1; grid-row: 2; max-width: 14ch; }
  .editorial .prose { grid-column: 2; grid-row: 2; margin-top: 0; padding-bottom: 0; }
  .gathering-cards { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .gathering-card img { aspect-ratio: 4/3; }
  .campaign { aspect-ratio: 9/16; min-height: 600px; max-height: 100svh; }
  .campaign h2 { grid-column: 1 / -1; font-size: clamp(36px,6vw,60px); max-width: 14ch; }
  .campaign .prose { grid-column: 1 / -1; max-width: 38ch; }
  .campaign .grid { gap: 26px; }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 20px; }
  .gallery-intro { grid-column: 1 / -1; grid-row: 1; max-width: 38ch; }
  .gallery-first { grid-column: 1; grid-row: 2; }
  .gallery-second { grid-column: 2; grid-row: 2; }
  .gallery-large { grid-column: 1 / -1; grid-row: 3; max-height: 90vh; }
  .topic-explorer { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 20px; }
  .topic-links { grid-column: 1 / -1; grid-row: 1; }
  .topic-links h2 { margin-bottom: 28px; }
  .topic-links nav { gap: 12px; }
  .topic-links a { font-size: 30px; }
  .topic-links p { max-width: 40ch; }
  .topic-explorer .topic-preview { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 4/3; }
  .community-story .grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .community-story .story-copy { grid-column: 1; padding-top: 0; max-width: 38ch; }
  .community-story .portrait { grid-column: 1; max-height: 90vh; }
  .closing { aspect-ratio: 9/16; max-height: 100svh; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 50px; }
  .footer-intro { grid-column: 1; }
  .footer-links { grid-column: 2; }
  .footer-image { grid-column: 1 / -1; max-width: 50%; }
  .footer-bottom { margin-top: 50px; align-items: start; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .hero-grid > div:first-child { padding-right: 0; }
  .hero-grid .frame { max-height: 85vh; }
  .lead { font-size: 22px; }
  .teachings { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
  .teachings > :first-child { grid-column: 1; }
  .teachings > :last-child { grid-column: 2; }
}
@media (max-width: 639px) {
  .hero-wordmark .wordmark-intro { font-size: clamp(23px,6.8vw,42px); }
  .hero-wordmark .wordmark-name { font-size: clamp(62px,18vw,100px); letter-spacing: .11em; }
  .hero-wordmark small { font-size: 13px; margin-top: 24px; }
  .hero-bottom { bottom: 25px; display: block; }
  .hero-bottom p { display: none; }
  .statement h2 { font-size: 32px; }
  .section-title-row { align-items: start; }
  .section-title-row .text-link { max-width: 12ch; }
  .editorial { grid-template-columns: minmax(0,1fr); row-gap: 24px; }
  .editorial .section-heading { grid-column: 1; grid-row: 2; }
  .editorial .prose { grid-column: 1; grid-row: 3; }
  .editorial > .portrait { grid-column: 1; }
  .gathering-card img { aspect-ratio: 3/4; }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .footer-intro,.footer-links,.footer-image { grid-column: 1; }
  .footer-image { max-width: 70%; }
  .footer-bottom { display: block; }
  .footer-bottom p { margin-top: 14px; }
  .teachings { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .teachings > :first-child,.teachings > :last-child { grid-column: 1; }
  .page-hero h1 { font-size: 48px; }
  .lead { font-size: 20px; }
  .topic-links a { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header,.bee-swarm,.swarm-control,.mobile-menu { display: none; }
  .inner-main { padding-top: 0; }
  .hero { min-height: 400px; height: 400px; }
}
