@font-face {
  font-family: "Between Visits Sans";
  src: url("hanken-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Between Visits Serif";
  src: url("newsreader.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Between Visits Serif";
  src: url("newsreader-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

.bv-carousel, .bv-actions {
  --bv-paper: #fcfbf6;
  --bv-ink: #182e26;
  --bv-muted: #4b6156;
  --bv-forest: #123a2f;
  --bv-deep: #103128;
  --bv-light: #fbfaf2;
  --bv-light-muted: #d6e6dc;
  --bv-lime: #dbeea7;
  --bv-line: #d9ddd0;
  --bv-serif: "Between Visits Serif", Georgia, serif;
  font-family: "Between Visits Sans", "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}

.bv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.bv-carousel {
  border-radius: clamp(1.15rem, 2.6vw, 1.85rem);
  background: radial-gradient(ellipse at 78% 38%, #1c493c, var(--bv-forest) 60%, var(--bv-deep));
  color: var(--bv-light);
  box-shadow: 0 1rem 2.5rem #172e2314;
}

.bv-carousel :is(a, button, h2):focus-visible { outline-color: var(--bv-lime); }

.bv-slide,
.pv-band {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.75rem, 3.4vw, 3.2rem) clamp(1.35rem, 5vw, 4.75rem);
}

.bv-slide { scroll-margin-block-start: 1rem; }

.bv-slide + .bv-slide { border-top: 1px solid #ffffff29; }

.bv-carousel.is-ready .bv-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  touch-action: pan-y pinch-zoom;
}

.bv-carousel.is-ready .bv-slide {
  grid-area: 1 / 1;
  border: 0;
  visibility: hidden;
}

.bv-carousel.is-ready .bv-slide.is-active { visibility: visible; }

.bv-kicker {
  margin-bottom: clamp(.85rem, 1.5vw, 1.45rem);
  color: var(--bv-lime);
  font-size: clamp(.82rem, 1.2vw, .94rem);
  font-weight: 700;
  letter-spacing: .055em;
}

.bv-slide-title {
  width: fit-content;
  max-width: 100%;
  color: var(--bv-light);
  font-family: var(--bv-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 5.4vw, 5.1rem);
  letter-spacing: -.038em;
  line-height: .99;
}

.bv-slide-title em { color: var(--bv-lime); font-weight: 400; }

.bv-lede {
  margin-top: clamp(.8rem, 1.35vw, 1.25rem);
  max-width: 33ch;
  color: var(--bv-light-muted);
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.5;
}

.bv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 3rem;
  max-width: 100%;
  margin-top: clamp(1.05rem, 2vw, 1.65rem);
  padding: .65rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  background: var(--bv-lime);
  color: var(--bv-deep);
  font-weight: 800;
  text-decoration: none;
}

.bv-button:hover { background: #eff9d8; }

.bv-portrait {
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: .7rem;
  width: min(100%, 21rem);
  margin: 0;
  text-align: center;
}

.bv-portrait-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #4d7165 43%, #1d483b 70%, transparent 71%);
}

.bv-portrait-art::before {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid #dbeea757;
  border-radius: 50%;
}

.bv-portrait-art img {
  display: block;
  width: 89%;
  height: auto;
  border: 4px solid #b6cbac;
  border-radius: 50%;
  box-shadow: 0 .52rem 1.5rem #0a281f80;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bv-portrait-art::before {
    pointer-events: none;
    transition: transform 240ms cubic-bezier(.2, .75, .3, 1);
  }

  .bv-portrait-art img {
    transition: transform 240ms cubic-bezier(.2, .75, .3, 1), box-shadow 240ms ease;
  }

  .bv-portrait-art[data-portrait-active]::before {
    transform: translate(
      calc(var(--bv-portrait-x, 0) * -1.5%),
      calc(var(--bv-portrait-y, 0) * -1.5%)
    );
  }

  .bv-portrait-art[data-portrait-active] img {
    transform: perspective(48rem)
      translate(calc(var(--bv-portrait-x, 0) * 3%), calc(var(--bv-portrait-y, 0) * 3%))
      rotateX(calc(var(--bv-portrait-y, 0) * -7deg))
      rotateY(calc(var(--bv-portrait-x, 0) * 7deg))
      scale(1.04);
    box-shadow: 0 .9rem 2rem #0a281fa1;
  }
}

.bv-portrait figcaption { color: var(--bv-light-muted); font-size: .98rem; }
.bv-portrait figcaption strong { display: block; color: var(--bv-light); font-size: 1.14rem; }

.bv-note {
  min-width: 0;
  width: min(100%, 27rem);
  justify-self: center;
  padding: clamp(1rem, 2.4vw, 2rem);
  border-radius: 1.15rem;
  background: #eaf0df;
  color: var(--bv-ink);
  box-shadow: 0 0 0 .5rem #eaf0df14;
}

.bv-note--ocean { background: #e4f0eb; }
.bv-note--home { background: #f0eddd; }
.bv-note-title { margin-bottom: .45rem; font-size: clamp(1.19rem, 2vw, 1.45rem); font-weight: 800; line-height: 1.2; }
.bv-note p + p { margin-top: .6rem; }
.bv-note :is(a, button):focus-visible { outline-color: var(--bv-forest); }

.bv-checklist {
  margin: 0;
  padding-inline-start: 1.25rem;
}

.bv-checklist li { padding: .55rem 0 .55rem .18rem; }
.bv-checklist li + li { border-top: 1px solid #172e232c; }
.bv-checklist li::marker { color: #497148; }

.bv-checklist--ready { list-style: none; padding-inline-start: 0; }
.bv-checklist--ready li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: .6rem;
  padding-inline-start: 0;
}

.bv-check {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: .06rem;
  border-radius: 50%;
  background: #d3e3c6;
  color: #1e5439;
  font-weight: 800;
  line-height: 1;
}

.bv-call-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .3rem;
  color: var(--bv-forest);
  font-weight: 800;
}

.bv-contacts {
  display: grid;
  gap: .55rem;
  padding: .65rem;
  background: #eaf0df;
}

.bv-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem 1rem;
  flex-wrap: wrap;
  min-height: 3.35rem;
  padding: .7rem .85rem;
  background: var(--bv-paper);
  border-radius: .65rem;
  text-decoration: none;
}

.bv-contact--urgent { color: #752d26; background: #f8e7df; }
.bv-contact span { color: inherit; font-weight: 600; }
.bv-contact strong { text-decoration: underline; }
.bv-contact:hover { box-shadow: inset 0 0 0 2px currentColor; }

.bv-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem 1.35rem;
  padding: .78rem clamp(1.35rem, 5vw, 4.75rem);
  border-bottom: 1px solid #ffffff29;
  border-radius: clamp(1.15rem, 2.6vw, 1.85rem) clamp(1.15rem, 2.6vw, 1.85rem) 0 0;
  background: var(--bv-deep);
}

.bv-controls[hidden] { display: none; }
.bv-topics, .bv-playback, .bv-arrows {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
}
.bv-playback { gap: .65rem; }

.bv-topic, .bv-step {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 99px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--bv-light);
  cursor: pointer;
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}

.bv-topic {
  position: relative;
  padding: .25rem .8rem .65rem;
}
.bv-topic-progress {
  position: absolute;
  inset: auto .72rem .35rem;
  height: .16rem;
  border-radius: 99px;
}

.bv-topic-progress::before, .bv-topic-progress::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: currentColor;
}

.bv-topic-progress::before { opacity: .38; }
.bv-topic.is-prior .bv-topic-progress::before { opacity: .84; }
.bv-topic-progress::after { transform: scaleX(0); transform-origin: left; }
.bv-topic[aria-current="true"] .bv-topic-progress::after { transform: scaleX(1); }
.bv-topic[aria-current="true"] { background: var(--bv-lime); color: var(--bv-deep); }
.bv-topic:not([aria-current="true"]):hover, .bv-step:hover { background: #295245; }
.bv-step { padding: .4rem .85rem; border-color: #87a494; font-size: .94rem; }
:is(.bv-topic, .bv-step):active { box-shadow: inset 0 0 0 2px #9ab39e; }

.bv-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-inline-size: 8.25rem;
  border-color: #a9bb8a;
  background: #29483b;
}

.bv-play-icon {
  display: grid;
  place-items: center;
  width: .74rem;
  height: .84rem;
  flex: none;
}

.bv-play-icon::before {
  content: "";
  border-block: .34rem solid transparent;
  border-left: .54rem solid currentColor;
}

[data-bv-playback]:not([data-bv-playback="manual"]) .bv-play-icon::before {
  width: .54rem;
  height: .68rem;
  border: 0;
  border-inline: .15rem solid currentColor;
}

.bv-actions {
  margin-top: clamp(1.2rem, 2.6vw, 2.1rem);
  scroll-margin-block-start: 1rem;
}

.bv-actions h2 {
  margin-bottom: .7rem;
  font-family: var(--bv-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.022em;
}

.bv-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.bv-shortcut {
  display: block;
  min-height: 5.55rem;
  padding: .9rem 1rem;
  border: 1px solid var(--bv-line);
  border-radius: .95rem;
  background: var(--bv-paper);
  text-decoration: none;
}

.bv-shortcut strong { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.bv-shortcut small { display: block; margin-top: .26rem; color: var(--bv-muted); font-size: .94rem; }

.bv-shortcut.is-relevant {
  border-color: #789276;
  background: #eaf1e1;
  box-shadow: inset 0 .2rem #789276;
}
.bv-shortcut:hover { border-color: #819989; background: #edf1e5; }
.bv-shortcut:hover strong { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .bv-carousel.is-ready .bv-slide.is-active > * { animation: bv-enter 260ms ease-out; }
  .bv-carousel.is-ready .bv-slide.is-active .bv-check { animation: bv-check-in 260ms ease-out both; }
  .bv-slide.is-active li:nth-child(2) .bv-check { animation-delay: 80ms; }
  .bv-slide.is-active li:nth-child(3) .bv-check { animation-delay: 160ms; }

  :is([data-bv-playback="running"], [data-bv-playback="held"]) .bv-topic[aria-current="true"] .bv-topic-progress::after {
    animation: bv-time-progress var(--bv-slide-duration) linear both;
  }
  [data-bv-playback="held"] .bv-topic[aria-current="true"] .bv-topic-progress::after {
    animation-play-state: paused;
  }

  @keyframes bv-enter {
    from { transform: translateY(.3rem); }
    to { transform: translateY(0); }
  }
  @keyframes bv-check-in {
    from { opacity: .4; transform: scale(.72); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes bv-time-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

@media (max-width: 57rem) {
  .bv-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47rem) {
  .bv-carousel.is-ready .bv-stage { display: block; }
  .bv-carousel.is-ready .bv-slide:not(.is-active) { display: none; }
  .bv-slide,
  .pv-band {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 1.1rem;
    padding: 1.35rem clamp(1rem, 5vw, 2rem) 1.25rem;
  }

  .bv-slide-title { font-size: clamp(2.6rem, 10.7vw, 4.65rem); }
  .bv-lede { max-width: 40ch; }
  .bv-kicker { letter-spacing: .025em; }
  .bv-note { justify-self: start; margin-inline: .15rem; width: min(100% - .3rem, 29rem); }
  .bv-note:not(.bv-contacts) { padding: .9rem 1rem; }
  .bv-portrait { display: flex; align-items: center; width: auto; justify-self: start; text-align: left; gap: .75rem; }
  .bv-portrait-art { width: 5.7rem; flex: 0 0 auto; }
  .bv-portrait-art img { border-width: 2px; }
  .bv-controls { padding-inline: clamp(.65rem, 3vw, 1.4rem); }
  .bv-topic { padding-inline: clamp(.4rem, 2.1vw, .8rem); }
}

@media (max-width: 49rem) {
  .bv-controls { padding-block: .55rem; gap: .35rem; }
  .bv-playback { width: 100%; justify-content: space-between; }
  .bv-topics { width: 100%; justify-content: space-between; gap: .15rem; }
}

@media (max-width: 33rem) {
  .bv-topic { font-size: .93rem; }
  .bv-topic-progress { inset-inline: .55rem; }
  .bv-step { padding-inline: .55rem; }
  .bv-contact { min-height: 2.85rem; padding: .55rem .7rem; }
  .bv-contact span { font-size: .94rem; }
}

@media (max-width: 26rem) {
  .bv-shortcuts { gap: .52rem; }
  .bv-shortcut { padding: .72rem; }
  .bv-shortcut small { font-size: .9rem; }
}

@media (forced-colors: active) {
  .bv-carousel, .bv-shortcut, .bv-note { border: 1px solid CanvasText; }
  .bv-button, .bv-step { border-color: ButtonText; }
  .bv-topic[aria-current="true"] { border-color: Highlight; text-decoration: underline; }
  .bv-shortcut.is-relevant { border-color: Highlight; }
}

@media print {
  .bv-carousel, .bv-controls, .bv-shortcut, .bv-note { box-shadow: none; }
  .bv-carousel.is-ready .bv-stage { display: block; }
  .bv-carousel.is-ready .bv-slide { visibility: visible; break-inside: avoid; }
  .bv-carousel.is-ready .bv-slide:not(.is-active) { display: grid; }
  .bv-controls { display: none; }
  .bv-carousel, .bv-slide-title, .bv-slide-title em, .bv-lede, .bv-kicker,
  .bv-portrait figcaption, .bv-portrait figcaption strong { background: white; color: black; }
  .bv-slide { padding: 1rem 0; }
}

/* Plan your visit */
.home-page {
  scroll-padding-block: 88px 6px;
}

.home-page .site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
}

.home-page .skip:focus {
  z-index: 11;
}

.pv {
  position: relative;
  text-decoration: none;
}

.pv .arr {
  display: inline-block;
  transition: transform .15s;
}

.pv:hover .arr {
  transform: translateX(3px);
}

.pv:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.pv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  background: var(--visit);
  color: var(--visit-ink);
  font-weight: 700;
  line-height: 1.1;
  border-radius: 999px;
  padding: 13px 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 20px -8px rgba(247,126,45,.75);
  transition: background .15s, transform .15s;
}

.pv-btn:hover,
.pv-btn:active {
  background: var(--visit-press);
}

.pv-btn:hover {
  transform: translateY(-1px);
}

.pv-btn.sm {
  padding: 9px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.pv-btn.lg {
  padding: 17px 28px;
  font-size: 18px;
}

.home-page .nav .pv-btn:hover {
  text-decoration: none;
}

#bv-welcome .pv-secondary {
  color: var(--bv-light);
  background: transparent;
  border: 1.5px solid currentColor;
}

#bv-welcome .pv-secondary:hover {
  background: rgba(255,255,255,.09);
}

.bv-shortcuts.pv-shortcuts {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}

.pv-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--visit-wash);
  color: var(--visit-ink);
  border: 5px solid var(--visit);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 8px 20px -12px rgba(124,60,18,.32);
  transition: background .15s, border-color .15s, transform .15s;
}

.pv-card:hover,
.pv-card:active {
  border-color: var(--visit-press);
  background: #ffe5cc;
}

.pv-card:hover {
  transform: translateY(-2px);
}

.pv-card .k {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.pv-card h3 {
  margin: 0;
  font-family: var(--bv-serif);
  font-size: 30px;
  line-height: 1.05;
  font-weight: 500;
}

.pv-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.pv-card .go {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 700;
}

.pv-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: inherit;
  border-bottom: 2px solid var(--visit);
  padding-bottom: 2px;
}

.pv-link::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--visit);
  flex: none;
}

.pv-next {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.12);
  font-size: 15px;
}

.pv-next.on-dark {
  border-top-color: rgba(255,255,255,.18);
}

.habits-feature .pv-next {
  grid-column: 1 / -1;
  margin-top: 0;
}

.resource-step.pv-step {
  --tile-hover: var(--visit-wash);
  background: var(--visit-wash);
  border: 2px solid var(--visit);
  text-decoration: none;
  color: inherit;
}

.resource-step.pv-step:hover,
.resource-step.pv-step:focus-visible {
  border-color: var(--visit);
}

.pv-step .step-number {
  background: var(--visit);
  color: var(--visit-ink);
}

.pv-step .go {
  display: block;
  font-weight: 700;
  margin-top: 4px;
  font-size: 14px;
  color: var(--visit-ink);
}

.pv-band {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--visit);
  margin-top: clamp(1.65rem, 4vw, 3.15rem);
}

.pv-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--visit);
  pointer-events: none;
}

.pv-band .bv-slide-title {
  font-size: clamp(2.35rem, 4.5vw, 3.85rem);
}

.pv-band .pv-btn {
  margin-top: 1.25rem;
}

.pv-band-details {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.pv-band-details > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 1fr) minmax(0, 2.5fr);
  gap: .65rem;
  padding-block: .8rem;
  border-top: 1px solid rgba(255,255,255,.18);
}

.pv-band-details dt {
  color: var(--bv-lime);
  font-weight: 700;
}

.pv-band-details dd {
  margin: 0;
  color: var(--bv-light-muted);
}

.pv-footer-links {
  display: grid;
  justify-items: start;
  gap: .55rem;
}

.pv-footer-links .pv-link {
  font-weight: 700;
}

.pv-mbar {
  display: none;
}

@media (width < 900px) {
  .bv-shortcuts.pv-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pv-shortcuts .pv-card {
    grid-column: 1 / -1;
  }

  .pv-band {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (width > 720px) {
  .home-page .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: .3rem;
  }
}

@media (max-width: 720px) {
  .home-page {
    --pv-bar-space: calc(72px + env(safe-area-inset-bottom));
    scroll-padding-block-end: var(--pv-bar-space);
  }

  .home-page body {
    padding-bottom: var(--pv-bar-space);
  }

  .site-header .pv-btn {
    display: none;
  }

  .pv-mbar {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245,242,232,.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,.12);
  }

  .pv-mbar .pv-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 650px) {
  .home-page {
    scroll-padding-block-start: 10rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pv,
  .pv * {
    transition: none !important;
  }

  .pv:hover,
  .pv:hover .arr {
    transform: none;
  }
}

@media print {
  .home-page body {
    padding-bottom: 0;
  }

  .pv-mbar {
    display: none;
  }
}
