/* Shared measurements of the published free-form sections. */
.home-features-inner, .home-bio-inner, .home-qualifications-inner, .home-services-inner {
  width: min(1170px, calc(100% - 48px));
  margin-inline: auto;
}
.home-section-title {
  margin: 0;
  font: 400 68px/1.2 "Advent Pro", sans-serif;
}
.home-follow, .home-quote-author, .home-feature-title, .home-bio-label,
.home-qualification-list, .home-step-label {
  font: 600 12px/1.71 "IBM Plex Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-points-list, .home-degree, .home-education-list, .home-step-list,
.home-certificate-thumbs, .home-qualification-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-tone-dark { color: #464545; }
.home-tone-muted { color: #8d8d8d; }
.home-tone-secondary { color: #6d6d6d; }
.home-tone-pink { color: #eac9cb; }
.home-tone-rose { color: #ebc9cb; }
.home-tone-mint { color: #dce9e5; }
.home-tone-pale-mint { color: #dbe9e5; }
.home-tone-blue { color: #b2c5e1; }
.home-tone-lilac { color: #efd9f2; }
.home-tone-unfilled { color: #f4f4f4; }

/* The hero and the transparent header share a single textured surface. */
.home-hero {
  --home-header-offset: 141px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--home-header-offset));
  padding-top: var(--home-header-offset);
  background-color: #f4f4f4;
}
.home-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  width: min(1170px, calc(100% - 48px));
  margin-inline: auto;
  padding: 69px 0 111px;
  text-align: center;
}
.home-hero-portrait {
  display: block;
  width: 46.33%;
  height: auto;
  margin-left: 27.27%;
  border-radius: 90px 90px 0 0;
}
#home-title {
  margin: 55px auto 0;
  font: 900 clamp(58px, 6vw, 82px)/1 "Playfair Display", serif;
}
.home-subheading {
  max-width: 615px;
  margin: 20px auto 0;
  font: 500 21px/1.6 "IBM Plex Mono", monospace;
}
.home-hero-sun { position: absolute; left: 10.5%; top: 67.5%; width: 77px; }
.home-hero-social { position: absolute; left: 4.53%; top: 29.7%; }
.home-hero-social::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 37px);
  left: 9px;
  height: 136px;
  border-left: 2px solid rgb(0 0 0 / 9%);
}
.home-instagram, .home-instagram img { display: block; width: 20px; height: 20px; }
.home-follow {
  position: absolute;
  left: -1px;
  top: 36px;
  height: 106px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: left;
}
.home-hero-quote {
  position: absolute;
  top: 29.7%;
  right: 0;
  width: 18.3%;
  margin: 0;
  text-align: right;
}
.home-quote-mark { display: block; width: 50px; height: 37px; margin-left: auto; }
.home-quote-text { margin: 18px 0 7px; text-align: left; font-size: 15px; line-height: 1.5; }
.home-quote-author { display: block; font-style: normal; }
.home-hero-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home-hero-shapes i { position: absolute; border-radius: 50%; border: 2px solid rgb(104 104 104 / 8%); }
.home-hero-shapes .home-shape-1 { left: -302px; top: 520px; width: 107px; height: 107px; border: 15px solid #dce9e5; }
.home-hero-shapes .home-shape-2 { left: 14.7%; top: 88px; width: 43px; height: 43px; border: 8px solid #dce9e5; }
.home-hero-shapes .home-shape-3 { left: 78%; top: 65px; width: 89px; height: 89px; border: 15px solid rgb(199 217 242 / 81%); }
.home-hero-shapes .home-shape-4 { right: -324px; top: 564px; width: 126px; height: 126px; border: 15px solid rgb(243 203 248 / 19%); }
.home-shape-5 { left: -438px; top: -271px; width: 380px; height: 380px; }
.home-shape-6 { left: 22.9%; top: -68px; width: 73px; height: 73px; }
.home-hero-shapes .home-shape-7, .home-hero-shapes .home-shape-8 { border-color: rgb(70 69 69 / 11%); }
.home-hero-shapes .home-shape-7 { left: -92px; bottom: 13px; width: 330px; height: 278px; border-radius: 200px 200px 0 0; }
.home-hero-shapes .home-shape-8 { right: -324px; top: -141px; width: 362px; height: 522px; border-radius: 0 0 200px 200px; }

.home-features { background: #dce9e5; padding: 40px 0; }
.home-features-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.home-feature { padding-inline: 10px; }
.home-feature-icon { display: block; width: 50px; height: 50px; filter: brightness(0) invert(41%); }
.home-feature-title, .home-feature-summary { margin: 20px 0 0; }
.home-feature-summary { font-size: 15px; line-height: 1.5; }

.home-biography { position: relative; overflow: hidden; padding: 87px 0 54px; }
.home-biography::before, .home-biography::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.home-biography::before {
  left: calc(50% - 992px); top: 50%; width: 273px; height: 387px;
  border: 2px solid rgb(243 203 248 / 16%); border-radius: 200px 200px 0 0;
}
.home-biography::after {
  left: calc(50% + 771px); top: 63%; width: 150px; height: 150px;
  border: 15px solid rgb(220 233 229 / 11%); border-radius: 50%;
}
.home-bio-inner { display: grid; grid-template-columns: 35% minmax(0, 1fr); }
.home-bio-inner > :not(.home-bio-sidebar) { grid-column: 2; }
#home-bio-title, #home-services-title { border-bottom: 2px dashed #f4f4f4; }
#home-bio-title { padding-bottom: 38px; margin-bottom: 17px; }
.home-bio-sidebar {
  grid-column: 1;
  grid-row: 2 / span 3;
  width: min(100% - 30px, 280px);
  padding-top: 17px;
  font-size: 15px;
  line-height: 1.5;
}
.home-bio-label { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 0 4px; }
.home-bio-icon { width: 20px; height: 20px; }
.home-contact { margin: 26px 0 0 4px; }
.home-bio-sidebar a { color: inherit; text-decoration: none; }
.home-bio-sidebar a:hover, .home-bio-sidebar a:focus-visible { text-decoration: underline; }
.home-education-label { margin-top: 134px; }
.home-degree { margin: 22px 0 18px; }
.home-education-list + .home-education-list { margin-top: 1.5em; }
.home-bio-intro, .home-points-intro { margin: 0; }
.home-bio-points { margin-top: 48px; padding-left: 4px; }
.home-points-list { margin-top: 1.6em; }
.home-bio-portraits { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 68px; }
.home-bio-portraits img { display: block; width: 46.65%; aspect-ratio: 355 / 479; object-fit: cover; }
.home-bio-photo-a { border: 8px solid #ffe5e6; border-radius: 100px 0; }
.home-bio-photo-b { border: 4px dashed #dce9e5; transform: translateY(-5px); }

.home-qualifications { padding: 100px 0; }
.home-qualifications .home-section-title, .home-gallery-instruction { text-align: center; }
.home-gallery-instruction { margin: 25px 0 50px; font-size: 18px; font-weight: 500; line-height: 1.66; }
.home-qualifications-grid { display: grid; grid-template-columns: minmax(0, 37fr) minmax(0, 77fr); gap: 30px; }
.home-qualification-list { color: #c0bfbf; }
.home-qualification-list li + li { margin-top: 40px; }
.home-qualification-list li::first-line, .home-qualification-list strong { color: #686868; }
.home-certificate-stage { position: relative; aspect-ratio: 15 / 7; }
.home-certificate-open, .home-certificate-image, .home-certificate-thumb, .home-certificate-thumb-image {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
.home-certificate-open { cursor: zoom-in; }
.home-certificates button {
  position: absolute;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #464545;
  color: white;
  cursor: pointer;
  font: 24px/1 Arial, sans-serif;
}
.home-certificate-prev, .home-certificate-next {
  display: none;
  width: 32px; height: 32px;
  top: 50%; transform: translateY(-50%);
}
.home-certificates[data-home-ready] :is(.home-certificate-prev, .home-certificate-next) { display: grid; place-items: center; }
.home-certificate-prev { left: 16px; }
.home-certificate-next { right: 16px; }
.home-certificate-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 98px) / 8);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  padding: 18px 0 4px;
}
.home-certificate-thumbs li { aspect-ratio: 1; min-width: 0; }
.home-certificate-thumb { opacity: .42; }
.home-certificate-thumb[aria-current], .home-certificate-thumb:hover, .home-certificate-thumb:focus-visible { opacity: 1; }
.home-certificate-thumb:focus-visible { outline-offset: -2px; }
.home-gallery-status {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.home-certificate-dialog {
  inset: 0; margin: auto; padding: 0; border: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  background: transparent;
}
.home-certificate-dialog[open] { display: grid; place-items: center; }
.home-certificate-dialog::backdrop { background: rgb(0 0 0 / 87%); }
.home-certificate-dialog form { position: absolute; right: 0; top: 0; }
.home-certificate-close { right: 14px; top: 14px; width: 44px; height: 44px; }
.home-certificate-dialog :is(.home-certificate-prev, .home-certificate-next) { width: 44px; height: 44px; }
.home-certificate-large { display: block; max-width: calc(100% - 32px); max-height: calc(100dvh - 96px); object-fit: contain; }

.home-services { padding: 40px 0 68px; }
#home-services-title { margin: 0 0 19px 35%; padding-bottom: 29px; }
.home-service-step { display: grid; grid-template-columns: 35% minmax(0, 1fr); }
.home-step-marker { position: relative; padding-top: 10px; }
.home-step-marker::before {
  content: "";
  position: absolute; left: 67.3%; top: 8px;
  width: 20px; height: 20px; border-radius: 50%; background: #eac9cb;
}
.home-step-line { position: absolute; left: 67.3%; top: 28px; width: 20px; height: calc(100% - 20px); object-fit: cover; }
.home-step-heading { margin: 0; font: 900 22px/1.4 "Playfair Display", serif; }
.home-step-copy, .home-step-list { margin: 10px 0 0; }
.home-service-step:first-of-type .home-step-copy { margin-top: 25px; }
.home-service-step:nth-of-type(1) { padding-bottom: 0; min-height: 231px; }
.home-service-step:nth-of-type(2) { min-height: 327px; }
.home-service-step:nth-of-type(3) { min-height: 257px; }
.home-step-content { padding-bottom: 26px; }
.home-service-step:last-of-type .home-step-content { padding-bottom: 0; }
.home-services-actions { display: flex; gap: 56px; justify-content: center; margin: 90px 0 0; }
.home-services-actions a {
  min-width: 132px; padding: 11px 20px;
  border: 2px solid #464545; border-radius: 24px;
  font-size: 15px; font-weight: 700; line-height: 20px; text-align: center; text-decoration: none;
}
.home-contract-link { color: #464545; }
.home-write-link { color: #fff; background: #464545; }
.home-contract-link:hover { color: white; background: #464545; }
.home-write-link:hover { background: #686868; }

@media (min-width: 768px) and (max-width: 991px) {
  .home-hero { --home-header-offset: 132px; }
  .home-hero-inner { padding-block: 46px 80px; }
  .home-hero-quote { width: 20%; top: 20%; }
  .home-features-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-bio-sidebar { overflow-wrap: anywhere; }
}
@media (max-width: 767px) {
  .home-hero { --home-header-offset: 132px; }
  .home-hero-inner { width: min(100%, 470px); padding: 17px 0 38px; }
  .home-hero-portrait { width: 81.7%; margin-left: 12.1%; }
  #home-title { max-width: 94%; margin-top: 9px; font-size: 58px; }
  .home-subheading { width: 62%; margin-top: 24px; font-size: 18px; }
  .home-hero-sun { top: 52%; left: -9.5%; width: 82px; }
  .home-hero-social { left: 12%; top: auto; bottom: 220px; }
  .home-hero-social::before { display: none; }
  .home-follow { top: 48px; left: -10px; height: auto; writing-mode: horizontal-tb; transform: none; white-space: nowrap; }
  .home-hero-quote { position: relative; inset: auto; width: 42%; margin: 13px 10.5% 0 auto; }
  .home-quote-text { margin: 13px 0 7px; font-size: 14px; }
  .home-hero-shapes .home-shape-1 { left: 94%; top: 29%; width: 44px; height: 44px; }
  .home-hero-shapes .home-shape-2 { left: -44px; top: -19px; width: 57px; height: 57px; }
  .home-hero-shapes .home-shape-3 { left: -6px; top: 29%; width: 64px; height: 64px; }
  .home-hero-shapes .home-shape-4 { right: -16px; top: 97px; width: 29px; height: 29px; }
  .home-shape-5 { left: -104px; top: -258px; width: 111px; height: 111px; }
  .home-shape-6 { left: -34px; top: -52px; width: 82px; height: 82px; }
  .home-hero-shapes .home-shape-7 { left: -145px; bottom: 11%; width: 152px; height: 298px; }
  .home-hero-shapes .home-shape-8 { right: -45px; top: -190px; width: 138px; height: 198px; }
  .home-features-inner { grid-template-columns: 1fr; gap: 30px; }
  .home-feature-summary, .home-bio-sidebar { font-size: 14px; }
  .home-section-title { font-size: 40px; }
  .home-biography { padding: 40px 0 120px; }
  .home-biography::before { left: 70%; top: 8%; }
  .home-biography::after { display: none; }
  .home-bio-inner { display: flex; flex-direction: column; position: relative; }
  #home-bio-title { padding-bottom: 16px; margin-bottom: 30px; }
  .home-bio-sidebar { display: flex; flex-direction: column; width: min(100%, 250px); padding: 0; }
  .home-bio-label { margin: 0; gap: 8px; }
  .home-bio-sidebar > .home-bio-label:first-child { max-width: 155px; }
  .home-contact { max-width: 225px; margin: 6px 0 0; }
  .home-education-label { margin-top: 46px; }
  .home-education { margin-top: 24px; }
  .home-degree { order: 1; margin: 44px 0 0; }
  .home-bio-intro { margin-top: 132px; }
  .home-bio-portraits { display: contents; }
  .home-bio-portraits .home-bio-photo-a { display: none; }
  .home-bio-portraits .home-bio-photo-b { width: 65%; aspect-ratio: 223 / 330; margin-left: 14%; transform: none; }
  .home-bio-points { order: 1; margin-top: 18px; padding: 0; }
  .home-qualifications { padding: 90px 0; }
  .home-qualifications-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .home-qualification-list li + li { margin-top: 0; }
  .home-gallery-instruction { margin-bottom: 45px; }
  .home-certificate-stage { aspect-ratio: 2.09; }
  .home-certificate-stage button { width: 24px; height: 24px; font-size: 20px; }
  .home-certificate-prev { left: 12px; }
  .home-certificate-next { right: 12px; }
  .home-certificate-thumbs { gap: 8px; grid-auto-columns: calc((100% - 40px) / 6); padding-top: 12px; }
  .home-services { padding: 28px 0 34px; }
  #home-services-title { margin: 0 0 35px; padding-bottom: 16px; }
  .home-service-step { display: block; }
  .home-service-step:nth-of-type(n) { min-height: 0; }
  .home-step-marker { height: 78px; padding: 0 0 0 30px; }
  .home-step-marker::before { top: 0; left: 0; }
  .home-step-line { left: 0; top: 16px; height: 60px; }
  .home-step-content { padding-bottom: 20px; }
  .home-step-copy, .home-step-list { margin-top: 18px; }
  .home-service-step:first-of-type .home-step-copy { margin-top: 8px; }
  .home-services-actions { flex-direction: column; gap: 48px; align-items: center; margin-top: 88px; }
}
