.editorial-document, .editorial-home { overscroll-behavior-y: none; }
.editorial-document, .editorial-home { scrollbar-width: none; }
.editorial-document::-webkit-scrollbar, .editorial-home::-webkit-scrollbar { display: none; }
.editorial-document { overflow-anchor: none; overflow-x: clip; }
.editorial-document, .editorial-home { background: #000; }
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 6px;
  background: #cb3701;
  z-index: 80;
  pointer-events: none;
  transform-origin: left;
  transform: scaleX(0);
}
.editorial-home {
  --brand-footer-height: min(65svh, max(220px, 32vw));
  --rail: clamp(110px, 10.5vw, 190px);
  --type-headline: clamp(24px, 2.1vw, 32px);
  --type-body: 16px;
  --type-meta: 11px;
  --item-title-size: var(--type-body);
  --gutter: clamp(24px, 3vw, 56px);
  --edge: clamp(20px, 2vw, 40px);
  color: #171717;
  font-size: var(--type-body);
  line-height: 1.45;
  text-wrap: pretty;
  cursor: default;
}
.editorial-home a[href], .editorial-home button:not(:disabled) { cursor: pointer; }
.editorial-home input, .editorial-home textarea, .editorial-home [contenteditable="true"] { cursor: text; }
.page-surface {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0 0 56px 56px;
}
.brand-footer-space { height: var(--brand-footer-height); pointer-events: none; }
.brand-footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 0;
  height: auto;
  overflow: clip;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(16px, 2vw, 40px);
  padding-top: clamp(32px, 3vw, 56px);
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  background: #000;
  pointer-events: none;
}
.brand-footer img { display: block; width: 100%; height: auto; min-height: 0; flex-shrink: 0; object-fit: contain; filter: invert(1); }
.brand-footer-meta { width: 100%; flex-shrink: 0; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; color: #999; font-size: var(--type-meta); font-weight: 500; }
.brand-footer-meta nav { display: flex; flex-wrap: wrap; gap: 20px; pointer-events: auto; }
@media (max-width: 899px), (hover: none), (pointer: coarse) {
  .editorial-document, .editorial-home { overscroll-behavior-y: auto; }
  /* Keep the reveal pinned, but let the footer itself define the scroll end.
     A fixed footer plus spacer can diverge as iOS expands its browser bars. */
  .brand-footer-space { display: none; }
  .brand-footer { position: sticky; top: auto; bottom: 0; }
  .brand-footer .footer-registration {
    width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 6px 16px;
    font-size: var(--type-meta);
  }
  .brand-footer .footer-registration > span:first-child { flex-basis: 100%; }
  .brand-footer .footer-registration > span { white-space: nowrap; }
  .brand-footer-meta { align-items: flex-start; gap: 16px; }
  .brand-footer-meta nav { flex-basis: 100%; justify-content: flex-start; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-footer-space { display: none; }
  .brand-footer { position: relative; }
}
@media print {
  .brand-footer-space { display: none; }
  .brand-footer { position: relative; }
}
.editorial-home a { color: inherit; text-decoration: none; }
.editorial-home a:hover { text-decoration: underline; text-underline-offset: .18em; }
.editorial-home :focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.rail-grid { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); column-gap: var(--gutter); margin-inline: var(--edge); }
.rail-logo { position: relative; display: block; width: 40px; max-width: 100%; }
.rail-logo img { display: block; width: 100%; height: auto; }
.rail-logo-effect { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.rail-logo-effect canvas { display: block; width: 100%; height: 100%; }
.rail-logo.is-ready .rail-logo-effect { opacity: 1; }
.rail-logo.is-ready > img { opacity: 0; }
.editorial-home main { display: flex; flex-direction: column; gap: 80px; padding-top: 28px; }
.editorial-section { padding-block: 0; scroll-margin-top: 24px; }
.rail-label { font: 500 var(--type-body)/1.45 America, sans-serif; padding-top: 0; }
.rail-label h2 { font: inherit; }
.rail-note { color: #767676; margin-top: 20px; font-size: 12px; }
.wide-story { font-size: var(--type-body); line-height: 1.35; letter-spacing: -.02em; }
.wide-story p + p { margin-top: 2px; }
.wide-story p { text-wrap: wrap; }
@media (min-width: 900px) {
  .wide-story, .wide-team { max-width: calc((100% - var(--gutter) * 2) / 3 * 2 + var(--gutter)); }
}
.story-more summary { display: block; cursor: pointer; list-style: none; }
.story-more summary::-webkit-details-marker { display: none; }
.story-headline { display: block; font-size: var(--type-headline); line-height: 1.2; font-weight: 500; }
.headline-accessible { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.headline-word { display: inline-block; animation-play-state: paused; animation: headline-word-reveal 1600ms cubic-bezier(.25, .1, .25, 1) backwards paused; }
.headline-ready .headline-word { animation-play-state: running; }
@keyframes headline-word-reveal { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: blur(0); } }
.read-more-label, .story-collapse { font-family: inherit; font-size: var(--type-body); font-weight: 500; line-height: 1.45; letter-spacing: 0; text-decoration: underline; text-underline-offset: 4px; }
.read-more-label { display: block; margin-top: 24px; padding-block: 6px; text-decoration: none; }
.story-arrow { display: inline-block; margin-left: 8px; vertical-align: -3px; }
.read-more-label span, .story-collapse span { display: inline-block; margin-left: 12px; }
.story-more[open] .read-more-label { display: none; }
.story-enhanced summary { position: relative; }
.story-enhanced .read-more-label, .story-enhanced[open] .read-more-label { display: block; position: absolute; top: 100%; left: 0; }
.story-enhanced:not([open]) { padding-bottom: var(--story-control-space, 60px); }
.story-enhanced[open] .read-more-label { pointer-events: none; }
.story-remainder { padding-top: 24px; font-size: var(--type-body); line-height: 1.45; letter-spacing: -.01em; }
.pen-underline { position: relative; display: inline-block; }
.pen-underline svg { position: absolute; left: -3%; bottom: -.04em; width: 106%; height: .45em; overflow: visible; pointer-events: none; }
.pen-underline path { fill: none; stroke: #cb3701; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.story-collapse { margin-top: 24px; padding: 6px 0; border: 0; background: none; color: inherit; cursor: pointer; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.project-trigger { display: block; width: 100%; padding: 0; border: 0; text-align: left; background: none; font: inherit; color: inherit; cursor: pointer; }
.editorial-home .project-trigger:hover { text-decoration: none; }
.project-topline { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; gap: 8px 12px; }
.project-name { font-size: var(--item-title-size); font-weight: 500; letter-spacing: -.01em; text-decoration: none; }
.project-arrow { font-size: 22px; }
.project-kind { display: block; margin: 12px 0; color: #686868; font-size: 13px; }
:is(.project-trigger, .preview-copy) .status { flex-shrink: 0; height: auto; margin: 0; padding: 4px 7px; font-size: var(--type-meta); line-height: 1.3; vertical-align: middle; }
.project-description { font-size: var(--type-body); color: #666; margin-top: 16px; }
.project-powered { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #f5f3f1; color: #746e68; font-family: 'America Mono', monospace; font-size: calc(var(--type-meta) - 1px); text-transform: uppercase; letter-spacing: .05em; margin-top: 10px; }
.project-preview { display: block; margin-top: 24px; }
.preview-content { display: block; }
.preview-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; background: #f4f3f1; }
.preview-image video { display: block; width: 100%; height: 100%; object-fit: contain; }
.preview-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-engine .preview-image img { object-fit: contain; padding: 24px; }
.preview-title { display: none; }
.elsewhere-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.elsewhere-grid .section-label { margin-bottom: 24px; font-size: var(--type-body); line-height: 1.45; }
.journal-section > .rail-label { padding-top: 0; }
.elsewhere-grid .substack-icon, .elsewhere-grid .instagram-icon { width: 18px; height: 18px; }
.elsewhere-grid .link-list { gap: 0; margin: 0; font-size: var(--item-title-size); line-height: 1.45; letter-spacing: -.01em; }
.elsewhere-grid li { padding-block: 1px; }
.earlier-issues { display: inline-block; margin-top: 16px; font-size: var(--type-body); line-height: 1.45; color: #666; }
.elsewhere-grid .footer-link::after { display: none; }
.newsletter-preview { display: none; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .journal-links .footer-link { position: relative; }
  .newsletter-preview {
    display: block;
    position: fixed;
    left: var(--preview-x, 50%);
    top: var(--preview-y, 50%);
    width: min(434px, 51.8vw);
    height: 53.2vh;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%);
    transition: opacity 320ms ease, visibility 320ms;
  }
  .newsletter-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .journal-links .footer-link:hover, .journal-links .footer-link:focus-visible { z-index: 30; }
  .journal-links .footer-link:hover .newsletter-preview,
  .journal-links .footer-link:focus-visible .newsletter-preview {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
  }
}
.wide-team { font-size: var(--type-body); color: #666; }
.wide-team p + p { margin-top: 20px; }
.editorial-footer { margin-top: auto; padding-block: 80px 56px; }
.contact-link { display: inline-block; font-size: var(--type-body); font-weight: 500; letter-spacing: -.01em; line-height: 1.45; }
.contact-link { position: relative; }
.editorial-home .contact-link:hover { text-decoration: none; }
.contact-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.08em;
  height: .06em;
  min-height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms cubic-bezier(.23, 1, .32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .contact-link:hover::after { transform: scaleX(1); }
}
.contact-link:focus-visible::after { transform: scaleX(1); transition: none; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-top: 80px; font-size: var(--type-meta); color: #777; }
.footer-registration { display: flex; flex-wrap: wrap; gap: 8px 24px; text-align: left; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.editorial-home .skip-link { z-index: 100; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .project-preview { position: fixed; inset: 0; z-index: 20; margin: 0; pointer-events: none; visibility: hidden; transition: visibility 0s linear 400ms; }
  .project-preview::before { content: ''; position: absolute; inset: 0; background: rgb(239 235 232 / .96); }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .project-preview::before { background: rgb(239 235 232 / .3); backdrop-filter: blur(4px) saturate(.8); -webkit-backdrop-filter: blur(4px) saturate(.8); }
  }
  .preview-image { position: absolute; width: min(58vw, 960px); height: 68vh; aspect-ratio: auto; left: 54%; top: 47%; transform: translate(-50%, -50%); background: none; overflow: visible; }
  .preview-image img { object-fit: contain; filter: drop-shadow(0 16px 40px #00000012); }
  .project-engine .preview-image img { padding: 0; }
  .project-hire .preview-image { width: min(76vw, 1200px, calc((66vh - 36px) * 1.50376)); left: 50%; top: 43%; height: auto; }
  .preview-title { display: block; position: absolute; left: var(--edge); right: var(--edge); bottom: max(32px, env(safe-area-inset-bottom)); font-size: clamp(64px, 9vw, 150px); font-weight: 500; line-height: .95; letter-spacing: -.06em; }
  .preview-title small { display: none; }
  .preview-content { position: absolute; inset: 0; z-index: 1; }
  .project-preview::before, .project-preview .preview-content { opacity: 0; transition: opacity 400ms ease-in-out; }
  .project.preview-active .project-preview { visibility: visible; transition-delay: 0s; }
  .project.preview-active .project-preview::before,
  .project.preview-active .preview-content { opacity: 1; }
}
@media (max-width: 899px) {
  .editorial-home { --rail: 90px; --gutter: 24px; }
  .project-grid { grid-template-columns: 1fr; gap: 56px; }
  .project-preview { pointer-events: none; }
  .project-global .project-trigger { cursor: default; }
  
  .project-description { margin-top: 16px; }
  .elsewhere-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 599px) {
  .editorial-home { --edge: 20px; }
  .story-remainder { line-height: 1.6; }
  .wide-story p + p { margin-top: 8px; }
  .rail-grid { grid-template-columns: 1fr; }
  .rail-label { margin-bottom: 28px; font-size: 20px; }
  .rail-label br { display: none; }
  .rail-note { display: none; }
  .editorial-home main { gap: 48px; padding-top: 24px; }
  .editorial-footer { padding-top: 48px; }
  
  
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 48px; }
}
.editorial-document.content-loading { background: #fff; }
.content-loading .editorial-home { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .content-entering main, .content-entering .brand-footer { animation: content-enter 400ms ease-out both; }
}
@keyframes content-enter {
  from { opacity: 0; filter: blur(6px); }
  to { opacity: 1; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-home *, .editorial-home *::after { animation: none !important; transition: none !important; }
}

/* Frame geometry from Maya's iPhone 16 Pro artwork: 450 x 920,
   with a 402 x 874 screen at (24, 23). See assets/projects/iphone-frame-LICENSE.txt. */
.iphone-device { display: block; position: relative; width: min(100%, 330px); aspect-ratio: 450 / 920; filter: drop-shadow(0 16px 24px rgb(0 0 0 / .16)) drop-shadow(0 3px 6px rgb(0 0 0 / .1)); }
.preview-image .iphone-device video { position: absolute; left: 5.333333%; top: 2.5%; width: 89.333333%; height: 95%; object-fit: cover; border-radius: 14.925373% / 6.864989%; background: #000; }
:is(.project-engine, .project-hire, .project-global) .preview-image .iphone-frame { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-fit: contain; filter: none; }
:is(.project-engine, .project-hire, .project-global) .preview-image { background: none; aspect-ratio: auto; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  :is(.project-engine, .project-hire, .project-global) .preview-image { width: min(63vh * 450 / 920, 37.4vw); height: auto; top: 43%; left: 50%; }
  :is(.project-engine, .project-hire, .project-global) .iphone-device { width: 100%; }
}

.project-hire .preview-image { aspect-ratio: auto; background: none; overflow: visible; }
.safari-window { display: block; width: 100%; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 16px 48px rgb(0 0 0 / .12), 0 0 0 1px rgb(0 0 0 / .1); }
.safari-toolbar { position: relative; display: flex; align-items: center; justify-content: center; height: 36px; background: linear-gradient(#f5f5f5, #eaeaea); border-bottom: 1px solid #d9d9d9; }
.safari-controls { position: absolute; left: 12px; display: flex; gap: 6px; }
.safari-controls i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
.safari-controls i:nth-child(2) { background: #febc2e; }
.safari-controls i:nth-child(3) { background: #28c840; }
.safari-address { width: 46%; padding: 3px 8px; border-radius: 5px; background: rgb(255 255 255 / .7); color: #555; text-align: center; font: 400 10px/1.4 America, sans-serif; letter-spacing: 0; }
.preview-image .safari-window video { width: 100%; height: auto; aspect-ratio: 1600 / 1064; object-fit: contain; }

:is(.project-trigger, .preview-copy) .status-live { background: #fff; color: #227249; box-shadow: inset 0 0 0 1px rgb(34 114 73 / .16), 0 2px 5px rgb(0 0 0 / .05); }

:is(.project-trigger, .preview-copy) .status-live { gap: 6px; padding: 4px 8px; border-radius: 999px; font-size: 9px; line-height: 1.3; letter-spacing: .08em; transform: none; }
:is(.project-trigger, .preview-copy) .status-live::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #00c853; }
@media (prefers-reduced-motion: no-preference) {
  :is(.project-trigger, .preview-copy) .status-live::before { animation: live-dot-pulse 2.4s ease-in-out infinite; }
}
@keyframes live-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

:is(.project-trigger, .preview-copy) .status:not(.status-live) { padding: 4px 8px; border-radius: 999px; font-size: 9px; line-height: 1.3; letter-spacing: .08em; transform: none; background: #fff; color: #777; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 2px 5px rgb(0 0 0 / .05); }

@media (min-width: 600px) {
  .story-section { align-items: first baseline; }
  .story-section > .rail-label { line-height: 0; }
  .story-section .rail-logo { display: inline-block; vertical-align: baseline; }
}

/* Touch layouts use an explicit product preview instead of inline imagery. */
@media (max-width: 899px), (hover: none), (pointer: coarse) {
  .project .project-preview, .newsletter-preview { display: none; }
  .project, .project-global .project-trigger { cursor: pointer; }
}
.product-dialog {
  position: fixed; inset: 0; width: 100%; max-width: none;
  height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: #171717; overflow: auto;
  overscroll-behavior: contain;
  opacity: 0; transition: opacity 250ms ease;
}
.product-dialog::backdrop {
  background: rgb(239 235 232 / .65);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 250ms ease;
}
.product-dialog.is-visible, .product-dialog.is-visible::backdrop { opacity: 1; }
.product-dialog-content {
  min-height: 100%; box-sizing: border-box; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  padding: max(76px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom));
}
.product-dialog .iphone-device { width: min(58vw, 270px, calc(62svh * 450 / 920)); flex-shrink: 0; }
.product-dialog .iphone-device video {
  position: absolute; left: 5.333333%; top: 2.5%; width: 89.333333%; height: 95%;
  object-fit: cover; border-radius: 14.925373% / 6.864989%; background: #000;
}
.product-dialog .iphone-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.product-dialog .video-poster { position: absolute; left: 5.333333%; top: 2.5%; width: 89.333333%; height: 95%; object-fit: cover; border-radius: 14.925373% / 6.864989%; pointer-events: none; }
.product-dialog .video-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: #000; color: #fff; font: 500 14px America, sans-serif; cursor: pointer; }
.product-dialog .video-play[hidden], .product-dialog .video-poster[hidden] { display: none; }
.product-dialog-close {
  position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right));
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 0; background: transparent; color: inherit; cursor: pointer;
}
.product-dialog-close svg { width: 22px; height: 22px; }
.product-dialog-close, .product-dialog-visit { -webkit-tap-highlight-color: transparent; }
.product-dialog[data-pointer-input] .product-dialog-close:focus,
.product-dialog[data-pointer-input] .product-dialog-visit:focus { outline: none; }
.product-dialog-close:focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
.product-dialog-visit { display: grid; place-items: center; min-height: 44px; padding: 0 24px; background: transparent; font-size: var(--type-body); font-weight: 500; }
.product-dialog-visit[hidden] { display: none; }

.preview-copy { display: block; text-align: left; font-weight: 400; }
.preview-copy .project-description { display: block; }
.preview-copy .project-topline, .preview-copy .project-name { font-size: var(--item-title-size); font-weight: 500; }
.preview-copy .project-description { font-size: 14px; line-height: 1.45; margin-top: 12px; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .project-preview::before { background: rgb(239 235 232 / .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .project .preview-content { display: flex; align-items: center; justify-content: center; gap: clamp(48px, 7vw, 120px); padding: 48px; }
  :is(.project-engine, .project-hire, .project-global) .preview-image { position: relative; inset: auto; transform: none; width: min(calc(63vh * 450 / 920), 28vw); flex-shrink: 0; }
  .project .preview-copy { width: min(320px, 32vw); }
}
.product-dialog::backdrop { background: rgb(239 235 232 / .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.product-dialog-media { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; }
.product-dialog .preview-copy { width: min(100%, 340px); text-align: center; }
.product-dialog .preview-copy .project-topline { flex-direction: column; gap: 12px; }
.product-dialog .preview-copy .status { order: -1; }
.product-dialog .preview-copy .project-description { text-wrap: balance; }
.product-dialog .iphone-device { width: min(48vw, 230px, calc(44svh * 450 / 920)); }

.editorial-home a.preview-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 14px; margin-top: 18px; border-radius: 999px; background: #000; font-size: 12px; font-weight: 500; line-height: 1.4; color: #fff; text-decoration: none; }
.editorial-home .preview-cta:hover { color: #fff; text-decoration: none; }
.editorial-home .product-dialog-visit.preview-cta { margin-top: 0; min-height: 44px; font-size: var(--type-body); padding-inline: 20px; }
.editorial-home .product-dialog-visit.preview-cta[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .project .preview-content {
    inset: 50% auto auto 50%; transform: translate(-50%, -50%);
    width: max-content; height: max-content; max-width: calc(100vw - 48px);
    padding: 24px; pointer-events: none;
  }
  .project.preview-active .preview-image,
  .project.preview-active .preview-copy { pointer-events: auto; }
  :is(.project-engine, .project-hire, .project-global) .preview-image {
    width: min(calc(63vh * 450 / 920), 28vw);
    height: min(63vh, calc(28vw * 920 / 450));
  }
  .project .preview-content, .project .preview-image, .project .preview-copy { animation: none; }
  .project .preview-image { transition: none; }
  .project .preview-copy {
    opacity: 0; filter: blur(6px);
    transition: opacity 180ms ease, filter 180ms ease;
  }
  .project.preview-active .preview-copy {
    opacity: 1; filter: blur(0);
    transition: opacity 650ms ease 140ms, filter 650ms ease 140ms;
  }
}

/* Desktop preview: preserve the original card and reveal the adjacent phone. */
.editorial-home a.project-inline-cta { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .project { position: relative; align-self: start; transition: opacity 400ms ease-in-out; }
  /* Filtering a card creates a containing block for its fixed phone preview.
     Keep the blur on its text instead so preview coordinates stay viewport-relative. */
  .project > :not(.project-preview):not(.project-inline-cta) { transition: filter 400ms ease-in-out; }
  .editorial-home main > :not(.projects-section),
  .projects-section > .rail-label,
  .editorial-footer, .brand-footer, .scroll-progress { transition: opacity 400ms ease-in-out, filter 400ms ease-in-out; }
  .editorial-home:has(.project.preview-active) main > :not(.projects-section),
  .editorial-home:has(.project.preview-active) .projects-section > .rail-label,
  .editorial-home:has(.project.preview-active) .editorial-footer,
  .editorial-home:has(.project.preview-active) .brand-footer,
  .editorial-home:has(.project.preview-active) .scroll-progress { opacity: .7; filter: blur(8px); }
  .project-grid:has(.preview-active) > .project:not(.preview-active) { opacity: .7; }
  .project-grid:has(.preview-active) > .project:not(.preview-active) > :not(.project-preview):not(.project-inline-cta) { filter: blur(8px); }
  .project-preview::before { display: none; }
  .project .preview-content {
    left: var(--phone-x, 50vw); top: 50%; padding: 0; gap: 0;
    max-width: none; width: min(calc(63vh * 450 / 920), var(--phone-column-width, 26vw));
    transition: opacity 180ms ease;
  }
  .project.preview-active .preview-content {
    transition: opacity 550ms ease 150ms;
  }
  :is(.project-engine, .project-hire, .project-global) .preview-image {
    width: 100%; height: auto; aspect-ratio: 450 / 920;
  }
  .editorial-home a.project-inline-cta {
    display: inline-flex; position: absolute; top: 100%; left: 0;
    margin-top: 16px;
    opacity: 0; filter: blur(4px); visibility: hidden; pointer-events: none;
    transition: opacity 180ms ease, filter 180ms ease, visibility 0s linear 180ms;
  }
  .editorial-home .preview-active a.project-inline-cta {
    opacity: 1; filter: blur(0); visibility: visible; pointer-events: auto;
    transition: opacity 550ms ease 150ms, filter 550ms ease 150ms, visibility 0s linear 150ms;
  }
  .project.preview-active:has(.project-inline-cta)::after {
    content: ''; position: absolute; top: 100%; left: 0; right: 0;
    height: 17px; pointer-events: auto;
  }
  .editorial-home .project:has(.project-powered) a.project-inline-cta { margin-top: 24px; }
  .project.preview-active:has(.project-powered):has(.project-inline-cta)::after { height: 25px; }
}
