@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 650;
  font-display: swap;
}

:root {
  --ink: #161616;
  --ink-soft: #222220;
  --paper: #f1f2ed;
  --paper-deep: #e9e9e4;
  --white: #fff;
  --signal: #e4fe55;
  --line: rgba(22, 22, 22, .15);
  --line-dark: rgba(255, 255, 255, .16);
  --display: "Onest", Arial, sans-serif;
  --sans: "Onest", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --case-content-inset: clamp(1rem, 1.4vw, 1.5rem);
  --case-space: clamp(2.5rem, 5vw, 5rem);
  --radius: var(--site-radius, 16px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  position: fixed;
  z-index: 80;
  inset: 0;
  pointer-events: none;
  opacity: .024;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

.paper {
  background: var(--paper);
}

.dark {
  color: var(--white);
  background: var(--ink);
}

::selection {
  color: var(--ink);
  background: var(--signal);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--signal);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.skip-link:not(:focus) {
  clip-path: inset(50%);
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  z-index: 1000;
  inset: 0 auto auto 0;
  width: var(--scroll-progress, 0%);
  height: .2rem;
  pointer-events: none;
  background: var(--signal);
}

body.barderos-framed > main {
  position: relative;
  width: calc(100% - var(--gutter) * 2);
  max-width: 90rem;
  margin-inline: auto;
}


body.barderos-framed > main > section:not(.case-hero) {
  padding: var(--case-space) var(--case-content-inset);
}

body.barderos-framed > main > section.dark {
  border-bottom-color: var(--line-dark);
}

.case-hero {
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: calc(100svh - 6rem);
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  color: var(--white);
  background: #080808;
}

.case-hero-poster,
.case-hero-video,
.case-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.case-hero-poster {
  z-index: -3;
  object-fit: cover;
}

.case-hero-video {
  z-index: -2;
  top: 50%;
  left: 50%;
  width: max(100%, 177.778vh);
  min-width: 100%;
  max-width: none;
  height: max(100%, 56.25vw);
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.015);
}

.case-hero-shade {
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .08), rgba(0, 0, 0, .46) 90%);
}

.hero-lockup {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: inherit;
  place-items: center;
  padding: 1.25rem;
}

.hero-lockup > img {
  width: clamp(15rem, 40vw, 34rem);
  max-width: calc(100vw - 2.5rem);
  height: auto;
  max-height: 42svh;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 1rem 2.5rem rgba(0, 0, 0, .32));
}

.eyebrow {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dark .eyebrow {
  border-bottom-color: var(--line-dark);
}

.eyebrow span {
  color: rgba(22, 22, 22, .44);
}

.dark .eyebrow span {
  color: var(--signal);
}

.eyebrow p {
  margin: 0;
}

.intro-grid,
.heading-grid {
  display: grid;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: 0 0 clamp(1.75rem, 4vw, 3.5rem);
}

.intro-grid h1,
.heading-grid h2,
.case-close h2 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.8vw, 4.65rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.intro-copy,
.heading-grid > div,
.heading-grid > p {
  width: min(100%, 72rem);
  display: grid;
  gap: 1.5rem;
}

.intro-copy p,
.heading-grid > div p,
.heading-grid > p {
  max-width: 48ch;
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.48;
  text-wrap: pretty;
}

.dark .heading-grid p {
  color: rgba(255, 255, 255, .65);
}

.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.scope-list > p {
  width: 100%;
  margin: 0 0 1rem;
  font-size: 1rem;
}

.scope-list span {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: .65rem 1.25rem;
  border: 1px solid rgba(22, 22, 22, .2);
  border-radius: 999px;
  font-size: clamp(.875rem, 1.2vw, 1.125rem);
  line-height: 1.3;
}

.browser-shell {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1.5rem 4rem rgba(22, 22, 22, .08);
}

.dark .browser-shell {
  border-color: rgba(255, 255, 255, .23);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .28);
}

.browser-chrome {
  display: grid;
  min-height: 3.25rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  color: rgba(22, 22, 22, .54);
  border-bottom: 1px solid var(--line);
  background: #f8f8f6;
  font-size: .7rem;
  font-style: normal;
}

.browser-chrome > span {
  display: flex;
  gap: .35rem;
}

.browser-chrome i {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #bebeba;
}

.browser-chrome strong {
  font-weight: 500;
}

.browser-chrome em {
  justify-self: end;
  font-style: normal;
  font-size: 1rem;
}

.release-site {
  position: relative;
  min-height: clamp(42rem, 92svh, 68rem);
  overflow: hidden;
  isolation: isolate;
}

.release-minimal-heading {
  position: relative;
  z-index: 3;
}

.release-minimal-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.65rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.album-spin-link {
  --release-video-opacity: 1;
  --release-video-blur: 0rem;
  --release-paper-opacity: 0;
  isolation: isolate;
  position: relative;
  z-index: 1;
  width: calc(100% + var(--case-content-inset) * 2);
  min-height: clamp(38.125rem, 82svh, 51.25rem);
  display: grid;
  place-items: center;
  margin: clamp(2.5rem, 5vw, 4.5rem) calc(var(--case-content-inset) * -1) 0;
  padding: clamp(3rem, 6vw, 5.25rem) 1.5rem clamp(2.125rem, 4vw, 3.625rem);
  overflow: hidden;
  color: var(--white);
  background: #080705;
}

.album-spin-link::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  opacity: var(--release-paper-opacity);
  pointer-events: none;
  background: var(--paper);
  will-change: opacity;
}

.album-spin-link::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  opacity: var(--release-video-opacity);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 7, 5, .1) 0%, rgba(8, 7, 5, .18) 56%, rgba(8, 7, 5, .72) 86%, #080705 100%);
}

.album-spin-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  opacity: var(--release-video-opacity);
  filter: blur(var(--release-video-blur));
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: scale(1.035);
  will-change: opacity, filter;
}

.album-spin-brand {
  position: absolute;
  z-index: 4;
  top: clamp(1.5rem, 3.2vw, 2.625rem);
  left: 50%;
  width: clamp(6.5rem, 9vw, 8.625rem);
  height: auto;
  opacity: var(--release-video-opacity);
  filter: drop-shadow(0 .5rem 1.125rem rgba(0, 0, 0, .45));
  transform: translateX(-50%);
  will-change: opacity;
}

.album-spin-wrap {
  position: relative;
  z-index: 4;
  width: min(38.75rem, 78vw);
  aspect-ratio: 1;
  display: block;
  margin: 0 auto;
  text-align: center;
  transform: translateY(clamp(1.375rem, 3vw, 2.625rem));
}

.album-spin-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  perspective: 93.75rem;
  user-select: none;
  outline: 0;
}

.album-spin-shadow {
  position: absolute;
  right: 10%;
  bottom: 10%;
  left: 10%;
  height: 11%;
  display: block;
  border-radius: 50%;
  background: rgba(0, 0, 0, .72);
  filter: blur(1.875rem);
}

.album-spin-product {
  position: absolute;
  inset: 4% 0 8%;
  display: block;
  transform-style: preserve-3d;
  animation: album-spin-loop 13s linear infinite;
  will-change: transform;
}

.album-spin-case {
  position: absolute;
  top: 5%;
  left: 4%;
  width: 76%;
  aspect-ratio: 1;
  display: block;
  transform-style: preserve-3d;
}

.album-spin-face {
  position: absolute;
  inset: 0;
  display: block;
  padding: .5rem;
  border: 1px solid rgba(216, 199, 172, .32);
  background: #0c0b0a;
  box-shadow: 0 1.75rem 4.375rem rgba(0, 0, 0, .5);
  backface-visibility: hidden;
}

.album-spin-face img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.album-spin-front {
  transform: translateZ(.5625rem);
}

.album-spin-back {
  transform: rotateY(180deg) translateZ(.5625rem);
}

.album-spin-edge {
  position: absolute;
  top: 0;
  width: 1.125rem;
  height: 100%;
  display: block;
  border: 1px solid rgba(216, 199, 172, .2);
  background: linear-gradient(90deg, #0b0a09, #4a443d, #0b0a09);
}

.album-spin-edge--left {
  left: -.5625rem;
  transform: rotateY(90deg);
}

.album-spin-edge--right {
  right: -.5625rem;
  transform: rotateY(90deg);
}

.album-spin-disc {
  position: absolute;
  z-index: -1;
  top: 14%;
  right: 0;
  width: 66%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  filter: drop-shadow(1.375rem 1.625rem 2rem rgba(0, 0, 0, .5));
  pointer-events: none;
  transform: translateZ(-.4375rem) rotate(13deg);
}

@keyframes album-spin-loop {
  from {
    transform: rotateX(-7deg) rotateY(-18deg);
  }

  to {
    transform: rotateX(-7deg) rotateY(342deg);
  }
}

@media (max-width: 65.625rem) {
  .album-spin-wrap {
    width: min(35.625rem, 76vw);
  }
}

@media (max-width: 51.25rem) {
  .album-spin-link {
    min-height: clamp(28.75rem, 72svh, 38.75rem);
    padding: 2.25rem .875rem 1.5rem;
  }

  .album-spin-brand {
    top: 1.375rem;
    width: 6.5rem;
  }

  .album-spin-wrap {
    width: min(35rem, 100%);
    transform: translateY(1.625rem);
  }
}

@media (max-width: 30rem) {
  .album-spin-link {
    min-height: clamp(28.75rem, 74svh, 35rem);
    padding: 3.375rem .625rem 1.375rem;
  }

  .album-spin-background {
    object-position: 52% center;
  }

  .album-spin-brand {
    top: 1.125rem;
    width: 5.875rem;
  }

  .album-spin-wrap {
    width: min(24.375rem, 100%);
    transform: translateY(1.75rem);
  }

  .album-spin-face {
    padding: .3125rem;
  }

  .album-spin-front {
    transform: translateZ(.4375rem);
  }

  .album-spin-back {
    transform: rotateY(180deg) translateZ(.4375rem);
  }

  .album-spin-edge {
    width: .875rem;
  }

  .album-spin-edge--left {
    left: -.4375rem;
  }

  .album-spin-edge--right {
    right: -.4375rem;
  }

  .album-spin-shadow {
    filter: blur(1.375rem);
  }
}

@media (max-width: 60rem) and (orientation: landscape) and (max-height: 35rem) {
  .album-spin-link {
    min-height: 32.5rem;
    padding-block: 3.625rem 1.625rem;
  }

  .album-spin-brand {
    top: 1.125rem;
    width: 6rem;
  }

  .album-spin-wrap {
    width: min(26.875rem, 72vh);
    transform: translateY(1.75rem);
  }
}

.puzzle-browser {
  color: var(--white);
  background: #080808;
}

.puzzle-product {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .15);
}

.puzzle-copy,
.puzzle-grid,
.tracklist-panel {
  background: #0d0d0d;
}

.puzzle-copy {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.puzzle-copy > span,
.puzzle-copy > p,
.tracklist-panel > span,
.tracklist-panel > strong {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.puzzle-copy > span,
.tracklist-panel > strong {
  color: var(--signal);
}

.puzzle-copy h3 {
  margin: auto 0 2rem;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}

.puzzle-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .55);
}

.puzzle-grid {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 2.5rem);
  font-size: clamp(.68rem, 2.7vw, 2.15rem);
  font-weight: 500;
  line-height: 1;
}

.puzzle-grid::after {
  position: absolute;
  z-index: 2;
  top: -22%;
  right: 0;
  left: 0;
  height: 18%;
  border-bottom: 1px solid rgba(228, 254, 85, .24);
  background: linear-gradient(180deg, transparent, rgba(228, 254, 85, .03) 28%, rgba(228, 254, 85, .15));
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  will-change: transform, opacity;
}

.puzzle-grid > div {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  text-align: center;
}

.puzzle-grid span,
.puzzle-grid b {
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.puzzle-grid span {
  color: rgba(255, 255, 255, .42);
  font-weight: 400;
}

.puzzle-grid b {
  color: var(--ink);
  background: var(--signal);
}

.puzzle-grid.is-animated span,
.puzzle-grid.is-animated b {
  opacity: 0;
  filter: blur(.16rem);
  transform: translateY(.42rem) scale(.97);
  transition:
    opacity .42s var(--ease),
    filter .52s var(--ease),
    transform .58s var(--ease);
  transition-delay: var(--letter-delay, 0ms);
}

.puzzle-grid.is-animated.is-decoding span,
.puzzle-grid.is-animated.is-decoding b {
  opacity: 1;
  filter: none;
  transform: none;
}

.puzzle-grid.is-decoding::after {
  animation: puzzle-scan 7.2s cubic-bezier(.22, 1, .36, 1) infinite;
}

.puzzle-grid.is-decoding span {
  animation: puzzle-letter-signal 4.8s ease-in-out infinite;
  animation-delay: var(--letter-phase, 0ms);
}

.puzzle-grid.is-decoding > div:nth-child(1) b {
  animation: puzzle-word-one 7.2s var(--ease) infinite;
}

.puzzle-grid.is-decoding > div:nth-child(4) b {
  animation: puzzle-word-two 7.2s var(--ease) infinite;
}

@keyframes puzzle-scan {
  0%,
  8% {
    opacity: 0;
    transform: translateY(0);
  }

  14% {
    opacity: 1;
  }

  72% {
    opacity: .8;
  }

  78%,
  100% {
    opacity: 0;
    transform: translateY(680%);
  }
}

@keyframes puzzle-letter-signal {
  0%,
  18%,
  100% {
    color: rgba(255, 255, 255, .42);
    text-shadow: none;
  }

  20% {
    color: rgba(255, 255, 255, .72);
    text-shadow: 0 0 .7rem rgba(228, 254, 85, .22);
  }

  23% {
    color: rgba(255, 255, 255, .38);
    text-shadow: none;
  }
}

@keyframes puzzle-word-one {
  0%,
  8%,
  58%,
  100% {
    color: rgba(255, 255, 255, .62);
    background: rgba(228, 254, 85, .08);
    box-shadow: none;
  }

  14%,
  48% {
    color: var(--ink);
    background: var(--signal);
    box-shadow: 0 0 1.1rem rgba(228, 254, 85, .14);
  }
}

@keyframes puzzle-word-two {
  0%,
  40%,
  92%,
  100% {
    color: rgba(255, 255, 255, .62);
    background: rgba(228, 254, 85, .08);
    box-shadow: none;
  }

  48%,
  82% {
    color: var(--ink);
    background: var(--signal);
    box-shadow: 0 0 1.1rem rgba(228, 254, 85, .14);
  }
}

.tracklist-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.tracklist-panel > span,
.tracklist-panel > strong {
  display: block;
}

.tracklist-panel > strong {
  margin-top: .35rem;
  font-weight: 500;
}

.tracklist-panel ol {
  margin: clamp(2rem, 5vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
}

.tracklist-panel li {
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .58);
  font-size: .72rem;
}

.phone-stage {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 16%, #383838, transparent 65%),
    radial-gradient(circle at 80% 86%, rgba(255, 255, 255, .08), transparent 22%),
    var(--ink);
}

.phone-item {
  min-width: 0;
}

.phone-item > p {
  display: flex;
  justify-content: space-between;
  margin: 0 auto 1rem;
  width: min(100%, 17.5rem);
  color: rgba(255, 255, 255, .65);
  font-size: .72rem;
  text-transform: uppercase;
}

.phone-item > p span {
  color: var(--signal);
}

.iphone {
  position: relative;
  width: min(100%, 17.5rem);
  aspect-ratio: 9 / 19.3;
  margin-inline: auto;
  padding: .48rem;
  border: 1px solid #3b3b3b;
  border-radius: 2.75rem;
  background: #050505;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .42);
  transition: transform .6s var(--ease);
}

.iphone::before {
  position: absolute;
  z-index: 3;
  top: .75rem;
  left: 50%;
  width: 35%;
  height: 1.25rem;
  border-radius: 999px;
  background: #050505;
  content: "";
  transform: translateX(-50%);
}

.iphone-screen {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 2.25rem;
  color: var(--white);
  background: #101010;
}

.phone-status,
.story-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  min-height: 2.4rem;
  padding: .4rem 1rem 0;
  font-size: .58rem;
}

.phone-status i {
  width: 1rem;
  height: .45rem;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: .15rem;
}

.story-head {
  min-height: 3rem;
  gap: .55rem;
  padding: .45rem .7rem;
}

.story-head b {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  font-size: .6rem;
}

.story-head span {
  flex: 1;
  font-size: .55rem;
}

.story-head em {
  font-size: .6rem;
  font-style: normal;
}

.iphone-screen > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.phone-item--launch .iphone-screen > img {
  object-fit: contain;
  background: #080808;
}

.story-cta {
  display: grid;
  padding: .75rem;
  background: #111;
}

.story-cta span,
.story-cta small {
  color: rgba(255, 255, 255, .52);
  font-size: .55rem;
  text-transform: uppercase;
}

.story-cta strong {
  margin: .15rem 0 .55rem;
  font-size: 1rem;
  font-weight: 500;
}

.story-cta small {
  min-height: 1.8rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: var(--white);
}

.merch-gallery {
  display: grid;
  gap: 1rem;
}

.merch-card {
  position: relative;
  min-height: 28rem;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.merch-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.merch-card figcaption {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  left: .8rem;
  padding: .75rem .9rem;
  border-radius: .65rem;
  color: var(--white);
  background: rgba(0, 0, 0, .72);
  font-size: .7rem;
}

.text-link {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 4rem);
  padding: 1.2rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.text-link span:last-child {
  color: rgba(22, 22, 22, .5);
  font-size: .75rem;
}

body.barderos-framed > main > .casa {
  padding-top: var(--case-content-inset);
}

.casa-hero {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.casa-hero {
  min-height: 65svh;
}

.casa-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casa .section-heading {
  padding-top: var(--case-space);
}

.casa-drift {
  --casa-drift-gap: clamp(.65rem, 1.2vw, 1rem);
  --casa-drift-half-gap: clamp(.325rem, .6vw, .5rem);
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
  isolation: isolate;
  perspective: 75rem;
}

.casa-drift::before,
.casa-drift::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.casa-drift::before {
  z-index: 3;
  background:
    linear-gradient(to bottom, var(--paper) 0%, transparent 14%, transparent 84%, var(--paper) 100%),
    linear-gradient(to right, rgba(242, 242, 239, .88) 0%, transparent 14%, transparent 86%, rgba(242, 242, 239, .88) 100%);
}

.casa-drift::after {
  z-index: 2;
  background: radial-gradient(circle at 17% 78%, #d7dbd480, transparent 65%);
  box-shadow: inset 0 0 6rem rgba(22, 22, 22, .13);
}

.casa-drift-wall {
  --casa-drift-pitch: 0deg;
  --casa-drift-yaw: 0deg;
  position: absolute;
  z-index: 1;
  top: -16%;
  left: -26%;
  width: 152%;
  height: 138%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--casa-drift-gap);
  opacity: 0;
  transform: rotateX(calc(5deg + var(--casa-drift-pitch))) rotateY(calc(-6deg + var(--casa-drift-yaw))) rotateZ(-1.5deg) translateZ(-3rem) scale(1.055);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transition: opacity .75s ease, transform .55s var(--ease);
  will-change: transform;
}

.casa-drift-wall.is-ready {
  opacity: 1;
}

.casa-drift-column {
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.casa-drift-column:nth-child(3) {
  display: none;
}

.casa-drift-track,
.casa-drift-sequence {
  display: flex;
  flex-direction: column;
  gap: var(--casa-drift-gap);
}

.casa-drift-track {
  --casa-drift-duration: 42s;
  animation: casa-drift-up var(--casa-drift-duration) linear infinite;
  animation-delay: -16s;
  animation-play-state: paused;
  will-change: transform;
}

.casa-drift.is-active .casa-drift-track {
  animation-play-state: running;
}

.casa-drift-column:nth-child(2) .casa-drift-track {
  --casa-drift-duration: 49s;
  animation-delay: -31s;
  animation-direction: reverse;
}

.casa-drift-column:nth-child(3) .casa-drift-track {
  --casa-drift-duration: 38s;
  animation-delay: -8s;
}

.casa-drift-sequence {
  flex: none;
}

.casa-drift-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  flex: none;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 22, 22, .12);
  border-radius: clamp(.75rem, 1.35vw, 1.2rem);
  background: #111;
  box-shadow: 0 1.4rem 3.5rem rgba(22, 22, 22, .2);
  transform: translateZ(0);
}

.casa-drift-tile:nth-child(3n) {
  aspect-ratio: 1 / 1;
}

.casa-drift-tile::after {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 8, .2);
  content: "";
  transition: opacity .45s var(--ease);
}

.casa-drift-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
  transform: scale(1.01);
  transition: filter .55s var(--ease), transform .8s var(--ease);
}

.casa-drift-tile figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  min-height: 38%;
  padding: clamp(.7rem, 1.4vw, 1.1rem);
  color: var(--white);
  background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent);
  font-size: clamp(.68rem, .9vw, .82rem);
  line-height: 1.15;
}

.casa-drift-tile figcaption span:last-child {
  color: rgba(255, 255, 255, .58);
  font-size: .78em;
  letter-spacing: .1em;
  text-align: right;
  text-transform: uppercase;
}

.casa-drift-label {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  left: clamp(1rem, 2vw, 1.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(22, 22, 22, .42);
  color: rgba(22, 22, 22, .58);
  font-size: clamp(.68rem, .9vw, .78rem);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.casa-drift-label span:first-child {
  color: var(--ink);
  font-weight: 500;
}

@keyframes casa-drift-up {
  to {
    transform: translate3d(0, calc(-50% - var(--casa-drift-half-gap)), 0);
  }
}

.system-grid {
  display: grid;
  gap: .75rem;
}

.system-grid article {
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.system-grid span {
  color: rgba(22, 22, 22, .46);
  font-size: .72rem;
  text-transform: uppercase;
}

.system-grid strong {
  max-width: 12ch;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}

.case-close {
  min-height: 75svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-close > p {
  max-width: 38rem;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
}

.case-close h2 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.75rem);
}

.case-close > a {
  display: flex;
  width: min(100%, 34rem);
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 500;
}

.footer {
  padding: clamp(3rem, 7vw, 5.75rem) var(--gutter) clamp(1.6rem, 3vw, 2.5rem);
  color: rgba(255, 255, 255, .55);
  background: var(--ink);
  font-size: .8125rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}

.footer-brand-image {
  width: 7.6rem;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.9rem, 2vw, 1.9rem);
}

.footer-nav a,
.footer-social a {
  color: rgba(255, 255, 255, .72);
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .25s var(--ease);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .45rem;
  text-align: right;
}

.footer-contact > a {
  color: var(--white);
  font-size: clamp(.9rem, 1.3vw, 1.2rem);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: .5rem;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--signal);
}

.footer-cta-slot:empty {
  display: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.1rem, 5vw, 3.75rem);
  padding-top: clamp(1.25rem, 2vw, 1.75rem);
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .44);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity .75s var(--ease), transform .85s var(--ease);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 43.75rem) {
  .intro-copy,
  .heading-grid > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 7vw, 6rem);
  }

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

  .merch-gallery {
    grid-template-columns: 1.2fr .8fr;
  }

  .merch-card--wide {
    grid-row: span 2;
    min-height: 57rem;
  }

  .casa-drift {
    min-height: clamp(40rem, 68vw, 54rem);
  }

  .casa-drift-wall {
    top: -20%;
    left: -8%;
    width: 116%;
    height: 146%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    transform: rotateX(calc(5deg + var(--casa-drift-pitch))) rotateY(calc(-7deg + var(--casa-drift-yaw))) rotateZ(-1.35deg) translateZ(-3rem) scale(1.035);
  }

  .casa-drift-column:nth-child(3) {
    display: block;
  }
}

@media (min-width: 48rem) {
  .phone-stage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phone-item--teaser {
    transform: translateY(7%);
  }

  .phone-item--launch {
    transform: translateY(-5%);
  }
}

@media (min-width: 64rem) {
  .puzzle-product {
    grid-template-columns: minmax(16rem, .62fr) minmax(0, 1.2fr) minmax(15rem, .62fr);
  }

  .puzzle-grid {
    display: grid;
    align-content: center;
  }

  .system-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 43.6875rem) {
  .browser-chrome {
    grid-template-columns: auto 1fr;
  }

  .browser-chrome strong {
    justify-self: end;
  }

  .browser-chrome em {
    display: none;
  }

  .puzzle-grid {
    font-size: clamp(.62rem, 3.15vw, 1rem);
  }

  .text-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .casa-hero {
    min-height: 50svh;
  }

  .footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 35rem) {

  .case-hero {
    min-height: calc(100svh - 4.125rem);
  }

  .puzzle-product {
    display: block;
  }

  .puzzle-grid {
    padding-inline: .65rem;
    font-size: clamp(.54rem, 3vw, .82rem);
  }

  .phone-stage {
    margin-inline: -.4rem;
    padding-inline: 1.1rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  a {
    cursor: pointer;
  }

  .system-grid article {
    transition: color .3s ease, background .3s ease, transform .3s ease;
  }

  .system-grid article:hover {
    color: var(--white);
    background: var(--ink);
    transform: translateY(-.3rem);
  }

  .system-grid article:hover span {
    color: rgba(255, 255, 255, .62);
  }

  .phone-item:hover .iphone {
    transform: translateY(-.6rem) rotate(.8deg);
  }

  .merch-card:hover img {
    transform: scale(1.025);
  }

  .casa-drift-tile:hover::after {
    opacity: 0;
  }

  .casa-drift-tile:hover img {
    filter: saturate(1.08) contrast(1.02);
    transform: scale(1.035);
  }
}

a:focus-visible {
  outline: .18rem solid var(--signal);
  outline-offset: .2rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .album-spin-product {
    animation: none !important;
    transform: rotateX(-7deg) rotateY(-18deg);
  }

  .album-spin-link {
    --release-video-opacity: 1 !important;
    --release-video-blur: 0rem !important;
    --release-paper-opacity: 0 !important;
  }

  .puzzle-grid.is-animated span,
  .puzzle-grid.is-animated b {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .puzzle-grid.is-decoding::after {
    display: none;
  }

  .puzzle-grid.is-decoding span {
    color: rgba(255, 255, 255, .42);
    text-shadow: none;
  }

  .puzzle-grid.is-decoding b {
    color: var(--ink);
    background: var(--signal);
    box-shadow: none;
  }

  .casa-drift-wall {
    top: -7%;
    height: 116%;
    transform: rotateZ(-1deg) scale(1.02);
  }

  .casa-drift-track {
    animation: none !important;
    transform: none !important;
  }

  .casa-drift-sequence + .casa-drift-sequence {
    display: none;
  }
}

/* Shared case-study rhythm: editorial headings, open spacing and unobstructed media. */
body.barderos-framed main > section:not(.case-hero) { border: 0; }
body.barderos-framed :is(.intro-grid h1, .heading-grid h2, .release-minimal-heading h2) {
  max-width: 22ch;
  font-size: clamp(2.5rem, 5.7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: pretty;
}
body.barderos-framed .intro-grid h1 { max-width: 24ch; }
.intro-grid, .heading-grid { gap: clamp(1.5rem, 3vw, 3rem); }
.intro-copy p, .heading-grid > div p, .heading-grid > p { color: #62665f; }
.release-site { min-height: 0; }
.album-spin-link { width: 100%; margin-inline: 0; border-radius: var(--radius); }
.phone-item > p { display: block; padding: 0; border: 0; font-size: .875rem; letter-spacing: 0; text-transform: none; color: #bdbfba; }
.casa-hero { min-height: 0; aspect-ratio: 4 / 3; margin: 0 0 clamp(1.5rem, 3vw, 3rem); }
.casa .section-heading { padding-top: 0; }
.casa-drift { border: 0; border-radius: var(--radius); }
.casa-drift-label { border: 0; letter-spacing: 0; text-transform: none; }
.project-summary .heading-grid { padding-bottom: 0; }
@media (max-width: 699px) {
  body.barderos-framed > main { width: calc(100% - 44px); }
  body.barderos-framed > main > section:not(.case-hero) { padding: 36px 0; }
  body.barderos-framed :is(.intro-grid h1, .heading-grid h2, .release-minimal-heading h2) { font-size: clamp(32px, 8vw, 44px); }
  .intro-copy p, .heading-grid > div p, .heading-grid > p { font-size: 16px; line-height: 1.5; }
  .intro-grid, .heading-grid { padding-bottom: 28px; }
  .album-spin-link { margin-top: 28px; }
  .project-summary .heading-grid { padding-bottom: 0; }
}

body.barderos-framed main > .case-intro { padding-bottom: clamp(1.25rem, 2.5vw, 2.5rem); }
body.barderos-framed main > .release-site { padding-top: clamp(1.25rem, 2.5vw, 2.5rem); }
.case-intro .intro-grid { padding-bottom: 0; }
.case-intro-logo { width: clamp(150px, 18vw, 230px); height: auto; }
.release-site .album-spin-link { margin-top: 0; }
.puzzle-copy h3 { margin-top: 0; }
.tracklist-panel > strong { color: #bdbfba; }

/* The carousel's two campaign destinations, adapted to the case-study paper. */
.traffic-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 110px);
  padding: clamp(24px, 5vw, 64px);
  border-radius: var(--radius);
  background: transparent;
}
.traffic-phase { min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 36px; }
.traffic-phase figcaption { flex: 1; }
.traffic-phase h3 { margin: 0 0 12px; font-size: 16px; font-weight: 500; color: #62665f; }
.traffic-phase figcaption p { max-width: 28ch; margin: 0; font-size: clamp(18px, 2vw, 26px); line-height: 1.4; letter-spacing: -.025em; }
.traffic-device {
  position: relative;
  width: min(100%, 300px);
  padding: 7px;
  align-self: center;
  border: 1px solid #a5a8a0;
  border-radius: 40px;
  background: linear-gradient(140deg, #f8f8f5, #bfc2b9 50%, #e6e8e1);
  box-shadow: 0 24px 32px -20px #555a4c55;
}
.traffic-device--instagram { transform: rotate(-4deg); }
.traffic-device--spotify { transform: rotate(4deg); }
.traffic-screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 9 / 17; overflow: hidden; border-radius: 32px; background: #f7f7f3; color: var(--ink); }
.traffic-status { display: flex; justify-content: space-between; align-items: center; padding: 15px 17px 10px; font-size: 9px; }
.traffic-status::after { position: absolute; content: ''; top: 9px; left: 35%; width: 30%; height: 17px; border-radius: 20px; background: #d4d6ce; }
.traffic-status i { width: 13px; height: 6px; border: 1px solid #777b71; border-radius: 2px; }
.traffic-destination { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; font-size: 18px; }
.traffic-destination svg { width: 22px; height: 22px; }
.traffic-destination img { width: 100px; height: 32px; object-fit: contain; }
.traffic-art { display: flex; flex: 1; min-height: 0; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(145deg, #e8eae2, #f0f1eb); }
.traffic-art .traffic-brand { width: 72%; height: auto; }
.traffic-art > span { font-size: 12px; }
.traffic-art .traffic-narcos { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 5px; }
.traffic-art--album > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.traffic-cta { padding: 16px 13px 18px; }
.traffic-cta small { display: block; margin-bottom: 6px; font-size: 10px; color: #62665f; }
.traffic-cta strong { display: block; font-size: 17px; font-weight: 500; }
.traffic-cta > span { display: block; margin-top: 12px; padding: 9px 4px; border: 1px solid #b6b9af; border-radius: 30px; font-size: 11px; text-align: center; }
.traffic-device--spotify .traffic-cta > span { background: var(--signal); border-color: transparent; }
.traffic-arrow { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(32px, 5vw, 64px); color: #777b71; }
.case-partner-logos { display: flex; justify-content: center; align-items: center; gap: clamp(36px, 7vw, 100px); margin-top: clamp(40px, 6vw, 80px); }
.case-partner-logos img { width: clamp(120px, 18vw, 220px); height: 100px; object-fit: contain; }
.case-partner-logos img:first-child { width: clamp(110px, 14vw, 165px); }
@media (max-width: 599px) {
  .traffic-stage { grid-template-columns: minmax(0, 1fr); gap: 56px; padding: 28px 22px; }
  .traffic-phase { gap: 24px; }
  .traffic-phase figcaption p { max-width: none; font-size: 20px; }
  .traffic-device { width: min(100%, 260px); }
  .traffic-device--instagram, .traffic-device--spotify { transform: none; }
  .traffic-arrow { display: none; }
  .case-partner-logos { gap: 30px; }
  .case-partner-logos img { max-width: 45%; height: 76px; }
}
.text-link { display: inline-flex; min-height: 44px; padding: 12px 0; border-top: 0; gap: 24px; font-size: 16px; margin-top: 24px; }
