main {
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}
main h1,
main h2,
main h3,
main p,
main figure {
  margin: 0;
}
main img {
  display: block;
  max-width: 100%;
}
main a {
  color: inherit;
}
main summary {
  cursor: pointer;
}
main details p {
  margin-top: 0.65rem;
}
main :focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
main section[id] {
  scroll-margin-top: 1rem;
}
main {
  background: #f2f5fc;
  color: #122a47;
}
.bp-nav {
  background: #fff;
  padding: 17px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.bp-nav b {
  font:
    780 clamp(18px, 2vw, 29px) / 1 "DM Sans",
    sans-serif;
  letter-spacing: -0.055em;
}
.bp-nav b span {
  color: #165fbb;
  font-size: 1.15em;
}
.bp-nav a {
  font-size: 13px;
}
.bp-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #173e77;
  color: #fff;
}
.bp-lead {
  padding: 5.5vw 5vw;
}
.bp-lead > p:first-child,
.bp-planner header p,
.bp-run small {
  font:
    12px "JetBrains Mono",
    monospace;
}
.bp-lead h1 {
  font:
    720 clamp(62px, 7.6vw, 116px) / 0.9 "DM Sans",
    sans-serif;
  letter-spacing: -0.085em;
  margin: 23px 0;
}
.bp-lead > p:last-of-type {
  max-width: 39ch;
}
.bp-lead .request {
  display: inline-block;
  background: #e5f2ff;
  color: #163f76;
  border-radius: 6px;
  padding: 11px 16px;
  margin: 23px 0 0;
  text-decoration: none;
  font-weight: 650;
}
.bp-planner {
  margin: 4vw 5vw 4vw 0;
  padding: 3vw;
  border-radius: 18px;
  background: #e5f1ff;
  color: #183450;
  align-self: center;
}
.bp-planner h2 {
  font-size: clamp(28px, 3.3vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.06em;
  margin-top: 5px;
}
.bp-planner fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  margin: 18px 0;
  padding: 0;
}
.bp-planner legend {
  font-size: 13px;
  margin-bottom: 8px;
}
.bp-planner label {
  font-size: 14px;
  background: #fff;
  padding: 8px 11px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #a9bed3;
}
.bp-planner label:has(:checked) {
  background: #183e72;
  color: white;
}
.bp-planner input {
  accent-color: #17578d;
}
.bp-run {
  display: flex;
  border-top: 1px dashed #839bb2;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
}
.bp-run > div {
  display: grid;
}
.bp-run b {
  font:
    650 clamp(45px, 5.7vw, 82px) / 1 "DM Sans",
    sans-serif;
  letter-spacing: -0.09em;
}
.bp-run > span {
  font-size: 28px;
}
.bp-planner > p:last-child {
  font-size: 14px;
}
.bp-services {
  padding: 5vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.bp-services h2 {
  grid-column: 1/-1;
  font:
    680 clamp(34px, 4vw, 62px) / 1 "DM Sans",
    sans-serif;
  letter-spacing: -0.07em;
}
.bp-services article {
  padding: 18px 0;
  border-top: 5px solid #305a8a;
}
.bp-services h3 {
  font-size: 23px;
  letter-spacing: -0.04em;
}
.bp-services article p {
  margin: 12px 0;
}
.bp-services a {
  font-weight: 630;
}
.bp-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  padding: 5vw;
  background: #dbe5ee;
}
.bp-info h2 {
  font-size: 35px;
  letter-spacing: -0.06em;
}
.bp-info address {
  margin-top: 20px;
}
@media (max-width: 700px) {
  .bp-body,
  .bp-services,
  .bp-info {
    grid-template-columns: 1fr;
  }
  .bp-lead {
    padding: 34px 22px;
  }
  .bp-planner {
    margin: 0 18px 23px;
    padding: 23px;
  }
  .bp-services,
  .bp-info {
    padding: 38px 22px;
  }
  .bp-nav a {
    font-size: 12px;
  }
  .bp-services h2 {
    grid-column: auto;
  }
}

main {
  --inquiry-bg: #e1effc;
  --inquiry-ink: #142f4d;
  --inquiry-button: #1b467a;
  --inquiry-button-text: #fff;
}

.bp-line {
  padding: 4.5% 6%;
  background: #d8e6fc;
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 6%;
  align-items: center;
}
.bp-line h2,
.bp-exceptions h2,
.bp-sample h2,
.bp-intake h2 {
  font:
    650 clamp(35px, 4.8vw, 70px) / 1 "DM Sans",
    sans-serif;
  letter-spacing: -0.07em;
}
.bp-line ol {
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
.bp-line li {
  position: relative;
  counter-increment: flow;
  padding: 11px 0 11px 48px;
  border-left: 2px solid #5278ae;
}
.bp-line li:before {
  content: counter(flow);
  position: absolute;
  left: -15px;
  top: 13px;
  background: #1b4371;
  color: white;
  border-radius: 100%;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
}
.bp-line b,
.bp-line li span {
  display: block;
}
.bp-line h2 {
  margin-top: 8px;
}
.bp-exceptions {
  max-width: 960px;
  padding: 5% 7%;
  margin: auto;
}
.bp-exceptions > div {
  margin-bottom: 16px;
}
.bp-exceptions p {
  margin: 8px 0;
}
.bp-exceptions details {
  padding: 14px 0;
  border-top: 1px solid #a5b7cc;
}
.bp-exceptions summary {
  font-size: 20px;
  font-weight: 600;
}
.bp-sample {
  background: #173964;
  color: #f4f8fd;
  padding: 4% 7%;
}
.bp-sample table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
}
.bp-sample caption {
  text-align: left;
  font-size: 13px;
  margin-bottom: 7px;
}
.bp-sample td,
.bp-sample th {
  padding: 12px 6px;
  text-align: left;
  border-bottom: 1px solid #768ba4;
}
.bp-sample h2,
.bp-intake h2 {
  margin: 8px 0;
}
.bp-intake {
  margin: 35px 5%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6%;
  padding: 4%;
  border-radius: 20px;
  background: #e1ebf7;
}
.close-line {
  background: #173964;
  color: #f4f8fd;
}
@keyframes flip-cutoff {
  from {
    transform: perspective(220px) rotateX(-76deg);
    transform-origin: bottom;
  }
  to {
    transform: perspective(220px) rotateX(0);
  }
}
@keyframes route-stop {
  0% {
    transform: scale(0.4);
  }
  75% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: no-preference) {
  #bp-day {
    display: block;
    animation: flip-cutoff 0.85s ease-out;
  }
  .bp-line.in-view li:before {
    animation: route-stop 0.55s ease-out both;
  }
  .bp-line.in-view li:nth-child(2):before {
    animation-delay: 0.18s;
  }
  .bp-line.in-view li:nth-child(3):before {
    animation-delay: 0.36s;
  }
  .bp-line.in-view li:nth-child(4):before {
    animation-delay: 0.54s;
  }
}
@media (max-width: 650px) {
  .bp-line,
  .bp-intake {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bp-line {
    padding: 30px 8%;
  }
  .bp-line ol {
    margin-left: 15px;
  }
  .bp-exceptions,
  .bp-sample {
    padding: 30px 6%;
  }
  .bp-sample td,
  .bp-sample th {
    padding: 8px 4px;
    font-size: 13px;
  }
  .bp-intake {
    padding: 22px;
  }
}
.bp-intake form {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}
.bp-intake label {
  display: grid;
  gap: 5px;
  font:
    600 14px/1.35 "DM Sans",
    sans-serif;
}
.bp-intake select,
.bp-intake textarea,
.bp-intake input {
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid #686e67;
  color: #202820;
  background: #fff;
  font:
    400 16px/1.35 "DM Sans",
    sans-serif;
}
.bp-intake button {
  border: 0;
  padding: 12px 16px;
  width: fit-content;
  min-height: 44px;
  background: #183d6e;
  color: #fff;
  font-weight: 650;
  text-align: left;
}
.bp-intake output:not(:empty) {
  display: block;
  white-space: pre-line;
  border-left: 3px solid currentColor;
  padding: 10px 12px;
  background: rgba(127, 127, 127, 0.09);
}
.bp-intake output:empty,
.bp-intake output:empty + [data-save-copy] {
  display: none;
}
.bp-intake [data-save-copy] {
  font-size: 13px;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  padding-inline: 0;
}
.close-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  padding: 24px 5%;
  border-top: 1px solid currentColor;
}
.close-line nav {
  display: flex;
  gap: 9px 19px;
  flex-wrap: wrap;
  font-size: 14px;
}
.close-line a {
  text-underline-offset: 3px;
}
.close-line strong {
  font-size: 19px;
  letter-spacing: -0.035em;
}

.bp-control {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  background: #dfebf9;
  padding: clamp(23px, 5vw, 76px) 5%;
  gap: 18px;
  align-items: stretch;
}
.bp-control .bp-exceptions,
.bp-control .bp-sample {
  padding: clamp(20px, 3vw, 43px);
  margin: 0;
  max-width: none;
  border-radius: 14px;
}
.bp-control .bp-exceptions h2,
.bp-control .bp-sample h2 {
  font-size: clamp(32px, 3.6vw, 52px);
}
.bp-control .bp-exceptions {
  background: #fff;
}
.bp-intake {
  display: block;
  padding: clamp(20px, 3vw, 45px);
  background: #174476;
  color: #fff;
}
.bp-intake header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #688cae;
  margin-bottom: 20px;
}
.bp-intake header > p:first-child {
  width: 100%;
  margin: 0;
}
.bp-intake header h2 {
  max-width: 13ch;
}
.bp-intake header > p:last-child {
  max-width: 48ch;
}
.bp-intake form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.bp-intake label {
  background: #d8e9fa;
  color: #17314e;
  border-radius: 7px;
  padding: 14px;
}
.bp-intake select {
  border: 0;
  border-bottom: 1px solid #a3bdd8;
  padding-inline: 0;
  background: transparent;
}
.bp-finalize {
  grid-column: span 2;
  margin: 0;
  font-size: 14px;
  align-self: center;
}
.bp-intake button {
  align-self: center;
  background: white;
  color: #132f4e;
  border-radius: 100px;
  justify-self: end;
}
.bp-intake output {
  grid-column: 1/-1;
}
.bp-intake [data-save-copy] {
  color: white;
}
@media (max-width: 760px) {
  .bp-control,
  .bp-intake form {
    grid-template-columns: 1fr;
  }
  .bp-finalize {
    grid-column: auto;
  }
  .bp-intake button {
    justify-self: start;
  }
}

.bp-nav {
  background: #1a2437;
  color: white;
}
.bp-nav b span {
  color: #ffb888;
}
.bp-body {
  background: #f3eee4;
  color: #182332;
  grid-template-columns: 1fr 1fr;
  padding: clamp(22px, 4.4vw, 74px);
  gap: 4vw;
  align-items: center;
}
.bp-lead {
  padding: 0;
}
.bp-lead h1 {
  font:
    700 clamp(54px, 7.9vw, 142px) / 0.89 "Barlow Condensed",
    Arial,
    sans-serif;
  letter-spacing: -0.04em;
}
.bp-lead .request {
  background: #1c2d45;
  color: #fff;
}
.bp-planner {
  width: 100%;
  max-width: 620px;
  justify-self: end;
  margin: 0;
  border: 1px solid #444845;
  border-radius: 4px 4px 12px 12px;
  padding: 22px;
  background: #fffef9;
  color: #202b36;
  box-shadow: 0 6px #c9c3b4;
}
.bp-planner header {
  border-top: 9px solid #e2522a;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 8px;
}
.bp-planner header h2 {
  font:
    700 clamp(28px, 3.1vw, 50px) / 1 "Barlow Condensed",
    sans-serif;
}
.bp-planner fieldset {
  margin: 12px 0;
}
.bp-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid #c5c3b9;
  border-top: 1px solid #c5c3b9;
}
.bp-calendar span,
.bp-calendar b {
  min-width: 0;
  padding: 4px 6px;
  border-right: 1px solid #c5c3b9;
  border-bottom: 1px solid #c5c3b9;
  font:
    600 clamp(13px, 1.35vw, 22px) / 1.25 "Barlow Condensed",
    sans-serif;
}
.bp-calendar span {
  background: #1f2d45;
  color: white;
  text-align: center;
}
.bp-calendar b {
  background: #fffdf7;
  color: #52606c;
}
.bp-calendar .first-half,
.bp-planner[data-period="month"] .second-half {
  background: #f9bf85;
  color: #302618;
}
.bp-run {
  margin: 12px 0 5px;
  align-items: center;
}
.bp-run b {
  font:
    650 26px/1 "Barlow Condensed",
    sans-serif;
}
.bp-run > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bp-calendar-key,
#bp-caption {
  font-size: 13px;
}
.bp-line {
  background: #25354b;
  color: white;
}
.bp-line li:before {
  border-color: #f2b579;
}
.bp-services {
  background: white;
}
.bp-intake {
  margin: 0;
  background: #f1eee4;
  padding: 4vw;
}
.bp-nav,
.bp-lead h2,
.bp-line h2,
.bp-services h2,
.bp-exceptions h2,
.bp-sample h2,
.bp-info h2,
.bp-intake h2 {
  font-family: "Barlow Condensed", sans-serif;
}
.bp-exceptions {
  border-top: 6px solid #df744d;
}
.bp-info {
  background: white;
}
@media (max-width: 720px) {
  .bp-body {
    grid-template-columns: 1fr;
    padding: 33px 6vw;
    gap: 25px;
  }
  .bp-planner {
    justify-self: stretch;
    max-width: none;
    padding: 16px;
  }
  .bp-lead h1 {
    font-size: clamp(58px, 12vw, 89px);
  }
  .bp-calendar b {
    padding: 5px;
  }
  .bp-planner header {
    align-items: center;
  }
  .bp-intake {
    padding: 30px 5vw;
  }
}
.bp-intake {
  color: #203247;
}
.bp-intake button {
  background: #1c2d45;
  color: white;
}
.bp-intake [data-save-copy] {
  color: #17334c;
  background: #f5f7ff;
  border: 1px solid #17334c;
}
.bp-intake output:not(:empty) {
  color: #142d48;
  background: #e2ecf2;
}
.bp-line :is(p, span) {
  color: #ecf0ef;
}
