/* Layout and visual treatment. Typography lives in brand.css. */

.annish-device-pair {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1400px;
  --ap: var(--p,0);
}
.annish-browser {
  position: absolute;
  left: 0;
  top: 10%;
  width: 92%;
  z-index: 2;
  transform: translate3d(0,calc(var(--ap)*-18px),0) rotateY(calc(-7deg + var(--ap)*9deg));
  transform-origin: center;
  overflow: hidden;
}
.annish-viewport {
  position: relative;
  overflow: hidden;
  background: #19171b;
  width: 100%;
}
.annish-desktop {
  aspect-ratio: 1.44;
}
.annish-mobile {
  aspect-ratio: 390/844;
  background: #f5f2ec;
}
.annish-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 1000px;
  border: 0;
  transform: scale(var(--annish-scale,0));
  transform-origin: top left;
  pointer-events: none;
}
.annish-mobile iframe {
  width: 390px;
  height: 844px;
}
.annish-screen-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.annish-phone {
  position: absolute;
  right: 0;
  top: 38%;
  width: 28%;
  z-index: 4;
  transform: translate3d(0,calc(var(--ap)*-28px),60px) rotateZ(4deg);
  border-width: 5px;
  border-radius: 24px;
  display: block;
  overflow: hidden;
}
.annish-screen-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -4px;
}
.annish-project {
  --project-highlight: #e6cbdc;
  --project-text: #eeeae1;
  background: #201c20;
  color: #eeeae1;
}
.annish-project .project-stage {
  background: #201c20;
}
.annish-project .project-copy>p:not(.eyebrow) {
  color: #c5bdc3;
  max-width: 360px;
}
.annish-project .project-composition {
  height: 70%;
  max-height: 630px;
}
.project-annish {
  background: #201c20;
  min-height: 0;
}
.project-annish .partner-project-stage {
  position: relative;
  top: auto;
}
.project-annish .project-visual {
  width: 88%;
  aspect-ratio: 1.3;
  padding: 0;
  margin: auto;
}
.project-annish .annish-device-pair {
  --ap: var(--scene-p,0);
}
.project-annish .annish-browser {
  top: 0;
}
.project-annish .annish-phone {
  top: auto;
  bottom: -2%;
  width: 25%;
}
.project-annish .project-context {
  margin-top: 38px;
}
.project-annish .project-context>p:nth-of-type(3) {
  grid-column: 2;
  grid-row: 3;
}
.project-annish .project-context>.text-link {
  grid-row: 4;
}
.project-annish .project-context .project-capabilities {
  grid-row: 5;
}
.annish-production {
  grid-column: 1/-1;
  border-top: 1px solid #ffffff30;
  padding: 20px 0;
}
.annish-production summary {
  cursor: pointer;
  min-height: 44px;
  display: list-item;
  list-style-position: inside;
}
.annish-production summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.annish-production dl {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
  margin-top: 22px;
}
.annish-production dt {
  margin-bottom: 12px;
}
.annish-production dd {
  margin: 0;
  color: #c9c1c8;
}
.annish-disclosure {
  opacity: .75;
}
.project-annish .project-context>.annish-disclosure {
  grid-column: 1/-1;
  grid-row: auto;
}
.industry.annish-gallery {
  background: #201c20;
}
.annish-gallery:after {
  display: none;
}
.industry.annish-gallery>.annish-gallery-preview {
  left: 18px;
  right: 18px;
  top: 65px;
  bottom: auto;
  height: 200px;
  z-index: 1;
}
.annish-gallery .annish-browser {
  top: 0;
}
.annish-gallery .annish-phone {
  top: 34%;
}
.industry.annish-gallery>.annish-gallery-copy {
  bottom: 20px;
}
.annish-gallery-copy h3 {
  max-width: 330px;
}
.annish-gallery-copy .industry-project-link {
  margin-top: 12px;
}
.annish-work-preview {
  position: relative;
  background: #201c20;
  height: clamp(290px,32vw,440px);
  padding: 22px;
  margin-bottom: 26px;
  overflow: hidden;
}
.annish-work-preview .annish-browser {
  top: 0;
}
.collection-annish .annish-work-preview .browser-bar {
  display: flex;
}
.collection-annish h2 {
  margin-top: 16px;
}
.collection-annish .annish-disclosure {
  margin-top: 20px;
}
.no-motion .annish-browser,.no-motion .annish-phone {
  transform: none !important;
}

@media (max-width:760px) {
.annish-project .project-stage {
  height: auto;
  min-height: 1000px;
}
.annish-project .project-stage-inner {
  display: flex;
  flex-direction: column;
}
.annish-project .project-copy {
  padding: 90px 0 0;
  max-width: none;
  width: 100%;
}
.annish-project .project-copy h2 {
  max-width: 100%;
}
.annish-project .project-copy h2 em {
  display: block;
  margin-left: 0;
}
.annish-project .project-copy>p:not(.eyebrow) {
  max-width: none;
}
.annish-project .project-composition {
  height: 340px;
  max-height: none;
  margin-top: 35px;
  width: 100%;
  flex-shrink: 0;
}
.annish-project .annish-browser {
  top: 0;
  width: 96%;
  transform: translateY(calc(var(--ap)*-7px));
}
.annish-phone {
  width: 34%;
  top: 38%;
  border-width: 3px;
  border-radius: 17px;
  transform: translateY(calc(var(--ap)*-12px)) rotateZ(3deg);
}
.annish-device-pair .browser-bar {
  height: 19px;
  padding-inline: 7px;
}
.project-annish .project-visual {
  width: 100%;
  aspect-ratio: auto;
  height: 340px;
}
.project-annish .annish-browser {
  width: 96%;
  top: 0;
  transform: translateY(calc(var(--ap)*-7px));
}
.project-annish .annish-phone {
  width: 34%;
  top: 37%;
  bottom: auto;
}
.project-annish .project-context {
  display: block;
  margin-top: 15px;
}
.project-annish .project-context h3 {
  margin: 20px 0;
}
.project-annish .project-context>p {
  margin: 16px 0 !important;
}
.project-annish .project-context .project-capabilities {
  margin-top: 25px !important;
}
.annish-production dl {
  grid-template-columns: 1fr;
  gap: 22px;
}
.industry.annish-gallery>.annish-gallery-preview {
  height: 180px;
  top: 55px;
}
.annish-gallery-copy .industry-category {
  margin-bottom: 10px;
}
.annish-gallery-copy .industry-project-link {
  margin-top: 9px;
}
.annish-work-preview {
  height: 340px;
}
.annish-work-preview .annish-phone {
  top: 37%;
}
}

@media (prefers-reduced-motion:reduce) {
.annish-browser,.annish-phone {
  transform: none !important;
}
}
