/* A single film surface carries the invitation through the publisher strip.
   The form keeps its original geometry; only its ink changes for contrast. */
html:has(.contact-stage:target) { scroll-padding-top: 0; }
.contact-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin-top: clamp(36px, 4vw, 64px);
  background: #17222a;
  color: #fff;
  clip-path: url(#contact-entry-mask);
}
.contact-cinema-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.contact-cinema-screen {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  max-height: 100%;
  overflow: hidden;
  background: #17222a;
}
.contact-cinema-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip-path: var(--cinema-clip, inset(0));
  transform: translateZ(0);
}
.contact-cinema-layer.is-active { opacity: 1; z-index: 0; }
.contact-cinema-layer.is-preview {
  opacity: 1;
  z-index: 1;
}
.contact-cinema-layer video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 16% 42%;
  transform: translateZ(0);
}
.contact-cinema-tone {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Even a white frame leaves the white small type above 4.5:1. */
  background: linear-gradient(180deg, rgb(7 14 23 / 63%), rgb(7 14 23 / 67%) 72%, rgb(7 14 23 / 78%));
}
.contact-cinema-definitions { position: absolute; pointer-events: none; }
/* Keep the morph attached to the section's lower edge, never the sticky
   viewport. It can fill this shallow strip without covering the invitation. */
.contact-cinema-footer-blend {
  position: absolute;
  inset: auto 0 0;
  height: clamp(150px, 21svh, 210px);
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}
/* Ease the footage into the exact footer color across a wide, transparent
   falloff. The moving wave remains a subtle layer within this shared edge. */
.contact-cinema-seam {
  position: absolute;
  inset: auto 0 0;
  height: 100%;
  z-index: 3;
  background: linear-gradient(180deg, rgb(16 30 50 / 0), rgb(16 30 50 / 3%) 20%, rgb(16 30 50 / 12%) 38%, rgb(16 30 50 / 30%) 55%, rgb(16 30 50 / 56%) 72%, rgb(16 30 50 / 82%) 87%, rgb(16 30 50 / 97%) 97%, var(--ink));
  pointer-events: none;
}
.contact-cinema-bridge {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  z-index: 3;
  overflow: visible;
  fill: url(#contact-footer-wash);
  filter: blur(18px);
  pointer-events: none;
}
.contact-cinema-bridge stop { stop-color: var(--ink); }
/* Cover subpixel raster seams where the clipped film meets plain footer ink. */
body:has([data-contact-cinema]) .site-footer { position: relative; }
body:has([data-contact-cinema]) .site-footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ink);
  pointer-events: none;
}
.contact-stage .contact-editorial.inquiries {
  position: relative;
  flex: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(70px, 7vw, 110px) clamp(60px, 6vw, 90px);
}
.contact-stage .contact-content { position: relative; }
.contact-stage .contact-form { max-width: 680px; }
.contact-stage .contact-heading,
.contact-stage .inquiry-fields label { color: #fff; }
.contact-stage .inquiry-fields :is(input, select, textarea) {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 58%);
  caret-color: #fff;
  color-scheme: dark;
}
.contact-stage .inquiry-fields select option { color: var(--ink); background: #fff; }
.contact-stage .inquiry-fields textarea::placeholder { color: #eee; }
.contact-stage .inquiry-fields :is(input, select, textarea):focus {
  outline: 1px solid #fff;
  outline-offset: 6px;
  border-color: #fff;
}
.contact-stage .inquiry-submit {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
  box-shadow: none;
}
.contact-stage .inquiry-submit:hover { background: #f1f3f5; color: var(--ink); }
.contact-stage .inquiry-submit:focus-visible { outline-color: #fff; }
.contact-stage .publisher-signoff {
  position: relative;
  padding-block: 0 30px;
  background: transparent;
  color: #fff;
}
.contact-stage .about-press { margin-top: 0; }
.contact-stage .about-press-heading h3 { color: #fff; }
.contact-stage .press-logo { opacity: .88; }
.contact-stage .press-logo:is(.press-logo--wordmark, .press-logo--dsh, .press-logo--voyage) img {
  filter: brightness(0) invert(1);
}
.contact-stage .press-logo--crest img { filter: grayscale(1) brightness(1.7); }
.contact-stage .press-logo--cover img { filter: grayscale(1); }
.contact-stage .press-logo:hover { opacity: 1; }
.contact-stage .press-logo:focus-visible { outline-color: #fff; }
.contact-cinema-arrow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.contact-cinema-arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.contact-cinema-next,
.contact-cinema-previous {
  position: absolute;
  top: calc(clamp(12px, 2.8vw, 48px) + 12px);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  appearance: none;
  opacity: 0;
  pointer-events: none;
}
.contact-cinema-next { right: var(--gutter); }
.contact-cinema-previous { left: var(--gutter); }
.contact-cinema-next:focus-visible,
.contact-cinema-previous:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid #fff;
  outline-offset: 3px;
  background: transparent;
}
.contact-cinema-next .icon,
.contact-cinema-previous .icon { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) {
  .contact-stage:is([data-cinema-state="hover"], [data-cinema-state="expanding"]) { cursor: none; }
  .contact-stage :is(input, textarea) { cursor: text; }
  .contact-stage :is(select, button, a) { cursor: pointer; }
}
@media (hover: none), (pointer: coarse) {
  .contact-cinema-next, .contact-cinema-previous { opacity: 1; pointer-events: auto; }
}
@media (max-width: 700px) {
  .contact-stage { margin-top: 46px; }
  .contact-cinema-layer video { object-position: var(--cinema-mobile-position, 0% 42%) !important; }
  .contact-stage .contact-editorial.inquiries { padding-block: 82px 62px; }
  .contact-stage .publisher-signoff { padding-bottom: 28px; }
  .contact-stage .about-press-heading { display: none; }
  .contact-stage .about-press { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-cinema-next, .contact-cinema-previous { opacity: 1; pointer-events: auto; }
  .contact-cinema-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-cinema-next, .contact-cinema-previous { opacity: 1; pointer-events: auto; }
  .contact-cinema-arrow { display: none; }
}
