/* Each engraving is independent of the content grid and is clipped by its section. */
.section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  --art-frame: max(0px, calc((100% - 1512px) / 2));
  --art-size: clamp(370px, 39vw, 595px);
  --art-left: calc(var(--art-frame) + 2%);
  --art-bottom: -65px;
  --art-strength: .32;
  --secondary: #37453b;
  --art-fade: linear-gradient(160deg, #0003 10%, #000c 48%, #000 78%);
}
.meeting, .documents, .team, .questions { background-color: var(--paper); }
.section:not(.services, .office) .kicker { color: #5c543e; }
.services .steps p { color: #fbf8ed; }
.section:where(:not(.meeting))::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inline-size: var(--art-size);
  aspect-ratio: 1;
  inset-inline: var(--art-left) var(--art-right, auto);
  inset-block: var(--art-top, auto) var(--art-bottom);
  background: var(--section-art) center / contain no-repeat;
  filter: blur(.85px);
  opacity: var(--art-strength);
  mix-blend-mode: multiply;
  mask-image: var(--art-fade);
}
.situations {
  --section-art: url('assets/art/situations.webp');
  --art-size: clamp(410px, 43vw, 655px);
  --art-left: calc(var(--art-frame) - 1%);
  --art-bottom: 6%;
  --art-strength: .35;
}
.situations::before { content: none; }
.services {
  --section-art: url('assets/art/services.webp');
  --art-left: auto;
  --art-right: calc(var(--art-frame) - 1%);
  --art-top: clamp(-170px, -8vw, -80px);
  --art-bottom: auto;
  --art-size: clamp(420px, 41vw, 650px);
  --art-strength: .37;
  --art-fade: linear-gradient(158deg, #0002 12%, #000 46%, #0009 70%, #0000 95%);
}
.process-heading { min-height: 0; }
.documents {
  --section-art: url('assets/art/documents.webp');
  --art-size: min(39%, 555px);
  --art-left: calc(var(--art-frame) + 3%);
  --art-strength: .36;
}
/* Keep the complete folder illustration inside the available column and section. */
.documents::after {
  inset-block: clamp(10px, 1.4vw, 22px);
  aspect-ratio: auto;
  background-position: center bottom;
}
.pricing {
  --section-art: url('assets/art/price.webp');
  --art-left: calc(var(--art-frame) + 8%);
  --art-bottom: -22%;
  --art-strength: .41;
}
.team {
  --section-art: url('assets/art/team.webp');
  --art-left: calc(var(--art-frame) - 3%);
  --art-size: clamp(390px, 36vw, 565px);
  --art-bottom: -5%;
}
.questions {
  --section-art: url('assets/art/questions.webp');
  --art-left: calc(var(--art-frame) + 1%);
  --art-bottom: -26%;
}
.practice {
  --section-art: url('assets/art/documents.webp');
  --art-left: auto;
  --art-right: var(--art-frame);
}
.office {
  --section-art: url('assets/art/office.webp');
  --art-size: clamp(445px, 42vw, 655px);
  --art-left: calc(var(--art-frame) + 9%);
  --art-bottom: 0%;
  --art-strength: .40;
  --art-fade: linear-gradient(112deg, transparent 6%, #0006 31%, #000 78%);
}
.services::after, .office::after {
  filter: grayscale(1) invert(1) sepia(.85) saturate(1.45) blur(1px);
  mix-blend-mode: screen;
}

.booking-box, .booking-dialog { isolation: isolate; }
.booking-box > .kicker, .dialog-inner > .kicker { color: #57513f; }
.booking-box { position: relative; }
.booking-box::before, .booking-dialog::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('assets/art/documents.webp') right -46px top -54px / 245px auto no-repeat;
  mix-blend-mode: multiply;
  opacity: .16;
  filter: blur(1px);
}
.footer {
  border-bottom: 3px solid #bca97c;
  background: var(--paper) url('assets/engraved-fold.svg') right -85px bottom -36px / 190px auto no-repeat;
}
@media (min-width: 661px) and (max-width: 1100px) {
  .team { --art-left: auto; --art-right: 1%; --art-top: -100px; --art-bottom: auto; --art-strength: .23; }
  .office { --art-left: 0%; }
}
@media (max-width: 660px) {
  .section {
    --art-left: auto;
    --art-right: -13%;
    --art-top: -45px;
    --art-bottom: auto;
    --art-size: clamp(245px, 79vw, 380px);
    --art-strength: .21;
    --art-fade: linear-gradient(100deg, #0001 0%, #0009 40%, #000 85%);
  }
  .documents {
    --art-right: clamp(9px, 3vw, 20px);
    --art-size: clamp(165px, 52vw, 204px);
    --art-strength: .27;
  }
  .documents::after {
    inset-block: 8px auto;
    aspect-ratio: 1;
    background-position: center;
  }
  .situations { --art-size: clamp(290px, 88vw, 475px); --art-top: -25px; --art-strength: .23; }
  .services { --art-top: -59px; --art-right: -10%; --art-strength: .31; }
  .pricing { --art-top: 15px; --art-strength: .25; }
  .team, .practice { --art-top: -45px; }
  .questions { --art-top: -95px; --art-strength: .24; }
  .office { --art-top: 18px; --art-right: -9%; --art-strength: .34; }
  .footer { background-size: 125px auto; }
}
@media (forced-colors: active) {
  .section::after, .booking-box::before, .booking-dialog::before { content: none; }
}
@media (min-width: 661px) and (max-width: 900px) {
  .hero::before { background: linear-gradient(90deg, #091d15e6, #112819a8 65%, #10231825); }
}
