@font-face {
  font-family: WJPR-Montserrat;
  src: url('assets/montserrat-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: WJPR-Montserrat;
  src: url('assets/montserrat-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: WJPR-Roboto;
  src: url('assets/roboto-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #000;
  --cyan: #00a3ee;
  --rule: rgba(0, 0, 0, .22);
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: WJPR-Montserrat, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover, a:focus-visible { text-decoration-thickness: 2px; text-underline-offset: 2px; }
p { margin: 0 0 30px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
h1, h2 { margin: 0 0 30px; font-weight: 700; }
h1 { font-size: clamp(25px, 6vw, 32px); line-height: 1.3; }
h2 { font-size: 24px; line-height: 1.25; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #014a7c;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.shell { width: min(1200px, calc(100% - 30px)); margin-inline: auto; }
.site-header { padding-top: 36px; }
.logo-wrap img { width: min(100%, 537px); margin-inline: auto; }
main.shell { max-width: var(--content); }

.intro { padding-top: clamp(64px, 12vw, 110px); text-align: center; }
.intro p { max-width: 100%; }

/* The rule sits midway in the whitespace between adjacent sections. */
.section-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: clamp(44px, 7vw, 82px) 0;
  border: 0;
  background: var(--rule);
}

.story { display: grid; gap: 28px; }
.story-art { margin: 0; }
.story-art img { width: min(100%, 545px); margin-inline: auto; }

.services h2 { margin-bottom: 30px; }
.services-grid { display: flex; flex-direction: column; gap: 28px; }
.services-grid > div { min-width: 0; }
.mark-art { order: 2; margin: 0; }
.mark-art img { width: min(65vw, 260px); margin-inline: auto; }
.services ul { margin: 24px 0 0; padding-left: 1.6em; }
.services li { margin-bottom: 8px; padding-left: 2px; }
.services li:last-child { margin-bottom: 0; }

.people { display: grid; gap: 28px; }
.people article {
  min-width: 0;
  padding: 20px;
  background: var(--cyan);
  color: #fff;
  font-size: clamp(17px, 4.3vw, 19px);
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.people article h2 {
  margin-bottom: 32px;
  color: #fff;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
}
.people article p { margin-bottom: 30px; }
.people article p:last-child { margin-bottom: 0; }
.people article a { color: #fff; font-weight: 700; text-decoration: underline; }

.booking { padding: 44px 0 52px; }
.calendly-embed { width: 100%; min-height: 720px; overflow: hidden; }
.calendly-embed iframe { display: block; width: 100%; height: 720px; border: 0; }

.site-footer {
  background: #f2f2f2;
  font-family: WJPR-Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.75;
}
.site-footer .shell { display: grid; gap: 16px; padding: 40px 0; }
.site-footer p { margin: 0; text-align: center; overflow-wrap: anywhere; }
.site-footer a { text-decoration: underline; }

@media (min-width: 768px) {
  .shell { width: min(1200px, calc(100% - 40px)); }
  main.shell { max-width: 1120px; }
  .site-header { padding-top: 68px; }
  .intro { padding-top: clamp(110px, 13vw, 167px); }
  .site-footer .shell { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; padding: 60px 24px; }
  .site-footer p { text-align: left; }
}

@media (min-width: 860px) {
  .story { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
  .story-art img { width: 100%; transform: translateY(-17px); }
}

@media (min-width: 900px) {
  .services h2 { text-align: center; }
  .services-grid { display: grid; grid-template-columns: minmax(220px, 302px) minmax(0, 1fr); gap: 29px; }
  .mark-art { order: 0; padding-top: 106px; }
  .mark-art img { width: 100%; }
  .services ul { margin-top: 51px; padding-left: 3em; }
}

@media (min-width: 1000px) {
  .people { grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: space-between; gap: 32px; }
  .people article { min-height: 621px; font-size: 19px; }
  .booking { padding: 60px 0; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 24px); }
  .people article { padding: 18px; }
  .people article h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
