/* Native card movement keeps one owner; type and surfaces share Hann's assembly language. */
#projects-main #projects-main-title-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr);
  align-items: end;
  gap: 32px 64px;
  margin-top: clamp(160px, 20vh, 360px);
  margin-bottom: 0;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hann-line, #dcdde5);
}
#projects-main-title-wrapper {
  left: 0;
  width: 100%;
  font-family: var(--hann-display-font, sans-serif);
  font-size: clamp(56px, 8vw, 192px);
  font-weight: 500;
  letter-spacing: -0.045em;
}
#projects-main-title {
  left: 0;
  line-height: 1.06;
}
#projects-main-title-project-arrow {
  right: 0;
  bottom: 12px;
  width: 28px;
  height: 28px;
}
#projects-main .project-list {
  margin-top: var(--hann-transfer-gap, 48px);
}
#projects-main[data-entry-released='false'] .project-list {
  visibility: hidden;
  pointer-events: none;
}
#projects-main-title-project-number {
  visibility: hidden;
}
#projects-main .hann-catalog-intro {
  max-width: 30em;
  margin: 0 0 6px;
  font-family: var(--hann-ui-font, sans-serif);
  font-size: clamp(16px, 1.15vw, 28px);
  line-height: 1.5;
  letter-spacing: -0.015em;
}
#projects-main {
  --hann-transfer-gap: 48px;
}
.project-item-image {
  border-radius: var(--global-border-radius);
}
.project-item-footer {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--hann-line, #dcdde5);
}
.project-item-line-1 {
  margin: 0 0 12px;
  font: clamp(13px, 0.95vw, 20px)/1.5 var(--hann-ui-font, sans-serif);
  letter-spacing: 0;
  text-transform: none;
}
.project-item-line-2 {
  left: 0;
  height: auto;
  min-height: 1.15em;
  padding-right: 40px;
  font-family: var(--hann-display-font, sans-serif);
  font-size: clamp(28px, 2.5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.project-item-line-2-icon {
  left: auto;
  right: 0;
  top: calc(50% - 10px);
  width: 20px;
  height: 20px;
  transition: transform 150ms;
}
.project-item:hover .project-item-line-2-icon {
  transform: translateX(2px);
}
.project-item-line-2-inner {
  bottom: 0;
}
html.hann-frame-transfer-active #ui {
  z-index: 3 !important;
}
#project-details {
  --project-details-highlight: var(--hann-accent, #b0bbf4);
}
#project-details-title,
#project-details-preview-title {
  font-family: var(--hann-display-font, sans-serif);
  font-size: 4em;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
#project-details-desc {
  margin: 2.5em 0;
  font-family: var(--hann-ui-font, sans-serif);
  letter-spacing: -0.015em;
}
#project-details-desc .hann-catalog-actions {
  margin-top: 1.5em;
  padding-left: 0;
  list-style: none;
}
#project-details-desc .hann-catalog-actions li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-top: 1px solid #868a9c66;
}
#project-details-desc .hann-catalog-actions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(12px + 0.6em);
  width: 5px;
  height: 5px;
  background: currentColor;
}
#project-details-side-list {
  font-family: var(--hann-ui-font, sans-serif);
}
.project-details-side-list-title {
  padding-bottom: 12px;
  border-bottom: 1px solid #868a9c66;
  color: inherit;
  font: 11px/1.5 var(--hann-mono-font, monospace);
  letter-spacing: 0.04em;
}
.project-details-side-list-item {
  line-height: 1.6;
}
#project-details-side-list a.project-details-side-list-item {
  min-height: 36px;
  padding: 4px 0;
}
.is-project-details-active #header-logo {
  color: var(--project-details-text);
}
.is-project-details-active #project-details-header-info {
  color: var(--project-details-text);
}
#project-details-launch-cta,
#project-details-launch-cta-mobile {
  min-height: 48px;
  height: auto;
  padding: 12px 16px;
  gap: 24px;
  border-radius: 3px;
  background: var(--hann-surface, #f6f7fb);
  color: var(--hann-graphite, #151828);
  font-family: var(--hann-ui-font, sans-serif);
  text-transform: none;
  transition: background-color 150ms;
}
#project-details-launch-cta:is(:hover, :focus-visible),
#project-details-launch-cta-mobile:is(:hover, :focus-visible) {
  background: var(--hann-accent, #b0bbf4);
  color: var(--hann-graphite, #151828);
  transition: background-color 150ms;
}
#project-details-launch-cta-dot,
#project-details-launch-cta-mobile-dot {
  display: none;
}
#project-details-launch-cta-text,
#project-details-launch-cta-mobile-text {
  font-size: 14px;
  transform: none !important;
  transition: none;
}
#project-details-launch-cta-arrow,
#project-details-launch-cta-mobile-arrow {
  position: static;
  width: 20px;
  height: 20px;
  background: transparent;
  border-radius: 0;
  transform: none !important;
  transition: none;
}
#project-details-launch-cta-arrow svg,
#project-details-launch-cta-mobile-arrow svg {
  width: 100%;
  height: 100%;
  color: inherit !important;
  transition: none;
}
.hann-catalog-identities {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.hann-catalog-identities > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hann-catalog-identities img {
  flex-shrink: 0;
}
.hann-catalog-provider,
.hann-catalog-media-caption {
  margin-top: 16px;
}
#project-details-side-list .hann-catalog-related {
  display: block;
}
#header-right-sound-btn[hidden],
#scroll-nav-section[hidden] {
  display: none !important;
}
#header-right.hann-app-nav {
  align-items: center;
  gap: 0.5em;
}
#header-right.hann-app-nav #header-right-talk-btn {
  position: relative;
  left: auto;
  flex-shrink: 0;
  width: auto;
  padding: 0 1.125em 0 1.625em;
}
#header-right.hann-app-nav #header-right-menu-btn {
  flex-shrink: 0;
}
/* Before launch the received app pill is a status; it neither hovers nor clicks. */
#header-right-talk-btn[data-hann-app-status],
#header-right-talk-btn[data-hann-app-status] * {
  pointer-events: none !important;
  cursor: default;
}
/* The native next title crosses the current media and the incoming light surface. */
#project-details-preview-title {
  mix-blend-mode: normal;
}
#project-details-preview-footer {
  display: block;
  height: auto;
  color: inherit;
}
.hann-detail-ending {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  max-width: 90vw;
}
.hann-detail-ending a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: clamp(16px, 1.15vw, 24px);
  line-height: 1.4;
  text-decoration: none;
}
.hann-detail-ending a:hover {
  text-decoration: underline;
}
.hann-detail-ending a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
@media (min-width: 813px) {
  /* The final pane occupies one viewport after the actual detail media. */
  #project-details-items-move-container {
    min-width: 125vw;
  }
}
@media (max-width: 812px) {
  #projects-main {
    --hann-transfer-gap: 32px;
  }
  #projects-main #projects-main-title-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 136px;
    padding-bottom: 24px;
  }
  #projects-main-title-wrapper {
    font-size: clamp(56px, 14vw, 104px);
  }
  #projects-main-title-project-arrow {
    bottom: 8px;
    width: 24px;
    height: 24px;
  }
  #projects-main .hann-catalog-intro {
    font-size: 16px;
    margin: 0;
  }
  .project-item-footer {
    margin-top: 16px;
    padding-top: 16px;
  }
  .project-item-line-1 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .project-item-line-2 {
    font-size: 28px;
  }
  #project-details-title,
  #project-details-preview-title {
    font-size: clamp(44px, 12vw, 88px);
  }
  #project-details-desc {
    margin: 2em 0;
    line-height: 1.55;
  }
  #project-details-side-list {
    gap: 24px;
  }
  #project-details-launch-cta-mobile {
    margin-top: 28px;
  }
}
@media (max-height: 450px) {
  #projects-main {
    --hann-transfer-gap: 24px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  #projects-main #projects-main-title-top {
    margin-top: 112px;
  }
  #projects-main .hann-catalog-intro {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #project-details-launch-cta,
  #project-details-launch-cta-mobile,
  .project-item-line-2-icon {
    transition: none;
  }
}
