/* The brand and its own welcome film share the existing signatures layout. */
.project-card.project-with-film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  min-height: 0;
}
.project-with-film .project-card-trigger {
  display: block;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
}
.project-with-film .project-card-trigger:focus-visible {
  outline: 2px solid #9a7334;
  outline-offset: 8px;
}
.project-with-film .project-body { padding-bottom: 0; }
.project-sites-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  margin: 22px 0 0;
  color: var(--ink);
}
.project-sites-brand > img {
  display: block;
  width: 48px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}
.project-sites-brand-name {
  display: block;
  font: 500 clamp(21px, 2vw, 24px)/1.25 var(--sans);
  letter-spacing: .1em;
}
.project-sites-brand-name > span {
  display: block;
  margin-top: 3px;
  font-size: .66em;
  font-weight: 400;
  letter-spacing: .29em;
}
.project-with-film .project-description {
  display: block;
  max-width: 54ch;
  margin: 0 0 22px;
  color: #526267;
  font-size: 1rem;
  line-height: 1.8;
}
.project-with-film .project-bottom {
  width: 100%;
  min-height: 48px;
  font-size: .875rem;
}
.project-with-film .project-logo { max-width: 355px; }
.project-with-film .signature-film {
  min-width: 0;
  width: 100%;
  max-width: 680px;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border: 1px solid #8db3b442;
  border-radius: 24px;
  background: #0b2531;
  color: #f0e3c7;
  box-shadow: inset 0 1px 0 #f0deb014, 0 14px 32px #18343d12;
}
.signature-film-stage { aspect-ratio: 16 / 9; background: #071520; }
.signature-film-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #071520;
}
.signature-film figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  min-height: 64px;
  padding: 12px 20px;
  font: 400 .875rem/1.6 var(--sans);
}
.signature-film figcaption > span { color: #d6e0df; }
.signature-film-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.signature-film-play {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #d9ba77;
  background: none;
  color: #f0d299;
  font: 500 .875rem/1.5 var(--sans);
  cursor: pointer;
}
.signature-film-play:focus-visible {
  outline: 2px solid #f0d299;
  outline-offset: 4px;
}
.signature-film-play[hidden] { display: none; }
body.signature-film-playing .journey-dock {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
#detail-dialog .project-service-link { margin: 24px 0 32px; }
#detail-dialog .project-service-link > .project-site-cta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid #967442;
  border-radius: 14px;
  background: #153541;
  color: #f5e2b8;
  font: 500 1rem/1.6 var(--sans);
  text-decoration: none;
}
#detail-dialog .project-site-domain { font-size: .875rem; font-weight: 400; color: #d3dddd; }
#detail-dialog .project-site-cta:hover { background: #224955; }
#detail-dialog .project-site-cta:focus-visible { outline: 2px solid #967442; outline-offset: 4px; }
.project-communication { scroll-margin-top: 100px; }
.project-communication .project-name {
  margin: 22px 0;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.15;
  overflow-wrap: break-word;
}
.project-communication .communication-channels {
  display: grid;
  gap: 14px;
  max-width: 54ch;
  margin: 0 0 22px;
  color: #526267;
  font: 400 .875rem/1.7 var(--sans);
}
.communication-channels strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}
.project-communication .project-bottom:focus-visible {
  outline: 2px solid #9a7334;
  outline-offset: 5px;
}
@media (max-width: 899px) {
  .project-card.project-with-film { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .project-with-film .signature-film { max-width: 680px; justify-self: start; }
}
@media (max-width: 767px) {
  .signature-film figcaption { padding-inline: 16px; }
}
/* AO360 keeps its landscape composition and the full available mobile width. */
@media (max-width: 767px), (max-height: 540px) and (hover: none) and (pointer: coarse) {
  .signature-film-ao360 .signature-film-stage {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
  }
}
@media print {
  .signature-film-play, .signature-film-video { display: none; }
  .signature-film-stage { height: 0; }
}
