:root {
  --beige: #fffffc;
  --mist: #818d92;
  --dark: #0b3142;
  --purple: #4e0433;
  --berry: #712643;
  --lilac: #6b8c9e;
  --ink-soft: rgba(11, 49, 66, 0.74);
  --line: rgba(11, 49, 66, 0.16);
  --white: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(11, 49, 66, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--beige);
  color: var(--dark);
  font-family: Montserrat, Arial, sans-serif;
}

a,
button {
  cursor: pointer;
}

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

/* Draw action arrows directly so mobile browsers never substitute emoji. */
.icon-arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: #fffffc;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-flower {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 26px;
  height: 26px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: opacity 100ms ease;
  will-change: transform;
}

.cursor-flower.is-visible {
  opacity: 1;
}

.cursor-flower img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 3px rgba(78, 4, 51, 0.28));
  transform-origin: center;
  transition: transform 160ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.cursor-flower.is-hover img {
  transform: scale(1.16);
}

@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor .category-showcase {
    cursor: none;
  }

  .cursor-flower {
    display: block;
  }
}

.button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  background: transparent;
  color: var(--dark);
  font: 700 12px/1 Montserrat, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button--dark:hover,
.filter-button.is-active,
.filter-button:hover {
  background: var(--dark);
  color: var(--beige);
}

.button:hover {
  background: linear-gradient(115deg, #3b0227 0%, #5b0638 24%, #8b164f 48%, #b12b63 70%, #4e0433 100%);
  background-size: 260% 260%;
  color: #fffffc;
}

.button:hover {
  transform: translateY(-2px);
}

.about,
.section-band,
.project-section {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: clamp(74px, 10vw, 142px) clamp(20px, 4vw, 56px);
}

.project-section {
  padding-top: 0;
}

.about {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(12px, 2vw, 24px);
  text-align: center;
}

.about-copy {
  width: min(100%, 880px);
  margin: 0 auto;
}

.about-copy > .eyebrow {
  color: #0b0b0b;
  text-transform: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

.section-heading h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 0.9;
}

h1 {
  font-size: clamp(72px, 12vw, 144px);
}

.role-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
  width: min(100%, 1040px);
  margin: 22px auto;
}

.about-copy .role-list p {
  flex: 1 1 250px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin: 0;
  border-top: 1px solid rgba(78, 4, 51, 0.12);
  border-bottom: 1px solid rgba(78, 4, 51, 0.12);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(15px, 1.55vw, 20px);
  font-weight: 400;
  line-height: 1.12;
  text-align: left;
  overflow-wrap: anywhere;
  color: #0b0b0b;
  -webkit-text-fill-color: #0b0b0b;
}

.about-copy .role-list span {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(115deg, #3b0227 0%, #5b0638 24%, #8b164f 48%, #b12b63 70%, #4e0433 100%);
  background-size: 260% 260%;
  color: #fffffc;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  -webkit-text-fill-color: #fffffc;
  animation: lava-flow 4.2s ease-in-out infinite alternate;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.about-copy .statement {
  max-width: 820px;
  margin: 26px auto 24px;
  color: var(--dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 500;
  line-height: 1.18;
  text-wrap: balance;
}

.statement-serif {
  color: var(--purple);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08em;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.about-copy strong {
  color: var(--dark);
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  border-radius: 999px;
  padding: 14px 24px;
  background: linear-gradient(115deg, #3b0227 0%, #5b0638 24%, #8b164f 48%, #b12b63 70%, #4e0433 100%);
  background-size: 260% 260%;
  color: #fffffc;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(15px, 1.55vw, 20px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  -webkit-text-fill-color: #fffffc;
  animation: lava-flow 4.2s ease-in-out infinite alternate;
}

.text-link:hover {
  color: #fffffc;
  opacity: 1;
  transform: translateY(-2px);
}

.portrait-wrap {
  position: relative;
  overflow: hidden;
  width: min(100%, 340px);
  padding: 6px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(115deg, #3b0227 0%, #5b0638 24%, #8b164f 48%, #b12b63 70%, #4e0433 100%);
  background-size: 260% 260%;
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  animation: lava-flow 4.2s ease-in-out infinite alternate;
}

.portrait-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  border-radius: 50%;
  filter: grayscale(1);
  transition: filter 300ms ease, scale 600ms ease;
}

.portrait-wrap:hover img {
  filter: grayscale(0);
  scale: 1.035;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(62px, 10vw, 128px);
}

.selected-intro {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: clamp(500px, 62vw, 720px);
  margin-bottom: clamp(36px, 6vw, 72px);
  overflow: visible;
  background: var(--beige);
  isolation: isolate;
}

.selected-intro__mask {
  --floral-shift: 0px;
  position: relative;
  width: 100vw;
  height: clamp(350px, 48vw, 560px);
  margin: 0 0 0 calc(50% - 50vw);
  overflow: hidden;
  background-image: url("images/orchids-selected-work.webp"), url("images/orchids-selected-work.webp");
  background-position:
    8% calc(35% + var(--floral-shift)),
    92% calc(65% + var(--floral-shift));
  background-repeat: repeat, repeat;
  background-size: 24% auto, 24% auto;
  background-blend-mode: lighten;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -40 1200 820' preserveAspectRatio='none'%3E%3Cpath d='M-95 365 C25 165 155 135 190 255 C232 398 125 625 35 570 C-60 510 35 285 190 180 C325 88 410 18 438 118 C476 257 320 444 360 505 C412 586 520 362 604 218 C694 66 808 128 772 303 C742 446 642 586 704 615 C782 651 868 407 954 242 C1044 68 1162 130 1127 323 C1097 482 1010 602 1072 651 C1144 707 1242 518 1310 386' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='92'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -40 1200 820' preserveAspectRatio='none'%3E%3Cpath d='M-95 365 C25 165 155 135 190 255 C232 398 125 625 35 570 C-60 510 35 285 190 180 C325 88 410 18 438 118 C476 257 320 444 360 505 C412 586 520 362 604 218 C694 66 808 128 772 303 C742 446 642 586 704 615 C782 651 868 407 954 242 C1044 68 1162 130 1127 323 C1097 482 1010 602 1072 651 C1144 707 1242 518 1310 386' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='92'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  will-change: background-position;
  animation: floral-collision 18s ease-in-out infinite alternate;
}

@keyframes floral-collision {
  from {
    background-position:
      8% calc(35% + var(--floral-shift)),
      92% calc(65% + var(--floral-shift));
  }

  to {
    background-position:
      92% calc(65% + var(--floral-shift)),
      8% calc(35% + var(--floral-shift));
  }
}

.selected-intro__copy {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  padding: clamp(34px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
}

.selected-intro__copy .eyebrow {
  margin-bottom: 8px;
}

.selected-intro__copy h2 {
  color: #0b0b0b;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
}

.selected-intro__lede {
  width: min(100%, 560px);
  margin: 20px 0 0;
  color: rgba(11, 49, 66, 0.72);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.65;
}

.category-showcases {
  display: grid;
  gap: 18px;
}

.category-showcase {
  position: relative;
  scroll-margin-top: 92px;
  padding: 20px 0 28px;
  border-bottom: 1px solid rgba(11, 49, 66, 0.12);
}

.category-showcase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.category-showcase__header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #171717;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.category-marker {
  width: 4px;
  height: 22px;
  border-radius: 99px;
  background: var(--category-accent);
}

.carousel-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel-see-all {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #202020;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.carousel-see-all:hover,
.carousel-see-all:focus-visible {
  color: var(--category-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 2px 4px;
  border: 1px solid rgba(11, 49, 66, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.carousel-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.carousel-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 34px;
  padding-inline: 4px;
}

.carousel-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(var(--category-accent-rgb), 0.24);
  transition: width 220ms ease, background 220ms ease;
}

.carousel-dot.is-current {
  width: 15px;
  background: var(--category-accent);
}

.carousel-control {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(11, 49, 66, 0.72);
  font-size: 25px;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: var(--category-accent);
  color: #fff;
  transform: scale(1.08);
}

.project-orbit {
  position: relative;
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
  overflow-y: hidden;
  perspective: 1100px;
  perspective-origin: 50% 45%;
}

.project-orbit__track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 16px 0 38px;
  transform-style: preserve-3d;
}

.project-orb {
  --orb-size: clamp(106px, 29vw, 310px);
  --orb-scale: 0.72;
  position: relative;
  z-index: 1;
  flex: 0 0 var(--orb-size);
  width: var(--orb-size);
  aspect-ratio: 1;
  margin-inline: clamp(-18px, -1.3vw, -7px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  opacity: 0.76;
  transform: translateZ(-30px) scale(var(--orb-scale));
  transform-style: preserve-3d;
  transition: opacity 320ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease;
}

.project-orb.is-hidden {
  display: none;
}

.project-orb.is-left {
  transform: translateZ(-32px) rotateY(9deg) scale(0.82);
}

.project-orb.is-right {
  transform: translateZ(-32px) rotateY(-9deg) scale(0.82);
}

.project-orb.is-center {
  transform: translateZ(36px) scale(1.02);
}

.project-orb.is-near {
  z-index: 3;
  opacity: 0.9;
}

.project-orb.is-active {
  z-index: 5;
  opacity: 1;
  transform: translateZ(58px) scale(1.09);
  filter: drop-shadow(0 26px 22px rgba(11, 49, 66, 0.18));
}

.project-orb:hover {
  opacity: 1;
  filter: drop-shadow(0 24px 20px rgba(11, 49, 66, 0.2));
}

.project-orb.is-near:hover {
  transform: translateZ(2px) scale(0.9) translateY(-5px);
}

.project-orb.is-active:hover,
.project-orb.is-active:focus-visible {
  transform: translateZ(64px) scale(1.12) translateY(-4px);
}

.project-orb:focus-visible {
  outline: 3px solid var(--category-accent);
  outline-offset: 7px;
}

.project-orb__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(var(--category-accent-rgb), 0.12);
  box-shadow: 0 18px 35px rgba(11, 49, 66, 0.17), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transform: translateZ(0);
  transition: box-shadow 280ms ease;
}

.project-orb__media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 42%, rgba(11, 49, 66, 0.11));
  content: "";
  pointer-events: none;
}

.project-orb.is-active .project-orb__media {
  box-shadow: 0 32px 58px rgba(11, 49, 66, 0.24), inset 0 1px 2px rgba(255, 255, 255, 0.88);
}

.project-orb__media img,
.project-orb__media video,
.modal-gallery img,
.modal-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-orb.has-logo-cover.is-left .project-orb__media img,
.project-orb.has-logo-cover.is-right .project-orb__media img {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
}

.project-orb__label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 160%;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  text-align: center;
  transform: translateX(-50%);
  transition: opacity 220ms ease;
}

.category-showcase.is-expanded .project-orbit {
  overflow: visible;
}

.category-showcase.is-expanded .project-orbit__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  justify-items: center;
  gap: 42px 14px;
  width: 100%;
  min-width: 0;
  padding: 20px 0 26px;
}

.category-showcase.is-expanded .project-orb {
  width: min(100%, 180px);
  margin: 0;
  opacity: 1;
  transform: none;
  filter: none;
}

.category-showcase.is-expanded .project-orb.is-hidden {
  display: block;
}

.category-showcase.is-expanded .project-orb__label {
  opacity: 1;
  transform: translateX(-50%);
}

/* Four illustrated folder silhouettes, inspired by the supplied reference. */
.category-showcase--folders .project-orbit {
  overflow: hidden;
  overflow-anchor: none;
  padding: 0 12px;
  background: #fff;
}

.category-showcase--folders .project-orbit__track {
  overflow-anchor: none;
  min-height: 350px;
  padding: 20px 0 26px;
}

.category-showcase--folders .project-orb {
  --folder-width: clamp(155px, 26vw, 290px);
  position: relative;
  flex: 0 0 var(--folder-width);
  width: var(--folder-width);
  height: var(--folder-width);
  margin-inline: clamp(-20px, -1.4vw, -8px);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform-style: preserve-3d;
}

.category-showcase--folders .folder--classic {
  --folder-back: #861b2d;
  --folder-front: #b92b38;
  --folder-paper: #fff2e6;
  --folder-ink: #fff6ef;
}

.category-showcase--folders .folder--layered {
  --folder-back: #5b21b6;
  --folder-inner: #9c74eb;
  --folder-front: #d9c0f8;
  --folder-paper: #fffdfb;
  --folder-ink: #442075;
}

.category-showcase--folders .folder--tabbed {
  --folder-back: #4260d7;
  --folder-front: #5268ef;
  --folder-paper: #f8fbff;
  --folder-ink: #fff;
}

.category-showcase--folders .folder--diagonal {
  --folder-back: #17110d;
  --folder-front: #c95b22;
  --folder-paper: #f1e4cf;
  --folder-ink: #fff6e9;
}

.folder-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 18px 16px rgba(24, 21, 44, 0.17));
  pointer-events: none;
}

.folder-art * {
  pointer-events: none;
}

.folder-back {
  fill: var(--folder-back);
}

.folder-paper {
  fill: var(--folder-paper);
  filter: drop-shadow(0 2px 3px rgba(14, 16, 44, 0.14));
}

.folder-paper-line {
  fill: none;
  stroke: #d7dce7;
  stroke-linecap: round;
  stroke-width: 5;
}

.folder-inner {
  fill: var(--folder-inner);
  fill-opacity: 1;
  transition: fill-opacity 280ms ease;
}

.folder-preview {
  opacity: 0;
  transition: opacity 280ms ease;
}

.folder-front {
  fill: var(--folder-front);
  fill-opacity: 1;
  transition: fill-opacity 280ms ease;
}

@media (hover: hover) {
  .project-orb--folder:hover .folder-preview {
    opacity: 1;
  }

  .project-orb--folder:hover .folder-front {
    fill-opacity: 0.37;
  }

  .project-orb--folder:hover .folder-inner {
    fill-opacity: 0.37;
  }
}

.project-orb--folder:focus-visible .folder-preview {
  opacity: 1;
}

.project-orb--folder:focus-visible .folder-front {
  fill-opacity: 0.37;
}

.project-orb--folder:focus-visible .folder-inner {
  fill-opacity: 0.37;
}

.category-showcase--folders .project-orb.is-left {
  transform: translateZ(-28px) rotateY(7deg) scale(0.88) translateY(8px);
}

.category-showcase--folders .project-orb.is-right {
  transform: translateZ(-28px) rotateY(-7deg) scale(0.88) translateY(8px);
}

.category-showcase--folders .project-orb.is-center {
  transform: translateZ(18px) scale(0.98);
}

.category-showcase--folders .project-orb.is-near {
  z-index: 3;
  opacity: 1;
}

.category-showcase--folders .project-orb.is-active {
  z-index: 5;
  opacity: 1;
  transform: translateZ(56px) scale(1.05) translateY(-3px);
  filter: drop-shadow(0 13px 14px rgba(24, 21, 44, 0.11));
}

.category-showcase--folders .project-orb:hover {
  filter: drop-shadow(0 17px 15px rgba(24, 21, 44, 0.19));
  opacity: 1;
}

.category-showcase--folders .project-orb.is-near:hover {
  transform: translateZ(4px) rotateY(0) scale(0.94) translateY(3px);
}

.category-showcase--folders .project-orb.is-active:hover,
.category-showcase--folders .project-orb.is-active:focus-visible {
  transform: translateZ(66px) scale(1.08) translateY(-6px);
}

.category-showcase--folders .project-orb:focus-visible {
  outline-color: #712643;
  outline-offset: 8px;
}

.category-showcase--folders .folder-eyebrow {
  position: absolute;
  top: 54%;
  left: 12%;
  color: var(--folder-ink);
  font-size: clamp(7px, 0.7vw, 10px);
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.74;
  pointer-events: none;
}

.category-showcase--folders .folder--layered .folder-eyebrow {
  top: 76%;
}

.category-showcase--folders .folder--tabbed .folder-eyebrow {
  top: 60%;
}

.category-showcase--folders .folder--diagonal .folder-eyebrow {
  top: 59%;
}

.category-showcase--folders .folder--diagonal .folder-eyebrow,
.category-showcase--folders .folder--diagonal .folder-number {
  color: #f1e4cf;
}

.category-showcase--folders .project-orb__label {
  top: auto;
  bottom: 10%;
  left: 12%;
  z-index: 2;
  width: 66%;
  color: var(--folder-ink);
  font-size: clamp(13px, 1.35vw, 18px);
  line-height: 1.1;
  opacity: 1;
  text-align: left;
  text-shadow: none;
  transform: none;
  pointer-events: none;
}

.category-showcase--folders .folder-number {
  position: absolute;
  right: 11%;
  bottom: 10%;
  color: var(--folder-ink);
  font-size: clamp(18px, 2.3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  opacity: 0.85;
  pointer-events: none;
}

.category-showcase--folders .folder--layered .folder-eyebrow,
.category-showcase--folders .folder--layered .project-orb__label,
.category-showcase--folders .folder--layered .folder-number {
  text-shadow: 0 1px rgba(255, 255, 255, 0.3);
}

.category-showcase--folders.is-expanded .project-orbit {
  overflow: visible;
}

.category-showcase--folders.is-expanded .project-orbit__track {
  min-height: 0;
  padding-top: 36px;
}

.category-showcase--folders.is-expanded .project-orb {
  width: min(100%, 230px);
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  transform: none;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  color: rgba(78, 4, 51, 0.74);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.tech-list,
.action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.tech-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(11, 49, 66, 0.74);
  font-size: 11px;
  font-weight: 600;
}

.action-list a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: none;
}

.project-modal {
  width: min(1080px, calc(100vw - 28px));
  max-height: min(92dvh, 920px);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  border: 1px solid rgba(11, 49, 66, 0.1);
  border-radius: 18px;
  background: var(--beige);
  color: var(--dark);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
  scrollbar-color: rgba(11, 49, 66, 0.35) transparent;
  scrollbar-width: thin;
}

.project-modal::backdrop {
  background: rgba(11, 49, 66, 0.58);
  backdrop-filter: blur(6px);
}

.modal-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px clamp(14px, 3vw, 24px);
  border-bottom: 1px solid rgba(11, 49, 66, 0.1);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
}

.modal-project-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-project-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(11, 49, 66, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.modal-project-control:hover,
.modal-project-control:focus-visible {
  border-color: var(--berry);
  background: var(--berry);
  color: #fff;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(11, 49, 66, 0.16);
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  font-size: 28px;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--dark);
  color: #fff;
}

.modal-body {
  padding: clamp(24px, 5vw, 58px);
}

.modal-body h2 {
  margin: 0 0 12px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(58px, 11vw, 122px);
  font-weight: 400;
  line-height: 0.9;
}

.modal-body p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.modal-body .project-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin: 0 0 12px;
  color: var(--berry);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-body .action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.modal-body .action-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--berry);
  border-radius: 999px;
  background: var(--berry);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.modal-body .action-list a:hover,
.modal-body .action-list a:focus-visible {
  background: transparent;
  color: var(--berry);
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin-top: 30px;
}

.modal-gallery figure {
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(11, 49, 66, 0.08);
}

.modal-gallery--pages {
  grid-template-columns: 1fr;
}

.modal-gallery--pages figure {
  aspect-ratio: auto;
  border: 1px solid rgba(113, 38, 67, 0.12);
  background: #fff;
}

.modal-gallery--pages img {
  display: block;
  height: auto;
  object-fit: contain;
}

.modal-gallery--pages figcaption {
  padding: 12px 16px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 700;
}

.modal-gallery--pages figcaption a {
  color: inherit;
  text-decoration: none;
}

.modal-gallery--pages figcaption a:hover,
.modal-gallery--pages figcaption a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-gallery video {
  background: #111;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes lava-flow {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes hero-lava-flow {
  from {
    background-position: 0% 20%, 100% 18%, 18% 100%, 100% 82%, 0% 50%;
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    background-position: 100% 72%, 8% 90%, 82% 12%, 20% 18%, 100% 50%;
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@media (max-width: 900px) {
  .project-orbit__track {
    justify-content: center;
  }

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

  .about-copy .statement {
    font-size: clamp(22px, 6vw, 32px);
  }

  .role-list {
    flex-wrap: wrap;
  }

  .about-copy .role-list p {
    flex-basis: 100%;
  }

}

@media (max-width: 560px) {
  .section-heading {
    display: block;
  }

  .selected-intro {
    min-height: 430px;
    margin-inline: -2px;
  }

  .selected-intro__mask {
    width: 100vw;
    height: 270px;
    margin-top: 0;
    margin-left: calc(50% - 50vw);
    background-size: 26% auto, 26% auto;
  }

  .selected-intro__copy h2 {
    max-width: 330px;
    font-size: clamp(36px, 11vw, 54px);
  }

  .selected-intro__lede {
    max-width: 330px;
  }

  .category-showcase {
    padding-block: 18px 24px;
  }

  .category-showcase__header {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .category-showcase__header h3 {
    font-size: 18px;
  }

  .carousel-tools {
    gap: 9px;
    margin-left: auto;
  }

  .carousel-see-all {
    font-size: 12px;
  }

  .carousel-controls {
    gap: 2px;
    min-height: 34px;
    padding-inline: 3px;
  }

  .carousel-pagination {
    min-width: 24px;
    gap: 3px;
    padding-inline: 2px;
  }

  .carousel-dot {
    width: 5px;
    height: 5px;
  }

  .carousel-dot.is-current {
    width: 11px;
  }

  .carousel-control {
    width: 25px;
    height: 28px;
    font-size: 22px;
  }

  .project-orbit {
    margin-top: 20px;
  }

  .project-orbit__track {
    padding-inline: 18px;
  }

  .project-orb {
    --orb-size: clamp(104px, 34vw, 152px);
    margin-inline: -14px;
  }

  .category-showcase.is-expanded .project-orbit__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 8px;
  }

  .modal-toolbar {
    min-height: 60px;
    padding-inline: 12px;
  }

  .modal-project-nav {
    gap: 5px;
  }

  .modal-project-control {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .modal-close {
    width: 40px;
    height: 40px;
  }

  .modal-body {
    padding: 24px 18px 30px;
  }

  .about-copy .statement {
    line-height: 1.08;
  }

}

@media (prefers-reduced-motion: reduce) {
  .selected-intro__mask {
    animation: none;
  }

  .project-orb {
    transition: none;
  }
}

@media (max-width: 560px) {
  .category-showcase--folders .project-orbit {
    padding-inline: 6px;
  }

  .category-showcase--folders .project-orbit__track {
    min-height: 190px;
    padding: 18px 0 22px;
  }

  .category-showcase--folders .project-orb {
    --folder-width: min(31vw, 142px);
    height: var(--folder-width);
    margin-inline: -8px;
  }

  .category-showcase--folders .project-orb__label {
    font-size: clamp(8px, 2.5vw, 11px);
  }

  .category-showcase--folders .folder-eyebrow {
    font-size: 6px;
  }

  .category-showcase--folders .folder-number {
    font-size: 13px;
  }

  .category-showcase--folders.is-expanded .project-orb {
    width: min(100%, 180px);
    height: auto;
  }
}

/* ==========================================================================
   Web: the section behaves like a desktop window holding project folders.
   ========================================================================== */
.web-desktop,
.project-modal--web {
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --win-line: rgba(78, 4, 51, 0.1);
  --win-ink: #24121c;
  --win-muted: rgba(36, 18, 28, 0.56);
  --win-chrome: linear-gradient(180deg, #fdfbfc, #f5f0f3);
  --win-soft: #fcfafb;
  --win-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.window-lights {
  display: inline-flex;
  flex: none;
  gap: 7px;
}

.window-lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b92b38;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.window-lights i:nth-child(2) {
  background: #e4a666;
}

.window-lights i:nth-child(3) {
  background: #9c74eb;
}

.web-desktop {
  border-bottom: 0;
}

.web-desktop .category-showcase__header {
  justify-content: flex-start;
  align-items: baseline;
  gap: 14px;
}

.showcase-tagline {
  margin: 0;
  color: rgba(36, 18, 28, 0.56);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
}

.showcase-tagline::before {
  content: "// ";
  color: var(--category-accent);
}

.web-window {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--win-line);
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 34px 70px -34px rgba(78, 4, 51, 0.32),
    0 14px 26px -20px rgba(24, 21, 44, 0.2);
}

.web-window__bar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 11px 14px 11px 18px;
  border-bottom: 1px solid var(--win-line);
  background: var(--win-chrome);
}

.web-window__history {
  display: inline-flex;
  gap: 2px;
}

.web-desktop .carousel-control {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--win-muted);
  font-size: 22px;
}

.web-desktop .carousel-control:hover,
.web-desktop .carousel-control:focus-visible {
  background: rgba(var(--category-accent-rgb), 0.1);
  color: var(--category-accent);
  transform: none;
}

.web-window__path {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 36px;
  margin: 0;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid var(--win-line);
  border-radius: 10px;
  background: #fff;
  color: var(--win-muted);
  font-family: var(--mono);
  font-size: 12.5px;
  white-space: nowrap;
}

.web-window__path svg,
.window-address svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: var(--category-accent);
}

.web-window__path b,
.window-address b {
  font-weight: 400;
  opacity: 0.4;
}

.web-window__path-current {
  overflow: hidden;
  color: var(--win-ink);
  font-weight: 600;
  text-overflow: ellipsis;
}

.web-window__caret {
  flex: none;
  width: 7px;
  height: 15px;
  margin-left: -3px;
  border-radius: 1px;
  background: var(--category-accent);
  animation: caret-blink 1.1s steps(1) infinite;
}

.web-view-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--win-line);
  border-radius: 11px;
  background: #f1eaee;
  font: inherit;
}

.web-view-toggle__opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  color: var(--win-muted);
  font-size: 12px;
  font-weight: 600;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.web-view-toggle__opt svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.web-view-toggle[aria-expanded="false"] [data-view="carousel"],
.web-view-toggle[aria-expanded="true"] [data-view="grid"] {
  background: #fff;
  color: var(--win-ink);
  box-shadow: 0 1px 3px rgba(24, 21, 44, 0.14);
}

.web-view-toggle:hover .web-view-toggle__opt {
  color: var(--win-ink);
}

.web-view-toggle:focus-visible {
  outline: 2px solid var(--category-accent);
  outline-offset: 2px;
}

.web-window__body {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
}

.web-window__sidebar {
  padding: 18px 12px;
  border-right: 1px solid var(--win-line);
  background: var(--win-soft);
}

.web-window__label,
.web-modal__label {
  margin: 0 8px 10px;
  color: var(--win-muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.web-files {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-file {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--win-ink);
  font: 500 13px/1.2 Montserrat, Arial, sans-serif;
  text-align: left;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, translate 220ms var(--win-ease);
}

.web-file > svg {
  width: 18px;
  height: 18px;
  fill: var(--file-accent);
  transition: fill 220ms ease;
}

.web-file__name {
  min-width: 0;
  line-height: 1.25;
}

.web-file__meta {
  color: var(--win-muted);
  font-family: var(--mono);
  font-size: 11px;
}

.web-file:hover {
  background: rgba(var(--category-accent-rgb), 0.07);
  translate: 2px 0;
}

.web-file.is-active {
  background: var(--file-accent);
  color: #fff;
  box-shadow: 0 10px 20px -12px var(--file-accent);
  translate: 0 0;
}

.web-file.is-active > svg {
  fill: #fff;
}

.web-file.is-active .web-file__meta {
  color: rgba(255, 255, 255, 0.78);
}

.web-file:focus-visible {
  outline: 2px solid var(--category-accent);
  outline-offset: 2px;
}

.web-window__stage {
  display: grid;
  align-items: center;
  min-width: 0;
  background-color: #fff;
  background-image: radial-gradient(circle, rgba(78, 4, 51, 0.13) 1px, transparent 1.4px);
  background-size: 22px 22px;
}

.web-desktop .project-orbit {
  margin-top: 0;
  background: transparent;
}

.web-desktop .project-orbit__track {
  min-height: 420px;
}

/* Lifts the papers out of the folder when hovered: a quick peek inside. */
.web-desktop .folder-art > .folder-paper,
.web-desktop .folder-art > .folder-paper-line,
.web-desktop .folder-art > g {
  transition: translate 420ms var(--win-ease);
}

@media (hover: hover) {
  .web-desktop .project-orb--folder:hover .folder-art > .folder-paper,
  .web-desktop .project-orb--folder:hover .folder-art > .folder-paper-line,
  .web-desktop .project-orb--folder:hover .folder-art > g {
    translate: 0 -14px;
  }
}

.web-desktop .project-orb.is-active .folder-art {
  animation: folder-float 4.6s ease-in-out infinite;
}

.web-desktop.is-expanded .project-orb .folder-art {
  animation: none;
}

.web-desktop.is-expanded .project-orbit__track {
  padding: 34px 24px 30px;
}

.web-desktop.is-expanded .project-orb__label {
  transform: none;
}

.web-window__status {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 8px 14px 8px 18px;
  border-top: 1px solid var(--win-line);
  background: var(--win-soft);
  color: var(--win-muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

.web-desktop .carousel-status {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  color: var(--win-ink);
  font-weight: 600;
}

.web-desktop .carousel-pagination {
  min-width: 0;
  padding: 0;
}

.web-window__hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.web-window__hint kbd {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 1px solid var(--win-line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fff;
  color: var(--win-ink);
  font: 600 10.5px/1 var(--mono);
}

.web-window__hint kbd:last-of-type {
  margin-left: 8px;
}

.web-window__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(115deg, #3b0227 0%, #5b0638 24%, #8b164f 48%, #b12b63 70%, #4e0433 100%);
  background-size: 260% 260%;
  color: #fffffc;
  font: 600 12.5px/1 Montserrat, Arial, sans-serif;
  white-space: nowrap;
  animation: lava-flow 4.2s ease-in-out infinite alternate;
  transition: transform 220ms var(--win-ease), box-shadow 220ms ease;
}

.web-window__open:hover,
.web-window__open:focus-visible {
  box-shadow: 0 10px 20px -10px rgba(78, 4, 51, 0.7);
  transform: translateY(-2px);
}

.web-window__open:focus-visible {
  outline: 2px solid var(--category-accent);
  outline-offset: 2px;
}

/* --- Project window (modal) ------------------------------------------- */
.modal-toolbar .window-lights,
.modal-toolbar .window-address {
  display: none;
}

.project-modal--web {
  --category-accent: var(--win-accent);
  width: min(1180px, calc(100vw - 28px));
  border: 1px solid rgba(78, 4, 51, 0.14);
  border-radius: 22px;
  background: #fff;
  color: var(--win-ink);
}

.project-modal--web::backdrop {
  background: rgba(27, 10, 22, 0.52);
  backdrop-filter: blur(10px) saturate(1.1);
}

.project-modal--web .modal-toolbar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 58px;
  padding: 10px 12px 10px 18px;
  border-bottom: 1px solid var(--win-line);
  background: rgba(250, 246, 248, 0.9);
}

.project-modal--web .modal-toolbar .window-lights {
  display: inline-flex;
}

.project-modal--web .modal-project-nav {
  gap: 2px;
}

.project-modal--web .modal-project-control {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--win-muted);
  font-size: 24px;
  font-weight: 400;
}

.project-modal--web .modal-project-control span {
  display: none;
}

.project-modal--web .modal-project-control:hover,
.project-modal--web .modal-project-control:focus-visible {
  background: color-mix(in srgb, var(--win-accent) 12%, transparent);
  color: var(--win-accent);
}

.project-modal--web .modal-toolbar .window-address {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 7px;
  width: min(100%, 560px);
  height: 36px;
  margin: 0;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid var(--win-line);
  border-radius: 10px;
  background: #fff;
  color: var(--win-muted);
  font-family: var(--mono);
  font-size: 12.5px;
  white-space: nowrap;
}

.window-address strong {
  overflow: hidden;
  color: var(--win-ink);
  font-weight: 600;
  text-overflow: ellipsis;
}

.project-modal--web .modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--win-muted);
  font-size: 24px;
}

.project-modal--web .modal-close:hover,
.project-modal--web .modal-close:focus-visible {
  background: #b92b38;
  color: #fff;
}

.project-modal--web .modal-body {
  padding: clamp(26px, 4.4vw, 54px);
}

.web-modal {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
  gap: clamp(26px, 4.5vw, 64px);
  align-items: start;
}

.web-modal__intro > *,
.web-modal__info {
  animation: window-rise 640ms var(--win-ease) both;
}

.web-modal__intro > :nth-child(2) {
  animation-delay: 60ms;
}

.web-modal__intro > :nth-child(3) {
  animation-delay: 120ms;
}

.web-modal__intro > :nth-child(4),
.web-modal__info {
  animation-delay: 180ms;
}

.web-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 6px 12px 6px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--win-accent) 9%, #fff);
  color: var(--win-accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.web-modal__eyebrow svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.web-modal__eyebrow span + span {
  padding-left: 10px;
  border-left: 1px solid color-mix(in srgb, var(--win-accent) 30%, transparent);
  color: var(--win-muted);
  letter-spacing: 0.04em;
}

.project-modal--web .modal-body h2 {
  margin: 0 0 20px;
  padding-bottom: 0.06em;
  background: linear-gradient(100deg, var(--win-ink) 35%, var(--win-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(40px, 6.2vw, 78px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.project-modal--web .modal-body .web-modal__lede {
  max-width: 62ch;
  margin: 0;
  color: rgba(36, 18, 28, 0.72);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.75;
}

.web-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.web-modal__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--win-line);
  border-radius: 12px;
  background: #fff;
  color: var(--win-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 220ms var(--win-ease), box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.web-modal__action--primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--win-deep), var(--win-accent));
  color: #fff;
}

.web-modal__action:hover,
.web-modal__action:focus-visible {
  box-shadow: 0 12px 22px -14px var(--win-accent);
  transform: translateY(-2px);
}

.web-modal__action:not(.web-modal__action--primary):hover {
  color: var(--win-accent);
}

.web-modal__info {
  padding: 22px 16px 18px;
  border: 1px solid var(--win-line);
  border-radius: 18px;
  background: var(--win-soft);
}

.web-modal__info dl {
  display: grid;
  margin: 0 0 22px;
  padding: 0 8px;
}

.web-modal__info dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(78, 4, 51, 0.14);
}

.web-modal__info dl div:last-child {
  border-bottom: 0;
}

.web-modal__info dt {
  color: var(--win-muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  text-transform: uppercase;
}

.web-modal__info dd {
  margin: 0;
  color: var(--win-ink);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.web-modal__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0 8px;
  list-style: none;
}

.web-modal__stack li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--win-line);
  border-radius: 8px;
  background: #fff;
  color: var(--win-ink);
  font-family: var(--mono);
  font-size: 11.5px;
}

.web-modal__stack li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--win-accent);
}

.web-modal__screens {
  grid-column: 1 / -1;
  padding-top: clamp(8px, 2vw, 18px);
  border-top: 1px solid var(--win-line);
}

.web-modal__screens > .web-modal__label {
  margin: 18px 0 16px;
}

.web-modal__screens > .web-modal__label span {
  margin-left: 6px;
  color: var(--win-accent);
}

.web-screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.web-screens:not(.web-screens--pages) .web-screen:first-child {
  grid-column: 1 / -1;
}

.web-screen {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--win-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 40px -30px rgba(36, 18, 28, 0.45);
  animation: window-rise 700ms var(--win-ease) both;
  animation-delay: calc(var(--i) * 90ms + 220ms);
  transition: transform 320ms var(--win-ease), box-shadow 320ms ease;
}

.web-screen:hover {
  box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--win-accent) 70%, transparent);
  transform: translateY(-4px);
}

.web-screen__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--win-line);
  background: var(--win-chrome);
}

.web-screen__bar .window-lights {
  gap: 5px;
}

.web-screen__bar .window-lights i {
  width: 9px;
  height: 9px;
}

.web-screen__url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 3px 10px;
  border-radius: 6px;
  background: #fff;
  color: var(--win-muted);
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Screens scroll inside their frame, like a real browser tab. */
.web-screen__media {
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: color-mix(in srgb, var(--win-accent) 5%, #fff);
  scrollbar-color: color-mix(in srgb, var(--win-accent) 45%, transparent) transparent;
  scrollbar-width: thin;
}

.web-screens:not(.web-screens--pages) .web-screen:first-child .web-screen__media {
  max-height: 620px;
}

.web-screens--pages .web-screen__media {
  max-height: 560px;
}

.web-screen__media img,
.web-screen__media video {
  width: 100%;
  height: auto;
}

.web-screen figcaption {
  padding: 11px 14px;
  border-top: 1px solid var(--win-line);
  color: var(--win-accent);
  font-size: 12.5px;
  font-weight: 600;
}

.web-screen figcaption a {
  color: inherit;
  text-decoration: none;
}

.web-screen figcaption a:hover,
.web-screen figcaption a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

@keyframes folder-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

@keyframes window-rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 900px) {
  .web-window__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .web-window__sidebar {
    min-width: 0;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--win-line);
  }

  .web-window__sidebar .web-window__label {
    display: none;
  }

  .web-files {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .web-file {
    display: inline-flex;
    width: auto;
    white-space: nowrap;
  }

  .web-desktop .project-orbit__track {
    min-height: 340px;
  }

  .web-file:hover {
    translate: 0 0;
  }

  .web-window__hint {
    display: none;
  }

  .web-window__open {
    margin-left: auto;
  }

  .web-modal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .web-desktop .category-showcase__header {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .web-window {
    border-radius: 18px;
  }

  .web-window__bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 10px;
  }

  .web-window__bar .window-lights {
    display: none;
  }

  .web-window__path {
    padding: 0 10px;
    font-size: 11px;
  }

  .web-window__path > span:not(.web-window__path-current):not(.web-window__caret),
  .web-window__path b {
    display: none;
  }

  .web-view-toggle__opt {
    padding: 0 8px;
  }

  .web-view-toggle__opt > span {
    display: none;
  }

  .web-desktop .project-orbit__track {
    min-height: 220px;
  }

  .web-window__status {
    gap: 10px;
    padding: 8px 10px 8px 14px;
  }

  .web-window__open {
    padding: 0 12px;
  }

  .web-window__open [data-web-active-title] {
    display: none;
  }

  .project-modal--web {
    width: calc(100vw - 16px);
    max-height: 94dvh;
    border-radius: 18px;
  }

  .project-modal--web .modal-toolbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
    padding: 8px;
  }

  .project-modal--web .modal-toolbar .window-lights {
    display: none;
  }

  .project-modal--web .modal-toolbar .window-address {
    padding: 0 10px;
    font-size: 11px;
  }

  .project-modal--web .modal-body {
    padding: 24px 16px 28px;
  }

  .web-screens {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-window__caret,
  .web-window__open,
  .web-desktop .project-orb.is-active .folder-art,
  .web-modal__intro > *,
  .web-modal__info,
  .web-screen {
    animation: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Branding and editorial headers: title, tagline, then tools pushed right. */
.brand-reel .category-showcase__header,
.mag .category-showcase__header {
  justify-content: flex-start;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.brand-reel .carousel-see-all,
.mag .carousel-controls {
  margin-left: auto;
}

/* ==========================================================================
   Branding: an experimental reel. The covers have an alpha channel, so they
   blend into the stage without relying on Safari's animated blend layers.
   ========================================================================== */
.brand-reel {
  --reel-ease: cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 0;
  padding-bottom: 6px;
}

.brand-reel__stage {
  --mx: 0;
  --my: 0;
  --drag: 0px;
  --spread: clamp(170px, 24vw, 380px);
  position: relative;
  isolation: isolate;
  width: 100vw;
  height: clamp(520px, 50vw, 720px);
  margin: 18px 0 0 calc(50% - 50vw);
  overflow: hidden;
  background-color: var(--tint);
  touch-action: pan-y;
  user-select: none;
  transition: background-color 900ms ease;
}

/* Soft light in the middle and a faint cutting-mat grid. */
.brand-reel__stage::before,
.brand-reel__stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.brand-reel__stage::before {
  background: radial-gradient(ellipse 55% 60% at 50% 46%, rgba(255, 255, 255, 0.62), transparent 70%);
}

.brand-reel__stage::after {
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px);
  background-position: 50% 50%;
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 30%, #000 85%);
}

.brand-reel__marquee {
  position: absolute;
  top: 47%;
  left: 0;
  right: 0;
  z-index: 0;
  overflow: hidden;
  translate: 0 -50%;
  pointer-events: none;
}

.brand-reel__marquee p {
  display: flex;
  width: max-content;
  margin: 0;
  animation: reel-marquee 30s linear infinite;
}

.brand-reel__marquee span {
  padding-right: 0.3em;
  color: var(--ink);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(120px, 19vw, 300px);
  font-style: italic;
  line-height: 1.05;
  white-space: nowrap;
  opacity: 0.09;
}

.brand-reel__blob {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 0;
  width: clamp(240px, 29vw, 440px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: color-mix(in srgb, var(--ink) 15%, var(--tint));
  transition: background-color 900ms ease;
  animation: reel-blob 12s ease-in-out infinite alternate;
}

/* Keep the fan on a flat plane; each cover supplies its own transparency. */
.brand-reel .project-orbit {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: visible;
  perspective: none;
}

.brand-reel .project-orbit__track {
  position: relative;
  display: block;
  height: 100%;
  padding: 0;
  transform-style: flat;
}

.brand-card {
  --lift: 0px;
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: calc(10 - var(--abs, 0));
  height: 74%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  /* Alpha keeps the backdrop clear even when Safari composites the fading
     and filtered side cards separately during navigation. */
  mix-blend-mode: normal;
  transform:
    translate(-50%, -50%)
    translateX(calc(var(--o, 0) * var(--spread) + var(--drag)))
    translateY(calc(var(--abs, 0) * var(--abs, 0) * 16px - var(--lift)))
    rotate(calc(var(--o, 0) * 6deg))
    scale(calc(1 - var(--abs, 0) * 0.24));
  transition:
    transform 1000ms var(--reel-ease),
    opacity 600ms ease,
    filter 600ms ease;
}

.brand-card--wide {
  height: 54%;
  aspect-ratio: 4 / 3;
}

.brand-card.is-near {
  opacity: 0.92;
}

.brand-card.is-far {
  opacity: 0.5;
  filter: blur(1.5px) saturate(0.75);
}

.brand-card.is-out {
  opacity: 0;
  pointer-events: none;
}

.brand-card.is-near:hover,
.brand-card.is-active:hover {
  --lift: 12px;
}

.brand-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  border-radius: 20px;
}

.brand-card__media {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  translate: calc(var(--mx) * var(--parallax, 0px)) calc(var(--my) * var(--parallax, 0px));
  transition: translate 500ms ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

.brand-card.is-active .brand-card__media img {
  --parallax: -18px;
  animation: reel-float 6.5s ease-in-out infinite;
}

.brand-card__label {
  display: none;
}

.brand-reel__stage.is-dragging .brand-card {
  transition: opacity 600ms ease, filter 600ms ease;
}

.brand-reel__info {
  position: absolute;
  bottom: clamp(26px, 4vw, 52px);
  left: max(20px, calc(50% - 600px));
  z-index: 20;
  max-width: min(44%, 560px);
  color: var(--ink);
  pointer-events: none;
  transition: color 900ms ease;
}

.brand-reel__count,
.brand-reel__kind {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-reel__count span {
  font-size: 15px;
}

.brand-reel__title {
  margin: 6px 0 10px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(46px, 6.6vw, 108px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  transform-origin: 0 100%;
}

.brand-reel__open {
  position: absolute;
  top: clamp(28px, 8%, 76px);
  left: calc(50% + clamp(96px, 12vw, 200px));
  z-index: 20;
  display: grid;
  place-items: center;
  width: clamp(96px, 9vw, 128px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: color 900ms ease, scale 400ms var(--reel-ease);
}

.brand-reel__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
  font: 600 10px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: reel-spin 16s linear infinite;
}

.brand-reel__open > span {
  display: grid;
  place-items: center;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--tint);
  font-size: 22px;
  transition: transform 500ms var(--reel-ease), background-color 900ms ease;
}

.brand-reel__open:hover,
.brand-reel__open:focus-visible {
  scale: 1.06;
}

.brand-reel__open:hover > span,
.brand-reel__open:focus-visible > span {
  transform: rotate(45deg) scale(1.08);
}

.brand-reel__open:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.brand-reel__nav {
  position: absolute;
  right: max(20px, calc(50% - 600px));
  bottom: clamp(26px, 4vw, 52px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.brand-reel__nav .carousel-control {
  width: 40px;
  height: 40px;
  color: var(--ink);
  font-size: 26px;
}

.brand-reel__nav .carousel-control:hover,
.brand-reel__nav .carousel-control:focus-visible {
  background: var(--ink);
  color: var(--tint);
}

.brand-reel__progress {
  position: relative;
  width: clamp(70px, 9vw, 140px);
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 20%, transparent);
}

.brand-reel__progress span {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 700ms var(--reel-ease);
}

.brand-reel .carousel-status,
.mag .carousel-status {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  font: 600 12px "JetBrains Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.brand-reel__cursor {
  position: absolute;
  top: var(--py, -100px);
  left: var(--px, -100px);
  z-index: 30;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--tint);
  font: 600 10.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  translate: 18px 16px;
  scale: 0.6;
  transition: opacity 200ms ease, scale 260ms var(--reel-ease);
}

@media (hover: hover) and (pointer: fine) {
  .brand-reel__stage:hover .brand-reel__cursor {
    opacity: 1;
    scale: 1;
  }

  .brand-reel__stage:has(.brand-reel__nav:hover, .brand-reel__open:hover) .brand-reel__cursor {
    opacity: 0;
  }
}

/* "Ver todos": every identity on its own colour card. */
.brand-reel.is-expanded .brand-reel__stage {
  width: auto;
  height: auto;
  margin: 22px 0 0;
  overflow: visible;
  background-color: transparent;
}

.brand-reel.is-expanded .brand-reel__stage::before,
.brand-reel.is-expanded .brand-reel__stage::after,
.brand-reel.is-expanded :is(.brand-reel__marquee, .brand-reel__blob, .brand-reel__info, .brand-reel__open, .brand-reel__nav, .brand-reel__cursor) {
  display: none;
}

.brand-reel.is-expanded .project-orbit {
  position: static;
}

.brand-reel.is-expanded .project-orbit__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  height: auto;
}

.brand-reel.is-expanded .brand-card {
  position: relative;
  top: auto;
  left: auto;
  z-index: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  padding: 12px 12px 66px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--tint);
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: transform 450ms var(--reel-ease), box-shadow 450ms ease;
}

.brand-reel.is-expanded .brand-card:hover,
.brand-reel.is-expanded .brand-card:focus-visible {
  box-shadow: 0 26px 40px -26px var(--ink);
  transform: translateY(-6px) rotate(-1.2deg);
}

.brand-reel.is-expanded .brand-card__media img {
  mix-blend-mode: normal;
  animation: none;
  translate: none;
}

.brand-reel.is-expanded .brand-card__label {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: grid;
  gap: 3px;
  text-align: left;
}

.brand-card__label b {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.brand-card__label small {
  font: 600 10px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

@keyframes reel-marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes reel-blob {
  0% {
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    rotate: 0deg;
  }

  50% {
    border-radius: 62% 38% 41% 59% / 57% 35% 65% 43%;
  }

  100% {
    border-radius: 38% 62% 55% 45% / 46% 62% 38% 54%;
    rotate: 40deg;
  }
}

@keyframes reel-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes reel-spin {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 700px) {
  .brand-reel__stage {
    --spread: 36vw;
    height: 500px;
  }

  .brand-card {
    top: 40%;
    height: 56%;
  }

  .brand-card--wide {
    height: 32%;
  }

  .brand-reel__marquee {
    top: 40%;
  }

  .brand-reel__blob {
    top: 40%;
    width: 58vw;
  }

  .brand-reel__info {
    bottom: 76px;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .brand-reel__title {
    font-size: clamp(40px, 12vw, 56px);
  }

  .brand-reel__open {
    top: 18px;
    right: 18px;
    left: auto;
    width: 88px;
  }

  .brand-reel__nav {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .brand-reel__progress {
    flex: 1;
  }

  .brand-reel.is-expanded .project-orbit__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .brand-reel.is-expanded .brand-card {
    padding-bottom: 58px;
  }

  .brand-card__label b {
    font-size: 19px;
  }
}

/* ==========================================================================
   Editorial: the open issue lies on a pile of back issues, with a colophon
   and a table of contents beside it.
   ========================================================================== */
.mag {
  --mag-ease: cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
  padding: 34px 0 46px;
  border-bottom: 0;
}

.mag::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 30% 55%, rgba(255, 255, 255, 0.6), transparent 70%),
    color-mix(in srgb, var(--tint) 34%, #fbf7ef);
  content: "";
}

.mag__masthead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 0;
  padding: 9px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font: 600 11px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 900ms ease, border-color 900ms ease;
}

.mag__body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 70px);
  padding: clamp(36px, 5vw, 70px) 0 clamp(30px, 4vw, 52px);
}

.mag__pile {
  position: relative;
  perspective: 1600px;
}

.mag__ghost {
  position: absolute;
  top: -22%;
  left: -3%;
  z-index: 0;
  color: var(--ink);
  font: italic 400 clamp(150px, 21vw, 320px) / 0.8 "DM Serif Display", Georgia, serif;
  opacity: 0.12;
  pointer-events: none;
}

.mag .project-orbit {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: visible;
  perspective: none;
  transform: rotateX(9deg) rotate(-1.4deg);
  transform-style: preserve-3d;
  transition: transform 900ms var(--mag-ease);
}

.mag__pile:hover .project-orbit {
  transform: none;
}

.mag .project-orbit__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
}

.mag-spread {
  position: relative;
  z-index: calc(10 - var(--depth, 0));
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: transparent;
  transform:
    translate(calc(var(--depth, 0) * -2.4%), calc(var(--depth, 0) * 5%))
    rotate(calc(var(--depth, 0) * -3.5deg))
    scale(calc(1 - var(--depth, 0) * 0.04));
  transform-origin: 50% 100%;
  transition: transform 900ms var(--mag-ease), filter 600ms ease;
}

.mag-spread:not(.is-active) {
  filter: brightness(0.9) saturate(0.7);
  pointer-events: none;
}

.mag-spread.is-active:hover {
  transform: translateY(-6px);
}

.mag-spread:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 8px;
}

.mag-spread__paper {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
  box-shadow:
    0 1px 0 #ebe5da,
    0 2px 0 #fff,
    0 3px 0 #e0d9cc,
    0 4px 0 #fff,
    0 5px 0 #d8d0c2,
    0 34px 50px -22px rgba(40, 25, 10, 0.5);
}

.mag-spread__paper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Fold in the gutter and a little light on each page edge. */
.mag-spread__paper::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, 0.08), transparent 6%,
    transparent 43%, rgba(0, 0, 0, 0.18) 49.4%, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.12) 50.7%, transparent 57%,
    transparent 94%, rgba(0, 0, 0, 0.08));
  content: "";
  pointer-events: none;
}

.mag__issue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--ink);
  font: 600 12px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mag__issue::after {
  flex: 1;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.4;
}

.mag__title {
  margin: 14px 0 16px;
  color: #171215;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(48px, 5.8vw, 90px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.mag__deck {
  margin: 0 0 22px;
  color: #3a3034;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(19px, 1.7vw, 23px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.32;
}

.mag__credits {
  display: grid;
  gap: 2px;
  margin: 0 0 26px;
}

.mag__credits div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.mag__credits dt {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: 10px;
  color: rgba(23, 18, 21, 0.6);
  font: 600 10.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mag__credits dt::after {
  flex: 1;
  min-width: 18px;
  border-bottom: 1.5px dotted rgba(23, 18, 21, 0.3);
  content: "";
}

.mag__credits dd {
  max-width: 62%;
  margin: 0;
  color: #171215;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: right;
}

.mag__open {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 14px Montserrat, Arial, sans-serif;
  transition: background-color 900ms ease, box-shadow 300ms ease;
}

.mag__open span {
  transition: translate 300ms var(--mag-ease);
}

.mag__open:hover,
.mag__open:focus-visible {
  box-shadow: 0 16px 26px -16px var(--ink);
}

.mag__open:hover span,
.mag__open:focus-visible span {
  translate: 6px 0;
}

.mag .carousel-controls {
  color: var(--ink);
}

.mag .carousel-control:hover,
.mag .carousel-control:focus-visible {
  background: var(--ink);
}

.mag__toc {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(23, 18, 21, 0.14);
  list-style: none;
}

.mag-toc {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 16px 6px;
  border: 0;
  border-bottom: 1px solid rgba(23, 18, 21, 0.14);
  background: transparent;
  color: #171215;
  font: inherit;
  text-align: left;
  transition: padding 450ms var(--mag-ease), color 300ms ease;
}

.mag-toc__num,
.mag-toc__kind,
.mag-toc__year {
  font: 600 11px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mag-toc__num {
  color: var(--ink);
}

.mag-toc__name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1;
}

.mag-toc__leader {
  flex: 1;
  min-width: 20px;
  border-bottom: 1.5px dotted rgba(23, 18, 21, 0.28);
}

.mag-toc__kind {
  color: rgba(23, 18, 21, 0.6);
}

.mag-toc:hover,
.mag-toc:focus-visible,
.mag-toc.is-active {
  padding-left: 22px;
  color: var(--ink);
}

.mag-toc.is-active .mag-toc__name {
  font-style: italic;
}

.mag-toc:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

@media (max-width: 900px) {
  .mag__body {
    grid-template-columns: 1fr;
  }

  .mag__pile {
    padding-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .mag__masthead span:nth-child(2),
  .mag-toc__kind {
    display: none;
  }

  .mag-toc {
    gap: 10px;
  }
}

/* ==========================================================================
   Project window for branding and editorial: the shot on its brand colour,
   the story beside it like a printed page.
   ========================================================================== */
.project-modal--brand {
  width: min(1180px, calc(100vw - 28px));
  background: #fffdf9;
}

.project-modal--brand .modal-toolbar {
  border-bottom-color: color-mix(in srgb, var(--ink) 14%, transparent);
  background: color-mix(in srgb, var(--tint) 82%, transparent);
}

.project-modal--brand .modal-project-control:hover,
.project-modal--brand .modal-project-control:focus-visible,
.project-modal--brand .modal-close:hover,
.project-modal--brand .modal-close:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.project-modal--brand .modal-body {
  padding: 0;
}

.brand-modal__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: min(76dvh, 700px);
}

.brand-modal__product {
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(24px, 4vw, 56px);
  background: var(--tint);
}

.brand-modal__product img {
  width: 100%;
  max-height: min(66dvh, 620px);
  object-fit: contain;
  mix-blend-mode: multiply;
  animation: window-rise 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-modal__intro {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4.5vw, 62px);
}

.brand-modal__intro > * {
  animation: window-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-modal__intro > :nth-child(2) {
  animation-delay: 60ms;
}

.brand-modal__intro > :nth-child(n + 3) {
  animation-delay: 120ms;
}

.brand-modal__eyebrow {
  display: flex;
  justify-content: space-between;
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  color: var(--ink);
  font: 600 11px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-modal--brand .modal-body h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(46px, 5.8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.project-modal--brand .modal-body .brand-modal__kind {
  margin: 0 0 22px;
  color: var(--ink);
  font: 600 11.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-modal--brand .modal-body .brand-modal__lede {
  margin: 0 0 24px;
  color: rgba(23, 18, 21, 0.76);
  font-size: 15.5px;
  line-height: 1.75;
}

.brand-modal__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px;
  margin: 0 0 22px;
  padding: 14px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.brand-modal__facts dt {
  color: rgba(23, 18, 21, 0.55);
  font: 600 10px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-modal__facts dd {
  margin: 4px 0 0;
  color: #171215;
  font-size: 13.5px;
  font-weight: 600;
}

.brand-modal__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.brand-modal__tools li {
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tint) 70%, #fff);
  color: var(--ink);
  font: 600 11px "JetBrains Mono", ui-monospace, monospace;
}

.brand-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-modal__actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.brand-modal__actions a:hover,
.brand-modal__actions a:focus-visible {
  box-shadow: 0 14px 24px -14px var(--ink);
  transform: translateY(-2px);
}

.brand-modal__logo {
  width: 92px;
  margin-top: auto;
  padding-top: 26px;
  border-radius: 18px;
  background-clip: content-box;
}

.brand-modal__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  padding: clamp(18px, 3vw, 36px);
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.brand-modal__gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: color-mix(in srgb, var(--tint) 60%, #fff);
  aspect-ratio: 4 / 3;
  animation: window-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i) * 80ms + 200ms);
}

.brand-modal__gallery img,
.brand-modal__gallery video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Editorial pieces are full-bleed spreads, not cut-outs. */
.brand-modal--wide .brand-modal__hero {
  grid-template-columns: 1fr;
  min-height: 0;
}

.brand-modal--wide .brand-modal__product {
  padding: 0;
}

.brand-modal--wide .brand-modal__product img,
.brand-modal--wide .brand-modal__gallery img {
  max-height: none;
  object-fit: cover;
  mix-blend-mode: normal;
}

.brand-modal--wide .brand-modal__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.brand-modal--wide .brand-modal__eyebrow {
  grid-column: 1 / -1;
}

.brand-modal--wide .brand-modal__intro > :is(h2, .brand-modal__kind) {
  grid-column: 1;
}

.brand-modal--wide .brand-modal__intro > :not(h2, .brand-modal__kind, .brand-modal__eyebrow) {
  grid-column: 2;
}

.brand-modal--wide .brand-modal__intro > .brand-modal__lede {
  grid-row: 2 / span 3;
}

@media (max-width: 900px) {
  .brand-modal__hero,
  .brand-modal--wide .brand-modal__intro {
    grid-template-columns: 1fr;
  }

  .brand-modal--wide .brand-modal__intro > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .brand-modal__product {
    min-height: 52vh;
  }

  .brand-modal--wide .brand-modal__product {
    min-height: 0;
  }
}

/* ==========================================================================
   Web: a whole desktop. Wallpaper, menu bar, aliases, a sticky note, the
   project window (drag it by its title bar) and a dock.
   ========================================================================== */
.desk {
  position: relative;
  isolation: isolate;
  margin-top: 22px;
  padding: 66px 122px 118px clamp(16px, 4vw, 60px);
  overflow: hidden;
  border: 9px solid #1b0c14;
  border-radius: 30px;
  background: #3a0b22 url("images/wallpaper-la-micae-muted.webp") center / cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 60px 90px -46px rgba(59, 2, 39, 0.6),
    0 20px 30px -24px rgba(24, 21, 44, 0.4);
}

.desk::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(34, 5, 20, 0.42), rgba(34, 5, 20, 0.08) 38%, rgba(34, 5, 20, 0.5)),
    radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(20, 2, 12, 0.45));
  content: "";
}

.desk__menubar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 32px;
  padding: 0 16px;
  background: rgba(30, 8, 20, 0.4);
  color: #fff6f9;
  font: 500 12.5px Montserrat, Arial, sans-serif;
  backdrop-filter: blur(18px) saturate(1.4);
}

.desk__logo {
  display: grid;
  place-items: center;
}

.desk__logo svg {
  width: 16px;
  height: 16px;
  fill: #ffb6cf;
}

.desk__menubar b {
  font-weight: 700;
}

.desk__menu {
  display: flex;
  gap: 16px;
  opacity: 0.86;
}

.desk__status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.desk__status svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.desk__status svg[viewBox="0 0 28 14"] {
  width: 24px;
  height: 12px;
}

.desk__status time {
  text-transform: capitalize;
}

.desk__icons {
  position: absolute;
  top: 52px;
  right: 18px;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desk-icon {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 86px;
  padding: 7px 4px;
  border-radius: 10px;
  color: #fff;
  font: 600 11.5px Montserrat, Arial, sans-serif;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  transition: background-color 180ms ease;
}

/* The social icons are illustrated stickers, so they sit bare on the wallpaper. */
.desk-icon__art {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.5));
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desk-icon__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desk-icon:hover,
.desk-icon:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.desk-icon:hover .desk-icon__art {
  transform: translateY(-3px) rotate(-4deg);
}

.desk-icon:focus-visible {
  outline: 2px solid #ffb6cf;
}

.desk__note {
  position: absolute;
  top: 74px;
  left: 26px;
  z-index: 1;
  width: 158px;
  padding: 18px 15px 12px;
  background: linear-gradient(170deg, #fff1a6, #ffe27a);
  color: #4d3a08;
  box-shadow: 0 16px 24px -14px rgba(0, 0, 0, 0.7);
  rotate: -5deg;
}

.desk__note::before {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 62px;
  height: 20px;
  margin-left: -31px;
  background: rgba(255, 255, 255, 0.5);
  content: "";
  rotate: 4deg;
}

.desk__note p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
}

.desk__note .desk__note-sign {
  margin-top: 8px;
  font-size: 15px;
  text-align: right;
}

.desk .web-window {
  position: relative;
  z-index: 10;
  width: min(100%, 940px);
  margin: 0 auto;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 50px 80px -30px rgba(15, 2, 9, 0.75),
    0 0 0 1px rgba(78, 4, 51, 0.12);
  backdrop-filter: blur(24px) saturate(1.3);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms ease;
}

.desk .web-window.is-dragging {
  box-shadow:
    0 70px 100px -30px rgba(15, 2, 9, 0.85),
    0 0 0 1px rgba(78, 4, 51, 0.16);
  transition: none;
}

.desk .web-window.is-returning {
  transition: translate 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desk .web-window__bar {
  cursor: grab;
  touch-action: none;
}

.desk .web-window.is-dragging .web-window__bar {
  cursor: grabbing;
}

.desk .web-window__sidebar {
  background: rgba(252, 248, 250, 0.7);
}

.desk .web-window__status {
  background: rgba(252, 248, 250, 0.8);
}

.desk__dock {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 76px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background: rgba(255, 240, 247, 0.2);
  box-shadow: 0 22px 40px -20px rgba(0, 0, 0, 0.7);
  translate: -50% 0;
  backdrop-filter: blur(22px) saturate(1.5);
}

.dock-app {
  --mag: 1;
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  margin-inline: calc((var(--mag) - 1) * 26px);
  padding: 0;
  border: 0;
  background: transparent;
  scale: var(--mag);
  transform-origin: 50% 100%;
  transition: scale 160ms ease-out, margin 160ms ease-out, translate 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dock-app__icon {
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--app-accent), var(--app-deep));
  box-shadow: 0 8px 14px -6px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dock-app__icon img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
}

.dock-app__tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(30, 10, 20, 0.85);
  color: #fff;
  font: 600 11.5px Montserrat, Arial, sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  scale: calc(1 / var(--mag));
  transform-origin: 50% 100%;
  translate: -50% 4px;
  transition: opacity 150ms ease, translate 150ms ease;
}

.dock-app:hover .dock-app__tip,
.dock-app:focus-visible .dock-app__tip {
  opacity: 1;
  translate: -50% 0;
}

.dock-app::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #fff;
  content: "";
  opacity: 0;
  transition: opacity 300ms ease;
}

.dock-app.is-running::after {
  opacity: 0.9;
}

.dock-app:active .dock-app__icon {
  filter: brightness(0.82);
}

.dock-app:focus-visible {
  outline: 2px solid #ffb6cf;
  outline-offset: 4px;
  border-radius: 16px;
}

/* First view: the window opens and the dock slides up. */
.desk:not(.is-booted) .web-window {
  opacity: 0;
  transform: translateY(24px) scale(0.95);
}

.desk:not(.is-booted) .dock-app {
  translate: 0 140%;
}

.desk .dock-app:nth-child(2) {
  transition-delay: 0s, 0s, 70ms;
}

.desk .dock-app:nth-child(3) {
  transition-delay: 0s, 0s, 140ms;
}

.desk .dock-app:nth-child(4) {
  transition-delay: 0s, 0s, 210ms;
}

@media (max-width: 1100px) {
  .desk__note {
    display: none;
  }
}

@media (max-width: 900px) {
  .desk {
    padding: 50px 10px 104px;
    border-width: 6px;
    border-radius: 22px;
  }

  .desk__menu,
  .desk__icons {
    display: none;
  }

  .desk__dock {
    height: 64px;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 18px;
  }

  .dock-app {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 560px) {
  .desk__menubar b,
  .desk__status svg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-reel__marquee p,
  .brand-reel__blob,
  .brand-reel__ring,
  .brand-card.is-active .brand-card__media img,
  .brand-modal__product img,
  .brand-modal__intro > *,
  .brand-modal__gallery figure {
    animation: none;
  }

  .brand-card,
  .mag-spread,
  .mag .project-orbit {
    transition: none;
  }

  .desk:not(.is-booted) .web-window {
    opacity: 1;
    transform: none;
  }

  .desk:not(.is-booted) .dock-app {
    translate: none;
  }
}

/* ==========================================================================
   Section titles, each in the language of its section.
   ========================================================================== */
.category-showcase__header .section-title {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin: 0;
  letter-spacing: 0;
}

.brand-reel .category-showcase__header,
.mag .category-showcase__header,
.web-desktop .category-showcase__header {
  align-items: flex-end;
  gap: 8px 18px;
}

.brand-reel .category-showcase__header .showcase-tagline,
.mag .category-showcase__header .showcase-tagline,
.web-desktop .category-showcase__header .showcase-tagline {
  padding-bottom: 0.9em;
}

/* Branding: a big italic serif that takes the active brand's ink. */
.category-showcase__header .section-title--brand {
  color: var(--ink);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(58px, 9.5vw, 148px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.035em;
  transition: color 900ms ease;
}

.section-title--brand .section-title__word {
  padding-right: 0.06em;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--tint) 90%, transparent) 62% 88%, transparent 88%);
  transition: background 900ms ease;
}

.section-title--brand sup {
  margin-left: 0.25em;
  font: 600 clamp(11px, 1vw, 14px) "JetBrains Mono", ui-monospace, monospace;
  font-style: normal;
  letter-spacing: 0.12em;
  align-self: flex-start;
  margin-top: 0.5em;
}

/* Web: a shell prompt, typed out with a blinking block caret. */
.category-showcase__header .section-title--web {
  flex-wrap: wrap;
  gap: 0 0.5em;
  color: #24121c;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(40px, 6.2vw, 92px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-title--web .section-title__prompt {
  align-self: center;
  color: var(--category-accent);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 500;
  letter-spacing: 0;
}

.section-title--web .section-title__word {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.section-title--web .section-title__caret {
  align-self: center;
  width: 0.5em;
  height: 0.82em;
  margin-left: -0.4em;
  background: var(--category-accent);
  animation: caret-blink 1.1s steps(1) infinite;
}

.desk-is-typing .section-title--web .section-title__word {
  animation: title-type 700ms steps(3) both;
}

/* Editorial: a magazine nameplate. */
.category-showcase__header .section-title--mag {
  color: #171215;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(64px, 11vw, 170px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.045em;
}

.section-title--mag span {
  color: var(--ink);
  transition: color 900ms ease;
}

.mag .category-showcase__header .carousel-controls {
  margin-bottom: 0.4em;
}

.mag__masthead {
  margin-top: 16px;
}

@keyframes title-type {
  from {
    width: 0;
  }

  to {
    width: 3ch;
  }
}

@media (max-width: 560px) {
  .brand-reel .category-showcase__header .showcase-tagline,
  .mag .category-showcase__header .showcase-tagline,
  .web-desktop .category-showcase__header .showcase-tagline {
    flex-basis: 100%;
    padding-bottom: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .section-title--web .section-title__caret,
  .desk-is-typing .section-title--web .section-title__word {
    animation: none;
  }
}

/* ==========================================================================
   Header: logo, a glass pill of numbered links with a sliding highlight on the
   section in view, and a "Hablemos" button. It hides while scrolling down.
   ========================================================================== */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font: 600 13px Montserrat, Arial, sans-serif;
  text-decoration: none;
  translate: 0 -160%;
  transition: translate 200ms ease;
}

.skip-link:focus-visible {
  translate: 0 0;
}

.topbar {
  --bar-ink: #fffffc;
  --bar-glass: rgba(40, 6, 26, 0.28);
  --bar-line: rgba(255, 255, 252, 0.22);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px, 3.4vw, 48px);
  transition: translate 500ms cubic-bezier(0.22, 1, 0.36, 1), background-color 400ms ease, box-shadow 400ms ease, padding 400ms ease;
}

.topbar.is-past-hero {
  --bar-ink: #4e0433;
  --bar-glass: rgba(255, 255, 252, 0.72);
  --bar-line: rgba(78, 4, 51, 0.12);
}

.topbar.is-tucked {
  translate: 0 -110%;
}

.brand-link {
  justify-self: start;
}

.brand-link img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(59, 2, 39, 0.35));
  transition: filter 400ms ease, width 400ms ease;
}

.topbar.is-past-hero .brand-link img {
  filter: brightness(0) saturate(100%) invert(11%) sepia(94%) saturate(2902%) hue-rotate(309deg) brightness(76%) contrast(105%);
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid var(--bar-line);
  border-radius: 999px;
  background: var(--bar-glass);
  box-shadow: 0 14px 30px -20px rgba(40, 6, 26, 0.6);
  backdrop-filter: blur(16px) saturate(1.4);
  transition: background-color 400ms ease, border-color 400ms ease;
}

.nav-links a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--bar-ink);
  font: 600 13px Montserrat, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color 300ms ease;
}

.nav-links a span {
  font: 500 10px "JetBrains Mono", ui-monospace, monospace;
  opacity: 0.6;
}

.nav-links a.is-current {
  color: #fffffc;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--bar-ink);
  outline-offset: 2px;
}

/* The highlight glides to the link of the section in view. */
.nav-links__glow {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: var(--glow-w, 0);
  border-radius: 999px;
  background: linear-gradient(115deg, #3b0227 0%, #5b0638 24%, #8b164f 48%, #b12b63 70%, #4e0433 100%);
  background-size: 260% 260%;
  opacity: var(--glow-o, 0);
  translate: var(--glow-x, 0) 0;
  transition: translate 550ms cubic-bezier(0.22, 1, 0.36, 1), width 550ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
  animation: lava-flow 4.2s ease-in-out infinite alternate;
}

.nav-links .nav-links__contact,
.nav-links__foot {
  display: none;
}

.topbar__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--bar-line);
  border-radius: 999px;
  background: var(--bar-glass);
  color: var(--bar-ink);
  font: 600 13px Montserrat, Arial, sans-serif;
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}

.topbar__cta span {
  transition: rotate 300ms ease;
}

.topbar__cta:hover,
.topbar__cta:focus-visible {
  border-color: transparent;
  background: #fffffc;
  color: var(--purple);
}

.topbar.is-past-hero .topbar__cta:hover,
.topbar.is-past-hero .topbar__cta:focus-visible {
  background: var(--purple);
  color: #fffffc;
}

.topbar__cta:hover span {
  rotate: 45deg;
}

.topbar__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b164f, #d85f3f);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  opacity: 0;
  transition: opacity 300ms ease;
}

.topbar.is-past-hero .topbar__progress {
  opacity: 1;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--bar-line);
  border-radius: 50%;
  background: var(--bar-glass);
  color: var(--bar-ink);
  backdrop-filter: blur(16px);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 300ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Phones and tablets: a full-screen lava menu with big serif links. */
@media (max-width: 900px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 16px;
  }

  .brand-link,
  .nav-toggle {
    position: relative;
    z-index: 2;
  }

  .brand-link img {
    width: 130px;
  }

  .nav-toggle {
    display: block;
  }

  .topbar__cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 90px 28px 40px;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 80% 15%, rgba(177, 43, 99, 0.7), transparent 45%),
      radial-gradient(circle at 10% 90%, rgba(216, 95, 63, 0.45), transparent 40%),
      #2a0418;
    opacity: 0;
    visibility: hidden;
    clip-path: circle(0 at calc(100% - 39px) 35px);
    transition: clip-path 650ms cubic-bezier(0.65, 0, 0.35, 1), opacity 300ms ease, visibility 0s linear 650ms;
  }

  .topbar.is-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at calc(100% - 39px) 35px);
    transition: clip-path 650ms cubic-bezier(0.65, 0, 0.35, 1), opacity 200ms ease;
  }

  .topbar.is-menu-open {
    --bar-ink: #fffffc;
    --bar-glass: rgba(255, 255, 252, 0.08);
    --bar-line: rgba(255, 255, 252, 0.2);
    translate: none;
  }

  .topbar.is-menu-open .brand-link img {
    filter: brightness(0) invert(1);
  }

  .nav-links__glow {
    display: none;
  }

  .nav-links a,
  .nav-links .nav-links__contact {
    display: inline-flex;
    gap: 14px;
    padding: 6px 0;
    color: #fffffc;
    font: 400 clamp(40px, 11vw, 64px) / 1.05 "DM Serif Display", Georgia, serif;
    opacity: 0;
    translate: 0 24px;
    transition: opacity 400ms ease, translate 500ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease;
  }

  .nav-links a span {
    font-size: 12px;
    color: #ffb6cf;
    opacity: 1;
  }

  .nav-links a.is-current {
    font-style: italic;
  }

  .topbar.is-menu-open .nav-links a {
    opacity: 1;
    translate: 0 0;
  }

  .topbar.is-menu-open .nav-links a:nth-of-type(2) { transition-delay: 60ms; }
  .topbar.is-menu-open .nav-links a:nth-of-type(3) { transition-delay: 120ms; }
  .topbar.is-menu-open .nav-links a:nth-of-type(4) { transition-delay: 180ms; }
  .topbar.is-menu-open .nav-links a:nth-of-type(5) { transition-delay: 240ms; }

  .nav-links__foot {
    display: block;
    margin: 28px 0 0;
    color: rgba(255, 255, 252, 0.7);
    font: 500 12px/1.7 "JetBrains Mono", ui-monospace, monospace;
  }
}

/* ==========================================================================
   Hero: the jaguar in lava, framed like a printed proof — crop marks,
   metadata in the corners, a spinning badge and a ticker of disciplines.
   ========================================================================== */
.hero {
  --mx: 0;
  --my: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: max(100svh, 680px);
  padding: 150px 20px 150px;
  overflow: hidden;
  background: #3b0227;
}

.hero__bg {
  position: absolute;
  inset: -4%;
  z-index: -2;
  background: url("images/hero-jaguar-lava.webp") center / cover no-repeat;
  translate: calc(var(--mx) * -14px) calc(var(--my) * -10px);
  scale: 1.04;
  transition: translate 900ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: hero-zoom 1600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero::after {
  position: absolute;
  inset: -18%;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 22%, rgba(177, 43, 99, 0.82) 0 12%, transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(59, 2, 39, 0.9) 0 14%, transparent 31%),
    radial-gradient(circle at 42% 70%, rgba(139, 22, 79, 0.86) 0 16%, transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(91, 6, 56, 0.88) 0 13%, transparent 30%),
    linear-gradient(115deg, rgba(59, 2, 39, 0.82) 0%, rgba(91, 6, 56, 0.72) 24%, rgba(139, 22, 79, 0.82) 48%, rgba(177, 43, 99, 0.68) 70%, rgba(78, 4, 51, 0.84) 100%);
  background-size: 140% 140%, 150% 150%, 130% 130%, 145% 145%, 260% 260%;
  content: "";
  filter: blur(10px) saturate(1.16);
  mix-blend-mode: multiply;
  opacity: 0.86;
  pointer-events: none;
  animation: hero-lava-flow 5.5s ease-in-out infinite alternate;
}

/* The hero melts into the cream page instead of ending on a hard edge. */
.hero::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 252, 0) 0%, rgba(255, 255, 252, 0.55) 55%, #fffffc 100%);
  content: "";
  pointer-events: none;
}

.hero__crop {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 0 solid rgba(255, 255, 252, 0.55);
}

.hero__crop--tl { top: 92px; left: clamp(16px, 3vw, 40px); border-top-width: 1px; border-left-width: 1px; }
.hero__crop--tr { top: 92px; right: clamp(16px, 3vw, 40px); border-top-width: 1px; border-right-width: 1px; }
.hero__crop--bl { bottom: 38%; left: clamp(16px, 3vw, 40px); border-bottom-width: 1px; border-left-width: 1px; }
.hero__crop--br { right: clamp(16px, 3vw, 40px); bottom: 38%; border-right-width: 1px; border-bottom-width: 1px; }

.hero__meta {
  position: absolute;
  top: 100px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 252, 0.8);
  font: 500 11px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__meta--left {
  left: calc(clamp(16px, 3vw, 40px) + 34px);
}

.hero__meta--right {
  right: calc(clamp(16px, 3vw, 40px) + 34px);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 980px);
  margin-top: 2vh;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-weight: 400;
}

.hero-kicker {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 252, 0.88);
  font: 500 clamp(11px, 1vw, 13px) "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(59, 2, 39, 0.6);
  animation: hero-rise 1000ms 150ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-logo {
  width: min(100%, 680px);
  height: auto;
  margin: 0 auto;
  /* White pixels are baked into the PNG: iOS webviews need no color filter. */
  filter: none;
  animation: hero-ink 1400ms 250ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slogan {
  width: min(100%, 760px);
  margin: 6px auto 0;
  color: #fffffc;
  font: 300 clamp(17px, 2vw, 26px) / 1.3 Montserrat, Arial, sans-serif;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(59, 2, 39, 0.62);
  animation: hero-rise 1000ms 550ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slogan span {
  font-weight: 500;
}

.hero-slogan em {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.12em;
  font-style: italic;
  font-weight: 400;
}

.hero-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  animation: hero-rise 1000ms 750ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.button--lava,
.button--ghost {
  min-height: 50px;
  padding: 14px 26px;
  font: 600 clamp(14px, 1.3vw, 17px) / 1 Montserrat, Arial, sans-serif;
  text-transform: none;
}

.button--lava {
  border: 0;
  background: linear-gradient(115deg, #3b0227 0%, #5b0638 24%, #8b164f 48%, #b12b63 70%, #4e0433 100%);
  background-size: 260% 260%;
  color: #fffffc;
  box-shadow: 0 16px 30px -18px rgba(20, 0, 10, 0.9);
  animation: lava-flow 4.2s ease-in-out infinite alternate;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 252, 0.45);
  background: rgba(255, 255, 252, 0.08);
  color: #fffffc;
  backdrop-filter: blur(10px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: #fffffc;
  color: var(--purple);
}

.hero-badge {
  position: absolute;
  right: clamp(24px, 6vw, 96px);
  bottom: 38%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(104px, 9vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fffffc;
  transition: scale 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-badge svg {
  position: absolute;
  inset: 0;
  overflow: visible;
  fill: currentColor;
  font: 600 10px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: reel-spin 18s linear infinite;
}

.hero-badge img {
  width: 40%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
  animation: badge-bob 2.4s ease-in-out infinite;
}

.hero-badge:hover {
  scale: 1.08;
}

.hero-badge:focus-visible {
  outline: 2px solid #fffffc;
  outline-offset: 4px;
}

.hero-ticker {
  position: absolute;
  right: 0;
  bottom: 7%;
  left: 0;
  z-index: 2;
  overflow: hidden;
  rotate: -1.5deg;
  pointer-events: none;
}

.hero-ticker p {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  animation: reel-marquee 38s linear infinite;
}

.hero-ticker span {
  color: var(--purple);
  font: italic 400 clamp(30px, 4.4vw, 64px) / 1.1 "DM Serif Display", Georgia, serif;
  white-space: nowrap;
}

.hero-ticker i {
  margin: 0 0.7em;
  color: #d85f3f;
  font-size: clamp(16px, 1.8vw, 26px);
  font-style: normal;
}

@keyframes hero-zoom {
  from {
    scale: 1.14;
    filter: blur(6px);
  }
}

@keyframes hero-ink {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  to {
    opacity: 1;
    clip-path: inset(0 -5% 0 0);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }
}

@keyframes badge-bob {
  50% {
    translate: 0 -4px;
    rotate: 8deg;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 100px 18px 150px;
  }

  .hero__meta--right,
  .hero__crop {
    display: none;
  }

  .hero__meta--left {
    top: 86px;
    left: 18px;
  }

  .hero-badge {
    right: 18px;
    bottom: 36%;
    width: 92px;
  }

  .hero-panel .button {
    flex: 1 1 140px;
  }
}

/* ==========================================================================
   Footer: a dark lava closing with the big invitation, the email you can
   copy, services, links, socials, local time and a giant wordmark.
   ========================================================================== */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 90px);
  padding: clamp(110px, 12vw, 170px) clamp(20px, 4vw, 56px) 0;
  background: #2a0418;
  color: #fffffc;
}



.footer::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 85% 20%, rgba(177, 43, 99, 0.55), transparent 40%),
    radial-gradient(circle at 10% 75%, rgba(216, 95, 63, 0.35), transparent 38%),
    radial-gradient(circle at 50% 110%, rgba(139, 22, 79, 0.7), transparent 50%);
  background-size: 140% 140%, 150% 150%, 120% 120%;
  content: "";
  animation: footer-lava 14s ease-in-out infinite alternate;
}

.footer__inner {
  width: min(100%, 1240px);
  margin: 0 auto;
}

.footer__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: rgba(255, 255, 252, 0.75);
  font: 500 12px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffb6cf;
  box-shadow: 0 0 0 0 rgba(255, 182, 207, 0.6);
  animation: footer-pulse 2.2s ease-out infinite;
}

.footer__title {
  max-width: 14ch;
  margin: 0;
  font: 400 clamp(52px, 8.4vw, 132px) / 0.92 "DM Serif Display", Georgia, serif;
  letter-spacing: -0.03em;
}

.footer__title em {
  color: #ffb6cf;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.footer__mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: clamp(30px, 4vw, 52px) 0 clamp(50px, 6vw, 84px);
}

.footer__mail-link {
  position: relative;
  color: #fffffc;
  font: 300 clamp(22px, 3.2vw, 44px) Montserrat, Arial, sans-serif;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer__mail-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffb6cf, #d85f3f);
  content: "";
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__mail-link:hover::after,
.footer__mail-link:focus-visible::after {
  transform: scaleX(1);
}

.footer__copy {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 252, 0.3);
  border-radius: 999px;
  background: transparent;
  color: #fffffc;
  font: 500 12px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  transition: background-color 250ms ease, color 250ms ease;
}

.footer__copy:hover,
.footer__copy:focus-visible,
.footer__copy.is-copied {
  background: #fffffc;
  color: var(--purple);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 252, 0.18);
}

.footer__label {
  margin: 0 0 16px;
  color: #ffb6cf;
  font: 500 11px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__crossmedia {
  margin-top: 30px;
}

.footer__crossmedia .footer__label {
  margin-bottom: 12px;
}

.footer__crossmedia-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: 100%;
}

.footer__crossmedia-links .icon-arrow {
  opacity: 0.55;
}

.footer__clip-time {
  display: block;
  margin-top: 4px;
  font: 500 11px / 1.4 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.footer__context {
  margin: 8px 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 252, 0.72);
  font: 400 12px / 1.65 Montserrat, Arial, sans-serif;
}

.footer__list,
.social-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list li,
.footer__place {
  margin: 0;
  color: rgba(255, 255, 252, 0.82);
  font-size: 14.5px;
  line-height: 1.5;
}

.footer__list a,
.social-links a {
  color: rgba(255, 255, 252, 0.82);
  text-decoration: none;
  transition: color 200ms ease, padding 300ms ease;
}

.footer__list a:hover,
.footer__list a:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  padding-left: 6px;
  color: #fffffc;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
}

.social-links img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: rotate 300ms ease;
}

.social-links a:hover img {
  rotate: -10deg;
}

.social-links a span {
  opacity: 0.5;
}

.footer__wordmark {
  display: block;
  width: min(118%, 1600px);
  height: auto;
  margin: clamp(40px, 6vw, 80px) auto -7%;
  filter: brightness(0) invert(1);
  opacity: 0.08;
  pointer-events: none;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 252, 0.14);
  color: rgba(255, 255, 252, 0.6);
  font: 500 11.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom a {
  color: rgba(255, 255, 252, 0.85);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: #ffb6cf;
}

@keyframes footer-lava {
  to {
    background-position: 100% 60%, 30% 20%, 60% 0%;
  }
}

@keyframes footer-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(255, 182, 207, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 182, 207, 0);
  }
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer__mail-link {
    font-size: clamp(19px, 6.4vw, 26px);
  }
}

/* ==========================================================================
   Soft section changes: coloured bands feather their edges into the cream
   page, and blocks rise into place as they scroll into view.
   ========================================================================== */
.brand-reel__stage {
  background-color: transparent;
}

.brand-reel__stage::before {
  background-color: var(--tint);
  transition: background-color 900ms ease;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 110px, #000 calc(100% - 110px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 110px, #000 calc(100% - 110px), transparent);
}

.mag::before {
  inset: -60px calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 130px, #000 calc(100% - 130px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 130px, #000 calc(100% - 130px), transparent);
}

.reveal {
  opacity: 0;
  translate: 0 48px;
  transition: opacity 900ms ease, translate 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg,
  .hero-kicker,
  .hero-logo,
  .hero-slogan,
  .hero-panel,
  .hero-badge svg,
  .hero-badge img,
  .hero-ticker p,
  .footer::after,
  .footer__dot,
  .nav-links__glow {
    animation: none;
  }

  .topbar,
  .nav-links,
  .nav-links a,
  .reveal {
    transition: none;
  }
}

html.is-menu-locked {
  overflow: hidden;
}

/* Past the hero the header becomes a solid cream bar, so it never mixes with
   the content it floats over. */
.topbar.is-past-hero {
  --bar-glass: rgba(78, 4, 51, 0.05);
  --bar-line: rgba(78, 4, 51, 0.14);
  padding-block: 9px;
  background: rgba(255, 255, 252, 0.94);
  box-shadow: 0 1px 0 rgba(78, 4, 51, 0.1), 0 14px 30px -22px rgba(40, 6, 26, 0.45);
  backdrop-filter: blur(18px) saturate(1.2);
}

.topbar.is-past-hero .nav-links {
  box-shadow: none;
}

.topbar.is-past-hero .brand-link img {
  width: 128px;
}

/* On the hero the big logo is already there, so the header one steps aside. */
.brand-link {
  transition: opacity 400ms ease, translate 500ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.topbar:not(.is-past-hero):not(.is-menu-open) .brand-link {
  opacity: 0;
  visibility: hidden;
  translate: 0 -10px;
  transition: opacity 300ms ease, translate 400ms ease, visibility 0s linear 400ms;
}

@media (max-width: 900px) {
  .topbar.is-menu-open {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
}

/* The services ticker is a clean lava tape across the bottom of the hero,
   instead of dark type over the washed-out fade. */
.hero::before {
  height: 20%;
  background: linear-gradient(180deg, rgba(255, 255, 252, 0) 0%, rgba(255, 255, 252, 0.8) 70%, #fffffc 100%);
}

.hero-ticker {
  right: -3%;
  bottom: 6%;
  left: -3%;
  z-index: 3;
  padding: clamp(10px, 1.2vw, 16px) 0;
  background: linear-gradient(115deg, #3b0227 0%, #5b0638 24%, #8b164f 48%, #b12b63 70%, #4e0433 100%);
  background-size: 260% 260%;
  box-shadow: 0 22px 36px -22px rgba(40, 6, 26, 0.75);
  rotate: -2deg;
  animation: lava-flow 4.2s ease-in-out infinite alternate;
}

.hero-ticker span {
  color: #fffffc;
  font-size: clamp(20px, 2.6vw, 36px);
}

.hero-ticker i {
  color: #ffb6cf;
  font-size: clamp(12px, 1.2vw, 18px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker {
    animation: none;
  }
}

/* ==========================================================================
   "Trabajo seleccionado" woven into the orchid ribbon.
   ========================================================================== */
.selected-intro {
  display: grid;
  align-content: start;
  min-height: 0;
}

.selected-intro__weave {
  --floral-shift: 0px;
  position: relative;
  display: grid;
  align-items: center;
}

.selected-intro__weave > * {
  grid-area: 1 / 1;
}

.selected-intro__weave .selected-intro__mask {
  --floral-shift: inherit;
  justify-self: start;
}

.selected-intro__mask--front {
  z-index: 2;
  pointer-events: none;
  /* The title scales with the viewport, so these edges track its first and last letters. */
  clip-path: polygon(0 0, 26% 0, 26% 100%, 0 100%, 0 0, 74% 0, 100% 0, 100% 100%, 74% 100%, 74% 0);
}

.selected-intro__title {
  position: relative;
  z-index: 1;
  justify-self: center;
  margin: 0;
  padding: 0.28em 0.75em 0.32em;
  border-radius: 0;
  background: #fffffc;
  box-shadow: 0 24px 50px -24px rgba(42, 4, 24, 0.55), 0 0 0 1px rgba(78, 4, 51, 0.08);
  color: #2a0418;
  font: 400 clamp(30px, 5vw, 76px) / 1 "DM Serif Display", Georgia, serif;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
}

.selected-intro__title em {
  color: #8b164f;
}

.selected-intro__title em {
  font-style: italic;
}

.selected-intro__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 16px;
  width: 100%;
  padding: clamp(10px, 2vw, 24px) 0 0;
  text-align: center;
}

.selected-intro__copy .eyebrow {
  margin: 0;
}

.selected-intro__copy .selected-intro__lede {
  margin: 0;
}

@media (max-width: 560px) {
  .selected-intro {
    min-height: 0;
  }

  .selected-intro__title {
    font-size: clamp(26px, 7.6vw, 34px);
  }

  .selected-intro__mask--front {
    clip-path: polygon(0 0, 15% 0, 15% 100%, 0 100%, 0 0, 85% 0, 100% 0, 100% 100%, 85% 100%, 85% 0);
  }
}

@media (max-width: 700px) {
  /* Centred in the gap between the buttons and the services tape. */
  .hero-badge {
    right: auto;
    bottom: calc(6% + 78px);
    left: 50%;
    width: 84px;
    translate: -50% 0;
  }
}

/* The fade overshoots the hero's bottom edge and is fully cream before it,
   so no sliver of the dark hero shows as a line against "Sobre mí". */
.hero::before {
  bottom: -2px;
  height: calc(20% + 2px);
  background: linear-gradient(180deg, rgba(255, 255, 252, 0) 0%, rgba(255, 255, 252, 0.85) 55%, #fffffc 82%);
}

.hero {
  background-color: #fffffc;
}

/* ==========================================================================
   Sobre mí: the name gets the same serif as the section titles, and the four
   roles sit in an even grid.
   ========================================================================== */
.about-copy .about-kicker {
  margin: 0 0 10px;
  line-height: 1.4;
  color: var(--purple);
  font: 500 11px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-name {
  margin: 0;
  color: #171215;
  font: 600 clamp(32px, 4.2vw, 56px) / 1.05 Montserrat, Arial, sans-serif;
  letter-spacing: -0.035em;
}

.about-name em {
  color: #8b164f;
  font-style: normal;
}

.role-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-copy .role-list p {
  min-width: 0;
}

@media (max-width: 1000px) {
  .role-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .role-list {
    grid-template-columns: 1fr;
  }
}

/* Vertical editorial pieces open as a two-page spread. */
.mag-spread--pages {
  aspect-ratio: 1414 / 1000;
}

.mag-spread--pages .mag-spread__paper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.brand-modal--pages .brand-modal__product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: clamp(18px, 3vw, 40px);
  background: var(--tint);
}

.brand-modal--pages .brand-modal__product img {
  width: 100%;
  height: auto;
  box-shadow: 0 30px 50px -30px rgba(30, 10, 60, 0.6);
}

.brand-modal--pages .brand-modal__gallery {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.brand-modal--pages .brand-modal__gallery figure {
  aspect-ratio: 1414 / 2000;
  background: transparent;
}

.brand-modal--pages .brand-modal__gallery img {
  object-fit: cover;
  mix-blend-mode: normal;
}

/* A single vertical page opens beside a typographic facing page. */
.mag-spread--single {
  aspect-ratio: 1302 / 1000;
}

.mag-spread__facing {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 9% 10%;
  background: var(--tint);
  color: var(--ink);
  text-align: left;
}

.mag-spread__facing small {
  margin-bottom: auto;
  font: 600 clamp(9px, 0.9vw, 12px) "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.2em;
}

.mag-spread__facing b {
  font: 400 clamp(26px, 3.6vw, 54px) / 0.95 "DM Serif Display", Georgia, serif;
}

.mag-spread__facing em {
  font: italic 500 clamp(13px, 1.3vw, 18px) "Cormorant Garamond", Georgia, serif;
}

.brand-modal--pages .brand-modal__product:has(img:only-child) {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

/* Editorial galleries mix horizontal and vertical pieces: a masonry of
   columns keeps every piece whole instead of cropping it to a box. */
.brand-modal--wide:not(.brand-modal--pages) .brand-modal__gallery {
  display: block;
  columns: 2 320px;
  column-gap: clamp(12px, 2vw, 20px);
}

.brand-modal--wide:not(.brand-modal--pages) .brand-modal__gallery figure {
  margin-bottom: clamp(12px, 2vw, 20px);
  aspect-ratio: auto;
  break-inside: avoid;
}

.brand-modal--wide:not(.brand-modal--pages) .brand-modal__gallery img {
  height: auto;
}

.mag-spread.is-buried {
  opacity: 0;
}

.mag-spread {
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 600ms ease, opacity 500ms ease;
}

.brand-modal--wide.brand-modal--pairs .brand-modal__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  columns: auto;
}

.brand-modal--wide.brand-modal--pairs .brand-modal__gallery figure {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .brand-modal--wide.brand-modal--pairs .brand-modal__gallery {
    grid-template-columns: 1fr;
  }
}

/* The first piece follows the cover spread above it and the last closes the
   issue, so both run full width; the rest pair up. */
.brand-modal--pairs .brand-modal__gallery figure:first-child,
.brand-modal--pairs .brand-modal__gallery figure:last-child {
  grid-column: 1 / -1;
}

/* ==========================================================================
   Hiperfijaciones: the blog's issue cards (blog index, "sigue leyendo"). Montserrat only; each issue is a colour
   panel with its number until it gets a cover of its own.
   ========================================================================== */
.zine-card {
  flex: 0 0 clamp(220px, 23vw, 290px);
  scroll-snap-align: start;
}

.zine-card {
  --tilt: -1.6deg;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #171215;
  font-family: Montserrat, Arial, sans-serif;
  text-decoration: none;
}

.zine-card:nth-child(even) {
  --tilt: 1.4deg;
}

.zine-card__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 18px 18px 20px;
  border-radius: 3px;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.55), transparent 55%),
    var(--tint);
  color: var(--ink);
  box-shadow:
    0 1px 0 #e9e2d6,
    0 2px 0 #fff,
    0 3px 0 #dcd4c6,
    0 4px 0 #fff,
    0 28px 40px -24px rgba(40, 10, 20, 0.5);
  transform: rotate(var(--tilt));
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 500ms ease;
}

/* The spine of the issue catches a little light. */
.zine-card__panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.16), rgba(255, 255, 255, 0.2) 3%, transparent 9%);
  content: "";
  pointer-events: none;
}

.zine-card__panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zine-card__panel.has-cover > span {
  display: none;
}

.zine-card__number {
  font: 800 clamp(84px, 9vw, 128px) / 0.8 Montserrat, Arial, sans-serif;
  letter-spacing: -0.07em;
}

.zine-card__column {
  margin-top: auto;
  padding-top: 12px;
  border-top: 2px solid currentColor;
  font: 700 11px Montserrat, Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zine-card__song {
  margin-top: 6px;
  color: #171215;
  font: 500 12px / 1.3 Montserrat, Arial, sans-serif;
  opacity: 0.7;
}

.zine-card:hover .zine-card__panel,
.zine-card:focus-visible .zine-card__panel {
  box-shadow:
    0 1px 0 #e9e2d6,
    0 2px 0 #fff,
    0 3px 0 #dcd4c6,
    0 4px 0 #fff,
    0 40px 50px -26px rgba(40, 10, 20, 0.6);
  transform: rotate(0) translateY(-10px);
}

.zine-card:focus-visible {
  outline: none;
}

.zine-card:focus-visible .zine-card__title {
  text-decoration: underline;
  text-decoration-color: var(--ink);
}

.zine-card__title {
  margin: 10px 0 0;
  font: 700 clamp(16px, 1.3vw, 18px) / 1.3 Montserrat, Arial, sans-serif;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.zine-card__foot {
  color: rgba(23, 18, 21, 0.55);
  font: 500 12px Montserrat, Arial, sans-serif;
}

.zine-card__foot i {
  margin: 0 4px;
  font-style: normal;
}

.zine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 46px clamp(20px, 2.4vw, 34px);
}

.zine-card.is-filtered-out {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .zine-card__panel {
    transition: none;
  }
}

/* Brand-book slides (Ocaso, Corteccia): whole slides in their own colours,
   two per row, the first one wide. */
.brand-modal--deck .brand-modal__gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-modal--deck .brand-modal__gallery figure {
  aspect-ratio: auto;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0 22px 40px -28px rgba(23, 18, 21, 0.45);
}

.brand-modal--deck .brand-modal__gallery figure:first-child {
  grid-column: 1 / -1;
}

.brand-modal--deck .brand-modal__gallery img {
  height: auto;
  object-fit: cover;
  mix-blend-mode: normal;
}

@media (max-width: 700px) {
  .brand-modal--deck .brand-modal__gallery {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Language menu: a small floating pill in the bottom-left corner that opens
   the four languages upward, out of the way of the header.
   ========================================================================== */
.topbar__cta {
  white-space: nowrap;
}

.lang-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 40;
}

.lang-float__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(255, 255, 252, 0.18);
  border-radius: 999px;
  background: rgba(42, 4, 24, 0.82);
  box-shadow: 0 14px 30px -16px rgba(40, 6, 26, 0.7);
  color: #fffffc;
  font: 600 12px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(1.3);
  transition: background-color 250ms ease, translate 250ms ease;
}

.lang-float__toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.lang-float__toggle i {
  font-style: normal;
  font-size: 10px;
  opacity: 0.7;
  transition: rotate 250ms ease;
}

.lang-float__toggle:hover {
  background: rgba(78, 4, 51, 0.92);
  translate: 0 -2px;
}

.lang-float__toggle:focus-visible {
  outline: 2px solid #ffb6cf;
  outline-offset: 3px;
}

.lang-float:has(.lang-float__menu:popover-open) .lang-float__toggle i {
  rotate: 180deg;
}

.lang-float__menu {
  position: fixed;
  inset: auto auto 72px 20px;
  width: 210px;
  /* Safari stretches fixed popover grids with its native min-content height. */
  height: auto;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(78, 4, 51, 0.12);
  border-radius: 18px;
  background: #fffffc;
  box-shadow: 0 24px 50px -20px rgba(40, 6, 26, 0.55);
  color: #4e0433;
}

.lang-float__menu:popover-open {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 2px;
  animation: lang-float-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lang-float-in {
  from {
    opacity: 0;
    translate: 0 10px;
    scale: 0.97;
  }
}

.lang-float__label {
  margin: 4px 10px 6px;
  font: 600 10px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

.lang-float__menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: inherit;
  font: 500 14px Montserrat, Arial, sans-serif;
  text-decoration: none;
  transition: background-color 200ms ease;
}

.lang-float__menu a b {
  min-width: 22px;
  font: 600 11px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

.lang-float__menu a:hover,
.lang-float__menu a:focus-visible {
  background: rgba(78, 4, 51, 0.07);
  outline: none;
}

.lang-float__menu a.is-active {
  background: #4e0433;
  color: #fffffc;
}

.lang-float__menu a.is-active b {
  opacity: 0.8;
}

@media (max-width: 560px) {
  .lang-float {
    bottom: 14px;
    left: 14px;
  }

  .lang-float__menu {
    inset: auto auto 64px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lang-float__menu:popover-open {
    animation: none;
  }
}

/* ==========================================================================
   Hero, quieter: the jaguar sinks further into the dark so the logo and the
   slogan carry the screen and the illustration reads as texture.
   ========================================================================== */
.hero__bg {
  /* Dark wine underneath, so a slow connection never flashes a pale hero
     before the jaguar arrives. */
  background-color: #3b0227;
  filter: brightness(0.5) saturate(0.8) contrast(1.05);
}

/* Phones and other tall screens only ever see the middle of the picture, so
   they get a centre crop at less than half the weight. */
@media (max-aspect-ratio: 3/4) {
  .hero__bg {
    background-image: url("images/hero-jaguar-lava-mobile.webp");
  }
}

.hero::after {
  opacity: 0.94;
}

/* ==========================================================================
   Redes: a wall of every piece, dealt into columns that drift up and down
   forever. Filters narrow it to one project; a floating card says what is
   on the wall. Hovering pauses it; a piece opens the window on that post.
   ========================================================================== */
.wall {
  --wall-gap: 14px;
  isolation: isolate;
  padding: 34px 0 60px;
  border-bottom: 0;
}

.wall::before {
  position: absolute;
  inset: -60px calc(50% - 50vw);
  z-index: -1;
  background: #fff;
  content: "";
  transition: background-color 900ms ease;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 130px, #000 calc(100% - 130px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 130px, #000 calc(100% - 130px), transparent);
}

/* White while it shows every project; a soft wash of the project's colour
   once one is chosen. */
.wall:not([data-wall-current="all"])::before {
  background-color: color-mix(in srgb, var(--tint) 38%, #fff);
}

.wall .category-showcase__header {
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.wall .category-showcase__header .showcase-tagline {
  padding-bottom: 0.9em;
}

/* Title: a bold word with an activity notification. */
.category-showcase__header .section-title--feed {
  position: relative;
  color: #171215;
  font: 800 clamp(58px, 9.4vw, 146px) / 0.82 Montserrat, Arial, sans-serif;
  letter-spacing: -0.06em;
}

/* An activity notification, like the one that pops up over a profile:
   a heart and the number of pieces, with a little pointer. */
.section-title--feed .section-title__note {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  align-self: flex-start;
  margin: -0.35em 0 0 0.25em;
  padding: 0.42em 0.7em;
  border-radius: 0.7em;
  background: #ff2e63;
  box-shadow: 0 12px 22px -12px rgba(255, 46, 99, 0.9);
  color: #fff;
  font-size: clamp(13px, 1.5vw, 20px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  transform-origin: 18% 120%;
  animation: note-pop 4.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.section-title--feed .section-title__note::after {
  position: absolute;
  top: 100%;
  left: 0.9em;
  border: 0.42em solid transparent;
  border-top-color: #ff2e63;
  border-bottom: 0;
  content: "";
}

.section-title--feed .section-title__note span {
  font-size: 0.95em;
}

@keyframes note-pop {
  0%, 62%, 100% { scale: 1; rotate: 0deg; }
  70% { scale: 1.16; rotate: -6deg; }
  78% { scale: 0.96; rotate: 2deg; }
  86% { scale: 1; rotate: 0deg; }
}

/* Filters: story rings, like the highlights on a profile. The pressed one
   gets the gradient ring; the rest are already "seen". */
.wall__filters {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 4px 4px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.wall__filters::-webkit-scrollbar {
  display: none;
}

.wall__filters button {
  display: grid;
  justify-items: center;
  gap: 8px;
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  color: #171215;
  cursor: pointer;
}

.wall__ring {
  display: block;
  width: clamp(62px, 6vw, 76px);
  aspect-ratio: 1;
  padding: 3px;
  border-radius: 50%;
  background: rgba(23, 18, 21, 0.16);
  transition: scale 450ms cubic-bezier(0.34, 1.56, 0.64, 1), background 300ms ease;
}

.wall__filters button[aria-pressed="true"] .wall__ring {
  background: conic-gradient(from 210deg, var(--ink, #8b164f), #ff2e63, #ffb347, var(--ink, #8b164f));
}

.wall__filters button:hover .wall__ring {
  scale: 1.07;
}

.wall__ring img,
.wall__ring-all {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.wall__ring-all {
  background: #171215;
  color: #fff;
}

.wall__ring-all svg {
  width: 40%;
  height: 40%;
}

.wall__filters small {
  max-width: 18ch;
  overflow: hidden;
  color: rgba(23, 18, 21, 0.62);
  font: 600 12px Montserrat, Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 250ms ease;
}

.wall__filters button[aria-pressed="true"] small {
  color: #171215;
  font-weight: 700;
}

.wall__filters button:focus-visible {
  outline: none;
}

.wall__filters button:focus-visible .wall__ring {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink, #171215);
}

.wall__body {
  position: relative;
  margin-top: clamp(26px, 4vw, 44px);
}

.wall__viewport {
  position: relative;
  height: clamp(540px, 82vh, 880px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.wall__columns {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: var(--wall-gap);
  height: 100%;
}

.wall__track {
  display: grid;
  gap: var(--wall-gap);
  animation: wall-up var(--dur, 60s) linear infinite;
}

.wall__col[data-direction="down"] .wall__track {
  animation-name: wall-down;
}

/* A track holds its run twice: sliding by one run (half, plus one gap)
   lands on an identical picture, so the loop never shows a seam. */
@keyframes wall-up {
  to { transform: translateY(calc(-50% - var(--wall-gap) / 2)); }
}

@keyframes wall-down {
  from { transform: translateY(calc(-50% - var(--wall-gap) / 2)); }
  to { transform: none; }
}

.wall__viewport:hover .wall__track,
.wall__viewport:focus-within .wall__track {
  animation-play-state: paused;
}

.wall__tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: color-mix(in srgb, var(--tint) 60%, #fff);
  box-shadow: 0 16px 30px -22px rgba(40, 10, 20, 0.55);
  cursor: pointer;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 500ms ease;
}

.wall__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wall__tile:hover,
.wall__tile:focus-visible {
  box-shadow: 0 26px 40px -24px color-mix(in srgb, var(--ink) 70%, #000);
  transform: translateY(-4px) rotate(-0.8deg);
}

.wall__tile:hover img,
.wall__tile:focus-visible img {
  scale: 1.05;
}

.wall__tile:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.wall__glyph {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}

.wall__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: 40px 14px 13px;
  background: linear-gradient(180deg, transparent, rgba(15, 8, 12, 0.8));
  color: #fff;
  font: 600 12.5px / 1.3 Montserrat, Arial, sans-serif;
  text-align: left;
  opacity: 0;
  translate: 0 10px;
  transition: opacity 300ms ease, translate 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wall__caption b {
  font: 600 9.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.wall__tile:hover .wall__caption,
.wall__tile:focus-visible .wall__caption {
  opacity: 1;
  translate: 0 0;
}

.wall svg,
.social-profile svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.wall svg.glyph-fill,
.social-profile svg.glyph-fill {
  fill: currentColor;
  stroke: none;
}

/* The card floats over the wall, like a caption pinned to it (on the right,
   clear of the floating language button). */
.wall__card {
  position: absolute;
  bottom: clamp(18px, 3vw, 40px);
  right: clamp(14px, 2.5vw, 30px);
  z-index: 2;
  width: min(380px, calc(100% - 28px));
  padding: 22px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 30px 60px -30px rgba(40, 10, 20, 0.6);
  backdrop-filter: blur(16px) saturate(1.2);
}

.wall__card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.wall__card-avatar {
  flex: none;
  width: 54px;
  height: 54px;
  padding: 2.5px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--ink, #8b164f), #ff2e63, #ffb347, var(--ink, #8b164f));
}

.wall__card-avatar img,
.wall__card-avatar--all svg {
  width: 100%;
  height: 100%;
  border: 2.5px solid #fffdf9;
  border-radius: 50%;
  object-fit: cover;
}

.wall__card-avatar--all svg {
  padding: 13px;
  background: #171215;
  color: #fffdf9;
}

.wall__card-title {
  margin: 0;
  color: #171215;
  font: 800 clamp(22px, 2vw, 28px) / 1.05 Montserrat, Arial, sans-serif;
  letter-spacing: -0.035em;
}

.wall__card-kind {
  margin: 4px 0 0;
  color: rgba(23, 18, 21, 0.6);
  font: 500 12.5px / 1.35 Montserrat, Arial, sans-serif;
}

.wall__card-deck {
  margin: 0 0 18px;
  color: #3a3034;
  font: 400 14px / 1.6 Montserrat, Arial, sans-serif;
}

.wall__card-stats {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(23, 18, 21, 0.1);
}

.wall__card-stats div {
  display: grid;
  gap: 4px;
  padding: 0 12px;
  border-left: 1px solid rgba(23, 18, 21, 0.1);
}

.wall__card-stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.wall__card-stats dd {
  margin: 0;
  color: #171215;
  font: 800 30px / 1 Montserrat, Arial, sans-serif;
  letter-spacing: -0.04em;
}

.wall__card-stats dt {
  color: rgba(23, 18, 21, 0.55);
  font: 600 9.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wall__card-open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink, #171215);
  color: #fff;
  font: 600 13.5px Montserrat, Arial, sans-serif;
  cursor: pointer;
  transition: box-shadow 300ms ease;
}

.wall__card-open span {
  transition: translate 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wall__card-open:hover,
.wall__card-open:focus-visible {
  box-shadow: 0 14px 24px -14px var(--ink, #171215);
}

.wall__card-open:hover span,
.wall__card-open:focus-visible span {
  translate: 5px 0;
}

@media (max-width: 760px) {
  .wall {
    --wall-gap: 10px;
  }

  .wall__body {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
  }

  .wall__card {
    position: static;
    order: -1;
    width: auto;
    margin-bottom: 14px;
  }

  .wall__viewport {
    height: clamp(460px, 74vh, 640px);
  }

  .wall__tile {
    border-radius: 10px;
  }
}

@media (max-width: 560px) {
  .wall .category-showcase__header .showcase-tagline {
    flex-basis: 100%;
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-title--feed .section-title__note,
  .wall__track {
    animation: none;
  }

  .wall__viewport {
    overflow-y: auto;
  }
}

/* --- Social project window: a feed ------------------------------------------- */
/* The profile stays put on the left while the posts scroll by on the right,
   each one an Instagram card you swipe through. */
.social-modal {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(22px, 3.4vw, 46px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 55%, #fff), #fffdf9 460px);
}

.social-profile {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
  scrollbar-width: none;
  animation: window-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.social-profile::-webkit-scrollbar {
  display: none;
}

.social-profile__eyebrow {
  display: flex;
  justify-content: space-between;
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  color: var(--ink);
  font: 600 10.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.social-profile__head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-profile__avatar {
  flex: none;
  width: 88px;
  height: 88px;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--ink), #ff2e63, #ffb347, var(--ink));
}

.social-profile__avatar img {
  width: 100%;
  height: 100%;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.social-profile__stats {
  display: flex;
  gap: 22px;
  margin: 0;
}

.social-profile__stats div {
  display: grid;
  gap: 2px;
}

.social-profile__stats dd {
  margin: 0;
  color: #171215;
  font: 800 26px / 1 Montserrat, Arial, sans-serif;
  letter-spacing: -0.03em;
}

.social-profile__stats dt {
  color: rgba(23, 18, 21, 0.58);
  font: 600 9.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-modal--brand .modal-body .social-profile h2 {
  margin: 4px 0 0;
  color: #171215;
  font: 800 clamp(28px, 2.6vw, 36px) / 1.02 Montserrat, Arial, sans-serif;
  letter-spacing: -0.04em;
}

.social-profile__kind {
  margin: -6px 0 0;
  color: var(--ink);
  font: 600 10.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-modal--brand .modal-body .social-profile__lede {
  margin: 0;
  color: rgba(23, 18, 21, 0.76);
  font: 400 14px / 1.65 Montserrat, Arial, sans-serif;
}

.social-profile__client {
  display: grid;
  gap: 2px;
  margin: 0;
  color: #171215;
  font: 600 13px Montserrat, Arial, sans-serif;
}

.social-profile__client span {
  color: rgba(23, 18, 21, 0.55);
  font: 600 9.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The profile grid: every post in miniature; a tap scrolls the feed to it. */
.social-profile__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 10px;
}

.social-profile__grid button {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: color-mix(in srgb, var(--tint) 60%, #fff);
  cursor: pointer;
}

.social-profile__grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 500ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease;
}

.social-profile__grid button:hover img,
.social-profile__grid button:focus-visible img {
  scale: 1.07;
  filter: brightness(0.8);
}

.social-profile__grid button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.social-profile__glyph {
  position: absolute;
  top: 5px;
  right: 5px;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.social-profile__glyph svg {
  width: 14px;
  height: 14px;
}

/* --- The feed ----------------------------------------------------------------- */
.social-feed {
  display: grid;
  justify-items: center;
  gap: clamp(34px, 4vw, 56px);
  min-width: 0;
}

.feed-card {
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(23, 18, 21, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 50px -36px rgba(40, 10, 20, 0.5);
  scroll-margin-top: 86px;
  animation: window-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(min(var(--i), 3) * 80ms + 120ms);
}

.feed-card--story {
  width: min(100%, 380px);
}

.feed-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
}

.feed-card__avatar {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--ink), #ff2e63, #ffb347, var(--ink));
}

.feed-card__avatar img {
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.feed-card__who {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.feed-card__who b {
  color: #171215;
  font: 700 13.5px Montserrat, Arial, sans-serif;
}

.feed-card__who small {
  overflow: hidden;
  color: rgba(23, 18, 21, 0.55);
  font: 500 11.5px Montserrat, Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-card__num {
  color: var(--ink);
  font: 600 10.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
}

.feed-card__media {
  position: relative;
  background: color-mix(in srgb, var(--tint) 60%, #fff);
}

.feed-card__slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.feed-card__slides::-webkit-scrollbar {
  display: none;
}

.feed-card__slides:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.feed-card__slides figure {
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
}

.feed-card--square .feed-card__slides figure {
  aspect-ratio: 1;
}

.feed-card--story .feed-card__slides figure {
  aspect-ratio: 9 / 16;
}

.feed-card__slides img,
.feed-card__slides video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.feed-card__count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 8, 12, 0.6);
  color: #fff;
  font: 600 11px Montserrat, Arial, sans-serif;
  pointer-events: none;
}

.feed-card--story .feed-card__count {
  top: 22px;
}

.feed-card__arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5);
  color: #171215;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  translate: 0 -50%;
  cursor: pointer;
  transition: opacity 250ms ease, scale 250ms ease;
}

.feed-card__arrow[hidden] {
  display: none;
}

.feed-card__arrow--prev {
  left: 10px;
}

.feed-card__arrow--next {
  right: 10px;
}

.feed-card__media:hover .feed-card__arrow,
.feed-card__arrow:focus-visible {
  opacity: 1;
}

.feed-card__arrow:hover {
  scale: 1.08;
}

/* Stories: the progress bars across the top. */
.feed-card__bars {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  z-index: 1;
  display: flex;
  gap: 4px;
  pointer-events: none;
}

.feed-card__bars i {
  flex: 1;
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  transition: background-color 300ms ease;
}

.feed-card__bars i.is-active,
.feed-card__bars i.is-seen {
  background: #fff;
}

/* The heart that bursts over the piece on a double click. */
.feed-card__burst {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  opacity: 0;
  translate: -50% -50%;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.feed-card__burst svg {
  width: 96px;
  height: 96px;
  fill: currentColor;
  stroke: none;
}

.feed-card__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 4px;
  color: #171215;
}

.feed-card__bar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.feed-card__like {
  display: grid;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.feed-card__like svg {
  transition: fill 200ms ease, stroke 200ms ease;
}

.feed-card.is-liked .feed-card__like svg {
  fill: #ff2e63;
  stroke: #ff2e63;
}

.feed-card__like:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.feed-card__icon {
  display: grid;
}

.feed-card__dots {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 4px;
}

.feed-card__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9d0d4;
  transition: background-color 250ms ease, scale 250ms ease;
}

.feed-card__dots i.is-active {
  background: var(--ink);
  scale: 1.15;
}

.project-modal--brand .modal-body .feed-card__caption {
  margin: 0;
  padding: 4px 14px 16px;
  color: #171215;
  font: 400 14px / 1.5 Montserrat, Arial, sans-serif;
}

.feed-card__caption b {
  font-weight: 700;
}

/* Touch screens have no hover: the arrows stay visible. */
@media (hover: none) {
  .feed-card__arrow {
    opacity: 0.92;
  }
}

@media (max-width: 860px) {
  .social-modal {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-profile {
    position: static;
    max-height: none;
    overflow: visible;
  }

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

@media (max-width: 520px) {
  .social-modal {
    padding: 16px 12px 24px;
  }

  .social-profile__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feed-card {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-profile,
  .feed-card {
    animation: none;
  }
}

/* ==========================================================================
   Previous / next project: each button shows the neighbouring project, its
   picture in a small round frame and its name, like turning a page.
   ========================================================================== */
.modal-project-nav {
  gap: 8px;
}

.modal-project-control {
  gap: 10px;
  min-height: 50px;
  padding: 5px 18px 5px 12px;
  border-color: color-mix(in srgb, var(--ink, #171215) 16%, transparent);
  background: rgba(255, 255, 255, 0.78);
  color: #171215;
  text-align: left;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, box-shadow 300ms ease;
}

.modal-project-control[data-modal-move="1"] {
  flex-direction: row-reverse;
  padding: 5px 12px 5px 18px;
  text-align: right;
}

.pager__arrow {
  font-size: 15px;
  line-height: 1;
  transition: translate 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pager__thumb {
  flex: none;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 18, 21, 0.08), 0 6px 12px -6px rgba(23, 18, 21, 0.4);
  transition: rotate 450ms cubic-bezier(0.16, 1, 0.3, 1), scale 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.pager__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pager__text small {
  font: 600 9.5px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}

.pager__text b {
  max-width: 15ch;
  overflow: hidden;
  font: 700 13.5px / 1.15 Montserrat, Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-project-control:hover,
.modal-project-control:focus-visible {
  box-shadow: 0 12px 22px -14px var(--ink, #171215);
}

.modal-project-control[data-modal-move="-1"]:hover .pager__arrow,
.modal-project-control[data-modal-move="-1"]:focus-visible .pager__arrow {
  translate: -4px 0;
}

.modal-project-control[data-modal-move="1"]:hover .pager__arrow,
.modal-project-control[data-modal-move="1"]:focus-visible .pager__arrow {
  translate: 4px 0;
}

.modal-project-control:hover .pager__thumb,
.modal-project-control:focus-visible .pager__thumb {
  rotate: -8deg;
  scale: 1.08;
}

/* The web window keeps its compact browser arrows. */
.project-modal--web .modal-project-control,
.project-modal--web .modal-project-control[data-modal-move="1"] {
  flex-direction: row;
  min-height: 34px;
  padding: 0;
  box-shadow: none;
}

.project-modal--web .modal-project-control .pager__arrow {
  display: inline;
  font-size: 18px;
}

@media (max-width: 760px) {
  .modal-project-control,
  .modal-project-control[data-modal-move="1"] {
    gap: 8px;
    min-height: 44px;
    padding: 4px 12px 4px 8px;
  }

  .modal-project-control[data-modal-move="1"] {
    padding: 4px 8px 4px 12px;
  }

  .pager__text {
    display: none;
  }

  .pager__thumb {
    width: 34px;
    height: 34px;
  }
}

/* The phone menu now has seven links. */
@media (max-width: 900px) {
  .topbar.is-menu-open .nav-links a:nth-of-type(6) { transition-delay: 300ms; }
  .topbar.is-menu-open .nav-links a:nth-of-type(7) { transition-delay: 360ms; }
}



/* ==========================================================================
   Web window: the recording, then each page as a desktop window with its
   phone version leaning on a corner, alternating sides. Hovering a page
   scrolls the long captures down, like reading the real site.
   ========================================================================== */
.web-pairs {
  display: grid;
  gap: clamp(46px, 6vw, 84px);
}

.web-pair {
  --phone-room: clamp(70px, 15%, 160px);
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 var(--phone-room) clamp(26px, 4vw, 48px) 0;
}

.web-pair:nth-child(even) {
  padding: 0 0 clamp(26px, 4vw, 48px) var(--phone-room);
}

.web-pair--solo,
.web-pair--solo:nth-child(even) {
  padding: 0;
}

.web-pair .web-screen__media {
  aspect-ratio: 16 / 10;
  max-height: none;
  overflow: hidden;
}

.web-pair--reel .web-screen__media {
  aspect-ratio: 16 / 9;
}

.web-pair .web-screen__media img,
.web-pair .web-screen__media video,
.web-phone__media img,
.web-phone__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.web-pair .web-screen__media img {
  transition: object-position 5s cubic-bezier(0.45, 0, 0.55, 1);
}

.web-phone__media img {
  transition: object-position 6s cubic-bezier(0.45, 0, 0.55, 1);
}

.web-pair:hover .web-screen__media img,
.web-pair:hover .web-phone__media img {
  object-position: 50% 100%;
}

.web-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(104px, 21%, 214px);
  aspect-ratio: 9 / 19;
  padding: 7px;
  border-radius: 30px;
  background: linear-gradient(145deg, #2c2329, #120d10 60%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 34px 50px -26px rgba(20, 8, 14, 0.65);
  rotate: 3deg;
  animation: window-rise 700ms var(--win-ease) both;
  animation-delay: calc(var(--i) * 90ms + 360ms);
  transition: rotate 600ms var(--win-ease), translate 600ms var(--win-ease);
}

.web-pair:nth-child(even) .web-phone {
  right: auto;
  left: 0;
  rotate: -3deg;
}

.web-pair:hover .web-phone {
  rotate: 0deg;
  translate: 0 -8px;
}

.web-phone__island {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 1;
  width: 30%;
  height: 11px;
  border-radius: 999px;
  background: #0d0a0c;
  translate: -50% 0;
}

.web-phone__media {
  height: 100%;
  overflow: hidden;
  border-radius: 23px;
  background: #fff;
}

.web-pair figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  color: var(--win-ink);
  font: 700 15px Montserrat, Arial, sans-serif;
  letter-spacing: -0.01em;
}

.web-pair figcaption span {
  color: var(--win-accent);
  font: 600 11px var(--mono);
  letter-spacing: 0.08em;
}

.web-pair:nth-child(even) figcaption {
  justify-content: flex-end;
}

.web-modal__reel + .web-modal__screens {
  margin-top: clamp(10px, 2vw, 24px);
}

@media (max-width: 760px) {
  .web-pair {
    --phone-room: 16%;
  }

  .web-phone {
    width: 27%;
    padding: 5px;
    border-radius: 20px;
  }

  .web-phone__media {
    border-radius: 15px;
  }

  .web-phone__island {
    top: 9px;
    height: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-phone {
    animation: none;
  }

  .web-pair .web-screen__media img,
  .web-phone__media img {
    transition: none;
  }
}

/* Laptops: six links no longer fit beside "Hablemos". The numbers go and
   the pill sits between the logo and the button instead of the exact centre. */
@media (max-width: 1180px) and (min-width: 901px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .nav-links {
    justify-self: center;
  }

  .nav-links a {
    padding: 10px 13px;
  }

  .nav-links a span {
    display: none;
  }
}

/* Small laptops: "Hablemos" moves into the pill as its last link. */
@media (max-width: 1040px) and (min-width: 901px) {
  .topbar__cta {
    display: none;
  }

  .nav-links .nav-links__contact {
    display: inline-flex;
  }
}

/* Buttons take the page's typeface (browsers give them their own). */
button {
  font-family: inherit;
}

/* ==========================================================================
   Web: choosing a project. Every folder shows "Abrir ↗" when you point at
   it (and the selected one always does on touch screens); the selected tab
   carries an arrow and opens on a second click.
   ========================================================================== */
.folder-open {
  position: absolute;
  top: 12%;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px -12px rgba(30, 10, 22, 0.6);
  color: var(--win-ink, #24121c);
  font: 700 12px Montserrat, Arial, sans-serif;
  white-space: nowrap;
  opacity: 0;
  translate: -50% 8px;
  pointer-events: none;
  transition: opacity 250ms ease, translate 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.folder-open b {
  color: var(--category-accent);
  font-weight: 700;
}

.project-orb--folder:hover .folder-open,
.project-orb--folder:focus-visible .folder-open {
  opacity: 1;
  translate: -50% 0;
}

@media (hover: none) {
  .project-orb--folder.is-active .folder-open {
    opacity: 1;
    translate: -50% 0;
  }
}

.web-file__go {
  margin-left: 2px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  translate: -4px 0;
  transition: opacity 250ms ease, translate 300ms ease;
}

.web-file.is-active .web-file__go {
  opacity: 1;
  translate: 0 0;
}

/* Sobre mí: the four roles and the statement, scaled back so they sit in
   proportion with the name (roles fit on one or two lines). */
.about-copy .role-list p {
  gap: 10px;
  font-size: clamp(13px, 1.05vw, 15.5px);
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: normal;
}

.about-copy .role-list span {
  width: 28px;
  height: 28px;
  font-size: 10px;
}

.about-copy .statement {
  max-width: 760px;
  font-size: clamp(20px, 2.3vw, 29px);
}

/* Web carousel: the side folders sit back in 3D, behind the track's plane,
   so the track lets clicks through and only the folders catch them. */
.web-desktop .project-orbit__track {
  pointer-events: none;
}

.web-desktop .project-orb--folder.is-visible {
  pointer-events: auto;
}

/* Phones: the hero keeps room at the bottom for the spinning badge, so it
   sits between the buttons and the tape instead of over "Hablemos". */
@media (max-width: 700px) {
  .hero {
    padding-bottom: 260px;
  }
}

/* Tablets: the badge would land on the logo at the side, so it takes the
   phone placement: centred between the buttons and the tape. */
@media (min-width: 701px) and (max-width: 1100px) {
  .hero {
    padding-bottom: 280px;
  }

  .hero-badge {
    right: auto;
    bottom: calc(6% + 84px);
    left: 50%;
    width: 96px;
    translate: -50% 0;
  }
}

/* Phone menu: seven links in the fine Cormorant, sized to fit the screen's height too. They size to the
   smaller of width and height, start below the logo, and scroll if a very
   short screen still can't hold them. */
@media (max-width: 900px) {
  .nav-links {
    justify-content: safe center;
    padding-top: 104px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-links a,
  .nav-links .nav-links__contact {
    padding: 2px 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(34px, min(11.5vw, 7.2vh), 66px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.01em;
  }

  .nav-links__foot {
    margin-top: 18px;
  }
}

/* Safari sizes "auto" grid tracks by their min-content, so the full-bleed
   bands (100vw) stretched every section past the screen. Keep tracks fluid. */
.selected-intro,
.selected-intro__weave,
.category-showcases {
  grid-template-columns: minmax(0, 1fr);
}

.selected-intro > *,
.selected-intro__weave > *,
.category-showcases > * {
  min-width: 0;
}

main {
  overflow-x: clip;
}

/* iOS Safari ignores the unprefixed user-select: a long press on a carousel
   selected the artwork and painted the blue selection veil over it. */
.brand-reel,
.brand-reel *,
.project-orbit,
.project-orbit *,
.mag__pile,
.mag__pile *,
.wall__viewport,
.wall__viewport *,
.wall__filters,
.feed-card__slides,
.feed-card__slides *,
.selected-intro__mask {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img,
video {
  -webkit-user-drag: none;
}

a,
button,
[data-open-active] {
  -webkit-tap-highlight-color: transparent;
}

/* Editorial: the open issue follows a sideways drag before the pile turns. */
.mag__pile {
  cursor: grab;
  touch-action: pan-y;
}

.mag__pile.is-dragging {
  cursor: grabbing;
}

.mag__pile.is-dragging .mag-spread.is-active {
  transform: translateX(var(--drag, 0px)) rotate(var(--mag-tilt, 0deg));
  transition: none;
}

/* --- Home: the way into the blog ----------------------------------------------
   The three latest hyperfixations as records (sleeve + vinyl, like the blog's
   crate) and a banner into the playlists. */
.home-blog {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.6fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px) clamp(30px, 5vw, 80px);
  width: min(100% - 2 * clamp(20px, 4vw, 56px), 1240px);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 130px) 0 clamp(80px, 10vw, 140px);
}

.home-blog__head .eyebrow {
  color: #8b164f;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.home-blog__title {
  margin: 0 0 20px;
  color: #2a0418;
  font: 400 clamp(54px, 7vw, 108px) / 0.88 "DM Serif Display", Georgia, serif;
  letter-spacing: -0.035em;
}

.home-blog__title em {
  display: block;
  padding-left: 0.35em;
  color: #b12b63;
  font: italic 500 1.12em / 0.85 "Cormorant Garamond", Georgia, serif;
}

.home-blog__dek {
  max-width: 36ch;
  margin: 0 0 28px;
  color: rgba(42, 4, 24, 0.78);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
}

.home-blog__records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-record {
  display: grid;
  gap: 18px;
  color: var(--deep);
  text-decoration: none;
}

.home-record__deck {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin-right: 12%;
}

.home-record__vinyl {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--tint) 0 13%, var(--ink) 13.5% 31%, #0d0a0b 31.5% 33%, transparent 33.5%),
    conic-gradient(from 30deg, transparent 0 18%, rgba(255, 255, 255, 0.12) 24%, transparent 30% 68%, rgba(255, 255, 255, 0.08) 74%, transparent 80%),
    repeating-radial-gradient(circle, #151012 0 1.4px, #241b20 1.4px 2.8px);
  box-shadow: 0 20px 34px -18px rgba(0, 0, 0, 0.65);
  translate: 10% -50%;
  transition: translate 800ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: home-record-spin 3.2s linear infinite paused;
}

@keyframes home-record-spin {
  to { rotate: 360deg; }
}

.home-record__sleeve {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 4px;
  background: color-mix(in srgb, var(--tint) 70%, #fff);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 30px 44px -26px rgba(30, 6, 18, 0.7);
  rotate: var(--tilt, 0deg);
  transition: rotate 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-record__sleeve img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-record__type {
  display: grid;
  align-content: space-between;
  height: 100%;
  padding: 12%;
  color: var(--deep);
}

.home-record__type small {
  color: var(--ink);
  font: 600 10px "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-record__type b {
  font: 400 clamp(18px, 1.8vw, 24px) / 1.05 "DM Serif Display", Georgia, serif;
}

.home-record:hover .home-record__vinyl,
.home-record:focus-visible .home-record__vinyl {
  translate: 34% -50%;
  animation-play-state: running;
}

.home-record:hover .home-record__sleeve,
.home-record:focus-visible .home-record__sleeve {
  rotate: 0deg;
}

.home-record:focus-visible {
  outline: none;
}

.home-record:focus-visible .home-record__sleeve {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.home-record__meta {
  display: grid;
  gap: 6px;
}

.home-record__meta small {
  color: var(--ink);
  font: 600 10px / 1.5 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-record__meta b {
  font: 400 clamp(18px, 1.55vw, 22px) / 1.12 "DM Serif Display", Georgia, serif;
  text-wrap: balance;
}

.home-record__meta i {
  color: color-mix(in srgb, var(--deep) 72%, transparent);
  font: italic 500 16px / 1.3 "Cormorant Garamond", Georgia, serif;
}

/* Banner into the playlists: a fan of records in each playlist's colours. */
.home-mixes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 40px);
  overflow: hidden;
  border-radius: 28px;
  background: #1f0313;
  color: #fffdf8;
  text-decoration: none;
  isolation: isolate;
  position: relative;
}

.home-mixes::before {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 50%, rgba(184, 35, 26, 0.5) 0 8%, transparent 28%),
    radial-gradient(circle at 60% 20%, rgba(139, 22, 79, 0.75) 0 10%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(45, 102, 54, 0.45) 0 8%, transparent 26%);
  filter: blur(30px);
  content: "";
}

.home-mixes__discs {
  position: relative;
  width: clamp(150px, 15vw, 200px);
  height: clamp(80px, 8vw, 104px);
}

.home-mixes__discs i {
  position: absolute;
  top: 50%;
  left: calc(var(--i) * 12%);
  width: clamp(72px, 7.2vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fffdf9 0 4%, var(--tint) 4.5% 15%, var(--ink) 15.5% 31%, #0d0a0b 31.5% 33%, transparent 33.5%),
    repeating-radial-gradient(circle, #151012 0 1.2px, #241b20 1.2px 2.4px);
  box-shadow: 6px 0 14px -6px rgba(0, 0, 0, 0.7);
  translate: 0 -50%;
  transition: translate 600ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i) * 30ms);
}

.home-mixes:hover .home-mixes__discs i,
.home-mixes:focus-visible .home-mixes__discs i {
  translate: calc(var(--i) * 4px) -50%;
}

.home-mixes__copy {
  display: grid;
  gap: 4px;
}

.home-mixes__copy small {
  color: #ffb6cf;
  font: 600 11px "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-mixes__copy b {
  font: 400 clamp(24px, 2.6vw, 36px) / 1 "DM Serif Display", Georgia, serif;
}

.home-mixes__copy b em {
  color: #ffb6cf;
  font: italic 500 1.1em "Cormorant Garamond", Georgia, serif;
}

.home-mixes__copy span {
  color: rgba(255, 253, 248, 0.78);
  font-size: 14px;
}

.home-mixes__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 250ms ease, color 250ms ease;
}

.home-mixes:hover .home-mixes__cta,
.home-mixes:focus-visible .home-mixes__cta {
  background: #fffdf8;
  color: #2a0418;
}

@media (max-width: 980px) {
  .home-blog {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  /* The records become a sideways shelf you swipe through. */
  .home-blog__records {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 68%;
    margin-inline: calc(-1 * clamp(20px, 4vw, 56px));
    padding: 6px clamp(20px, 4vw, 56px) 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-blog__records::-webkit-scrollbar {
    display: none;
  }

  .home-blog__records li {
    scroll-snap-align: start;
  }

  .home-mixes {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .home-mixes__cta {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-record__vinyl {
    animation: none;
  }
}
