.wm-entering [data-wm-fade] { opacity: 0; }
.wm-revealing [data-wm-fade] { transition: opacity 190ms ease-in-out; }
.wm-leaving [data-wm-fade] { opacity: 0; transition: opacity 190ms ease-in-out; }
/* Hold the masthead while the arriving content waits for its normal reveal. */
.mockup .header { view-transition-name: wm-masthead; }
.wm-project-arrival.mockup-starting .mockup #mainContent { opacity: 1; visibility: visible; transition: none; }
.wm-project-arrival.mockup-starting .mockup .page-content { opacity: 0; visibility: hidden; }
/* The page already dips to white. Use the arriving frame without a crossfade or slide. */
.wm-project-arrival::view-transition-group(*),
.wm-project-arrival::view-transition-new(*) { animation: none; }
.wm-project-arrival::view-transition-old(*) { display: none; }
/* A reverse morph already revealed the name. Gate only the arriving Home content. */
.wm-home-return.mockup-starting .mockup #mainContent { opacity: 1; visibility: visible; }
.wm-home-return.mockup-starting .mockup .page-content,
.wm-home-return.mockup-starting .mockup .wm-main-nav,
.wm-home-return.mockup-starting .mockup #header-years,
.wm-home-return.mockup-starting .mockup .site-footer { opacity: 0; visibility: hidden; }
.wm-home-return .mockup .wm-main-nav,
.wm-home-return .mockup #header-years,
.wm-home-return .mockup .site-footer { transition: opacity 190ms ease-in-out; }
.mockup [data-wm-home] { opacity: 1; transition: opacity 190ms ease-in-out; }
.mockup [data-wm-home].wm-home-changing { opacity: 0; }
.wm-brand-dear, .wm-brand-comma { fill: #404041; font-family: "Karla", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.15px; }
.wm-dear-morph.wm-leaving [data-wm-fade],
.wm-dear-morph.wm-leaving .wm-dearchris #header[data-wm-fade],
.wm-dear-morph.wm-leaving .mockup .wm-main-nav,
.wm-dear-morph.wm-leaving .mockup #header-years { opacity: 0; transition: opacity 500ms ease-in-out; }
.mockup .header.wm-wordmark-reserved,
.wm-dearchris.wm-letter-audition .wm-audition-heading.wm-wordmark-reserved { box-sizing: border-box; height: var(--wm-header-height); }
.mockup .home-link.wm-wordmark-pinned,
.wm-dearchris.wm-letter-audition .wm-audition-title a.wm-wordmark-pinned {
  position: fixed;
  z-index: 100;
  top: var(--wm-wordmark-top);
  left: var(--wm-wordmark-left);
  width: var(--wm-wordmark-width);
  background: #fff;
  pointer-events: none;
}
@media (max-width: 397px) {
  [data-wm-wordmark-pose] { --wm-home-wordmark: 0; }
  [data-wm-wordmark-pose="home"] { --wm-home-wordmark: 1; }
  /* Center the visible outline (x0.75–114.432), then ease to the existing Dear pose. */
  [data-wm-wordmark-pose] #header-name {
    transform-origin: 0 0;
    transform: translateX(calc(66.27035px * var(--wm-home-wordmark))) scale(calc(1 + 0.15 * var(--wm-home-wordmark)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .wm-revealing [data-wm-fade],
  .wm-leaving [data-wm-fade],
  .wm-home-return .mockup .wm-main-nav,
  .wm-home-return .mockup #header-years,
  .wm-home-return .mockup .site-footer,
  .mockup [data-wm-home],
  .wm-dear-morph.wm-leaving [data-wm-fade],
  .wm-dear-morph.wm-leaving .wm-dearchris #header[data-wm-fade],
  .wm-dear-morph.wm-leaving .mockup .wm-main-nav,
  .wm-dear-morph.wm-leaving .mockup #header-years { transition: none; }
}
