/* Intro and next section share one continuous passage. No JS: normal flow. */
.projects-opening-copy h1>[data-handoff-line] { display: block; width: fit-content; font: inherit; }
.projects-opening-copy h1>em[data-handoff-line] { font-family: Groovy,Georgia,serif; }
/* The sticky contact intro can outlast the form section on tall screens. */
.page-parlons-en #main { overflow-y: clip; }
.contact-continuation { position: relative; background: var(--prune); }
.contact-continuation .contact-word-ribbon { background: var(--prune); color: var(--peach); padding-block: 24px 0; font-size: clamp(28px,4vw,56px); }
.contact-continuation .contact-workshop { padding-top: 70px; }
.contact-overture:not(.handoff-enabled) { height: auto; }
.contact-overture:not(.handoff-enabled) .contact-canvas { position: relative; height: auto; min-height: 100svh; border-radius: 0; }

.handoff-enabled { position: relative; height: 220svh; padding: 0; overflow: visible; }
.handoff-enabled [data-handoff-stage] { position: sticky; top: 0; height: 100svh; min-height: 0; overflow: clip; border-radius: 0; isolation: isolate; }
.handoff-enabled [data-handoff-line] { transform: translate3d(var(--handoff-line-x,0px),0,0); opacity: var(--handoff-line-opacity,1); transition: none; }
.handoff-enabled[data-page-handoff="contact"] [data-handoff-line],.handoff-enabled[data-page-handoff="services"] [data-handoff-line] { transform: translate3d(0,var(--handoff-line-y,0px),0) scale(var(--handoff-line-scale,1)); transform-origin: left center; }
.handoff-enabled [data-handoff-copy] { transform: translate3d(0,var(--handoff-copy-y,0px),0); opacity: var(--handoff-copy-opacity,1); transition: none; }
.handoff-enabled .handoff-passed { pointer-events: none; }
.handoff-incoming { position: relative; z-index: 4; margin-top: -100svh; border-radius: var(--handoff-round,55px) var(--handoff-round,55px) 0 0; }
.handoff-incoming::before { content: ''; position: absolute; bottom: 100%; left: 0; width: 100%; height: clamp(90px,14svh,160px); background: linear-gradient(to bottom,transparent,var(--handoff-surface)); pointer-events: none; }
.contact-continuation.handoff-incoming { --handoff-surface: var(--prune); overflow: visible; }
.project-deck.handoff-incoming { --handoff-surface: var(--cream); }
.service-foundations.handoff-incoming { --handoff-surface: var(--peach); }
.project-deck.handoff-incoming .project-filters { border-radius: inherit; }

/* The photograph dissolves into the same prune as the letter beneath it. */
.contact-overture:is(.handoff-enabled,.handoff-compact),
.contact-overture:is(.handoff-enabled,.handoff-compact) .contact-canvas { background: var(--prune); }
.contact-overture:is(.handoff-enabled,.handoff-compact) .contact-cover-picture { opacity: var(--handoff-image-opacity,1); }
.contact-overture:is(.handoff-enabled,.handoff-compact) .contact-cover { transform: translate3d(0,var(--handoff-image-y,0px),0) scale(var(--handoff-image-scale,1.04)); }
.contact-overture.handoff-compact [data-handoff-line] { transform: translate3d(0,var(--handoff-compact-lift,0px),0); }
.handoff-enabled .contact-cover-shade { opacity: var(--handoff-image-opacity,1); }
.handoff-enabled .contact-invitation { padding-block: 110px 45px; }
.handoff-enabled .contact-invitation h1 { font-size: clamp(90px,min(12.5vw,19svh),185px); line-height: 1.02; margin-bottom: 25px; }
.handoff-enabled .contact-invitation h1>[data-handoff-line] { padding-bottom: .12em; margin-bottom: -.12em; }

/* A widening photographic window opens the service page into its peach chapter. */
.service-overture.handoff-enabled .service-overture-copy { z-index: 1; padding-block: 120px 40px; }
.service-overture.handoff-enabled .service-overture-copy h1 { font-size: clamp(72px,min(10.2vw,15svh),155px); line-height: 1; }
.service-overture-copy h1>span[data-handoff-line] { font: inherit; }
.service-overture.handoff-enabled .service-overture-copy h1>[data-handoff-line] { padding-bottom: .12em; margin-bottom: -.12em; }
.service-overture.handoff-enabled .service-overture-bottom { margin-top: 30px; }
.service-overture.handoff-enabled .service-overture-photo { top: calc(16% * (1 - var(--service-open,0))); right: calc(5% * (1 - var(--service-open,0))); width: calc(36% + 64% * var(--service-open,0)); height: calc(68% + 32% * var(--service-open,0)); border-radius: calc(150px * (1 - var(--service-open,0))) calc(25px * (1 - var(--service-open,0))); transform: none; }
.service-overture.handoff-enabled .service-overture-photo img { transform: scale(calc(1.08 - .08 * var(--service-open,0))); }
.service-overture.handoff-enabled .service-overture-stage::after { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--peach); opacity: var(--handoff-wash,0); pointer-events: none; }
.service-overture:not(.handoff-enabled) { height: auto; }
.service-overture:not(.handoff-enabled) .service-overture-stage { position: relative; height: auto; min-height: 100svh; }

/* The project opening clears before the cream mission gallery takes over. */
.handoff-enabled .projects-canvas::before { content: ''; position: absolute; inset: 0; background: var(--cream); opacity: var(--handoff-wash,0); z-index: -1; }
.handoff-enabled .projects-opening-grid { position: relative; z-index: 1; min-height: 0; height: 100%; padding-block: 125px 60px; }
.handoff-enabled .projects-opening-copy h1 { font-size: clamp(58px,min(7vw,12svh),110px); line-height: 1.02; margin-bottom: 26px; }
.handoff-enabled .projects-opening-copy h1>[data-handoff-line] { padding-bottom: .12em; margin-bottom: -.12em; }
.handoff-enabled .projects-opening-copy>p:not(.eyebrow) { font-size: 15px; line-height: 1.75; margin-bottom: 24px; }
.handoff-enabled .projects-teaser { height: min(62svh,560px); }
.handoff-enabled .teaser-print,.handoff-enabled .teaser-voice { opacity: var(--handoff-image-opacity,1); transform: translate3d(var(--handoff-art-x,0px),var(--handoff-art-y,0px),0); }
.handoff-enabled .teaser-voice { transform: translate3d(calc(var(--handoff-art-x,0px) * 1.2),calc(var(--handoff-art-y,0px) * -1),0); }

@media(max-width:900px),(max-height:649px) {
  .handoff-enabled { height: auto; }
  .handoff-enabled [data-handoff-stage] { position: relative; height: auto; min-height: 0; }
  .handoff-enabled [data-handoff-line],.handoff-enabled [data-handoff-copy],.handoff-enabled .contact-cover,.handoff-enabled .teaser-print,.handoff-enabled .teaser-voice { transform: none; opacity: 1; }
  .handoff-incoming { margin-top: 0; border-radius: 0; }
  .handoff-incoming::before { display: none; }
  .handoff-enabled .projects-opening-grid { height: auto; }
  .handoff-enabled .projects-canvas::before { opacity: 0; }
}
@media(max-width:700px) {
  .contact-continuation .contact-workshop { padding-top: 45px; }
  .contact-overture.handoff-compact { isolation: isolate; }
  .contact-overture.handoff-compact .contact-canvas { background: transparent; }
  .contact-overture.handoff-compact .contact-cover-picture {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--handoff-edge-fade,0px)), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 calc(100% - var(--handoff-edge-fade,0px)), transparent 100%);
    transform: scale(var(--handoff-paper-scale,1));
    transform-origin: center bottom;
  }
  .contact-overture.handoff-compact .contact-cover { transform: scale(1.04); }
}
