/* ==========================================================================
   Harbor — "Bold & warm". Everything scoped to .tpl-harbor.
   Measurements follow the design reference (anchortacoma.org, 2026-10-25):
   1280px container, Bold uppercase display at −2% tracking, 50px panel
   corners, 35px hero photo, 25px cards, 1px outline pills.
   Fixed canvas: charcoal + cream never take the church's colours; the accent
   (buttons, announcement bar) does, with contrast-checked fallbacks set inline
   by Shell (--hb-btn-light/-dark and their inks).
   ========================================================================== */
.tpl-harbor {
  --hb-ink: #272727;
  --hb-cream: #fbf8f3;
  --hb-text: #313436;
  --hb-muted-light: #636363;
  --hb-muted-dark: rgba(255, 255, 255, .74);
  --hb-line-light: rgba(39, 39, 39, .16);
  --hb-line-dark: rgba(255, 255, 255, .2);
  --hb-accent: var(--hb-ink);
  --hb-accent-hover: var(--hb-ink);
  --hb-on-accent: #fff;
  --hb-btn-light: var(--hb-ink);
  --hb-btn-light-ink: #fff;
  --hb-btn-dark: #fff;
  --hb-btn-dark-ink: var(--hb-ink);
  --hb-radius: 50px;        /* panels, featured teaching */
  --hb-photo-radius: 35px;  /* hero photo */
  --hb-card-radius: 25px;   /* next-step cards */
  --hb-media-radius: 20px;  /* location photos, maps, people */
  --hb-gutter: clamp(16px, 5.6vw, 80px);
  --hb-max: 1440px;         /* 1280 content + 2 × 80 gutter */
  --hb-ease: cubic-bezier(.785, .135, .15, .86);
  /* REQUIRED font indirection — pairing overrides target these names. */
  --font-disp: var(--hb-font), 'Montserrat', system-ui, sans-serif;
  --font-body: var(--hb-font), 'Montserrat', system-ui, sans-serif;
  --font-label: var(--hb-font), 'Montserrat', system-ui, sans-serif;

  /* Default tone = light panel */
  --fg: var(--hb-text);
  --fg-muted: var(--hb-muted-light);
  --line: var(--hb-line-light);
  --btn: var(--hb-btn-light);
  --btn-ink: var(--hb-btn-light-ink);

  background: var(--hb-ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.tpl-harbor *, .tpl-harbor *::before, .tpl-harbor *::after { box-sizing: border-box; }
.tpl-harbor img { display: block; max-width: 100%; }
.tpl-harbor a { color: inherit; }
.tpl-harbor p { margin: 0; }
.tpl-harbor h1, .tpl-harbor h2, .tpl-harbor h3 { margin: 0; font-family: var(--font-disp); }

/* Dark-toned surfaces share one set of tokens */
.tpl-harbor .hb-panel--dark, .tpl-harbor .hb-nav, .tpl-harbor .hb-menu, .tpl-harbor .hb-hero__band,
.tpl-harbor .hb-dethead, .tpl-harbor .hb-footer {
  --fg: #fff;
  --fg-muted: var(--hb-muted-dark);
  --line: var(--hb-line-dark);
  --btn: var(--hb-btn-dark);
  --btn-ink: var(--hb-btn-dark-ink);
  background: var(--hb-ink);
  color: var(--fg);
}
.tpl-harbor .hb-panel--light {
  --fg: var(--hb-text);
  --fg-muted: var(--hb-muted-light);
  --line: var(--hb-line-light);
  --btn: var(--hb-btn-light);
  --btn-ink: var(--hb-btn-light-ink);
  background: var(--hb-cream);
  color: var(--fg);
}

.tpl-harbor .hb-wrap { max-width: var(--hb-max); margin: 0 auto; padding: 0 var(--hb-gutter); }

/* ---- type -------------------------------------------------------------- */
.tpl-harbor .hb-eyebrow { display: inline-block; font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); text-decoration: none; }
.tpl-harbor a.hb-eyebrow--link:hover { color: var(--fg); }
.tpl-harbor .hb-head { display: grid; gap: 14px; justify-items: start; }
.tpl-harbor .hb-head--center { justify-items: center; text-align: center; margin: 0 auto clamp(40px, 6vw, 72px); }
.tpl-harbor .hb-head--tight { margin-bottom: 0; }
.tpl-harbor .hb-h { font-size: clamp(30px, 3.9vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.tpl-harbor .hb-h--xl { font-size: clamp(36px, 5.6vw, 80px); line-height: .96; }
.tpl-harbor .hb-h--sm { font-size: 22px; margin-bottom: 12px; }
/* A long statement heading reads as a paragraph at full display size. */
.tpl-harbor .hb-h--long { font-size: clamp(26px, 3vw, 42px); line-height: 1.05; }
.tpl-harbor .hb-accentword { font-weight: 400; }
.tpl-harbor .hb-lead { font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; line-height: 1.5; max-width: 46ch; margin-bottom: 28px; }
.tpl-harbor .hb-lead--narrow { margin: 0 auto; text-align: center; max-width: 56ch; }
.tpl-harbor .hb-prose { font-size: 16px; line-height: 1.6; max-width: 66ch; }
.tpl-harbor .hb-prose--muted { color: var(--fg-muted); }
.tpl-harbor .hb-prose--lead { font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; margin-bottom: 48px; }
.tpl-harbor .hb-prose--narrow { margin: 0 auto; }
.tpl-harbor .hb-prose p + p, .tpl-harbor .hb-prose p + ul, .tpl-harbor .hb-prose ul + p { margin-top: 1em; }
.tpl-harbor .hb-prose a { text-decoration: underline; text-underline-offset: 3px; }
.tpl-harbor .hb-prose + .hb-prose, .tpl-harbor .hb-prose + .hb-questions { margin-top: 40px; }
.tpl-harbor .hb-empty { color: var(--fg-muted); text-align: center; font-size: 18px; }
.tpl-harbor .hb-stack { display: grid; gap: 18px; align-content: start; }

/* ---- buttons ------------------------------------------------------------ */
.tpl-harbor .hb-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 12px 24px; border-radius: 40px; border: 1px solid currentColor; background: transparent; color: var(--fg); font: 600 14px/21px var(--font-label); text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .4s var(--hb-ease), color .4s var(--hb-ease), border-color .4s var(--hb-ease); }
.tpl-harbor .hb-pill svg { width: 14px; height: 14px; }
.tpl-harbor .hb-pill:hover, .tpl-harbor .hb-pill:focus-visible { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.tpl-harbor .hb-pill--solid { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.tpl-harbor .hb-pill--solid:hover, .tpl-harbor .hb-pill--solid:focus-visible { filter: brightness(1.12); background: var(--btn); color: var(--btn-ink); }
.tpl-harbor .hb-pill--block { width: 100%; }
.tpl-harbor .hb-pill--glass { color: #fff; border-color: #fff; background: transparent; }
.tpl-harbor .hb-pill--glass:hover { background: #fff; border-color: #fff; color: var(--hb-ink); }
.tpl-harbor .hb-pill[disabled] { opacity: .55; cursor: default; }
.tpl-harbor .hb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tpl-harbor .hb-actions--center { justify-content: center; }
.tpl-harbor .hb-actions--stack { flex-direction: column; align-items: stretch; }
.tpl-harbor .hb-actions--gap { margin-top: 48px; }
.tpl-harbor .hb-textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; text-decoration: none; }
.tpl-harbor .hb-textlink--lg { margin-top: 22px; }
.tpl-harbor a.hb-textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-harbor .hb-ne { width: 11px; height: 11px; }
.tpl-harbor .hb-tag { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }

/* ---- announcement bar + nav (not sticky — it scrolls away, like the reference) */
.tpl-harbor .hb-topstick { position: relative; z-index: 3; }
.tpl-harbor .hb-annbar { display: flex; justify-content: center; gap: 10px; padding: 9px var(--hb-gutter); background: var(--hb-accent); color: var(--hb-on-accent); font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; }
.tpl-harbor .hb-annbar__go { opacity: .8; font-weight: 500; white-space: nowrap; }
.tpl-harbor a.hb-annbar:hover .hb-annbar__txt { text-decoration: underline; text-underline-offset: 3px; }
.tpl-harbor .hb-nav__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 113px; }
.tpl-harbor .hb-nav__side { display: grid; grid-template-columns: auto 1fr; align-items: center; }
.tpl-harbor .hb-nav__side > .hb-nav__link { justify-self: center; }
.tpl-harbor .hb-nav__side--right { grid-template-columns: 1fr auto; }
.tpl-harbor .hb-nav__links { display: flex; justify-content: center; gap: 32px; }
.tpl-harbor .hb-nav__link { font-size: 16px; font-weight: 500; text-transform: uppercase; text-decoration: none; transition: opacity .3s; }
.tpl-harbor .hb-nav__link:hover, .tpl-harbor .hb-nav__link.is-active { opacity: .6; }
.tpl-harbor .hb-live { display: inline-flex; align-items: center; gap: 7px; }
.tpl-harbor .hb-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .25); }
.tpl-harbor .hb-burger { width: 44px; height: 44px; margin-left: -8px; display: grid; place-content: center; gap: 8px; background: none; border: 0; color: inherit; cursor: pointer; }
.tpl-harbor .hb-burger i { display: block; width: 28px; height: 1.5px; background: currentColor; }
.tpl-harbor .hb-mark { display: grid; place-items: center; min-width: 60px; height: 68px; text-decoration: none; }
.tpl-harbor .hb-mark__logo { max-height: 68px; max-width: 190px; width: auto; height: auto; object-fit: contain; }
.tpl-harbor .hb-mark__mono { display: grid; place-items: center; width: 60px; height: 60px; border: 1.6px solid currentColor; border-radius: 50%; font-family: var(--font-disp); font-weight: 700; font-size: 26px; line-height: 1; }
.tpl-harbor .hb-mark__mono--lg { width: 64px; height: 64px; font-size: 28px; }

.tpl-harbor .hb-menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--hb-ease), visibility .35s; }
.tpl-harbor .hb-menu.is-open { opacity: 1; visibility: visible; }
.tpl-harbor .hb-menu > .hb-wrap { width: 100%; }
/* The menu's mark stays left of the close button at every width. */
.tpl-harbor .hb-menu__top .hb-mark { order: 0; }
.tpl-harbor .hb-menu__top { display: flex; justify-content: space-between; align-items: center; height: 113px; }
.tpl-harbor .hb-menu__close { width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; color: inherit; font-size: 40px; line-height: 1; cursor: pointer; }
.tpl-harbor .hb-menu__primary { list-style: none; margin: 3vh 0 0; padding: 0; text-align: center; }
.tpl-harbor .hb-menu__primary a { display: inline-block; font-family: var(--font-disp); font-size: clamp(38px, 5.6vw, 76px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-transform: uppercase; text-decoration: none; transition: opacity .3s; }
.tpl-harbor .hb-menu__primary a:hover, .tpl-harbor .hb-menu__primary a.is-active { opacity: .55; }
.tpl-harbor .hb-menu__secondary { list-style: none; margin: 5vh auto 7vh; padding: 28px 0 0; max-width: 580px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; text-align: center; }
.tpl-harbor .hb-menu__secondary a { font-size: 15px; font-weight: 500; text-transform: uppercase; text-decoration: none; opacity: .85; }
.tpl-harbor .hb-menu__secondary a:hover { opacity: 1; }

/* ---- hero: giant title overlapping a rounded photo -----------------------
   --hb-title-chars (inline) = the longest balanced line. Bold uppercase runs
   ~.74em per character, so the size fits that line to the content width. */
.tpl-harbor .hb-hero {
  container-type: inline-size;
  --hb-title-max: 200px;
  --hb-title-size: min(var(--hb-title-max), calc((min(100cqi, var(--hb-max)) - 2 * var(--hb-gutter)) / (var(--hb-title-chars) * .74)));
  background: var(--hb-cream);
}
.tpl-harbor .hb-hero--page { --hb-title-max: 132px; }
.tpl-harbor .hb-hero__band { padding-top: clamp(20px, 3.4vw, 56px); }
.tpl-harbor .hb-hero__band > .hb-wrap { position: relative; }
.tpl-harbor .hb-hero__name { position: relative; z-index: 3; text-align: center; font-size: var(--hb-title-size); font-weight: 700; line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.tpl-harbor .hb-hero__name span { display: block; }
.tpl-harbor .hb-hero__copy { position: absolute; z-index: 3; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); width: min(620px, 84%); display: grid; justify-items: center; gap: 18px; text-align: center; color: #fff; }
.tpl-harbor .hb-hero__copy .hb-actions { margin-top: 2px; }
.tpl-harbor .hb-hero__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.tpl-harbor .hb-hero__line { font-family: var(--font-disp); font-size: clamp(15px, 1.4vw, 20px); font-weight: 600; line-height: 1.5; text-transform: uppercase; color: var(--hb-cream); text-wrap: balance; }
.tpl-harbor .hb-hero__sub { font-size: 15px; line-height: 1.55; opacity: .9; }
.tpl-harbor .hb-pagehead__facts { display: grid; gap: 2px; font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; text-transform: uppercase; line-height: 1.4; }
/* The photo rises under the bottom of the title; the band covers ~70% of it. */
.tpl-harbor .hb-hero__photorow { position: relative; z-index: 1; margin-top: calc(var(--hb-title-size) * -.39); background: linear-gradient(var(--hb-ink) 70%, var(--hb-cream) 70%); }
.tpl-harbor .hb-hero__photo { position: relative; border-radius: var(--hb-photo-radius); overflow: hidden; aspect-ratio: 1280 / 600; background: #3a3a3a; }
.tpl-harbor .hb-hero--page .hb-hero__photo { aspect-ratio: 1280 / 560; }
.tpl-harbor .hb-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.tpl-harbor .hb-hero__photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .22) 45%, rgba(0, 0, 0, 0) 72%); }
.tpl-harbor .hb-hero--nomedia .hb-hero__band { padding-top: clamp(48px, 7vw, 110px); padding-bottom: calc(var(--hb-radius) + clamp(56px, 7vw, 96px)); }
.tpl-harbor .hb-hero--nomedia .hb-hero__copy { position: static; transform: none; width: auto; max-width: 640px; margin: 28px auto 0; }
.tpl-harbor .hb-hero--nomedia .hb-hero__line { color: var(--fg-muted); }

/* ---- stacked panels -------------------------------------------------------
   Panels taller than the screen are made sticky with a negative top by
   HarborStack, so each pins when its bottom reaches the screen and the next
   panel slides over it. The
   footer sits UNDER <main> (z-index 0, sticky to the bottom) and is revealed as
   the last panel's rounded bottom scrolls away. */
.tpl-harbor .hb-main { position: relative; z-index: 1; }
.tpl-harbor .hb-main > [data-hb-stick] { position: relative; }
.tpl-harbor .hb-panel { border-radius: var(--hb-radius) var(--hb-radius) 0 0; margin-top: calc(-1 * var(--hb-radius)); padding: calc(var(--hb-radius) + clamp(48px, 7vw, 100px)) 0 clamp(80px, 9vw, 130px); }
.tpl-harbor .hb-hero:not(.hb-hero--nomedia) + .hb-panel { margin-top: 0; padding-top: clamp(72px, 9vw, 120px); border-radius: 0; }
.tpl-harbor .hb-main > :last-child { border-bottom-left-radius: var(--hb-radius); border-bottom-right-radius: var(--hb-radius); }

/* Scroll-driven rise-in — pure CSS, so nothing extra runs in Live Preview and
   browsers without support simply show the content. */
@supports (animation-timeline: view()) {
  .tpl-harbor .hb-rise { animation: hb-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
}
@keyframes hb-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tpl-harbor .hb-rise { animation: none; } }

/* ---- detail heads -------------------------------------------------------- */
.tpl-harbor .hb-dethead { position: relative; padding: clamp(40px, 6vw, 80px) 0 calc(var(--hb-radius) + clamp(56px, 7vw, 88px)); }
.tpl-harbor .hb-dethead--media { padding-bottom: 0; }
.tpl-harbor .hb-dethead > .hb-wrap { display: grid; gap: 14px; justify-items: start; }
.tpl-harbor .hb-back { font-size: 14px; font-weight: 500; text-transform: uppercase; text-decoration: none; color: var(--fg-muted); margin-bottom: 14px; }
.tpl-harbor .hb-back:hover { color: var(--fg); }
.tpl-harbor .hb-dethead__h { font-size: clamp(38px, 6.4vw, 96px); font-weight: 700; line-height: .92; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; max-width: 16ch; }
.tpl-harbor .hb-dethead__meta { font-size: clamp(15px, 1.4vw, 18px); color: var(--fg-muted); max-width: 60ch; }
.tpl-harbor .hb-dethead__mail { text-decoration: none; }
.tpl-harbor .hb-dethead__mail:hover { color: var(--fg); }
.tpl-harbor .hb-dethead__mediarow { margin-top: clamp(36px, 5vw, 56px); background: linear-gradient(var(--hb-ink) 70%, var(--hb-cream) 70%); }
.tpl-harbor .hb-dethead__media { border-radius: var(--hb-photo-radius); overflow: hidden; aspect-ratio: 1280 / 640; background: #3a3a3a; position: relative; }
.tpl-harbor .hb-dethead__media > img, .tpl-harbor .hb-dethead__media .hb-teach__media img { width: 100%; height: 100%; object-fit: cover; }
.tpl-harbor .hb-dethead__media .hb-teach__media { aspect-ratio: auto; height: 100%; border-radius: 0; }
.tpl-harbor .hb-dethead--media + .hb-panel { margin-top: 0; border-radius: 0; padding-top: clamp(56px, 7vw, 96px); }
.tpl-harbor .hb-video { position: absolute; inset: 0; }
.tpl-harbor .hb-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.tpl-harbor .hb-profile { display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 48px); }

/* ---- layouts ------------------------------------------------------------ */
.tpl-harbor .hb-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 6vw, 112px); align-items: center; }
.tpl-harbor .hb-split--center { align-items: center; }
.tpl-harbor .hb-split--top { align-items: start; }
.tpl-harbor .hb-rowhead { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.tpl-harbor .hb-rowhead__aside { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.tpl-harbor .hb-centerhead { display: grid; justify-items: center; gap: 28px; margin-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.tpl-harbor .hb-centerband { max-width: 860px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 20px; }
.tpl-harbor .hb-centerband .hb-actions { margin-top: 8px; }
.tpl-harbor .hb-centerband .hb-prose { max-width: 56ch; }
.tpl-harbor .hb-media2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.tpl-harbor .hb-media2--solo { grid-template-columns: 1fr; max-width: 780px; }
.tpl-harbor .hb-media2__media { border-radius: var(--hb-media-radius); overflow: hidden; aspect-ratio: 4 / 3; background: #3a3a3a; }
.tpl-harbor .hb-media2__media img { width: 100%; height: 100%; object-fit: cover; }
.tpl-harbor .hb-media2 .hb-head { margin-bottom: 22px; }
.tpl-harbor .hb-wideimg { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--hb-photo-radius); overflow: hidden; aspect-ratio: 1280 / 560; background: #3a3a3a; }
.tpl-harbor .hb-wideimg img { width: 100%; height: 100%; object-fit: cover; }
.tpl-harbor .hb-detgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.tpl-harbor .hb-detgrid__side { display: grid; gap: 18px; }
.tpl-harbor .hb-detgrid__side .hb-actions { margin-top: 0; }

/* ---- stats, numbered, ruled -------------------------------------------- */
.tpl-harbor .hb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.tpl-harbor .hb-stats__num { font-family: var(--font-disp); font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.tpl-harbor .hb-stats__lbl { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }
.tpl-harbor .hb-head + .hb-numbered, .tpl-harbor .hb-head + .hb-ruled, .tpl-harbor .hb-head + .hb-impact { margin-top: clamp(36px, 5vw, 56px); }
.tpl-harbor .hb-split + .hb-ruled { margin-top: clamp(36px, 5vw, 56px); }
.tpl-harbor .hb-numbered { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.tpl-harbor .hb-numbered li { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.tpl-harbor .hb-numbered__n { font-family: var(--font-disp); font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--fg-muted); }
.tpl-harbor .hb-numbered h3, .tpl-harbor .hb-ruled h3, .tpl-harbor .hb-impact h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.tpl-harbor .hb-numbered p, .tpl-harbor .hb-ruled p, .tpl-harbor .hb-impact p { color: var(--fg-muted); font-size: 15px; }
.tpl-harbor .hb-ruled { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); }
.tpl-harbor .hb-ruled--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpl-harbor .hb-ruled__item { border-top: 1px solid var(--line); padding: 22px 0 30px; display: grid; gap: 8px; align-content: start; }
.tpl-harbor .hb-impact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.tpl-harbor .hb-impact > div { display: grid; gap: 10px; align-content: start; }
.tpl-harbor .hb-impact__pct { font-family: var(--font-disp); font-size: clamp(48px, 6vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }

/* ---- visit (home location) ---------------------------------------------- */
.tpl-harbor .hb-visit { display: grid; grid-template-columns: 480fr 520fr; gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 1000px; margin: 0 auto; }
.tpl-harbor .hb-visit--nomap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.tpl-harbor .hb-visit__map { border-radius: var(--hb-media-radius); aspect-ratio: 480 / 270; background: #3a3a3a; }
.tpl-harbor .hb-arrowline { width: 36px; height: 36px; margin-bottom: 18px; }
.tpl-harbor .hb-visit__facts h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; margin-bottom: 20px; }
.tpl-harbor .hb-visit__lines { display: grid; gap: 2px; font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; line-height: 1.5; text-transform: uppercase; }
.tpl-harbor .hb-mapwide { border-radius: var(--hb-radius); aspect-ratio: 21 / 8; background: #3a3a3a; }

/* ---- sermon feature ----------------------------------------------------- */
.tpl-harbor .hb-teach { display: block; text-decoration: none; }
.tpl-harbor .hb-teach__media { position: relative; display: block; border-radius: var(--hb-radius); overflow: hidden; aspect-ratio: 1280 / 711; background: #2f2f2f; }
.tpl-harbor .hb-teach__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--hb-ease); }
.tpl-harbor .hb-teach:hover .hb-teach__media img, a.hb-teach__media:hover img { transform: scale(1.03); }
.tpl-harbor .hb-teach__media::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); pointer-events: none; }
.tpl-harbor .hb-teach__blank { position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, #4a4a4a, #1b1b1b); }
.tpl-harbor .hb-watch { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(96px, 11vw, 146px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #fff; color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 600; text-transform: uppercase; transition: background .4s var(--hb-ease), color .4s var(--hb-ease); }
.tpl-harbor .hb-teach:hover .hb-watch, .tpl-harbor a.hb-teach__media:hover .hb-watch { background: #fff; color: var(--hb-ink); }
.tpl-harbor .hb-teach__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin-top: 22px; }
.tpl-harbor .hb-teach__meta > div { display: grid; gap: 6px; }
.tpl-harbor .hb-teach__title { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; }
.tpl-harbor .hb-teach__meta p { color: var(--fg-muted); font-size: 14px; }

/* ---- cards -------------------------------------------------------------- */
.tpl-harbor .hb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.tpl-harbor .hb-cards--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpl-harbor .hb-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.tpl-harbor .hb-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpl-harbor .hb-cards--1 { grid-template-columns: 1fr; }
.tpl-harbor .hb-card { display: grid; align-content: start; gap: 10px; text-decoration: none; min-width: 0; }
.tpl-harbor .hb-card__img { position: relative; border-radius: var(--hb-card-radius); overflow: hidden; aspect-ratio: 392 / 269; background: var(--hb-ink); margin-bottom: 10px; }
.tpl-harbor .hb-panel--dark .hb-card__img { background: rgba(255, 255, 255, .08); }
.tpl-harbor .hb-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--hb-ease); }
.tpl-harbor .hb-card:hover .hb-card__img img { transform: scale(1.05); }
.tpl-harbor .hb-card__initial { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-family: var(--font-disp); font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -.02em; }
.tpl-harbor .hb-card__initial svg { width: 44px; height: 44px; }
.tpl-harbor .hb-card__initial--date { font-size: clamp(24px, 2.4vw, 34px); }
.tpl-harbor .hb-card__h { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.tpl-harbor .hb-card__meta { font-size: 14px; font-weight: 600; }
.tpl-harbor .hb-card__body { color: var(--fg-muted); font-size: 13px; line-height: 1.5; letter-spacing: -.01em; max-width: 44ch; }
.tpl-harbor .hb-card__note { color: var(--fg-muted); font-size: 13px; }
.tpl-harbor .hb-card .hb-textlink { margin-top: 8px; }
.tpl-harbor .hb-card:hover .hb-textlink { text-decoration: underline; text-underline-offset: 4px; }
.tpl-harbor .hb-cards--1 .hb-card { grid-template-columns: 1.3fr 1fr; column-gap: clamp(28px, 4vw, 56px); align-items: center; }
.tpl-harbor .hb-cards--1 .hb-card__img { grid-row: span 6; margin: 0; }
.tpl-harbor .hb-cards--1 .hb-card__h { font-size: clamp(28px, 3vw, 44px); }
.tpl-harbor .hb-cards--4 .hb-card__h { font-size: clamp(20px, 1.8vw, 26px); }
.tpl-harbor .hb-datechip { position: absolute; top: 14px; left: 14px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--hb-ink); font-size: 11px; font-weight: 600; letter-spacing: .06em; }

.tpl-harbor .hb-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 40px) / 3); column-gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.tpl-harbor .hb-carousel__track::-webkit-scrollbar { display: none; }
.tpl-harbor .hb-carousel__track > * { scroll-snap-align: start; }
.tpl-harbor .hb-carousel__track:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 8px; }
.tpl-harbor .hb-carousel__arrows { display: flex; gap: 8px; }
.tpl-harbor .hb-carousel__arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: none; color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: background .4s var(--hb-ease), color .4s var(--hb-ease); }
.tpl-harbor .hb-carousel__arrows svg { width: 16px; height: 16px; }
.tpl-harbor .hb-carousel__arrows button:hover { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.tpl-harbor .hb-carousel__swipe { display: none; margin-top: 28px; text-align: center; font-size: 13px; font-weight: 500; color: var(--fg-muted); }

/* ---- people ------------------------------------------------------------- */
.tpl-harbor .hb-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 24px; }
.tpl-harbor .hb-person { display: grid; gap: 4px; align-content: start; text-decoration: none; }
.tpl-harbor .hb-person__img { position: relative; border-radius: var(--hb-media-radius); overflow: hidden; aspect-ratio: 1; background: var(--hb-ink); color: rgba(255, 255, 255, .9); display: grid; place-items: center; font-family: var(--font-disp); font-size: 44px; font-weight: 700; margin-bottom: 12px; }
.tpl-harbor .hb-panel--dark .hb-person__img, .tpl-harbor .hb-dethead .hb-person__img { background: rgba(255, 255, 255, .08); }
.tpl-harbor .hb-person__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--hb-ease); }
.tpl-harbor .hb-person:hover .hb-person__img img { transform: scale(1.04); }
.tpl-harbor .hb-person__img--lg { width: clamp(150px, 20vw, 260px); flex-shrink: 0; margin: 0; }
.tpl-harbor .hb-person__name { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.3; }
.tpl-harbor .hb-person__role { color: var(--fg-muted); font-size: 13px; }

/* ---- sermon rows -------------------------------------------------------- */
.tpl-harbor .hb-rows { border-bottom: 1px solid var(--line); }
.tpl-harbor .hb-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 44px; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.tpl-harbor .hb-row__date { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
.tpl-harbor .hb-row__title { font-family: var(--font-disp); font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; line-height: 1.1; }
.tpl-harbor .hb-row__by { color: var(--fg-muted); font-size: 14px; text-align: right; }
.tpl-harbor .hb-row__go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background .4s var(--hb-ease), color .4s var(--hb-ease); }
.tpl-harbor .hb-row__go svg { width: 14px; height: 14px; margin-left: 2px; }
.tpl-harbor .hb-row:hover .hb-row__go { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }

/* ---- give --------------------------------------------------------------- */
.tpl-harbor .hb-give { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(32px, 6vw, 96px); align-items: center; }
.tpl-harbor .hb-give--stats { grid-template-columns: 1fr; }
.tpl-harbor .hb-give .hb-stats { margin-top: 0; }
.tpl-harbor .hb-give:not(.hb-give--stats) .hb-stats { grid-template-columns: 1fr 1fr; }
.tpl-harbor .hb-givecard { padding: 32px; border-radius: var(--hb-card-radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .6); display: grid; gap: 18px; }
.tpl-harbor .hb-panel--dark .hb-givecard { background: rgba(255, 255, 255, .05); }
.tpl-harbor .hb-givecard__h { font-size: 24px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.tpl-harbor .hb-givecard__amts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tpl-harbor .hb-givecard__amt { display: grid; place-items: center; min-height: 56px; border-radius: 40px; border: 1px solid var(--line); font-family: var(--font-disp); font-size: 20px; font-weight: 700; text-decoration: none; transition: border-color .3s; }
.tpl-harbor .hb-givecard__amt:hover { border-color: currentColor; }
.tpl-harbor .hb-givecard__note { color: var(--fg-muted); font-size: 13px; text-align: center; }

/* ---- facts, faq, questions ---------------------------------------------- */
.tpl-harbor .hb-facts { margin: 0; display: grid; }
.tpl-harbor .hb-facts > div { border-top: 1px solid var(--line); padding: 16px 0; display: grid; gap: 4px; }
.tpl-harbor .hb-facts > div:last-child { border-bottom: 1px solid var(--line); }
.tpl-harbor .hb-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.tpl-harbor .hb-facts dd { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.tpl-harbor .hb-facts a { text-decoration: none; }
.tpl-harbor .hb-facts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tpl-harbor .hb-faq { border-bottom: 1px solid var(--line); }
.tpl-harbor .hb-faq__item { border-top: 1px solid var(--line); }
.tpl-harbor .hb-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 17px; font-weight: 500; line-height: 1.35; }
.tpl-harbor .hb-faq__item summary::-webkit-details-marker { display: none; }
.tpl-harbor .hb-faq__item summary::after { content: '+'; flex-shrink: 0; width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-weight: 300; font-size: 18px; line-height: 1; opacity: .7; transition: transform .4s var(--hb-ease); }
.tpl-harbor .hb-faq__item[open] summary::after { transform: rotate(45deg); }
.tpl-harbor .hb-faq__item p { color: var(--fg-muted); padding: 0 0 24px; max-width: 62ch; }
.tpl-harbor .hb-questions ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 17px; }
.tpl-harbor .hb-audio { width: 100%; margin-top: 4px; }

/* ---- forms -------------------------------------------------------------- */
.tpl-harbor .hb-form { display: grid; gap: 12px; }
.tpl-harbor .hb-form--inline { grid-template-columns: 1fr auto; align-items: stretch; }
.tpl-harbor .hb-field { width: 100%; min-height: 52px; padding: 14px 22px; border-radius: 26px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: 400 16px/1.4 var(--font-body); transition: border-color .3s; }
.tpl-harbor .hb-field::placeholder { color: var(--fg-muted); }
.tpl-harbor .hb-field:focus { outline: none; border-color: currentColor; }
.tpl-harbor .hb-field[data-invalid] { border-color: #c4352b; }
.tpl-harbor .hb-field--area { min-height: 132px; resize: vertical; border-radius: 20px; }
.tpl-harbor .hb-form .hb-pill { justify-self: start; margin-top: 6px; }
.tpl-harbor .hb-form--inline .hb-pill { margin-top: 0; }
.tpl-harbor .hb-form [data-sf-note] { color: #c4352b; font-size: 14px; grid-column: 1 / -1; }
.tpl-harbor [data-sf-done] p { font-size: 18px; font-weight: 600; }
.tpl-harbor .hb-formnote { margin-top: 16px; color: var(--fg-muted); font-size: 14px; }

/* ---- footer: revealed from under the last panel ------------------------- */
.tpl-harbor .hb-footer { position: sticky; bottom: 0; z-index: 0; padding: calc(var(--hb-radius) + 40px) 0 36px; margin-top: calc(-1 * var(--hb-radius)); }
.tpl-harbor .hb-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; }
/* Columns may shrink below their longest word, and long emails/addresses wrap
   instead of running into the next column. */
.tpl-harbor .hb-footer__grid > * { min-width: 0; }
.tpl-harbor .hb-footer ul li { overflow-wrap: anywhere; }
.tpl-harbor .hb-footer__logo { max-height: 68px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.tpl-harbor .hb-footer__tag { margin-top: 18px; color: var(--fg-muted); font-size: 14px; max-width: 30ch; }
.tpl-harbor .hb-footer h2 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.tpl-harbor .hb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--fg-muted); }
.tpl-harbor .hb-footer a { text-decoration: none; }
.tpl-harbor .hb-footer ul a:hover, .tpl-harbor .hb-footer__more:hover { color: #fff; }
.tpl-harbor .hb-footer__more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500; }
.tpl-harbor .hb-footer__base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.tpl-harbor .hb-footer__base a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tpl-harbor .hb-footer__left { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.tpl-harbor .hb-footer__base .wom-socials { color: #fff; }

/* ---- tablet ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .tpl-harbor .hb-cards, .tpl-harbor .hb-cards--grid, .tpl-harbor .hb-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-harbor .hb-cards--1 { grid-template-columns: 1fr; }
  .tpl-harbor .hb-carousel__track { grid-auto-columns: calc((100% - 32px) / 2); column-gap: 32px; }
  .tpl-harbor .hb-give { grid-template-columns: 1fr; }
  .tpl-harbor .hb-ruled--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-harbor .hb-detgrid { grid-template-columns: 1fr; }
}

/* ---- phone -------------------------------------------------------------- */
@media (max-width: 860px) {
  .tpl-harbor { --hb-radius: 30px; --hb-photo-radius: 22px; --hb-card-radius: 20px; --hb-media-radius: 16px; }
  .tpl-harbor .hb-nav__row { grid-template-columns: auto 1fr auto; height: 76px; }
  .tpl-harbor .hb-mark { order: 1; justify-self: start; min-width: 44px; height: 52px; }
  .tpl-harbor .hb-mark__mono { width: 46px; height: 46px; font-size: 20px; }
  .tpl-harbor .hb-mark__logo { max-height: 52px; }
  .tpl-harbor .hb-nav__side { order: 2; display: flex; justify-content: flex-end; }
  .tpl-harbor .hb-nav__side .hb-nav__link { display: none; }
  .tpl-harbor .hb-nav__side--right { display: none; }
  .tpl-harbor .hb-burger { order: 2; margin: 0 -8px 0 0; }
  .tpl-harbor .hb-menu__top { height: 76px; }
  .tpl-harbor .hb-menu__secondary { padding-left: 8px; padding-right: 8px; }

  .tpl-harbor .hb-hero__band { padding-bottom: 28px; }
  .tpl-harbor .hb-hero__copy { position: static; transform: none; width: auto; margin: 18px auto 0; color: var(--fg); }
  .tpl-harbor .hb-hero__photorow { margin-top: 0; background: linear-gradient(var(--hb-ink) 50%, var(--hb-cream) 50%); }
  .tpl-harbor .hb-hero__photo, .tpl-harbor .hb-hero--page .hb-hero__photo { aspect-ratio: 4 / 3.3; }
  .tpl-harbor .hb-hero__photo::after { display: none; }
  .tpl-harbor .hb-dethead__mediarow { background: linear-gradient(var(--hb-ink) 50%, var(--hb-cream) 50%); }

  .tpl-harbor .hb-split, .tpl-harbor .hb-visit, .tpl-harbor .hb-media2 { grid-template-columns: 1fr; align-items: start; }
  .tpl-harbor .hb-rowhead { flex-direction: column; align-items: flex-start; }
  .tpl-harbor .hb-carousel .hb-rowhead { margin-bottom: 28px; }
  .tpl-harbor .hb-cards, .tpl-harbor .hb-cards--2, .tpl-harbor .hb-cards--grid, .tpl-harbor .hb-cards--4 { grid-template-columns: 1fr; }
  .tpl-harbor .hb-cards--1 .hb-card { grid-template-columns: 1fr; }
  .tpl-harbor .hb-cards--1 .hb-card__img { grid-row: auto; margin-bottom: 10px; }
  .tpl-harbor .hb-carousel__track { grid-auto-columns: 84%; column-gap: 16px; }
  .tpl-harbor .hb-carousel__arrows { display: none; }
  .tpl-harbor .hb-carousel__swipe { display: block; }
  .tpl-harbor .hb-ruled, .tpl-harbor .hb-ruled--3 { grid-template-columns: 1fr; }
  .tpl-harbor .hb-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .tpl-harbor .hb-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 16px; }
  .tpl-harbor .hb-row__date, .tpl-harbor .hb-row__title { grid-column: 1; }
  .tpl-harbor .hb-row__by { grid-column: 1; text-align: left; }
  .tpl-harbor .hb-row__go { grid-column: 2; grid-row: 1 / span 3; }
  .tpl-harbor .hb-form--inline { grid-template-columns: 1fr; }
  .tpl-harbor .hb-form--inline .hb-pill { justify-self: start; }
  .tpl-harbor .hb-profile { flex-direction: column; align-items: flex-start; }
  .tpl-harbor .hb-dethead__media { aspect-ratio: 16 / 10; }
  .tpl-harbor .hb-wideimg { aspect-ratio: 4 / 3; }
  .tpl-harbor .hb-mapwide { aspect-ratio: 4 / 3; }
  .tpl-harbor .hb-footer { padding-bottom: 28px; }
  .tpl-harbor .hb-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .tpl-harbor .hb-footer__col--visit { grid-column: 1 / -1; }
  .tpl-harbor .hb-footer h2 { margin-bottom: 14px; }
  .tpl-harbor .hb-footer ul { gap: 10px; font-size: 15px; }
  .tpl-harbor .hb-footer__brand { grid-column: 1 / -1; order: 9; display: flex; align-items: center; gap: 16px; padding-top: 8px; }
  .tpl-harbor .hb-footer__brand .hb-mark__mono--lg { width: 52px; height: 52px; font-size: 22px; flex-shrink: 0; }
  .tpl-harbor .hb-footer__tag { margin: 0; }
  .tpl-harbor .hb-footer__base { margin-top: 36px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .tpl-harbor .hb-footer__left { flex-direction: column; align-items: flex-start; gap: 6px; }
}
