@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/InstrumentSans-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: Thicccboi;
  src: url('../fonts/THICCCBOI-SemiBold.woff2') format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Thicccboi;
  src: url('../fonts/THICCCBOI-Regular.woff2') format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Thicccboi;
  src: url('../fonts/THICCCBOI-Light.woff2') format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Thicccboi;
  src: url('../fonts/THICCCBOI-Bold.woff2') format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Thicccboi;
  src: url('../fonts/THICCCBOI-ExtraBold.woff2') format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Thicccboi;
  src: url('../fonts/THICCCBOI-Medium.woff2') format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #161617;
  --main-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Shared sizes; captions and labels use one compact detail size. */
  --type-title: 48px;
  --type-heading: 28px;
  --type-body: 18px;
  --type-detail: 14px;
  --type-title-leading: 1.1;
  --type-heading-leading: 1.25;
  --type-body-leading: 1.5;
  --type-detail-leading: 1.45;
  --paragraphs: #fff;
  --heading-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --portfolio-copy: #fff;
  --portfolio-link: #82a9ff;
  --heading: #fff;
  --accent: #fbff30;
  --dark: #1c1c1c;
  --shadow: #00000026;
  --background-2: #27272766;
  --border: #ffffff26;
  --glass-fill: rgba(30, 30, 32, 0.48);
  --glass-fill-hover: rgba(42, 42, 45, 0.58);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-edge: rgba(255, 255, 255, 0.58);
  --glass-sheen: rgba(255, 255, 255, 0.28);
  --glass-shadow: rgba(0, 0, 0, 0.28);
  --glass-inset-dark: rgba(0, 0, 0, 0.24);
  --glass-inset-light: rgba(255, 255, 255, 0.22);
  --glass-icon-bg: rgba(255, 255, 255, 0.92);
  --glass-icon-color: #111;
  --glass-panel: rgba(18, 18, 20, 0.72);
  --glass-control-size: 40px;
  --glass-control-icon-size: 24px;
  --solid-control-size: 40px;
  --solid-control-bg: #fff;
  --solid-control-hover: #e8e8e8;
  --solid-control-color: #111;
}

html {
  background-color: var(--dark);
  overscroll-behavior-y: none;
}

.w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

body {
  background-color: var(--background);
  overscroll-behavior-y: none;
  font-family: var(--main-font);
  color: var(--paragraphs);
  flex-direction: column;
  justify-content: flex-start;
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  display: flex;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

h1 {
  font-family: var(--heading-font);
  color: var(--heading);
  text-transform: none;
  letter-spacing: -.025em;
  margin-top: 0;
  margin-bottom: 28px;
  font-size: var(--type-title);
  font-weight: 500;
  line-height: var(--type-title-leading);
}

h2 {
  font-family: var(--heading-font);
  color: var(--heading);
  text-transform: none;
  letter-spacing: -.025em;
  margin-top: 0;
  margin-bottom: 23px;
  font-size: var(--type-heading);
  font-weight: 500;
  line-height: var(--type-heading-leading);
}

h3 {
  font-family: var(--heading-font);
  color: var(--heading);
  text-transform: none;
  letter-spacing: -.025em;
  margin-top: 0;
  margin-bottom: 21px;
  font-size: var(--type-heading);
  font-weight: 500;
  line-height: var(--type-heading-leading);
}

h4 {
  font-family: var(--heading-font);
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 19px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

h5 {
  font-family: var(--heading-font);
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 17px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

h6 {
  font-family: var(--heading-font);
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

p {
  margin-bottom: 28px;
}

a {
  border-bottom: 1px solid currentColor;
  color: var(--heading);
  text-decoration: none;
  transition: border-width .2s cubic-bezier(.25, .46, .45, .94), border-color .2s cubic-bezier(.25, .46, .45, .94);
}

a:hover {
  border-bottom-color: currentColor;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 28px;
  padding-left: 36px;
}

li {
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 8px;
}

strong {
  color: var(--heading);
  font-weight: 500;
}

em {
  font-style: italic;
}

blockquote {
  border-left: 2px solid var(--accent);
  color: var(--heading);
  margin-bottom: 28px;
  margin-left: 18px;
  padding: 2px 24px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

figure {
  border-radius: 10px;
  margin-top: 38px;
  margin-bottom: 38px;
  overflow: hidden;
}

figcaption {
  background-color: var(--dark);
  text-align: center;
  margin-top: 0;
  padding: 14px 10px;
  font-size: var(--type-detail);
  line-height: var(--type-detail-leading);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.transformed-hero {
  perspective: 1700px;
  position: relative;
  overflow: hidden;
}

.flex-hero {
  z-index: 20;
  background-color: var(--dark);
  width: 50%;
  min-height: 100vh;
  box-shadow: 5px 0 150px 0 var(--shadow);
  align-items: flex-end;
  display: flex;
  position: fixed;
  overflow: hidden;
}

.block-hero {
  flex-direction: column;
  flex: none;
  justify-content: center;
  align-items: flex-start;
  width: 42vw;
  margin: 90px 4vw 4vw;
  display: flex;
}

.heading-hero {
  max-width: 850px;
  font-size: var(--type-heading);
  font-weight: 500;
  line-height: var(--type-heading-leading);
  letter-spacing: -.025em;
  text-transform: none;
}

.hero-eyebrow {
  color: var(--paragraphs);
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 22px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
}

.hero-intro {
  max-width: 620px;
  color: var(--paragraphs);
  margin-top: 24px;
  margin-bottom: 0;
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

@keyframes hero-synchronized-enter {
  from {
    opacity: 0;
    transform: translate3d(-32px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.grid-hero-b .block-hero {
  animation: hero-synchronized-enter 800ms cubic-bezier(.22, 1, .36, 1) 100ms both;
}

.grid-hero-b .heading-hero {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .grid-hero-b .block-hero {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.paragraph-large {
  max-width: 570px;
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.link {
  border-bottom-style: none;
  align-items: center;
  padding-top: 3px;
  padding-bottom: 3px;
  display: flex;
}

.circle {
  background-color: var(--accent);
  width: 23px;
  height: 23px;
  box-shadow: 0 0 40px -3px var(--accent);
  border-radius: 50%;
  margin-right: 12px;
}

.text-link {
  color: var(--heading);
  letter-spacing: normal;
  text-transform: none;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
}

.grid-links {
  grid-column-gap: 25px;
  grid-row-gap: 25px;
  grid-template-rows: auto;
  grid-template-columns: auto;
  grid-auto-columns: auto;
  grid-auto-flow: column;
  margin-top: 20px;
}

.navbar {
  z-index: 1000;
  background-color: #0000;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-left: 40px;
  margin-right: 40px;
  display: flex;
  position: fixed;
  top: 0%;
  left: 0%;
  right: 0%;
}

.nav-block {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.brand {
  border-bottom-style: none;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 5px;
  display: flex;
  position: relative;
}


.brand-name {
  color: var(--heading);
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
  text-transform: none;
}

.brand-secret-hint {
  color: var(--paragraphs);
  font-family: var(--main-font);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 7px);
  left: 5px;
  transform: translateY(-3px);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
  text-transform: none;
}

.brand-secret-hint.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 991px), (hover: none), (pointer: coarse) {
  .brand-secret-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-secret-hint {
    display: none;
  }
}

.nav-link {
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
  border-bottom-style: none;
  padding: 12px 0;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  transition: padding-left .3s cubic-bezier(.25, .46, .45, .94);
  display: block;
}

.nav-link:hover {
  padding-left: 8px;
}

.nav {
  justify-content: center;
  align-items: center;
  display: flex;
}

.nav-menu {
  background-color: var(--dark);
  border-radius: 10px;
  flex-direction: column;
  margin-top: 10px;
  padding: 15px 25px;
  display: flex;
  position: absolute;
  bottom: auto;
  left: auto;
}

.logo {
  height: 20px;
}

.menu-button {
  padding: 0;
}

.menu-button.w--open {
  background-color: #0000;
}

.icon-menu {
  width: 12px;
  height: 12px;
}

.block-menu-button {
  justify-content: center;
  align-items: center;
  display: flex;
}

.icon-menu-bg {
  z-index: 50;
  background-color: var(--heading);
  width: 44px;
  height: 44px;
  box-shadow: 0 15px 40px 0 var(--shadow);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-left: 12px;
  display: flex;
  position: relative;
}

.section-hero {
  transform-origin: 50% 0;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-top: auto;
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
}

.grid-hero {
  grid-column-gap: 3vw;
  grid-row-gap: 3vw;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-flow: column;
  align-items: start;
  width: 100%;
  min-height: 100vh;
}

.grid-hero---row-1 {
  grid-column-gap: 3vw;
  grid-row-gap: 3vw;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
}

.image-hero {
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
}

.grid-hero---row-2 {
  grid-column-gap: 3vw;
  grid-row-gap: 3vw;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  margin-top: 12vh;
}

.grid-hero---row-3 {
  grid-column-gap: 3vw;
  grid-row-gap: 3vw;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  align-items: start;
}

.grid-hero---row-4 {
  grid-column-gap: 3vw;
  grid-row-gap: 3vw;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  margin-top: 12vh;
}

.section {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10vw 40px;
  display: flex;
}

.section.background {
  background-color: var(--background-2);
  border-radius: 10px;
  margin-left: 40px;
  margin-right: 40px;
  padding-left: 55px;
  padding-right: 55px;
}

.content {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  display: flex;
}

.heading-welcome {
  max-width: 1220px;
  color: var(--paragraphs);
  text-transform: none;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 122%;
}

.welcome {
  width: 100%;
  margin-top: 5vw;
}

.collection-list-wrapper {
  width: 100%;
}

.collection-list {
  grid-column-gap: 0px;
  grid-row-gap: 9vw;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.collection-item {
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  display: flex;
}

.collection-item:nth-child(2n) {
  flex-direction: row-reverse;
}

.block-image-project {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-project {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.link-block-image-project {
  border-bottom-style: none;
  flex-direction: row;
  width: 57%;
  aspect-ratio: 1 / 1;
  display: flex;
  overflow: hidden;
}

.block-text-project {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 43%;
  padding: 40px 6.5%;
  display: flex;
}

.link-heading-project {
  border-bottom-style: none;
  margin-bottom: 24px;
}

.project-info {
  color: var(--heading);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

.heading-project {
  margin-bottom: 0;
}

.project-summary {
  margin-bottom: 24px;
}

.link-project {
  margin-top: 34px;
}

.empty-state {
  background-color: var(--dark);
  border-radius: 5px;
  padding: 18px 28px;
  display: inline-block;
}

.text-empty {
  color: var(--heading);
}

.block-heading {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  display: flex;
}

.heading {
  max-width: 630px;
}

.services-heading {
  font-size: var(--type-heading);
  max-width: none;
  text-wrap: balance;
  font-weight: 500;
  line-height: var(--type-heading-leading);
  letter-spacing: -.025em;
  text-transform: none;
}

.grid-services {
  grid-column-gap: 70px;
  grid-row-gap: 70px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  margin-top: 50px;
}

.services {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.icon-services {
  width: 26px;
  height: 26px;
  filter: brightness(0);
  opacity: .82;
}

.icon-services-bg {
  background-color: rgba(17, 17, 17, .055);
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 26px;
  display: flex;
}

html[data-theme="dark"] .icon-services {
  filter: brightness(0) invert(1);
  opacity: .9;
}

html[data-theme="dark"] .icon-services-bg {
  background-color: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .13);
}

.section-footer {
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding: 50px 40px;
  display: flex;
}

.footer {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  display: flex;
}

.link-footer {
  opacity: .5;
  letter-spacing: normal;
  text-transform: none;
  border-bottom-style: none;
  margin-left: 16px;
  margin-right: 16px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  transition: opacity .2s cubic-bezier(.25, .46, .45, .94);
}

.link-footer:hover {
  opacity: 1;
}

.portfolio-footer {
  justify-content: center;
}

.footer.footer-credit {
  color: var(--paragraphs);
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  font-size: var(--type-body);
  font-weight: 400;
  letter-spacing: normal;
  line-height: var(--type-body-leading);
  text-transform: none;
}

.footer-credit .link-footer {
  color: var(--heading);
  margin: 0;
  padding: 0;
  opacity: .72;
  text-transform: none;
}

.section-banner {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
}

.cms-pending {
  visibility: hidden;
}

/* Mobile entrance owns only the link and late artwork, never desktop hover. */
@media screen and (max-width: 991px) and (prefers-reduced-motion: no-preference) {
  .mobile-feed-reveal-pending,
  .mobile-feed-asset-pending {
    opacity: 0;
  }
}

/* Reveal the whole home feed together; hover stays on the inner artwork plane. */
@keyframes project-feed-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.collection-list-b.cms-entering > .cms-project-card {
  animation: project-feed-enter 800ms cubic-bezier(.22, 1, .36, 1) both;
}

.collection-list-b.cms-entering > .cms-project-card:focus-within {
  animation: none;
}

@media screen and (max-width: 991px), (prefers-reduced-motion: reduce) {
  .collection-list-b.cms-entering > .cms-project-card {
    animation: none;
  }
}

.cms-gallery-item {
  margin: 48px 0 0;
}

.cms-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.cms-gallery-item figcaption {
  margin-top: 12px;
  opacity: .65;
}

/* Sanity case study blocks */

.rich-text-block.cms-case-study {
  max-width: none;
}

.cms-case-study {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: clamp(56px, 7vw, 112px);
  margin-top: clamp(56px, 6vw, 96px);
  margin-bottom: 10vw;
}

.cms-case-section {
  width: 100%;
  margin: 0;
}

.cms-width-content {
  max-width: 780px;
}

@media screen and (min-width: 992px) {
  /* A shared reading measure for prose; media keeps its independent width. */
  .cms-case-study .cms-text-section {
    max-width: 716px;
  }
}

.cms-width-wide {
  max-width: 1080px;
}

.cms-width-full {
  max-width: 1320px;
}

.cms-section-eyebrow {
  color: var(--heading);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-size: var(--type-detail);
  font-weight: 600;
  line-height: var(--type-detail-leading);
}

.cms-text-section > h2,
.cms-gallery-section > h2,
.cms-metrics-section > h2 {
  margin-bottom: 24px;
}

.cms-rich-text > :first-child {
  margin-top: 0;
}

.cms-rich-text > :last-child {
  margin-bottom: 0;
}

.cms-rich-text p,
.cms-rich-text li {
  color: var(--paragraphs);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.cms-rich-text ul,
.cms-rich-text ol {
  padding-left: 1.35em;
}

.cms-rich-text blockquote {
  border-left: 2px solid var(--accent);
  margin: 36px 0;
  padding-left: 28px;
  color: var(--heading);
}

.cms-rich-text code {
  background: var(--background-2);
  border-radius: 5px;
  padding: .08em .35em;
}

.cms-image-section img,
.cms-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Align the actual device, not the wide white canvas, at every viewport.
   Keep the original 191-frame animation and full image available in zoom.
   The 3338×1926 source contains the phone inside x1243–2093 / y101–1819.
   A 3px safety margin retains the complete device and every interaction. */
.cms-widget-prototype {
  align-self: flex-start;
  width: min(100%, 300px);
  margin-inline: 0;
}

.cms-widget-prototype > .cms-image-zoom {
  position: relative;
  overflow: hidden;
  aspect-ratio: 856 / 1724;
}

.cms-widget-prototype > .cms-image-zoom > img {
  position: absolute;
  width: 389.953271028%; /* 3338 / 856 */
  max-width: none;
  height: auto;
  left: -144.859813084%; /* -1240 / 856 */
  top: -5.684454756%; /* -98 / 1724 */
  border-radius: 0;
}

@media screen and (max-width: 767px) {
  .cms-widget-prototype {
    width: min(100%, 264px);
  }
}

.cms-case-section figcaption,
.cms-gallery figcaption {
  color: var(--paragraphs);
  background: transparent;
  text-align: left;
  margin-top: 12px;
  padding: 0;
  font-size: var(--type-detail);
  line-height: var(--type-detail-leading);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.cms-gallery {
  display: grid;
  justify-items: start;
  gap: clamp(12px, 2vw, 28px);
}

.cms-gallery figure {
  margin: 0;
  min-width: 0;
  width: 100%;
}

/* Different master proportions, intact artwork and a shared caption baseline. */
.cms-gallery-section[data-section-key="mina-loopy-characters"] figure {
  display: flex;
  flex-direction: column;
}

.cms-gallery-section[data-section-key="mina-loopy-characters"] figure > .cms-image-zoom {
  display: grid;
  align-items: center;
  flex: 1;
}

/* Keep the identity's square level with the character, but give the original
   lettering more breathing room. The source artwork and zoom stay untouched. */
.cms-gallery-section[data-section-key="character-and-identity"] figure:nth-child(2) > .cms-image-zoom {
  aspect-ratio: 1;
  background: #010108;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 9%;
}

.cms-gallery-section[data-section-key="character-and-identity"] figure:nth-child(2) > .cms-image-zoom img {
  border-radius: 0;
}

.cms-gallery figure > .cms-gallery-title {
  background: transparent;
  color: var(--heading);
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
}

.cms-gallery-title > h3 {
  font-size: var(--type-heading);
  font-weight: 500;
  line-height: var(--type-heading-leading);
  letter-spacing: -.025em;
  margin: 0;
  text-transform: none;
}

.cms-gallery-screens,
.cms-gallery-websites,
.cms-case-section[data-section-key^="pilates-"] {
  --case-screen-shadow: 0 0 0 1px rgb(255 255 255 / 9%),
    0 4px 10px rgb(0 0 0 / 18%),
    0 18px 36px -14px rgb(0 0 0 / 42%);
  align-items: start;
}

html[data-theme="light"] .cms-gallery-screens,
html[data-theme="light"] .cms-gallery-websites,
html[data-theme="light"] .cms-case-section[data-section-key^="pilates-"] {
  --case-screen-shadow: 0 0 0 1px rgb(20 35 55 / 9%),
    0 3px 9px rgb(20 35 55 / 6%),
    0 18px 36px -14px rgb(20 35 55 / 22%);
}

.cms-gallery-screens > figure,
.cms-gallery-websites > figure {
  /* The inner media frame clips the pixels; the outer figure must not clip its shadow. */
  overflow: visible;
}

.cms-gallery-screens > figure > figcaption,
.cms-gallery-websites > figure > figcaption {
  /* Override the legacy opaque caption surface so the shadow fades naturally. */
  background: transparent;
}

.cms-gallery-media {
  /* Clip the image itself, but leave its shadow outside the rounded surface. */
  box-shadow: var(--case-screen-shadow);
  overflow: hidden;
}

.cms-gallery-screens .cms-gallery-media {
  /* Slightly inside the original 113–115px corner and its antialias fringe. */
  border-radius: 8.2% / 3.8%;
}

.cms-gallery-websites .cms-gallery-media {
  border-radius: 8px;
}

.cms-gallery .cms-gallery-media img {
  /* The wrapper is the single clipping boundary, including on mobile. */
  border-radius: 0;
}

.cms-gallery-screens figcaption,
.cms-gallery-websites figcaption {
  margin-top: 16px;
}

/* Keep the account example on the same left edge as the case narrative. */
.cms-gallery-section[data-section-key="citi-dashboard"] {
  max-width: 780px;
}

.cms-gallery-section[data-section-key="citi-dashboard"] figure {
  width: 100%;
  max-width: 300px;
  justify-self: start;
}

@media screen and (min-width: 992px) {
  .cms-gallery-section[data-section-key="citi-dashboard"] {
    max-width: 716px;
  }
}

/* Three phone views first, then a full-width web map on its own row. */
.cms-gallery-section[data-section-key="citi-offers-rewards"] {
  max-width: 1080px;
}

.cms-gallery-section[data-section-key="citi-offers-rewards"] > .cms-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  row-gap: 40px;
}

.cms-gallery-section[data-section-key="citi-offers-rewards"] figure:nth-child(-n + 3) {
  width: 100%;
  max-width: 300px;
  justify-self: start;
}

.cms-gallery-section[data-section-key="citi-offers-rewards"] figure:nth-child(-n + 3) .cms-gallery-media {
  /* Match the dashboard phone; the fourth item keeps its web-screen corners. */
  border-radius: 8.2% / 3.8%;
}

.cms-gallery-section[data-section-key="citi-offers-rewards"] figure:last-child {
  grid-column: 1 / -1;
}

.cms-gallery.cms-gallery-sequence {
  align-items: start;
  column-gap: clamp(12px, 1.5vw, 24px);
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  margin-inline: 0;
  max-width: 780px;
}

.cms-gallery.cms-gallery-three.cms-gallery-sequence {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
}

.cms-gallery-sequence figcaption {
  font-size: var(--type-detail);
  line-height: var(--type-detail-leading);
  margin-top: 16px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.cms-gallery-screens.cms-gallery-sequence .cms-gallery-media {
  /* Match the widget phone artwork, whose original corners are about 125px. */
  border-radius: 9% / 4.15%;
}

/* Small sequence phones need a lower elevation than full-size app screens. */
.cms-gallery-screens.cms-gallery-sequence,
.cms-gallery-widgets {
  --case-screen-shadow: 0 0 0 1px rgb(255 255 255 / 10%),
    0 2px 4px rgb(0 0 0 / 16%),
    0 8px 16px -6px rgb(0 0 0 / 28%);
}

html[data-theme="light"] .cms-gallery-screens.cms-gallery-sequence,
html[data-theme="light"] .cms-gallery-widgets {
  --case-screen-shadow: 0 0 0 1px rgb(20 35 55 / 10%),
    0 2px 4px rgb(20 35 55 / 4%),
    0 8px 16px -6px rgb(20 35 55 / 14%);
}

/* Crop away the posters' baked shadow, not any part of the widget UI.
   Keep the original visible size: 2456px of the old 4112px poster width. */
.cms-gallery-widgets > figure {
  margin-inline: 0;
  overflow: visible;
  width: 59.727626459%;
}

.cms-gallery-widgets .cms-gallery-media {
  border-radius: 6.3518% / 6.0748%;
}

.cms-gallery-widgets > figure > figcaption {
  background: transparent;
  margin-top: 16px;
}

/* Opt-in documentation sheets: keep white artwork, reveal its perimeter,
   and keep captions outside both the clipping frame and the soft shadow. */
.cms-image-page,
.cms-gallery-pages > figure {
  overflow: visible;
}

.cms-page-surface {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 16%),
    0 2px 4px rgb(0 0 0 / 14%),
    0 10px 24px -12px rgb(0 0 0 / 32%);
  overflow: hidden;
}

html[data-theme="light"] .cms-page-surface {
  box-shadow: 0 0 0 1px rgb(20 35 55 / 12%),
    0 2px 4px rgb(20 35 55 / 3%),
    0 10px 24px -12px rgb(20 35 55 / 16%);
}

.cms-image-page .cms-page-surface img,
.cms-gallery-pages .cms-page-surface img {
  border-radius: 0;
}

.cms-image-page > figcaption,
.cms-gallery-pages > figure > figcaption {
  background: transparent;
  margin-top: 16px;
}

.cms-sequence-arrow {
  align-self: center;
  color: var(--portfolio-copy);
  display: block;
  height: 24px;
  /* Center on the screens, excluding the 36px caption area below them. */
  transform: translateY(-18px);
  width: 24px;
}

.cms-sequence-arrow svg {
  display: block;
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .cms-gallery.cms-gallery-headings {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  .cms-gallery.cms-gallery-sequence,
  .cms-gallery.cms-gallery-three.cms-gallery-sequence {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    row-gap: 24px;
  }

  .cms-gallery-sequence > figure {
    max-width: 320px;
    width: 100%;
  }

  .cms-sequence-arrow {
    transform: rotate(90deg);
  }
}

.cms-gallery-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-gallery-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cms-gallery-stack {
  grid-template-columns: 1fr;
}

.cms-gallery-masonry {
  display: block;
  columns: 2;
  column-gap: clamp(12px, 2vw, 28px);
}

.cms-gallery-masonry figure {
  break-inside: avoid;
  margin-bottom: clamp(12px, 2vw, 28px);
}

.cms-video-section.cms-width-content {
  max-width: 624px;
}

.cms-video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #000;
  border-radius: 10px;
}

/* A full-frame tap target leaves autoplaying mobile artwork unobstructed. */
.cms-video-toggle {
  appearance: none;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: inherit;
  color: #fff;
  cursor: pointer;
  display: flex;
  inset: 0;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
}
.cms-video-toggle[hidden] { display: none; }
.cms-video-toggle-icon {
  align-items: center;
  background: rgb(0 0 0 / 55%);
  border-radius: 50%;
  display: flex;
  height: 52px;
  justify-content: center;
  opacity: 0;
  width: 52px;
}
.cms-video-toggle-icon svg { fill: currentColor; height: 28px; width: 28px; }
.cms-video-toggle-pause { display: none; }
.cms-video-toggle[data-paused="false"] .cms-video-toggle-play { display: none; }
.cms-video-toggle[data-paused="false"] .cms-video-toggle-pause { display: block; }
.cms-video-toggle[data-paused="true"] .cms-video-toggle-icon,
.cms-video-toggle:focus-visible:where(html:not([data-focus-input="pointer"]) *) .cms-video-toggle-icon { opacity: 1; }
.cms-video-toggle:focus-visible:where(html:not([data-focus-input="pointer"]) *) { outline: 2px solid #fff; outline-offset: -4px; }
.cms-video-toggle { z-index: 1; }
.cms-video-sound {
  appearance: none;
  align-items: center;
  background: rgb(0 0 0 / 55%);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  margin: 0;
  padding: 10px;
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 44px;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.cms-video-sound[hidden] { display: none; }
.cms-video-sound svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cms-video-sound-on { display: none; }
.cms-video-sound[data-muted="false"] .cms-video-sound-off { display: none; }
.cms-video-sound[data-muted="false"] .cms-video-sound-on { display: block; }
.cms-video-sound:focus-visible:where(html:not([data-focus-input="pointer"]) *) { outline: 2px solid #fff; outline-offset: 2px; }

.cms-ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.cms-ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.cms-ratio-1-1 {
  aspect-ratio: 1;
}

.cms-ratio-9-16 {
  aspect-ratio: 9 / 16;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cms-video-frame iframe,
.cms-video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.cms-video-deferred {
  min-height: 200px;
  /* Clip the composited YouTube frame itself without a dark backing at its edge. */
  background: transparent;
  clip-path: inset(0 round 10px);
}

.cms-video-deferred iframe,
.cms-video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cms-video-preview {
  display: block;
  padding: 0;
  border: 0;
  color: #fff;
  background: #171717;
  cursor: pointer;
}

.cms-video-preview[hidden] {
  display: none;
}

.cms-video-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.cms-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: 1px solid #ffffff40;
  border-radius: 100px;
  background: #171717eb;
  box-shadow: 0 4px 24px #0003;
  font: 500 16px/1.4 var(--main-font);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.cms-video-play-icon {
  font-size: 14px;
}

.cms-video-preview:hover .cms-video-play {
  background: #000;
}

.cms-video-preview:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.cms-video-preview:focus-visible:where(html:not([data-focus-input="pointer"]) *) .cms-video-play {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.cms-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.cms-metric {
  min-height: 180px;
  background: var(--background-2);
  padding: clamp(24px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cms-metric-value {
  color: var(--heading);
  font-size: var(--type-heading);
  font-weight: 500;
  line-height: var(--type-heading-leading);
  letter-spacing: -.025em;
  text-transform: none;
}

.cms-metric-label {
  color: var(--paragraphs);
  margin-top: 32px;
}

.cms-link-section {
  text-align: left;
}

.cms-link-section p {
  color: var(--paragraphs);
  margin-bottom: 22px;
}

@media screen and (max-width: 767px) {
  .cms-case-study {
    gap: 56px;
  }

  .cms-gallery-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 479px) {
  .cms-gallery-two,
  .cms-gallery-three {
    grid-template-columns: 1fr;
  }

  .cms-gallery-masonry {
    columns: 1;
  }

  .cms-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* One mobile size and left edge for standalone phones and widgets in every case study. */
@media screen and (max-width: 767px) {
  .cms-case-study {
    --case-phone-width: 264px;
  }

  .cms-gallery-section > .cms-gallery.cms-gallery-phones,
  .cms-gallery-section > .cms-gallery.cms-gallery-widgets {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    row-gap: 36px;
  }

  .cms-gallery-section > .cms-gallery.cms-gallery-phones > figure.cms-phone-screen,
  .cms-gallery-section > .cms-gallery.cms-gallery-widgets > figure {
    justify-self: start;
    margin-inline: 0;
    max-width: var(--case-phone-width);
    width: 100%;
  }

  .cms-gallery.cms-gallery-phones.cms-gallery-sequence {
    margin-inline: 0;
    max-width: var(--case-phone-width);
    row-gap: 24px;
  }

  .cms-gallery-phones > .cms-sequence-arrow {
    justify-self: center;
  }
}

.grid-banner {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  background-color: var(--dark);
  border-radius: 10px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1.5fr;
  width: 100%;
  overflow: hidden;
}

.block-banner-text {
  padding-top: 9vw;
  padding-bottom: 9vw;
  padding-left: 17%;
}

.heading-banner {
  margin-bottom: 45px;
}

.button {
  background-color: var(--accent);
  box-shadow: 0 0 60px -20px var(--accent);
  color: var(--dark);
  letter-spacing: normal;
  text-transform: none;
  border-bottom-style: none;
  border-radius: 50px;
  padding: 20px 38px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  transition-property: transform, background-color;
  transition-duration: .3s, .3s;
}

.button:hover {
  background-color: var(--heading);
  transform: scale(.95);
}

.grid-banner-image {
  grid-column-gap: 2vw;
  grid-row-gap: 0vw;
  width: 100%;
  transform-style: preserve-3d;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-flow: column;
  align-items: start;
  position: absolute;
  transform: translate(10%)rotateX(34deg)rotateY(-9deg)rotateZ(26deg);
}

.grid-banner---row-1 {
  grid-column-gap: 0vw;
  grid-row-gap: 2vw;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-flow: row;
  transform: translate(0);
}

.image-banner {
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
}

.grid-banner---row-2 {
  grid-column-gap: 0vw;
  grid-row-gap: 2vw;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-flow: row;
  margin-top: 120px;
}

.grid-banner---row-3 {
  grid-column-gap: 0vw;
  grid-row-gap: 2vw;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-flow: row;
  margin-top: 240px;
}

.block-banner-image {
  perspective: 1700px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  display: flex;
  position: relative;
  transform: perspective(1000px);
}

.block-single-page {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin-top: 8vw;
  margin-bottom: -28px;
  display: flex;
}

.block-single-page.center {
  text-align: center;
  align-items: center;
}

.heading-single-page {
  max-width: 1080px;
}

.collection-list-wrapper-page {
  width: 100%;
}

.collection-list-page {
  grid-column-gap: 4vw;
  grid-row-gap: 5vw;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  align-items: start;
  display: grid;
}

.link-block-image-project-page {
  border-bottom-style: none;
  flex-direction: row;
  width: 100%;
  margin-bottom: 45px;
  display: flex;
}

.collection-item-page {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.collection-item-page:nth-child(2n) {
  margin-top: 5vw;
}

.link-heading-project-page {
  border-bottom-style: none;
  margin-bottom: 0;
  padding-right: 10%;
}

.main-project-image {
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
  margin-top: 110px;
  margin-bottom: 2vw;
}

.block-project-description {
  width: 100%;
  margin-top: 6px;
}

.project-description {
  border-left: 1px solid var(--border);
  margin-top: 15px;
  margin-bottom: 15px;
  padding-left: 30px;
  padding-right: 80px;
  display: inline-block;
}

.heading-description {
  margin-bottom: 0;
}

.text-description {
  opacity: .5;
  color: var(--heading);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

.rich-text-block {
  width: 100%;
  max-width: 780px;
  margin-top: 40px;
  margin-bottom: 7vw;
}

.grid-2-columns {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  grid-template-rows: auto;
  align-items: stretch;
  width: 100%;
}

.block-right {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 12%;
  display: flex;
}

.image {
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
  height: 100%;
}

.block-image {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  display: flex;
}

.block-left {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-right: 12%;
  display: flex;
}

.paragraph {
  max-width: 600px;
}

.grid-clients {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  align-items: center;
  width: 100%;
  margin-top: 50px;
  margin-bottom: 20px;
}

.client-logo {
  max-height: 40px;
}

.grid-contact {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin-top: 40px;
}

.form {
  grid-column-gap: 30px;
  grid-row-gap: 20px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-items: start;
  display: grid;
}

.form.center {
  place-items: stretch center;
}

.text-field {
  border-style: none none solid;
  border-width: 1px;
  border-color: var(--border);
  height: 50px;
  color: var(--heading);
  background-color: #0000;
  margin-bottom: 0;
  padding: 15px 0;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  transition: border-color .3s cubic-bezier(.25, .46, .45, .94);
  letter-spacing: normal;
  text-transform: none;
}

.text-field:focus {
  border-bottom-color: var(--heading);
}

.text-field::placeholder {
  color: var(--paragraphs);
}

.textarea {
  border-style: none none solid;
  border-width: 1px;
  border-color: var(--border);
  min-width: 100%;
  max-width: 100%;
  min-height: 130px;
  max-height: 400px;
  color: var(--heading);
  background-color: #0000;
  margin-bottom: 10px;
  padding: 15px 0;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  transition: border-color .3s cubic-bezier(.25, .46, .45, .94);
  letter-spacing: normal;
  text-transform: none;
}

.textarea:focus {
  border-bottom-color: var(--heading);
}

.textarea::placeholder {
  color: var(--paragraphs);
}

.form-block {
  width: 100%;
  margin-top: 25px;
}

.block-form {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

.success-message {
  text-align: left;
  background-color: #00ffa133;
  border-radius: 10px;
  padding: 20px 25px;
}

.text-success {
  color: var(--heading);
  line-height: 140%;
}

.error-message {
  background-color: #ff3d0033;
  border-radius: 10px;
  padding: 20px 25px;
}

.text-error {
  color: var(--heading);
  line-height: 140%;
}

.block-contact {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 25%;
  display: flex;
}

.text-info-contact {
  margin-bottom: 5px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

.heading-info-contact {
  margin-bottom: 0;
}

.contact-information {
  border-left: 1px solid var(--border);
  margin-top: 35px;
  margin-bottom: 35px;
  padding-left: 30px;
}

.utility-page-wrap {
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  margin-top: auto;
  padding-top: 100px;
  display: flex;
}

.utility-page-content {
  text-align: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
  margin-bottom: 0;
  display: flex;
}

.utility-page-form {
  grid-column-gap: 18px;
  grid-row-gap: 18px;
  flex-direction: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  place-items: stretch stretch;
  display: grid;
}

.page-content {
  width: 100%;
  max-width: 780px;
}

.space {
  background-color: var(--border);
  width: 100%;
  height: 1px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.grid-image-licensing {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
}

.image-licensing {
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
}

.grid-icon-licensing {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  grid-template-rows: auto;
  grid-template-columns: auto auto auto;
  justify-items: start;
}

.block-icon-licensing {
  display: inline-block;
}

.font {
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center;
  margin-bottom: 15px;
  padding: 25px 40px;
  display: flex;
}

.buttons {
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center;
  margin-bottom: 15px;
  padding: 30px;
  display: flex;
}

.grid-buttons {
  grid-column-gap: 25px;
  grid-row-gap: 25px;
  grid-template-rows: auto;
  grid-template-columns: auto;
  grid-auto-columns: auto;
  grid-auto-flow: column;
  align-items: center;
}

.image-instructions {
  border: 1px solid var(--border);
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 10px;
}

.thicccboi {
  margin-bottom: 0;
}

.text-span {
  box-shadow: inset 0 -5px 0 0 var(--accent);
  color: var(--heading);
}

.client {
  background-color: #ffffff0d;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  padding: 20px 15%;
  display: flex;
}

.grid-hero-b {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex: 1;
  grid-template-columns: 48fr 52fr;
  grid-template-rows: auto;
  place-items: start stretch;
  position: relative;
}

.hero-sticky {
  z-index: 50;
  background-color: var(--dark);
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 100vh;
  display: flex;
  position: sticky;
  top: 0;
}

.hero-b {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 10vw 12%;
  display: flex;
  overflow: hidden;
}

.collection-list-b {
  grid-column-gap: 0px;
  grid-row-gap: 48px;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  place-items: start center;
  display: grid;
}

.collection-item-b {
  z-index: 50;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 700px;
  display: flex;
  position: relative;
}

.collection-item-b:nth-child(2n) {
  flex-direction: row-reverse;
}

.link-block-image-project-b {
  z-index: 10;
  border-bottom-style: none;
  width: 100%;
  aspect-ratio: auto;
  display: block;
  position: relative;
  overflow: visible;
}

.block-image-project-b {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.image-project-b {
  display: block;
  object-fit: cover;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.block-text-project-b {
  z-index: 20;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 7%;
  display: flex;
  position: absolute;
  inset: auto 0% 0%;
}

.heading-project-b {
  margin-bottom: 0;
  font-size: var(--type-heading);
  position: relative;
  font-weight: 500;
  line-height: var(--type-heading-leading);
  letter-spacing: -.025em;
  text-transform: none;
}

.block-gradient {
  z-index: 40;
  background-image: linear-gradient(180deg, #0f0f0f00, var(--dark) 65%);
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  position: absolute;
  inset: -77% 0% 0%;
}

.text-project-b {
  z-index: 50;
  position: relative;
}

.collection-list-wrapper-b, .collection-list-wrapper-page-c {
  width: 100%;
}

.collection-list-page-c {
  grid-column-gap: 40px;
  grid-row-gap: 120px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  align-items: start;
  display: grid;
}

.collection-item-page-c {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.hero-c {
  background-color: var(--dark);
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  display: flex;
  overflow: hidden;
}

.hero-slider-c {
  width: 100%;
  height: 100%;
}

.slider {
  z-index: 0;
  background-color: var(--background);
  width: 100%;
  height: 100%;
}

.mask {
  width: 100%;
  height: 100%;
}

.slide {
  perspective: 1000px;
  overflow: hidden;
  transform: perspective(1000px);
}

.left-arrow {
  display: block;
}

.icon-arrow {
  background-color: var(--dark);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 18px;
  display: flex;
}

.slide-nav {
  display: none;
}

.collection-list-wrapper-c {
  width: 100%;
  height: 100%;
}

.collection-list-c {
  height: 100%;
}

.collection-item-c {
  flex-flow: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
}

.link-block-image-project-c {
  z-index: 10;
  border-bottom-style: none;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.block-image-project-c {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.image-project-c {
  object-fit: cover;
  width: 100%;
  max-width: none;
  height: 100vh;
  min-height: 700px;
}

.block-text-project-c {
  z-index: 20;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background-color: #0000004d;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 7%;
  display: flex;
  position: absolute;
  inset: auto 0 0;
  -webkit-mask-image: linear-gradient(#0000, #000 50%);
  mask-image: linear-gradient(#0000, #000 50%);
}

.text-project-c {
  z-index: 50;
  position: relative;
}

.heading-project-c {
  margin-bottom: 0;
  font-size: var(--type-heading);
  position: relative;
  font-weight: 500;
  line-height: var(--type-heading-leading);
  letter-spacing: -.025em;
  text-transform: none;
}

.grid-hero-c {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex: 1;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
}

.block-form-b {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 880px;
  margin-top: 130px;
  margin-bottom: 130px;
  padding-left: 3%;
  padding-right: 3%;
  display: flex;
}

.block-contact-c {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  flex-flow: column;
  width: 100%;
  margin-top: 130px;
  margin-bottom: 130px;
  display: flex;
}

.link-contact-c {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  border-bottom-style: none;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  display: flex;
}

.heading-contact-c {
  margin-bottom: 0;
}

.paragraph-contact-c {
  max-width: 180px;
  color: var(--accent);
  margin-bottom: 0;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

.line-contact-c {
  border-radius: 5px;
  flex: 1;
  height: 5px;
  position: relative;
  overflow: hidden;
}

.line-contact-c-short {
  border-radius: 5px;
  width: 30px;
  height: 5px;
  position: relative;
  overflow: hidden;
}

.line-accent {
  background-color: var(--accent);
  border-radius: 5px;
  width: 100%;
  position: absolute;
  inset: 0%;
}

.splash {
  text-align: center;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  display: flex;
}

.heading-splash {
  max-width: 1080px;
  margin-top: 150px;
  margin-bottom: 150px;
}

.subheading-splash {
  color: var(--heading);
  margin-bottom: 20px;
  font-weight: 500;
}

.grid-splash {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  margin-bottom: 150px;
}

.link-splash {
  border: 1px solid var(--border);
  color: var(--paragraphs);
  border-radius: 10px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 8%;
  transition: color .2s cubic-bezier(.25, .46, .45, .94), background-color .2s cubic-bezier(.25, .46, .45, .94), border-color .2s cubic-bezier(.25, .46, .45, .94);
  display: flex;
}

.link-splash:hover {
  border-color: var(--background-2);
  background-color: var(--background-2);
  color: var(--heading);
}

.text-splash {
  letter-spacing: normal;
  text-transform: none;
  margin-top: 30px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
}

.background-video-splash {
  z-index: 10;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
  height: 16vw;
}

.image-splash {
  z-index: 10;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
  position: relative;
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: var(--type-title);
    font-weight: 500;
    line-height: var(--type-title-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  h2 {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  h3 {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  h4 {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }

  h5 {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }

  .transformed-hero {
    overflow: visible;
  }

  .flex-hero {
    width: 100%;
    min-height: 60vh;
    padding: 130px 10% 90px;
    position: relative;
  }

  .block-hero {
    width: 100%;
    max-width: 550px;
    margin: 0;
  }

  .heading-hero {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  .grid-hero {
    grid-column-gap: 2vw;
    grid-row-gap: 2vw;
    min-height: auto;
    margin-top: -130px;
  }

  .grid-hero---row-1 {
    grid-column-gap: 2vw;
    grid-row-gap: 2vw;
    margin-top: -7vh;
  }

  .grid-hero---row-2 {
    grid-column-gap: 2vw;
    grid-row-gap: 2vw;
    margin-top: 6vh;
  }

  .grid-hero---row-3 {
    grid-column-gap: 2vw;
    grid-row-gap: 2vw;
  }

  .grid-hero---row-4 {
    grid-column-gap: 2vw;
    grid-row-gap: 2vw;
    margin-top: 6vh;
  }

  .section {
    padding-top: 12vw;
    padding-bottom: 12vw;
  }

  .welcome {
    margin-top: 6vw;
  }

  .collection-list {
    grid-row-gap: 12vw;
  }

  .grid-services {
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    margin-top: 40px;
  }

  .section-footer {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .block-banner-text {
    padding-top: 6vw;
    padding-bottom: 6vw;
  }

  .heading-banner {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  .block-single-page {
    margin-top: 13vw;
  }

  .collection-list-page {
    grid-row-gap: 6vw;
  }

  .link-block-image-project-page {
    margin-bottom: 30px;
  }

  .collection-item-page:nth-child(2n) {
    margin-top: 6vw;
  }

  .main-project-image {
    margin-top: 90px;
    margin-bottom: 3vw;
  }

  .project-description {
    padding-left: 25px;
    padding-right: 70px;
  }

  .grid-2-columns {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
  }

  .block-right {
    padding-left: 8%;
  }

  .block-left {
    padding-right: 8%;
  }

  .grid-clients {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 40px;
  }

  .grid-contact {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    margin-top: 75px;
    padding-top: 3vw;
    padding-bottom: 3vw;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .block-contact {
    padding-left: 20%;
  }

  .contact-information {
    padding-left: 25px;
  }

  .space {
    margin-top: 70px;
    margin-bottom: 70px;
  }

  .grid-hero-b {
    grid-template-columns: 1fr;
  }

  .hero-sticky {
    min-height: 60vh;
    padding: 130px 10% 90px;
    position: relative;
  }

  .hero-b {
    padding-bottom: 25vw;
  }

  .heading-project-b {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  .collection-list-page-c {
    grid-row-gap: 100px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-c {
    min-height: 60vh;
    padding: 130px 10% 90px;
  }

  .heading-project-c {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  .grid-hero-c {
    grid-template-columns: 1fr;
  }

  .paragraph-contact-c {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }

  .grid-splash {
    grid-template-columns: 1fr 1fr;
  }

  .link-splash {
    padding: 10%;
  }

  .text-splash {
    margin-top: 20px;
  }

  .background-video-splash {
    height: 22vw;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: var(--type-title);
    font-weight: 500;
    line-height: var(--type-title-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  h2 {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  h3 {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  h4 {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }

  h5 {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }

  .flex-hero {
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .heading-hero {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  .paragraph-large {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }

  .grid-links {
    margin-top: 24px;
  }

  .navbar {
    margin-top: 20px;
    margin-left: 6%;
    margin-right: 6%;
  }

  .section-hero {
    padding-top: 20px;
    padding-left: 2%;
    padding-right: 2%;
  }

  .grid-hero {
    margin-top: -110px;
  }

  .grid-hero---row-1 {
    margin-top: -5vh;
  }

  .section {
    padding: 16vw 6%;
  }

  .section.background {
    margin-left: 2%;
    margin-right: 2%;
    padding-left: 6%;
    padding-right: 6%;
  }

  .welcome {
    margin-top: 8vw;
  }

  .collection-item {
    flex-direction: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: block;
  }

  .collection-item:nth-child(2n) {
    flex-direction: column;
  }

  .link-block-image-project {
    width: 100%;
  }

  .block-text-project {
    width: 100%;
    padding-left: 0%;
    padding-right: 0%;
  }

  .link-project {
    margin-top: 12px;
  }

  .grid-services {
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    grid-template-columns: 1fr 1fr;
  }

  .section-footer {
    flex-direction: column;
    padding: 30px 6%;
  }

  .footer {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .section-banner {
    padding-top: 10px;
    padding-left: 2%;
    padding-right: 2%;
  }

  .grid-banner {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
  }

  .block-banner-text {
    text-align: center;
    padding: 10vw 10% 0;
  }

  .grid-banner-image {
    place-items: start stretch;
    height: 620px;
    position: relative;
    transform: translate(0%)rotateX(34deg)rotateY(-9deg)rotateZ(17deg);
  }

  .block-single-page {
    margin-top: 20vw;
    padding-left: 4%;
    padding-right: 4%;
  }

  .collection-list-page {
    grid-row-gap: 14vw;
    grid-template-columns: 1fr;
  }

  .collection-item-page:nth-child(2n) {
    margin-top: 0;
  }

  .main-project-image {
    margin-top: 80px;
    margin-bottom: 4vw;
  }

  .rich-text-block {
    padding-left: 4%;
    padding-right: 4%;
  }

  .grid-2-columns {
    grid-template-columns: 1fr;
  }

  .block-right, .block-left {
    padding-left: 0%;
    padding-right: 0%;
  }

  .grid-clients {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: 1fr 1fr;
  }

  .grid-contact {
    grid-row-gap: 50px;
    grid-template-columns: 1fr;
    padding: 6vw 3%;
  }

  .block-contact {
    padding-left: 0%;
  }

  .contact-information {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .utility-page-wrap {
    padding-left: 6%;
    padding-right: 6%;
  }

  .grid-image-licensing {
    grid-template-columns: 1fr 1fr;
  }

  .hero-sticky {
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .collection-item-b {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
  }

  .collection-item-b:nth-child(2n) {
    flex-direction: column;
  }

  .collection-list-page-c {
    grid-template-columns: 1fr;
  }

  .hero-c {
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .block-form-b {
    margin-bottom: 70px;
  }

  .block-contact-c {
    margin-bottom: 90px;
  }

  .paragraph-contact-c {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }

  .heading-splash {
    margin-top: 130px;
    margin-bottom: 100px;
  }

  .grid-splash {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    margin-bottom: 100px;
  }

  .background-video-splash {
    height: 23vw;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    font-size: var(--type-title);
    font-weight: 500;
    line-height: var(--type-title-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  h2 {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  h3 {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  h4 {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }

  h5, h6 {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }

  .heading-hero {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  .grid-services {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .link-footer {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .grid-banner-image {
    height: 540px;
  }

  .block-single-page {
    margin-top: 25vw;
  }

  .project-description {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-right: 40px;
  }

  .grid-2-columns {
    grid-row-gap: 50px;
  }

  .block-right, .block-left {
    padding-top: 0;
    padding-bottom: 0;
  }

  .client-logo {
    max-height: 30px;
  }

  .font {
    flex-direction: column;
    align-items: center;
  }

  .grid-buttons {
    grid-auto-flow: row;
    justify-items: center;
  }

  .client {
    min-height: 90px;
  }

  .collection-list-page-c {
    grid-row-gap: 60px;
  }

  .block-form-b, .block-contact-c {
    margin-bottom: 50px;
  }

  .heading-splash {
    margin-top: 120px;
    margin-bottom: 80px;
  }

  .grid-splash {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: 1fr;
    margin-bottom: 80px;
  }

  .background-video-splash {
    height: 47vw;
  }
}

/* Portfolio theme layer */

/* Paint the home feed and the scroll canvas with the same theme-aware surface. */
html.portfolio-home,
.portfolio-home body,
.portfolio-home .hero-b {
  background-color: var(--home-feed-background, var(--background));
}

html.portfolio-home[data-theme="light"] {
  /* Match the Explore the lineup section on Apple's iPad page. */
  --home-feed-background: #f5f5f7;
}

:root {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --background: #f3f3ef;
  --paragraphs: #111;
  --portfolio-copy: #111;
  --portfolio-link: #2457e6;
  --heading: #111;
  --accent: #b9ff36;
  --dark: #fff;
  --shadow: #1111111a;
  --background-2: #e7e7e1;
  --border: #11111124;
  --glass-fill: rgba(255, 255, 255, 0.34);
  --glass-fill-hover: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(17, 17, 17, 0.18);
  --glass-edge: rgba(17, 17, 17, 0.82);
  --glass-sheen: rgba(255, 255, 255, 0.34);
  --glass-shadow: rgba(17, 17, 17, 0.12);
  --glass-inset-dark: rgba(255, 255, 255, 0.06);
  --glass-inset-light: rgba(255, 255, 255, 0.74);
  --glass-icon-bg: #ededed;
  --glass-icon-color: #111;
  --glass-panel: rgba(255, 255, 255, 0.72);
  --solid-control-bg: #ededed;
  --solid-control-hover: #dedede;
  --solid-control-color: #111;
}

html.portfolio-home,
.portfolio-home .hero-b,
body,
.hero-sticky,
.flex-hero,
.nav-menu,
.section.background,
.client,
.icon-menu-bg {
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

/* Animate inherited copy once at its source, not again at each container. */
body {
  transition: background-color 300ms ease, color 300ms ease;
}

/* Capture fully resolved colors, then blend the whole viewport in one layer. */
html[data-theme-transition="snapshot"],
html[data-theme-transition="instant"],
html[data-theme-transition="snapshot"] *,
html[data-theme-transition="instant"] *,
html[data-theme-transition="snapshot"] *::before,
html[data-theme-transition="snapshot"] *::after,
html[data-theme-transition="instant"] *::before,
html[data-theme-transition="instant"] *::after {
  transition: none !important;
}

html[data-theme-transition="snapshot"]::view-transition-group(root),
html[data-theme-transition="snapshot"]::view-transition-old(root) {
  animation: none;
}

html[data-theme-transition="snapshot"]::view-transition-old(root),
html[data-theme-transition="snapshot"]::view-transition-new(root) {
  mix-blend-mode: normal;
}

html[data-theme-transition="snapshot"]::view-transition-new(root) {
  animation: theme-page-fade 300ms ease both;
}

@keyframes theme-page-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

html[data-theme="light"] .logo {
  filter: invert(1);
}

html[data-theme="light"] .icon-menu {
  filter: invert(1);
}

html[data-theme="light"] .client {
  background-color: #1111110a;
}

html[data-theme="light"] .block-gradient {
  background-image: linear-gradient(180deg, #0f0f0f00, #0f0f0f 65%);
}

.block-text-project-b .project-info,
.block-text-project-b .heading-project-b {
  color: #fff;
}

.project-hover-plane {
  --project-radius: 12px;
  --preview-screen-shadow: 0 2px 5px rgb(40 29 0 / 8%), 0 24px 48px -22px rgb(40 29 0 / 32%);
  /* Let rounded edge pixels blend with the page, not a dark backing layer. */
  background: transparent;
  border-radius: var(--project-radius);
  box-shadow: 2px 4px 12px rgb(0 0 0 / 8%);
  aspect-ratio: 1 / 1;
  height: auto;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  width: 100%;
}

@media screen and (min-width: 992px) {
  .hero-b {
    padding-top: clamp(64px, 6vw, 88px);
  }

  .collection-item-b {
    /* Includes the narrower work column: approximately 10% smaller overall. */
    max-width: 618.3px;
    width: 91.03154%;
  }
}

@media screen and (min-width: 992px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cms-project-card .project-hover-plane {
    /* Preserve the resting size; grow just 3%, without rotation or glare. */
    transform: scale(.975);
    transform-origin: 50% 50%;
    transition:
      transform 500ms cubic-bezier(0, 0, .5, 1),
      box-shadow 500ms cubic-bezier(0, 0, .5, 1);
  }

  .cms-project-card .link-block-image-project-b:hover .project-hover-plane,
  .cms-project-card .link-block-image-project-b:focus-visible:where(html:not([data-focus-input="pointer"]) *) .project-hover-plane {
    box-shadow: 2px 4px 16px rgb(0 0 0 / 16%);
    transform: scale(1.00425);
  }
}

.project-hover-plane .block-image-project-b,
.project-hover-plane .image-project-b {
  border-radius: 0;
}

.project-hover-plane .image-project-b {
  transform: scale(1.002);
}

/* Front-facing original UI, with the same square-card and hover behavior. */
.interface-cover {
  display: grid;
  place-items: center;
}

.interface-cover-screen {
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 20, 40, .16);
  overflow: hidden;
  width: 88%;
}

.interface-cover-screen img {
  display: block;
  height: auto;
  width: 100%;
}

.interface-cover-mobile .interface-cover-screen {
  /* Native image ratio converts a 72% card height into a responsive width. */
  border-radius: 10% / 4.6%;
  box-shadow: var(--preview-screen-shadow);
  width: var(--interface-mobile-width);
}

.interface-cover-mobile-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6%;
}

.interface-cover-mobile-pair .interface-cover-screen {
  /* Keep both native screens the same height, with no overlap or cropping. */
  flex: none;
}

.interface-cover-standard .interface-cover-screen {
  /* The same maximum width as Speedster: equal 11% side insets. */
  width: 78%;
}

@media screen and (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .project-hover-plane.interface-caption-plane {
    container-type: inline-size;
  }

  .interface-cover-mobile .interface-cover-screen {
    /* The caption is outside the square; native grid/flex centering is enough. */
    aspect-ratio: var(--interface-mobile-ratio);
    height: 72cqw;
    width: auto;
  }

  .interface-cover-standard .interface-cover-screen {
    aspect-ratio: var(--interface-frame-ratio);
    height: var(--interface-frame-height);
    width: auto;
  }

  .interface-caption-plane .interface-cover-screen img {
    height: 100%;
    object-fit: contain;
  }

}

.citi-interface-cover {
  background: #d8eaf5;
}

.swiftly-web-interface-cover {
  background: #062a50;
}

.swiftly-mobile-interface-cover {
  background: #d5e9df;
}

.swiftly-admin-interface-cover {
  background: #dce6f3;
}

.widget-cover-framed {
  /* Light warm gray, with one quiet spotlight behind the dark panels.
     Deliberately separate from the player's blue atmospheric treatment. */
  background: radial-gradient(ellipse 90% 85% at 50% 42%,
    #dedad4 0%, #d1ccc5 40%, #c0b9b1 72%, #aea8a0 100%);
  display: grid;
  place-items: center;
}

.widget-cover-board {
  aspect-ratio: 5760 / 4212;
  height: auto;
  position: relative;
  /* Keep the original four-panel geometry, centered at its existing scale. */
  transform: scale(1.16);
  width: 100%;
}

.widget-cover-panel {
  box-shadow: var(--preview-screen-shadow);
  display: block;
  overflow: hidden;
  position: absolute;
}

.widget-cover-panel img {
  display: block;
  height: auto;
  max-width: none;
  position: absolute;
}

/* Keep the original character smaller within the card. The soft mask affects
   only the empty lavender edges; it does not redraw or crop the character. */
.posivibez-cover-framed {
  background: #c5b4ee;
  display: grid;
  place-items: center;
}

.project-hover-plane .posivibez-cover-framed .image-project-b {
  height: auto;
  object-fit: contain;
  transform: none;
  /* Another subtle reduction, without changing the square card or its hover. */
  width: 92%;
  /* Blend only empty edges into the unchanged lavender square. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent),
    linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent),
    linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
  mask-composite: intersect;
}

/* The supplied portrait animation is 478x856. Keep the whole frame and avoid
   upscaling this early motion study on large screens. */
.cms-video-section.cms-width-content[data-section-key="mina-loopy-motion"] {
  max-width: 478px;
}

.cms-video-section[data-section-key="mina-loopy-motion"] .cms-video-frame {
  aspect-ratio: 478 / 856;
}

.cms-video-section[data-section-key="mina-loopy-motion"] video {
  object-fit: contain;
}

/* Original icon artwork, reframed as smaller tiles with a clear safety margin.
   All foregrounds are crops of existing assets; gradients are separate layers. */
.paramount-icon-cover {
  --icon-tile-radius: 16%;
  --icon-tile-background: #0264ff;
  --icon-tile-shadow: rgba(34, 69, 157, .2);
  background:
    radial-gradient(ellipse 90% 80% at 8% 6%, #e4f5ff, transparent 75%),
    radial-gradient(ellipse 95% 85% at 100% 100%, #babaf0, transparent 78%),
    linear-gradient(145deg, #b6d5f4, #8aaedb);
}

.swiftly-icon-cover {
  --icon-tile-radius: 26%;
  --icon-tile-background: #fff;
  --icon-tile-shadow: rgba(96, 45, 112, .16);
  background:
    radial-gradient(ellipse 85% 85% at 0% 100%, #ffe0a5, transparent 75%),
    radial-gradient(ellipse 90% 85% at 100% 0%, #ceb8ed, transparent 78%),
    linear-gradient(135deg, #f6dce9, #e4c8ec);
}

.cover-icon-tile {
  background: var(--icon-tile-background);
  border-radius: var(--icon-tile-radius);
  box-shadow: 0 12px 26px var(--icon-tile-shadow);
  display: block;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.cover-icon-tile-image {
  display: block;
  height: auto;
  margin: 0;
  max-width: none;
  pointer-events: none;
  position: absolute;
}

/* The original player pixels stay intact. Only its flat blue surround is hidden.
   Percentages match this specific 4112px square cover, not arbitrary CMS images. */
.bb-cover-atmosphere,
.portfolio-viewer-cover-stage.portfolio-viewer-cover-atmosphere {
  background:
    radial-gradient(ellipse 85% 75% at 8% 5%, rgba(211, 234, 238, .95), transparent 72%),
    radial-gradient(ellipse 75% 70% at 100% 96%, rgba(217, 178, 144, .8), transparent 72%),
    radial-gradient(ellipse 70% 85% at 94% 24%, rgba(69, 102, 140, .8), transparent 76%),
    linear-gradient(145deg, #a8cedd 5%, #82a9c3 48%, #90aaba 100%);
  isolation: isolate;
}

.bb-cover-atmosphere::before {
  content: "";
  position: absolute;
  inset: 25.95% 7.2%;
  border-radius: 1.55%;
  box-shadow: 0 18px 38px rgba(22, 49, 74, .24), 0 4px 10px rgba(22, 49, 74, .12);
  pointer-events: none;
}

.project-hover-plane .bb-cover-atmosphere .image-project-b,
.bb-cover-atmosphere .portfolio-viewer-cover {
  clip-path: inset(25.95% 7.2% round 1.55%);
  position: relative;
  z-index: 1;
  transform: none;
}

/* A stationary, centered caption: project name above its discipline. */
.cms-project-caption {
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 20px 2px 0;
  text-align: center;
  width: 100%;
}

.cms-project-caption .heading-project-b {
  color: var(--heading);
  flex: 0 1 auto;
  min-width: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
  text-transform: none;
}

.cms-project-caption .project-info {
  color: var(--paragraphs);
  flex: 0 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  text-transform: none;
}

.cms-project-caption .project-info:empty {
  display: none;
}

@media screen and (min-width: 992px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cms-project-caption {
    /* Reserve the hover overhang plus 20px; text never moves or gets covered. */
    padding-top: calc(0.2125% + 20px);
  }
}

.cms-project-card .link-block-image-project-b:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  outline: 2px solid var(--heading);
  outline-offset: 5px;
}

html[data-theme="light"] .button {
  color: #111;
}

html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .all-projects-toggle,
html[data-theme="light"] .portfolio-viewer-scroll-hint {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(17, 17, 17, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 6px 18px -12px rgba(17, 17, 17, 0.18);
}

.nav-block > .nav:last-child {
  position: relative;
  min-height: 40px;
}

.menu-toggle,
.all-projects-toggle {
  appearance: none;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  background:
  linear-gradient(
  135deg,
  var(--glass-inset-light) 0%,
  transparent 34%,
  var(--glass-inset-dark) 100%
  ),
  var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow:
  inset 0 1px 0 var(--glass-inset-light),
  inset 0 -1px 0 var(--glass-inset-dark),
  0 8px 24px -10px var(--glass-shadow);
  color: var(--heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 12px 0 8px;
  font-family: var(--main-font);
  font-size: var(--type-body);
  font-weight: 400;
  letter-spacing: normal;
  line-height: var(--type-body-leading);
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
  background 380ms cubic-bezier(.25, 1, .5, 1),
  border-color 250ms ease,
  box-shadow 380ms cubic-bezier(.25, 1, .5, 1),
  color 250ms ease;
}

.theme-toggle *,
.menu-toggle *,
.all-projects-toggle * {
  pointer-events: none;
  cursor: inherit;
  position: relative;
  z-index: 2;
}

.menu-toggle::before,
.all-projects-toggle::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -50%;
  bottom: -50%;
  left: -70%;
  width: 55%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-sheen),
    transparent
  );
  transform: skewX(-18deg) translateX(-160%);
  transition: transform 560ms cubic-bezier(.25, 1, .5, 1);
  pointer-events: none;
}

.theme-toggle {
  --theme-toggle-bottom: 30px;
  bottom: calc(var(--theme-toggle-bottom) + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  flex: 0 0 var(--solid-control-size);
  justify-content: center;
  gap: 0;
  position: fixed;
  right: calc(40px + env(safe-area-inset-right, 0px));
  top: auto;
  width: var(--solid-control-size);
  height: var(--solid-control-size);
  padding: 0;
  margin-right: 0;
  touch-action: manipulation;
  z-index: 1100;
}

.mobile-back-to-top {
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(.96);
  visibility: hidden;
}

.mobile-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

html.portfolio-viewer-open .mobile-back-to-top:not(.portfolio-viewer-back-to-top) {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.mobile-back-to-top-icon svg {
  display: block;
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: translate3d(0, 0, 0);
  width: 15px;
}

.theme-toggle-label {
  display: none !important;
}

.menu-toggle {
  flex: 0 0 90px;
  width: 90px;
  margin: 0 10px 0 0;
}

.all-projects-toggle {
  flex: 0 0 151px;
  width: 151px;
  padding-right: 14px;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.grid-links {
  min-height: 40px;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.project-action-toggle,
.contact-submit {
  appearance: none;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  background:
  linear-gradient(
  135deg,
  var(--glass-inset-light) 0%,
  transparent 34%,
  var(--glass-inset-dark) 100%
  ),
  var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow:
  inset 0 1px 0 var(--glass-inset-light),
  inset 0 -1px 0 var(--glass-inset-dark),
  0 8px 24px -10px var(--glass-shadow);
  color: var(--heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px 0 8px;
  font-family: var(--main-font);
  font-size: var(--type-body);
  font-weight: 400;
  letter-spacing: normal;
  line-height: var(--type-body-leading);
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
  background 380ms cubic-bezier(.25, 1, .5, 1),
  border-color 250ms ease,
  box-shadow 380ms cubic-bezier(.25, 1, .5, 1),
  color 250ms ease;
}

.contact-submit {
  height: 44px;
}

.project-action-toggle *,
.contact-submit * {
  pointer-events: none;
  cursor: inherit;
  position: relative;
  z-index: 2;
}

.project-action-toggle::before,
.contact-submit::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -50%;
  bottom: -50%;
  left: -42%;
  width: 42%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-18deg) translateX(-160%);
  transition: transform 560ms cubic-bezier(.25, 1, .5, 1);
  pointer-events: none;
}

.project-action-toggle:hover,
.contact-submit:hover {
  background:
    linear-gradient(
      135deg,
      var(--glass-inset-light) 0%,
      transparent 42%,
      var(--glass-inset-dark) 100%
    ),
    var(--glass-fill-hover);
  border-color: var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-light),
    inset 0 -1px 0 var(--glass-inset-dark),
    0 12px 30px -12px var(--glass-shadow);
  color: var(--heading);
}

.project-action-toggle:hover::before,
.contact-submit:hover::before {
  transform: skewX(-18deg) translateX(420%);
}

html[data-theme="light"] .project-action-toggle,
html[data-theme="light"] .contact-submit {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(17, 17, 17, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 6px 18px -12px rgba(17, 17, 17, 0.18);
}

html[data-theme="light"] .project-action-toggle:hover,
html[data-theme="light"] .contact-submit:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(17, 17, 17, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 10px 24px -14px rgba(17, 17, 17, 0.22);
}

.project-action-toggle:focus-visible:where(html:not([data-focus-input="pointer"]) *),
.contact-submit:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  outline: 2px solid var(--heading);
  outline-offset: 3px;
}

.project-action-icon,
.contact-submit-icon {
  background: var(--glass-icon-bg);
  border-radius: 50%;
  color: var(--glass-icon-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--glass-control-icon-size);
  width: var(--glass-control-icon-size);
  height: var(--glass-control-icon-size);
}

.project-action-icon svg,
.contact-submit-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 14px;
  height: 14px;
}

.menu-toggle:hover,
.all-projects-toggle:hover {
  background:
    linear-gradient(
      135deg,
      var(--glass-inset-light) 0%,
      transparent 42%,
      var(--glass-inset-dark) 100%
    ),
    var(--glass-fill-hover);
  border-color: var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-light),
    inset 0 -1px 0 var(--glass-inset-dark),
    0 12px 30px -12px var(--glass-shadow);
}

html[data-theme="light"] .menu-toggle:hover,
html[data-theme="light"] .all-projects-toggle:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(17, 17, 17, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 10px 24px -14px rgba(17, 17, 17, 0.22);
}

.menu-toggle:hover::before,
.all-projects-toggle:hover::before {
  transform: skewX(-18deg) translateX(420%);
}

.button {
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  background:
    linear-gradient(
      135deg,
      var(--glass-inset-light),
      transparent 42%,
      var(--glass-inset-dark)
    ),
    var(--glass-fill);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-light),
    inset 0 -1px 0 var(--glass-inset-dark),
    0 10px 28px -12px var(--glass-shadow);
  color: var(--heading);
  position: relative;
  overflow: hidden;
  transform: none !important;
  transition:
    background 380ms cubic-bezier(.25, 1, .5, 1),
    border-color 250ms ease,
    box-shadow 380ms cubic-bezier(.25, 1, .5, 1),
    color 250ms ease;
}

.button:hover {
  background:
    linear-gradient(
      135deg,
      var(--glass-inset-light),
      transparent 48%,
      var(--glass-inset-dark)
    ),
    var(--glass-fill-hover);
  border-color: var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-light),
    inset 0 -1px 0 var(--glass-inset-dark),
    0 14px 34px -14px var(--glass-shadow);
  color: var(--heading);
  transform: none !important;
}

.theme-toggle:focus-visible:where(html:not([data-focus-input="pointer"]) *),
.menu-toggle:focus-visible:where(html:not([data-focus-input="pointer"]) *),
.all-projects-toggle:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-toggle-icon,
.menu-toggle-icon,
.all-projects-icon {
  background: var(--glass-icon-bg);
  border-radius: 50%;
  color: var(--glass-icon-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 var(--glass-control-icon-size);
  min-height: var(--glass-control-icon-size);
  min-width: var(--glass-control-icon-size);
  max-height: var(--glass-control-icon-size);
  max-width: var(--glass-control-icon-size);
  width: var(--glass-control-icon-size);
  height: var(--glass-control-icon-size);
  transition:
    background-color 250ms ease,
    color 250ms ease;
}

.theme-toggle-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 15px;
  height: 15px;
}

.theme-toggle-icon-dark svg {
  height: 16px;
  width: 16px;
}

.theme-toggle-icon-light svg {
  height: 14px;
  width: 14px;
}

.all-projects-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 14px;
  height: 14px;
}

.theme-toggle-icon svg circle {
  fill: currentColor;
  stroke: none;
}

.theme-toggle-icon-light,
.theme-toggle-label-light {
  display: none;
}

html[data-theme="dark"] .theme-toggle-icon-dark,
html[data-theme="dark"] .theme-toggle-label-dark {
  display: none;
}

html[data-theme="dark"] .theme-toggle-icon-light {
  display: inline-flex;
}

html[data-theme="dark"] .theme-toggle-label-light {
  display: inline;
}

.menu-toggle-icon {
  flex-direction: column;
  gap: 4px;
}

.menu-toggle-bar {
  background: currentColor;
  border-radius: 2px;
  display: block;
  width: 12px;
  height: 1.5px;
  transition: transform 250ms ease;
}

.menu-toggle.is-open .menu-toggle-bar:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bar:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.portfolio-menu {
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
  background:
    linear-gradient(
      145deg,
      var(--glass-inset-light),
      transparent 38%,
      var(--glass-inset-dark)
    ),
    var(--glass-panel);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-light),
    0 18px 50px -20px var(--glass-shadow);
  display: flex !important;
  min-width: 0;
  width: 140px;
  padding-left: 18px;
  padding-right: 18px;
  top: 50px;
  right: 0;
  bottom: auto;
  left: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(.22, 1, .36, 1),
    visibility 180ms ease;
}

.portfolio-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Navigation is intentionally single-page. */
.menu-toggle,
.portfolio-menu {
  display: none !important;
}

.portfolio-contact-links {
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  left: 45px;
  position: absolute;
}

.portfolio-contact-link {
  color: var(--portfolio-link);
  cursor: default;
  display: block;
  font-family: var(--main-font);
  font-size: var(--type-body);
  font-weight: 400;
  letter-spacing: normal;
  line-height: var(--type-body-leading);
  padding-bottom: 1px;
  position: relative;
  width: fit-content;
  text-transform: none;
}

a.portfolio-contact-link,
button.portfolio-contact-link {
  border: 0;
  border-radius: 0;
  cursor: pointer;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  text-decoration: none;
}

button.portfolio-contact-link {
  appearance: none;
  background: transparent;
  text-align: left;
}

a.portfolio-contact-link:hover,
button.portfolio-contact-link:hover {
  color: var(--portfolio-link);
}

.portfolio-contact-link::after,
.portfolio-contact-label::after {
  background: currentColor;
  bottom: -1px;
  content: "";
  display: block;
  height: 1px;
  left: 50%;
  position: absolute;
  transition: width 300ms ease, left 300ms ease;
  width: 0;
}

.portfolio-contact-link:focus-visible:where(html:not([data-focus-input="pointer"]) *)::after,
.portfolio-contact-link:active::after,
.portfolio-contact-link:focus-visible:where(html:not([data-focus-input="pointer"]) *) .portfolio-contact-label::after,
.portfolio-contact-link:active .portfolio-contact-label::after {
  left: 0;
  width: 100%;
}

/* Touch browsers can retain :hover after a tap; keep it for mouse input. */
@media (hover: hover) and (pointer: fine) {
  .portfolio-contact-link:hover::after,
  .portfolio-contact-link:hover .portfolio-contact-label::after {
    left: 0;
    width: 100%;
  }
}

/* Match About: the underline belongs to the text, not the 44px tap target. */
.portfolio-contact-links > .portfolio-contact-link {
  padding-bottom: 0;
}

.portfolio-contact-links > .portfolio-contact-link::after,
.portfolio-viewer-about-links a::after {
  content: none;
}

.portfolio-contact-label {
  display: block;
  padding-bottom: 1px;
  position: relative;
}

.portfolio-contact-link:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* The same centered underline motion, with wrapping for links inside prose. */
a.portfolio-inline-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 0 1px;
  border: 0;
  border-radius: 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: var(--portfolio-link);
  padding-bottom: 1px;
  text-decoration: none;
  transition: background-size 300ms ease;
}

a.portfolio-inline-link:hover,
a.portfolio-inline-link:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  background-size: 100% 1px;
  color: var(--portfolio-link);
}

a.portfolio-inline-link:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  a.portfolio-inline-link,
  .portfolio-contact-link::after,
  .portfolio-contact-label::after {
    transition: none;
  }
}

/* Contact navigation keeps the same type and underline geometry on Home and About. */
.portfolio-contact-links .portfolio-contact-link,
.portfolio-viewer-about-links .portfolio-contact-link {
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Editorial home introduction */

.grid-hero-b .hero-sticky {
  justify-content: center;
}

.portfolio-bio {
  display: block;
  width: min(360px, 42vw);
  margin: 0 40px 0 45px;
}

.portfolio-bio .heading-hero {
  max-width: none;
  margin: 0 0 32px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  word-spacing: normal;
  line-height: 1.3;
  text-transform: none;
}

.portfolio-bio-copy {
  color: var(--portfolio-copy);
  font-size: 16px;
  line-height: 1.52;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-bio-copy p {
  margin: 0 0 20px;
}

.portfolio-bio-copy p:last-child {
  margin-bottom: 0;
}

/* Keep the profile's focus readable without hover or interaction in either theme. */
.portfolio-bio-copy .portfolio-keyword,
.portfolio-viewer-about-copy .portfolio-keyword {
  color: var(--heading);
  font-weight: 700;
}

.portfolio-principle {
  color: var(--heading);
  margin: 28px 0 0;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

/* Balance the desktop introduction between the name and contact links. */
@media screen and (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .grid-hero-b {
    grid-template-columns: 46fr 54fr;
  }

  .grid-hero-b .collection-item-b {
    /* Preserve card size when the work column grows from 52 to 54 parts. */
    width: 87.66000148%;
  }

  .grid-hero-b .hero-sticky {
    /* Leave at least 32px below the name when the introduction grows. */
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .grid-hero-b .hero-sticky > .portfolio-bio {
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: auto;
    width: min(350px, 42vw);
  }

  .grid-hero-b .hero-sticky > .portfolio-contact-links {
    /* Keep the existing bottom/left alignment without a separate absolute box. */
    flex-shrink: 0;
    margin: 32px 0 0 45px;
    position: static;
  }
}

/* Desktop has one scrollable feed; the introduction never joins page scrolling. */
@media screen and (min-width: 992px) {
  html.portfolio-home,
  .portfolio-home body {
    height: 100%;
    overflow: hidden;
  }

  .portfolio-home .grid-hero-b {
    flex: none;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .portfolio-home .grid-hero-b .hero-sticky {
    height: 100%;
    min-height: 0;
    min-width: 0;
    position: relative;
  }

  .portfolio-home .grid-hero-b .hero-b {
    height: 100%;
    min-height: 0;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: none;
    overflow-anchor: none;
  }
}

/* Fit the same type and contact links in shorter windows by tightening spacing. */
@media screen and (min-width: 992px) and (max-height: 799px) and (hover: hover) and (pointer: fine) {
  .grid-hero-b .hero-sticky {
    padding-top: 80px;
    padding-bottom: 16px;
  }

  .portfolio-bio .heading-hero {
    margin-bottom: 16px;
  }

  .portfolio-bio-copy p:not(:last-child) {
    margin-bottom: 12px;
  }

  .grid-hero-b .hero-sticky > .portfolio-contact-links {
    margin-top: 16px;
  }
}

@media screen and (min-width: 992px) and (max-height: 699px) and (hover: hover) and (pointer: fine) {
  .grid-hero-b .hero-sticky > .portfolio-bio {
    width: min(420px, calc(100% - 85px));
  }

  .grid-hero-b .hero-sticky > .portfolio-contact-links {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 20px;
    margin-right: 40px;
  }
}

/* Secret symbol rain, toggled with the desktop shortcut. */
.grid-hero-b .hero-sticky { isolation:isolate; overflow:hidden; }
.matrix-background-canvas {
  position:fixed; inset:0; display:block; width:100%; height:100dvh;
  pointer-events:none; z-index:0; opacity:0; --matrix-opacity:.55;
  transition:opacity 200ms ease;
  -webkit-mask-image:linear-gradient(to bottom,#000 35%,transparent 98%);
  mask-image:linear-gradient(to bottom,#000 35%,transparent 98%);
}
html[data-theme="dark"] .matrix-background-canvas { --matrix-opacity:.8; }
.matrix-background-canvas.is-visible { opacity:var(--matrix-opacity); }

/* Keep the matrix quiet immediately behind the introduction, not the sidebar.
   The scrim follows the text height and feathers into the unchanged page. */
@media (min-width:992px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .home-gallery .hero-sticky > .portfolio-bio::before {
    content:""; position:absolute; inset:-12px -16px -18px; z-index:-1;
    background:var(--dark); filter:blur(16px); opacity:0; pointer-events:none;
    transition:opacity 200ms ease;
  }
  .home-gallery[data-matrix-background="active"] .hero-sticky > .portfolio-bio::before {
    opacity:.9;
  }
}
.grid-hero-b .hero-sticky > .block-hero { position:relative; z-index:2; }
.grid-hero-b .hero-sticky > .portfolio-contact-links { z-index:2; }
@media screen and (max-width:991px), (hover:none), (pointer:coarse), (prefers-reduced-motion:reduce) {
  .matrix-background-canvas { display:none; }
}

@media screen and (max-width: 991px) {
  /* Let the stacked home follow its full text height in mobile browsers. */
  .portfolio-home .grid-hero-b {
    display: block;
    flex: none;
  }

  .portfolio-home .grid-hero-b .hero-sticky {
    display: block;
    height: auto;
    min-height: 0;
  }

  .grid-hero-b .hero-sticky {
    min-height: auto;
    padding: 124px 40px 76px;
  }

  .portfolio-bio {
    width: min(360px, 100%);
    margin: 0 0 0 5px;
  }

  .portfolio-contact-links {
    margin: 48px 0 0 5px;
    position: static;
  }

  .link-block-image-project-b {
    aspect-ratio: auto;
    overflow: visible;
  }

  .project-hover-plane {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .portfolio-bio .heading-hero {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
  }

}

/* Full-screen project and about viewer */

html.portfolio-viewer-open,
html.portfolio-viewer-open body {
  overflow: hidden;
}

html.portfolio-viewer-open body {
  position: fixed;
  left: var(--portfolio-page-x, 0px);
  top: var(--portfolio-page-y, 0px);
  width: 100%;
}

@media screen and (min-width: 992px) {
  /* Desktop already contains scrolling in the feed. Fixing the body would
     unnecessarily re-layout the introduction during the viewer's fade. */
  html.portfolio-home.portfolio-viewer-open body {
    position: relative;
    left: auto;
    top: auto;
  }
}

.portfolio-viewer {
  background: var(--dark);
  bottom: auto;
  box-sizing: border-box;
  height: 100vh;
  height: var(--portfolio-viewer-height, 100dvh);
  left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: var(--portfolio-viewer-top, 0px);
  transition: opacity 260ms cubic-bezier(.4, 0, .22, 1);
  visibility: hidden;
  z-index: 5000;
}

.portfolio-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.portfolio-viewer.is-closing {
  opacity: 0;
}

.portfolio-viewer-panel {
  background: var(--dark);
  color: var(--paragraphs);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Clip the shell without creating two extra scroll containers around the
   actual reader. This keeps touch scrolling attached to the reader on iOS. */
@supports (overflow: clip) {
  .portfolio-viewer,
  .portfolio-viewer-panel { overflow: clip; }
}

.portfolio-viewer-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-anchor: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  scroll-behavior: auto;
  scroll-snap-type: none;
  scrollbar-gutter: stable;
  touch-action: pan-y pinch-zoom;
}

.portfolio-viewer-content,
.portfolio-viewer-project {
  background: var(--dark);
  display: flow-root;
  min-height: 100%;
  width: 100%;
}

.portfolio-viewer-panel > .portfolio-viewer-back-to-top {
  bottom: calc(var(--theme-toggle-bottom) + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  position: absolute;
  z-index: 4;
}

/* Shared opaque controls, including back-to-top. Its visibility and entrance
   motion stay separate from the common appearance. */
.theme-toggle,
.portfolio-viewer-close {
  align-items: center;
  appearance: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--solid-control-bg);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
  box-sizing: border-box;
  color: var(--solid-control-color);
  cursor: pointer;
  flex: 0 0 var(--solid-control-size);
  height: var(--solid-control-size);
  min-height: var(--solid-control-size);
  max-height: var(--solid-control-size);
  min-width: var(--solid-control-size);
  max-width: var(--solid-control-size);
  isolation: isolate;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  touch-action: manipulation;
  transition: background-color 180ms ease, color 180ms ease;
  width: var(--solid-control-size);
}

.mobile-back-to-top {
  transition:
    background-color 180ms ease,
    color 180ms ease,
    opacity 220ms ease,
    transform 320ms cubic-bezier(.22, 1, .36, 1),
    visibility 220ms ease;
}

.portfolio-viewer-close,
.mobile-back-to-top {
  --solid-control-bg: #fff;
  --solid-control-color: #111;
}

.portfolio-viewer-close {
  display: flex;
  position: absolute;
  right: 40px;
  top: 30px;
  z-index: 4;
}

.portfolio-viewer-close * {
  pointer-events: none;
  position: relative;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .theme-toggle:not(:disabled):hover,
  .portfolio-viewer-close:hover {
    background: var(--solid-control-hover);
  }
}

.theme-toggle:not(.mobile-back-to-top):not(:disabled):active {
  background: var(--solid-control-hover);
}

.theme-toggle:focus-visible:where(html:not([data-focus-input="pointer"]) *),
.portfolio-viewer-close:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  outline: 2px solid var(--solid-control-bg);
  outline-offset: 4px;
}

.theme-toggle .theme-toggle-icon {
  background: none;
  border-radius: 0;
  color: inherit;
  flex: 0 0 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  transition: none;
}

.theme-toggle .theme-toggle-icon svg {
  display: block;
  height: 20px;
  width: 20px;
}

.portfolio-viewer-scroll-hint-icon {
  align-items: center;
  background: var(--glass-icon-bg);
  border-radius: 50%;
  color: var(--glass-icon-color);
  display: inline-flex;
  flex: 0 0 var(--glass-control-icon-size);
  height: var(--glass-control-icon-size);
  justify-content: center;
  width: var(--glass-control-icon-size);
}

.portfolio-viewer-close-icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  background: none;
  color: inherit;
  height: 22px;
  width: 22px;
}

.portfolio-viewer-close-icon svg,
.portfolio-viewer-scroll-hint-icon svg {
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 14px;
}

.portfolio-viewer-close-icon svg {
  height: 18px;
  width: 18px;
}

.portfolio-viewer-cover-stage {
  align-items: center;
  background: var(--background);
  display: flex;
  justify-content: center;
  min-height: var(--portfolio-viewer-height, 100dvh);
  overflow: hidden;
  padding: clamp(28px, 5vw, 72px);
  position: relative;
}

.portfolio-viewer-cover-stage::after {
  background: rgba(0, 0, 0, .14);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

html[data-theme="light"] .portfolio-viewer-cover-stage::after {
  background: rgba(255, 255, 255, .12);
}

.portfolio-viewer-cover-blur {
  filter: blur(54px) brightness(.72) saturate(.82);
  height: calc(100% + 120px);
  inset: -60px;
  object-fit: cover;
  opacity: .45;
  position: absolute;
  transform: scale(1.08);
  width: calc(100% + 120px);
}

html[data-theme="light"] .portfolio-viewer-cover-blur {
  filter: blur(54px) brightness(1.05) saturate(.72);
  opacity: .32;
}

.portfolio-viewer-cover {
  border-radius: 12px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .2);
  display: block;
  max-height: calc(var(--portfolio-viewer-height, 100dvh) - clamp(56px, 10vw, 144px));
  max-width: min(1120px, calc(100vw - clamp(56px, 10vw, 144px)));
  object-fit: contain;
  position: relative;
  width: auto;
  z-index: 1;
}

.portfolio-viewer-cover-atmosphere::after {
  display: none;
}

.portfolio-viewer-cover-frame {
  aspect-ratio: 1;
  background: transparent;
  position: relative;
  width: min(1120px, 100%, calc(var(--portfolio-viewer-height, 100dvh) - clamp(56px, 10vw, 144px)));
}

.portfolio-viewer-cover-frame .portfolio-viewer-cover {
  border-radius: 0;
  box-shadow: none;
  height: auto;
  max-height: none;
  max-width: none;
  width: 100%;
}

.portfolio-viewer-scroll-hint {
  align-items: center;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  background:
  linear-gradient(
  135deg,
  var(--glass-inset-light) 0%,
  transparent 34%,
  var(--glass-inset-dark) 100%
  ),
  var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  bottom: 28px;
  box-shadow:
  inset 0 1px 0 var(--glass-inset-light),
  inset 0 -1px 0 var(--glass-inset-dark),
  0 8px 24px -10px var(--glass-shadow);
  color: var(--heading);
  display: flex;
  font-size: var(--type-body);
  font-weight: 400;
  gap: 7px;
  height: var(--glass-control-size);
  left: 50%;
  line-height: var(--type-body-leading);
  opacity: 0;
  padding: 0 12px 0 8px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, 12px);
  transition:
  opacity 260ms ease,
  transform 360ms cubic-bezier(.22, 1, .36, 1);
  white-space: nowrap;
  z-index: 3;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-viewer.has-scroll-hint .portfolio-viewer-scroll-hint.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.portfolio-viewer-scroll-hint-mobile {
  display: none;
}

/* The intro and every case section share one frame. Smaller media and prose
   keep their reading size and start at this same left edge. */
.portfolio-viewer-intro,
.portfolio-viewer-case-study {
  margin: 0 auto;
  max-width: 1080px;
}

.portfolio-viewer-intro {
  padding: clamp(56px, 6vw, 88px) 40px clamp(56px, 6vw, 88px);
}

.portfolio-viewer-intro.has-meta {
  align-items: start;
  display: grid;
  gap: 40px 64px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr);
}

.portfolio-viewer-eyebrow {
  color: var(--heading);
  font-size: var(--type-detail);
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 18px;
  text-transform: uppercase;
  line-height: var(--type-detail-leading);
}

.portfolio-viewer-intro h2 {
  color: var(--heading);
  font-size: var(--type-title);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: var(--type-title-leading);
  margin: 0;
  text-transform: none;
}

.portfolio-viewer-summary {
  color: var(--portfolio-copy);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  margin: 34px 0 0;
  max-width: 760px;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-viewer-highlights {
  margin-top: 32px;
}

.portfolio-viewer-highlights-heading {
  color: var(--heading);
  font-size: var(--type-detail);
  font-weight: 600;
  letter-spacing: .1em;
  margin: 0 0 14px;
  text-transform: uppercase;
  line-height: var(--type-detail-leading);
}

.portfolio-viewer-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.portfolio-viewer-highlight {
  background: var(--background-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 18px;
}

.portfolio-viewer-highlight:only-child {
  box-sizing: border-box;
  grid-column: 1 / -1;
  justify-self: start;
  max-width: 320px;
  width: 100%;
}

.portfolio-viewer-highlight dt {
  color: var(--portfolio-copy);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-viewer-highlight dd {
  color: var(--heading);
  font-size: var(--type-heading);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: var(--type-heading-leading);
  margin: 0;
  order: -1;
  text-transform: none;
}

@media screen and (max-width: 360px) {
  .portfolio-viewer-highlight dd {
    font-size: var(--type-heading);
    font-weight: 500;
    line-height: var(--type-heading-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }
}

.cms-metrics-source {
  color: var(--paragraphs);
  font-size: var(--type-detail);
  line-height: var(--type-detail-leading);
  margin: 12px 0 0;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-viewer-meta {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding-top: 18px;
}

.portfolio-viewer-meta dt {
  color: var(--heading);
  font-size: var(--type-detail);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: var(--type-detail-leading);
}

.portfolio-viewer-meta dd {
  color: var(--portfolio-copy);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  margin: 7px 0 0;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-viewer-company-link {
  display: inline-block;
  font: inherit;
  vertical-align: baseline;
}

.portfolio-viewer-case-study {
  padding: 0 40px 10vw;
}

.portfolio-viewer-case-study .cms-text-section > h2 {
  font-size: var(--type-heading);
  font-weight: 500;
  line-height: var(--type-heading-leading);
  letter-spacing: -.025em;
  margin-bottom: 20px;
  text-transform: none;
}

.portfolio-viewer-about {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 800px;
  min-height: var(--portfolio-viewer-height, 100dvh);
  padding: clamp(80px, 7vw, 104px) 40px 100px;
}

.portfolio-about-masthead {
  margin-bottom: var(--nd-space-6);
}

.portfolio-about-profile {
  align-items: center;
  display: grid;
  gap: var(--nd-space-4);
  grid-template-columns: 240px minmax(0, 1fr);
}

.portfolio-about-identity {
  min-width: 0;
}

.portfolio-about-byline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.portfolio-viewer-about .portfolio-about-intro {
  min-width: 0;
}

.portfolio-about-portrait {
  aspect-ratio: 1;
  border-radius: var(--nd-radius-media);
  margin: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.portfolio-about-portrait img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  position: absolute;
  inset: 0;
  width: 100%;
}

.portfolio-about-masthead h2 {
  color: var(--heading);
  font-size: var(--type-title);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: var(--type-title-leading);
  margin: 0;
  text-transform: none;
}

.portfolio-about-role,
.portfolio-about-location {
  color: var(--portfolio-copy);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  margin: 0;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-about-role {
  color: var(--heading);
}

.portfolio-about-location {
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-viewer-about-copy.nd-prose {
  color: var(--portfolio-copy);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  margin: 0;
  max-width: none;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-about-quote {
  border-radius: 0;
  margin: 0 0 var(--nd-space-4);
  max-width: 60ch;
  overflow: visible;
}

.portfolio-about-quote-lead {
  color: var(--portfolio-copy);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  margin: 0 0 var(--nd-space-2);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-about-quote blockquote {
  border: 0;
  color: var(--portfolio-copy);
  font-size: var(--type-body);
  font-style: italic;
  font-weight: 400;
  letter-spacing: normal;
  line-height: var(--type-body-leading);
  margin: 0;
  padding: 0;
  text-transform: none;
}

.portfolio-about-quote blockquote p {
  margin: 0;
}

.portfolio-about-quote figcaption {
  background: transparent;
  color: var(--portfolio-copy);
  font-size: var(--type-detail);
  line-height: var(--type-detail-leading);
  margin-top: 12px;
  padding: 0;
  text-align: left;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-about-quote cite {
  font-style: italic;
}

.portfolio-viewer-about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 12px 0 0;
}

.portfolio-viewer-about-links a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
  padding-bottom: 0;
}

@media screen and (min-width: 901px) {
  .portfolio-viewer-about .nd-section {
    column-gap: var(--nd-space-4);
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  }
}

.portfolio-about-kit-note {
  margin-top: var(--nd-space-4);
}

.portfolio-about-kit-note strong {
  color: var(--heading);
  font-weight: 500;
}

.portfolio-about-job-list {
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.portfolio-about-job {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 48px minmax(0, 1fr);
  margin: 0;
  padding: 30px 0;
}

.portfolio-about-job:first-child {
  padding-top: 0;
}

.portfolio-about-job:last-child {
  padding-bottom: 0;
}

.portfolio-about-job + .portfolio-about-job {
  border-top: 1px solid var(--border);
}

.portfolio-about-company-logo {
  background: #fff;
  border-radius: 8px;
  display: block;
  height: 48px;
  object-fit: contain;
  width: 48px;
}

.portfolio-about-company-logo[src$="/voronoi.webp"] {
  background: #000;
}

.portfolio-about-job-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
}

.portfolio-about-job-details {
  min-width: 0;
}

.portfolio-about-company-logo.is-round {
  background: transparent;
  border-radius: 50%;
}

.portfolio-about-job.portfolio-about-employer-group {
  display: block;
}

.portfolio-about-employer-group > .portfolio-about-job-heading {
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
}

.portfolio-about-employer-name {
  color: var(--heading);
  flex: 0 0 auto;
}

.portfolio-about-employer-group > .portfolio-about-job-heading > .portfolio-about-job-dates {
  min-width: 0;
  text-align: right;
}

.portfolio-about-carrierx-logo {
  display: block;
  height: 30px;
  width: 114px;
}

.portfolio-about-product-list {
  border-left: 1px solid var(--border);
  display: grid;
  gap: 22px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0 0 0 22px;
}

.portfolio-about-product {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 40px minmax(0, 1fr);
  margin: 0;
  padding: 0;
}

.portfolio-about-product-logo {
  border-radius: 8px;
  display: block;
  height: 40px;
  object-fit: cover;
  object-position: center;
  width: 40px;
}

.portfolio-about-product-logo.is-freeconferencecall {
  background: #333366;
}

.portfolio-about-product h5 {
  color: var(--heading);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-leading);
  margin: 0 0 4px;
  overflow-wrap: anywhere;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-about-products {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.portfolio-about-products a {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 16px;
}

.portfolio-about-products img {
  display: block;
  height: auto;
  max-height: 28px;
  max-width: min(200px, 100%);
  object-fit: contain;
  width: auto;
}

.portfolio-about-products a:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  outline: 2px solid var(--portfolio-link);
  outline-offset: 4px;
}

.portfolio-about-job h4 {
  color: var(--heading);
  font-size: var(--type-body);
  font-weight: 400;
  letter-spacing: normal;
  line-height: var(--type-body-leading);
  margin: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.portfolio-about-job-dates {
  color: var(--portfolio-copy);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  margin: 0;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-about-job-role {
  color: var(--heading);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  margin: 5px 0 0;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-about-job-description {
  color: var(--portfolio-copy);
  font-size: var(--type-body);
  line-height: var(--type-body-leading);
  margin: 14px 0 0;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.portfolio-about-job.has-context {
  row-gap: 0;
}

.portfolio-about-job-context {
  grid-column: 1 / -1;
  min-width: 0;
}

@media screen and (max-width: 599px) {
  .portfolio-about-profile {
    gap: var(--nd-space-3);
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-about-portrait {
    width: 192px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --glass-control-size: 44px;
  }

  .portfolio-viewer {
    align-items: stretch;
    background: var(--dark);
    box-sizing: border-box;
    display: block;
    opacity: 1;
    padding: 0;
    transform: translate3d(0, 100%, 0);
    transition: transform 480ms cubic-bezier(.4, 0, .6, 1);
  }

  .portfolio-viewer.is-open {
    /* Finish the opening transition without retaining a full-reader 3D layer. */
    transform: none;
  }

  .portfolio-viewer.is-closing {
    opacity: 1;
    transform: translate3d(0, 100%, 0);
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(.4, 0, 1, 1);
  }

  html[data-theme="light"] .portfolio-viewer {
    background: var(--dark);
  }

  .portfolio-viewer-panel {
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    max-height: none;
    overflow: hidden;
  }

  @supports (overflow: clip) {
    .portfolio-viewer-panel { overflow: clip; }
  }

  .portfolio-viewer-scroll {
    background: var(--dark);
    min-height: 0;
    overscroll-behavior: none;
    scrollbar-gutter: auto;
    touch-action: pan-y pinch-zoom;
  }

  .portfolio-viewer-content,
  .portfolio-viewer-project {
    background: var(--dark);
    min-height: 100%;
  }

  .portfolio-viewer-close {
    right: 18px;
    top: calc(18px + env(safe-area-inset-top, 0px));
  }

  .portfolio-viewer-cover-stage {
    display: block;
    line-height: 0;
    min-height: 0;
    padding: 0;
  }

  .portfolio-viewer-cover-frame {
    width: 100%;
  }

  .portfolio-viewer-intro.has-meta {
    display: block;
  }

  .portfolio-viewer-intro.has-meta .portfolio-viewer-meta {
    margin-top: 32px;
  }

  .portfolio-viewer-cover-stage::after,
  .portfolio-viewer-cover-blur {
    display: none;
  }

  .portfolio-viewer-cover {
    border-radius: 0;
    box-shadow: none;
    height: auto;
    max-height: none;
    max-width: none;
    object-fit: cover;
    width: 100%;
  }

  .portfolio-viewer-scroll-hint {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    padding-left: 15px;
    padding-right: 18px;
  }

  .portfolio-viewer-scroll-hint svg {
    transform: rotate(180deg);
  }

  .portfolio-viewer-scroll-hint-desktop {
    display: none;
  }

  .portfolio-viewer-scroll-hint-mobile {
    display: inline;
  }

  .portfolio-viewer-intro,
  .portfolio-viewer-about {
    padding-left: 22px;
    padding-right: 22px;
  }

  .portfolio-viewer-intro {
    padding-bottom: 72px;
    padding-top: calc(82px + env(safe-area-inset-top, 0px));
  }

  .portfolio-viewer-intro h2 {
    font-size: var(--type-title);
    font-weight: 500;
    line-height: var(--type-title-leading);
    letter-spacing: -.025em;
    text-transform: none;
  }

  .portfolio-viewer-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-viewer-case-study {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    padding-left: 22px;
    padding-right: 22px;
  }

  .portfolio-viewer-about {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    padding-left: 22px;
    padding-right: 22px;
    padding-top: calc(82px + env(safe-area-inset-top, 0px));
  }

  .portfolio-about-masthead {
    margin-bottom: var(--nd-space-4);
  }

  .portfolio-about-byline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: var(--nd-space-2);
  }

  .portfolio-about-job {
    gap: 16px;
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 26px 0;
  }

  .portfolio-about-company-logo {
    height: 40px;
    width: 40px;
  }

  .portfolio-about-job-heading {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
}

@media screen and (max-width: 359px) {
  .portfolio-viewer-scroll-hint {
    box-sizing: border-box;
    font-size: var(--type-body);
    gap: 5px;
    max-width: calc(100% - 144px);
    padding-left: 8px;
    padding-right: 10px;
    font-weight: 400;
    line-height: var(--type-body-leading);
    letter-spacing: normal;
    text-transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-viewer,
  .portfolio-viewer.is-closing,
  .portfolio-viewer-panel,
  .theme-toggle,
  .portfolio-viewer-close,
  .cms-project-card .project-hover-plane,
  .project-hover-plane.swiftly-web-interface-cover > .interface-cover,
  .interface-cover-mobile .interface-cover-screen,
  .widget-cover-board,
  .portfolio-viewer-scroll-hint {
    transition: none;
  }
}

@media screen and (max-width: 767px) {
  .grid-hero-b {
    --mobile-section-space: 48px;
  }

  .navbar {
    position: absolute;
  }

  .grid-hero-b .hero-sticky {
    padding: 84px 6% var(--mobile-section-space);
  }

  .hero-b {
    padding-bottom: var(--mobile-section-space);
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: var(--mobile-section-space);
  }

  .collection-list-b {
    grid-row-gap: 32px;
  }

  .portfolio-bio {
    width: min(330px, 100%);
    margin-left: 5px;
  }

  /* Bring the first work into view without shortening the mobile introduction. */
  .portfolio-home .grid-hero-b .hero-sticky {
    padding: 84px calc(6% + 5px) 24px;
  }

  .portfolio-home .portfolio-bio {
    width: 100%;
    margin: 0;
  }

  .portfolio-home .portfolio-bio .heading-hero {
    margin-bottom: 24px;
  }

  .portfolio-home .portfolio-bio-copy {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
  }

  .portfolio-home .portfolio-bio-copy p {
    margin-bottom: 16px;
  }

  .portfolio-home .portfolio-bio-copy p:last-child {
    margin-bottom: 0;
  }

  .portfolio-home .hero-sticky > .portfolio-contact-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 20px 0 0;
  }

  .portfolio-home .portfolio-contact-links > .portfolio-contact-link {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    padding-top: 0;
  }

  .portfolio-home .hero-b {
    padding-top: 24px;
  }

  .nav-block > .nav:last-child {
    min-height: 44px;
  }

  .menu-toggle {
    margin-right: 10px;
    padding: 0;
    flex-basis: var(--glass-control-size);
    width: var(--glass-control-size);
    height: var(--glass-control-size);
    justify-content: center;
  }

  .menu-toggle {
    margin-right: 10px;
  }

  .theme-toggle {
    --theme-toggle-bottom: 18px;
    margin-right: 0;
    position: fixed;
    right: calc(18px + env(safe-area-inset-right, 0px));
    top: auto;
  }

  .mobile-back-to-top {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    display: inline-flex;
    margin: 0;
    position: fixed;
    right: calc(18px + env(safe-area-inset-right, 0px));
    top: auto;
  }

  .portfolio-menu {
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
    width: 98px;
  }

  .theme-toggle-label,
  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Keep a visible edge of the first work on narrower phone screens, too. */
@media screen and (max-width: 389px) {
  .portfolio-home .grid-hero-b .hero-sticky {
    padding-top: 76px;
    padding-bottom: 12px;
  }

  .portfolio-home .portfolio-bio .heading-hero {
    margin-bottom: 16px;
  }

  .portfolio-home .portfolio-bio-copy {
    line-height: 1.4;
  }

  .portfolio-home .portfolio-bio-copy p:not(:last-child) {
    margin-bottom: 12px;
  }

  .portfolio-home .hero-sticky > .portfolio-contact-links {
    margin-top: 12px;
  }

  .portfolio-home .hero-b {
    padding-top: 12px;
  }
}

/* The name stays in the opening header; theme controls remain reachable. */
@media (hover: none), (pointer: coarse) {
  :root {
    --glass-control-size: 44px;
  }

  .navbar {
    position: absolute;
  }

  .theme-toggle {
    --theme-toggle-bottom: 18px;
    margin-right: 0;
    position: fixed;
    right: calc(18px + env(safe-area-inset-right, 0px));
    top: auto;
  }

  .mobile-back-to-top {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    display: inline-flex;
    margin: 0;
    position: fixed;
    right: calc(18px + env(safe-area-inset-right, 0px));
    top: auto;
  }
}

#Message.w-node-_05c4d3e4-c862-1114-2207-f3ed59af13a7-a61ddfc1, #Message.w-node-_05c4d3e4-c862-1114-2207-f3ed59af13a7-a61ddfcd, #w-node-c25f2ff0-8b54-fe92-dccd-34ec7f45727a-a61ddfcd {
  grid-area: span 1 / span 2 / span 1 / span 2;
}

@media screen and (max-width: 991px) {
  #Message.w-node-_05c4d3e4-c862-1114-2207-f3ed59af13a7-a61ddfc1, #Message.w-node-_05c4d3e4-c862-1114-2207-f3ed59af13a7-a61ddfcd, #w-node-c25f2ff0-8b54-fe92-dccd-34ec7f45727a-a61ddfcd {
    grid-area: span 1 / span 1 / span 1 / span 1;
  }
}

@media screen and (max-width: 767px) {
  #w-node-f8bb616e-7710-cd19-0b32-0b42d9da2f40-a61ddfc0 {
    order: -9999;
  }
}


@font-face {
  font-family: 'Thicccboi';
  src: url('../fonts/THICCCBOI-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thicccboi';
  src: url('../fonts/THICCCBOI-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thicccboi';
  src: url('../fonts/THICCCBOI-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thicccboi';
  src: url('../fonts/THICCCBOI-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thicccboi';
  src: url('../fonts/THICCCBOI-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thicccboi';
  src: url('../fonts/THICCCBOI-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Change the shared scale once, rather than sizing individual components. */
@media screen and (max-width: 767px) {
  :root {
    --type-title: 32px;
    --type-heading: 24px;
    --type-body: 16px;
  }
}

.utility-page-content > h2 {
  font-size: var(--type-title);
  font-weight: 500;
  line-height: var(--type-title-leading);
}

/* Keep metric copy readable on narrow phones without a fourth text size. */
@media screen and (max-width: 359px) {
  .portfolio-viewer-highlights-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Experience is a text list. Nested products share one CarrierX employer row. */
.portfolio-viewer-about .portfolio-about-job { grid-template-columns:minmax(0,1fr); gap:0; }
.portfolio-viewer-about .portfolio-about-product { grid-template-columns:minmax(0,1fr); gap:0; }
.portfolio-viewer-about .portfolio-about-product .portfolio-about-job-details {
  display:flex; align-items:baseline; justify-content:space-between; gap:8px 24px;
}
.portfolio-viewer-about .portfolio-about-product h5 { margin:0; }
.portfolio-viewer-about .portfolio-about-product-list { margin-top:20px; gap:16px; }
@media(max-width:767px) {
 .portfolio-viewer-about .portfolio-about-employer-group > .portfolio-about-job-heading,
 .portfolio-viewer-about .portfolio-about-product .portfolio-about-job-details { align-items:flex-start; flex-direction:column; gap:4px; }
 .portfolio-viewer-about .portfolio-about-employer-group > .portfolio-about-job-heading > .portfolio-about-job-dates { text-align:left; }
}

/* About: compact editorial typography, introduction left and portrait right. */
.portfolio-viewer-about {
  --type-body: 16px;
  --type-body-leading: 1.65;
  --type-heading: 21px;
  --type-title: 36px;
  max-width: 1080px;
  padding: 100px 48px 88px;
}
.portfolio-about-masthead { margin-bottom: 0; }
.portfolio-about-profile {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
.portfolio-about-identity { grid-column: 1; grid-row: 1; }
.portfolio-about-portrait {
  grid-column: 2;
  grid-row: 1;
  border-radius: 16px;
}
.portfolio-about-summary { margin-top: 28px; }
.portfolio-about-summary p { margin-bottom: 16px; }
.portfolio-viewer-about .nd-section {
  border-top: 0;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  column-gap: 48px;
  margin-top: 64px;
  padding-top: 28px;
}
.portfolio-viewer-about .portfolio-about-job { padding: 18px 0; }
.portfolio-viewer-about .portfolio-about-job:first-child { padding-top: 0; }
.portfolio-viewer-about .portfolio-about-job:last-child { padding-bottom: 0; }
.portfolio-viewer-about .portfolio-about-job h4 { font-size: 17px; }
.portfolio-viewer-about .portfolio-about-job-dates { font-size: 14px; }
.portfolio-viewer-about .portfolio-about-quote { margin: 32px 0 0; }
.portfolio-viewer-about .portfolio-about-quote blockquote { font-size: 15px; }
@media (max-width: 700px) {
  .portfolio-viewer-about { padding: 80px 24px 64px; --type-title: 30px; }
  .portfolio-about-profile { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .portfolio-about-portrait { grid-column: 1; grid-row: 2; width: 100%; max-width: 420px; }
  .portfolio-viewer-about .nd-section { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 48px; }
  .portfolio-about-summary { margin-top: 20px; }
}

/* A quiet map card with its controls inside the artwork. */
.portfolio-about-places { margin: 48px 0 0; }
.about-places { position: relative; height: 360px; overflow: hidden; border-radius: 20px; background: #141414; isolation: isolate; }
.about-places .about-place-map { position: absolute; inset: 0; height: 100%; width: 100%; opacity: 0; transition: opacity .6s; }
.is-map-ready .about-place-map { opacity: 1; }
.about-places::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#111a,transparent 35%,transparent 65%,#1119); }
.about-place-caption { position: absolute; top: 24px; left: 24px; z-index: 1; display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
.about-place-caption strong { font-size: 18px; font-weight: 500; color: #f4f4f4; }
.about-place-caption span { font-size: 12px; color: #aaa; font-variant-numeric: tabular-nums; }
.about-place-switch { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; gap: 8px; }
.about-place-switch button { border: 1px solid #ffffff20; border-radius: 22px; padding: 9px 18px; color: #ddd; background: #ffffff16; backdrop-filter: blur(12px); font: inherit; font-size: 13px; cursor: pointer; transition: background .2s,color .2s; }
.about-place-switch button:hover { background: #ffffff30; }
.about-place-switch button[aria-pressed="true"] { background: #eee; color: #171717; }
.about-place-switch button:focus-visible:where(html:not([data-focus-input="pointer"]) *) { outline: 2px solid #fff; outline-offset: 3px; }
.about-map-marker { display: block; width: 10px; height: 10px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 7px #ffffff18,0 0 24px #ffffff50; }
.about-places .maplibregl-ctrl-bottom-right { z-index: 3; }
.about-map-error { position: absolute; top: 48%; width: 100%; text-align: center; color: #bbb; font-size: 14px; }
@media(max-width:700px) { .about-places { height: 320px; } .about-place-caption { top: 20px; left: 20px; } .about-place-switch { left: 20px; bottom: 24px; } }
@media(prefers-reduced-motion:reduce) { .about-place-map { transition: none; } }

.about-places .maplibregl-ctrl-attrib { background: #202020dc; color: #aaa; font-size: 10px; }
.about-places .maplibregl-ctrl-attrib a { color: #aaa; }
.about-places .maplibregl-ctrl-attrib-button { filter: invert(1); }

/* The portrait and compact location card share the right-hand column. */
.portfolio-about-profile { align-items: start; }
.portfolio-about-visuals { grid-column: 2; grid-row: 1; min-width: 0; }
.portfolio-about-visuals .portfolio-about-portrait { width: 100%; }
.portfolio-about-visuals .portfolio-about-places { margin-top: 16px; }
.portfolio-about-visuals .about-places { height: 240px; border-radius: 16px; }
.portfolio-about-visuals .about-place-caption { top: 18px; left: 18px; }
.portfolio-about-visuals .about-place-caption strong { font-size: 15px; }
.portfolio-about-visuals .about-place-caption span { font-size: 10px; }
.portfolio-about-visuals .about-place-switch { bottom: 18px; left: 18px; gap: 6px; }
.portfolio-about-visuals .about-place-switch button { padding: 7px 14px; font-size: 12px; }
@media(max-width:700px) {
  .portfolio-about-visuals { grid-column: 1; grid-row: 2; width: 100%; max-width: 420px; }
}

.portfolio-about-identity .portfolio-about-experience { grid-template-columns: minmax(0,1fr); gap: 0; margin-top: 24px; padding-top: 0; border-top: 0; }
.portfolio-about-identity .portfolio-about-experience .portfolio-about-job { padding: 13px 0; }

/* Keep the square crop fixed; only the pixels inside it respond to the pointer. */
.portfolio-about-portrait .portrait-depth-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.portfolio-about-portrait.has-portrait-depth > img { opacity: 0; }

/* Project body copy uses the same light weight as the homepage introduction. */
.portfolio-viewer-project .cms-rich-text :is(p, li),
.portfolio-viewer-project .portfolio-viewer-meta dd,
.portfolio-viewer-project.case-editorial .case-editorial-figure > figcaption {
  font-family: var(--main-font);
  font-weight: 300;
}

/* Shared reading style across About, project copy and homepage captions. */
.portfolio-viewer-about .nd-prose,
.portfolio-viewer-about p,
.portfolio-viewer-about blockquote,
.portfolio-viewer-about figcaption,
.portfolio-viewer-about .portfolio-about-job-dates,
.portfolio-viewer-about .nd-resource-list :is(dt, dd, a),
.home-gallery .cms-project-caption .project-info {
  font-family: var(--main-font);
  font-weight: 300;
  color: var(--heading);
}

/* About opens with the personal story beside the portrait and location card. */
.portfolio-about-identity > .portfolio-viewer-about-copy { margin-top: 28px; }
.portfolio-viewer-about > .portfolio-about-experience {
  padding-top: 0;
}

/* About resources share one label/value layout and the same inline link treatment. */
.portfolio-viewer-about .nd-resource-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.portfolio-viewer-about .nd-resource-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px;
}
.portfolio-viewer-about .nd-resource-list dt { font-weight: 600; margin: 0; }
.portfolio-viewer-about .nd-resource-list dd { font-size: var(--type-body); line-height: var(--type-body-leading); }
.portfolio-viewer-about a.portfolio-inline-link {
  color: var(--portfolio-link);
  background-position: left bottom;
  transition: background-size 650ms cubic-bezier(.5, 0, 0, 1);
}
.portfolio-viewer-about a.portfolio-inline-link:hover,
.portfolio-viewer-about a.portfolio-inline-link:focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  color: var(--portfolio-link);
  background-size: 100% 1px;
}
@media (max-width: 600px) {
  .portfolio-viewer-about .nd-resource-list > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-viewer-about a.portfolio-inline-link { transition: none; }
}

/* Close controls: mouse feedback only; touch keeps its resting appearance. */
.portfolio-viewer-close,
.contact-close {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-viewer-close,
  .contact-close {
    transition: background-color 200ms ease, transform 200ms ease;
  }

  .portfolio-viewer-close-icon,
  .contact-close svg {
    transition: transform 200ms ease;
  }

  .portfolio-viewer-close:hover {
    background: color-mix(in srgb, var(--solid-control-bg) 78%, var(--solid-control-color));
  }

  .contact-close:hover {
    background: rgba(128, 128, 128, .28);
  }

  .portfolio-viewer-close:hover .portfolio-viewer-close-icon,
  .contact-close:hover svg {
    transform: rotate(90deg);
  }

  .portfolio-viewer-close:active,
  .contact-close:active {
    transform: scale(.94);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-viewer-close,
  .portfolio-viewer-close-icon,
  .contact-close,
  .contact-close svg {
    transition: none;
  }
  .portfolio-viewer-close:hover .portfolio-viewer-close-icon,
  .contact-close:hover svg,
  .portfolio-viewer-close:active,
  .contact-close:active {
    transform: none;
  }
}

/* Back-to-top shares close-button feedback, with directional arrow motion. */
.mobile-back-to-top {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .mobile-back-to-top {
    transition: background-color 200ms ease, color 200ms ease,
      scale 200ms ease, opacity 220ms ease,
      transform 320ms cubic-bezier(.22, 1, .36, 1), visibility 220ms ease;
  }
  .mobile-back-to-top-icon svg {
    transition: transform 200ms ease;
  }
  .mobile-back-to-top:not(:disabled):hover {
    background: color-mix(in srgb, var(--solid-control-bg) 78%, var(--solid-control-color));
  }
  .mobile-back-to-top:not(:disabled):hover .mobile-back-to-top-icon svg {
    transform: translateY(-3px);
  }
  .mobile-back-to-top:not(:disabled):active {
    scale: .94;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-back-to-top,
  .mobile-back-to-top-icon svg {
    transition: none;
  }
  .mobile-back-to-top:not(:disabled):hover .mobile-back-to-top-icon svg {
    transform: none;
  }
  .mobile-back-to-top:not(:disabled):active {
    scale: 1;
  }
}

.home-prototype-link { display: inline-block; margin: 8px 24px 0; font-size: var(--type-detail); color: var(--portfolio-link); }
/* The case owns this action, so closing or replacing the case removes it. */
.case-prototype-entry { position: static; margin-top: 28px; padding: 6px 0; }
@media(max-width:767px) {
  .home-prototype-link { margin-left: 16px; }
}

/* Adapted from prikshit_1236, https://uiverse.io/prikshit_1236/loud-fly-32.
   MIT license: /licenses/uiverse-prikshit-1236.txt.
   Blue endpoints from the official Paramount+ CATCH UP NOW button. */
:is(.portfolio-viewer, .page-not-found) .prototype-launch {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; margin: 0; padding: 18px 32px; border: none; border-radius: 999px;
  color: #fff; font-family: var(--main-font); font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: -.4px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: linear-gradient(180deg, #0064ff 0%, #004fe5 45%, #0037c5 100%);
  box-shadow: 0 0 0 6px rgb(0 100 255 / .12), 0 10px 30px rgb(0 55 197 / .35), inset 0 2px 10px rgb(255 255 255 / .22);
  overflow: hidden; isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.prototype-launch::before {
  content: ''; position: absolute; inset: 2px; border-radius: inherit;
  background: linear-gradient(180deg, rgb(255 255 255 / .22), rgb(255 255 255 / .05) 45%, rgb(255 255 255 / 0));
  z-index: 1; pointer-events: none;
}
.prototype-launch::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background-image: radial-gradient(circle at bottom center, rgb(255 255 255 / .42) 0%, rgb(255 255 255 / .18) 18%, rgb(255 255 255 / .06) 35%, transparent 65%), radial-gradient(rgb(255 255 255 / .14) .8px, transparent .8px), radial-gradient(rgb(255 255 255 / .08) .5px, transparent .5px), radial-gradient(rgb(0 0 0 / .08) .7px, transparent .7px);
  background-size: 100% 100%, 4px 4px, 7px 7px, 5px 5px;
  background-position: center, 0 0, 2px 2px, 1px 3px;
  opacity: .55; mix-blend-mode: overlay; z-index: 2; pointer-events: none;
}
.prototype-launch > span { position: relative; z-index: 3; }
:is(.portfolio-viewer, .page-not-found) .prototype-launch:is(:hover, :focus-visible:where(html:not([data-focus-input="pointer"]) *)) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 10px rgb(0 100 255 / .16), 0 16px 40px rgb(0 55 197 / .42), inset 0 2px 10px rgb(255 255 255 / .28);
}
.prototype-launch:focus-visible:where(html:not([data-focus-input="pointer"]) *) { outline: 2px solid #0064ff; outline-offset: 12px; }
:is(.portfolio-viewer, .page-not-found) .prototype-launch:active { transform: scale(.98); }
@media(max-width:767px) { :is(.portfolio-viewer, .page-not-found) .prototype-launch { padding: 14px 22px; font-size: 14px; } }
@media(prefers-reduced-motion:reduce) { :is(.portfolio-viewer, .page-not-found) .prototype-launch { transition: none; } :is(.portfolio-viewer, .page-not-found) .prototype-launch:is(:hover, :focus-visible:where(html:not([data-focus-input="pointer"]) *), :active) { transform: none; } }

/* Quiet light-theme controls with dark, readable symbols. */
html[data-theme="light"] :is(.theme-toggle, .portfolio-viewer-close) {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
html[data-theme="light"] :is(.theme-toggle, .portfolio-viewer-close):focus-visible:where(html:not([data-focus-input="pointer"]) *) {
  outline-color: var(--solid-control-color);
}

/* Project films play as presentations, with no native or overlay controls. */
[data-passive-media], .cms-video-frame:has([data-passive-media]) { pointer-events:none !important; }
[data-passive-media]::-webkit-media-controls { display:none !important; }
