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

.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.home main {
  flex: 1;
  display: flex;
  overflow-x: clip;
}
.home .hero {
  min-height: 0;
  margin: 0 auto;
  align-content: center;
  padding: 1.6rem 0;
  gap: 5.6rem;
}
@media (max-width: 767.98px) {
  .home .hero {
    grid-template-rows: auto 1fr;
    padding: 6rem 0 1.6rem;
  }
}
@media (min-width: 768px) {
  .home .hero {
    gap: 4rem;
  }
}
@media (min-width: 1024px) {
  .home .hero {
    gap: 8rem;
  }
}
.home .hero__content {
  gap: 2rem;
}
@media (min-width: 768px) {
  .home .hero__content {
    gap: 2.6rem;
  }
}
@media (max-width: 767.98px) {
  .home .hero__content {
    padding-inline: 1.2rem;
  }
}
@media (max-width: 767.98px) {
  .home .hero__content p {
    font-size: 1.6rem;
    line-height: 1.55;
  }
}
@media (max-width: 767.98px) {
  .home .hero__content .tag {
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    font-size: 1.3rem;
  }
  .home .hero__content .tag::before {
    width: 0.5rem;
    height: 0.5rem;
  }
}
.home .hero__collage {
  gap: 0;
}
.home .hero__selfie-frame {
  flex-shrink: 0;
  width: clamp(128px, min(64vw, 100dvh - 374px), 221px);
  height: clamp(128px, min(64vw, 100dvh - 374px), 221px);
}
@media (min-width: 768px) {
  .home .hero__selfie-frame {
    width: clamp(220px, 55vh, 420px);
    height: clamp(220px, 55vh, 420px);
  }
}
.home .hero__selfie {
  border-width: 4px;
}
@media (min-width: 768px) {
  .home .hero__selfie {
    border-width: 8px;
  }
}
.home .hero__badge {
  margin-top: -1.8rem;
}
@media (max-width: 767.98px) {
  .home .hero__badge {
    gap: 0.7rem;
    padding: 0.8rem 1.4rem;
    font-size: 1.15rem;
  }
}
@media (min-width: 768px) {
  .home .hero__badge {
    margin-top: -2.4rem;
  }
}
@media (max-width: 767.98px) and (max-height: 595px) {
  .home .hero {
    gap: 1.6rem;
    padding-block: 1.2rem;
  }
  .home .hero__content {
    gap: 1.4rem;
  }
  .home .hero h1 {
    font-size: 4.6rem;
  }
  .home .hero__content p {
    font-size: 1.6rem;
  }
}
@media (min-width: 768px) and (max-width: 1023.98px) and (orientation: portrait) {
  .home .hero {
    justify-items: center;
    gap: 4.8rem;
  }
  .home .hero__content {
    align-items: center;
    text-align: center;
  }
  .home .hero__content p {
    max-width: 52rem;
  }
  .home .hero__selfie-frame {
    width: clamp(300px, 40vh, 400px);
    height: clamp(300px, 40vh, 400px);
  }
}
@media (min-width: 640px) and (max-width: 1023.98px) and (orientation: landscape) {
  .home .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: none;
    grid-template-areas: "content collage";
    gap: 4rem;
  }
  .home .hero__selfie-frame {
    width: clamp(160px, 48vh, 340px);
    height: clamp(160px, 48vh, 340px);
  }
  .home .hero__collage {
    flex-direction: column;
  }
}
@media (max-width: 1023.98px) {
  .home .hero__content h1,
  .home .hero__content p,
  .home .hero__actions .link-action {
    text-shadow: 0 0 2px var(--bg), 0 0 10px var(--bg), 0 0 18px var(--bg);
  }
  .home .hero__actions .link-action svg {
    filter: drop-shadow(0 0 3px var(--bg)) drop-shadow(0 0 8px var(--bg));
  }
}

.hero {
  width: min(92%, 1240px);
  min-height: auto;
  margin: 0rem auto 8rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "content" "collage";
  align-items: center;
  gap: 4rem;
}
@media (min-width: 768px) {
  .hero {
    min-height: 680px;
  }
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 440px 1fr;
    grid-template-areas: "content collage";
    gap: 8rem;
  }
}

.hero__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.6rem;
  opacity: 0;
  transform: translate(80px);
  animation: derecha 1s ease-out forwards;
}

.hero__collage {
  grid-area: collage;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero h1 {
  font-size: 5.2rem;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: clamp(5rem, 6vw, 7.2rem);
  }
}

.hero h1 span {
  color: var(--accent);
}

.hero__content p {
  max-width: 43rem;
  color: var(--gray);
  font-size: 1.7rem;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 3.4rem;
}

.hero__selfie-frame {
  position: relative;
  width: 190px;
  height: 190px;
  opacity: 0;
  transform: translateX(80px);
  animation: derecha 1s ease-out forwards;
}
@media (min-width: 768px) {
  .hero__selfie-frame {
    width: 340px;
    height: 340px;
  }
}

.js-loading .hero__content,
.js-loading .hero__selfie-frame,
.js-loading .hero__badge {
  animation-play-state: paused;
}

@keyframes derecha {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.dna-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
}

.dna-bg ~ section {
  position: relative;
  z-index: 1;
}

.hero__selfie {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 25%;
     object-position: center 25%;
  border-radius: 50%;
  border: 8px solid var(--bg);
  box-shadow: var(--shadow);
}

.hero__badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.8rem;
  border: 1px solid;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero__badge {
    background: var(--glass-fallback);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .hero__badge {
    background: var(--glass-fallback);
    backdrop-filter: none;
  }
}
.hero__badge {
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  animation: badgeIn 0.6s ease-out 0.8s forwards;
}

@keyframes badgeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.status-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--status);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--status);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot::after {
    animation: none;
  }
}
.dna-loader {
  display: none;
}

.dna-loader-on body {
  overflow: hidden;
}
.dna-loader-on .dna-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: block;
  background: var(--bg);
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.dna-loader-on .dna-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.dna-loader__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.dna-loader__info {
  position: absolute;
  top: 8rem;
  left: calc(4% + 1.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.2rem 2.4rem;
}
@media (min-width: 768px) {
  .dna-loader__info {
    top: auto;
    left: max(4%, (100% - 1240px) / 2);
    bottom: 5.6rem;
  }
}

.dna-loader__count {
  min-width: 2.2ch;
  font-size: clamp(9rem, 16vw, 18rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.dna-loader__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.4rem;
}

.dna-loader__seq {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
}

.dna-loader__label {
  font-size: 1.4rem;
  color: var(--gray);
}

.dna-loader__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--border);
}

.dna-loader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--silver), var(--accent), var(--black));
  transform: scaleX(0);
  transform-origin: left;
}

.projects {
  width: min(92%, 1240px);
  margin: 0 auto;
  padding: 4.8rem 0 6rem;
}
@media (min-width: 768px) {
  .projects {
    padding: 8rem 0 8rem;
  }
}

.projects__intro {
  padding-bottom: 2.4rem;
  margin-bottom: 3.2rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 767.98px) {
  .projects__intro {
    padding-inline: var(--card-pad);
  }
}
@media (min-width: 768px) {
  .projects__intro {
    margin-bottom: 4rem;
  }
}

.projects__intro h1 {
  font-size: clamp(3.2rem, 4vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 768px) {
  .projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4.8rem 2.4rem;
  }
}
@media (min-width: 1024px) {
  .projects__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .project-card--wide {
    grid-column: span 2;
  }
}

@media (min-width: 768px) {
  .project-card--wide-tablet {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .project-card--wide-tablet {
    grid-column: auto;
  }
}

.project-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  border-radius: 3rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 24px 48px -12px rgba(15, 23, 42, 0.14);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.project-card__link:hover {
  transform: scale(1.015);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 32px 60px -14px rgba(15, 23, 42, 0.2);
}

.project-card__link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.project-card__media {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 38rem;
  overflow: hidden;
  border-radius: 2.2rem;
  background: radial-gradient(120% 90% at 15% 0%, color-mix(in srgb, var(--tint) var(--glow, 84%), #fff) 0%, transparent 60%), var(--tint);
  color: var(--white);
  isolation: isolate;
}
@media (min-width: 1024px) {
  .project-card__media {
    height: 44rem;
  }
}

.project-card__media-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2rem 2rem 0;
}

.project-card__media-head h2 {
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.project-card__meta {
  display: block;
  margin-top: 0.2rem;
  color: var(--white);
  font-size: 1.2rem;
}

.project-card__browser {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 86%;
  margin: 2.4rem auto -1.2rem;
  overflow: hidden;
  border-radius: 1.2rem 1.2rem 0 0;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 30px 60px -10px rgba(0, 0, 0, 0.45);
  transition: translate 0.5s var(--ease-spring);
}

.project-card--wide .project-card__browser {
  width: 76%;
}

.project-card__browser-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--soft-gray);
  background: #f6f7f8;
}

.project-card__browser-bar i {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #d9dde1;
}

.project-card__browser-bar span {
  flex: 1;
  margin-left: 0.8rem;
  padding: 0.3rem 1rem;
  overflow: hidden;
  border-radius: 0.6rem;
  background: var(--white);
  color: var(--gray);
  font-size: 1.1rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card__browser-screen {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  container-type: size;
}

.project-card__browser-screen img {
  width: 100%;
  height: auto;
  min-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card__link:is(:hover, :focus-visible) .project-card__browser {
  translate: 0 -0.6rem;
}

.project-card__link:is(:hover, :focus-visible) .project-card__browser-screen img {
  transform: translateY(calc(-100% + 100cqh));
  transition: transform var(--scroll-time, 6s) cubic-bezier(0.45, 0, 0.55, 1) 0.15s;
}

.project-card--static .project-card__link:is(:hover, :focus-visible) .project-card__browser-screen img {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .project-card__link:is(:hover, :focus-visible) .project-card__browser-screen img {
    transform: none;
  }
}
.project-card__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 1.3rem;
  font-weight: 500;
  transition: background 0.25s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .project-card__cta {
    background: rgba(40, 46, 56, 0.6);
  }
}

.project-card__cta svg {
  width: 0;
  height: 1.4rem;
  margin-left: 0;
  opacity: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(-0.4rem);
  transition: width 0.25s ease, margin-left 0.25s ease, opacity 0.2s ease, transform 0.3s var(--ease-spring);
}

.project-card__link:is(:hover, :focus-visible) .project-card__cta {
  background: rgba(255, 255, 255, 0.24);
}

.project-card__link:is(:hover, :focus-visible) .project-card__cta svg {
  width: 1.4rem;
  margin-left: 0.6rem;
  opacity: 1;
  transform: translateX(0.2rem);
}

@media (hover: none) {
  .project-card__cta svg {
    width: 1.4rem;
    margin-left: 0.6rem;
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-card__cta svg {
    transition: opacity 0.2s ease;
  }
}
.project-card__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  -moz-column-gap: 1.6rem;
       column-gap: 1.6rem;
  padding: 1.6rem 0.8rem 0.6rem 1.4rem;
}

.project-card__text {
  display: contents;
}

.project-card__text p {
  grid-column: 1;
  grid-row: 1;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1.45;
}

.project-card__highlights {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1/-1;
  grid-row: 2;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.project-card__highlights li:nth-child(n+4) {
  display: none;
}
@media (min-width: 768px) {
  .project-card__highlights li:nth-child(n+4) {
    display: revert;
  }
}

.project-card__highlights li {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--accent-text);
  font-size: 1.2rem;
  font-weight: 500;
}

.project-card__icon {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 1.4rem;
  background: color-mix(in srgb, var(--tint, var(--text)) 10%, #fff);
}
@media (min-width: 768px) {
  .project-card__icon {
    width: 6.2rem;
    height: 6.2rem;
    border-radius: 1.55rem;
  }
}

.project-card__icon--animal::before {
  content: "";
  width: 4.4rem;
  height: 4.4rem;
  background: var(--tint, var(--text));
  -webkit-mask: var(--animal) center/contain no-repeat;
  mask: var(--animal) center/contain no-repeat;
}
@media (min-width: 768px) {
  .project-card__icon--animal::before {
    width: 4.8rem;
    height: 4.8rem;
  }
}

.projects .next-page {
  margin-top: 8rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  width: min(92%, 1240px);
  margin: 0 auto;
  padding: 4.8rem 0 6rem;
}
@media (min-width: 768px) {
  .contact {
    align-content: center;
    min-height: calc(100vh - 1.6rem - 68px);
    min-height: calc(100dvh - 1.6rem - 68px);
    padding: 4rem 0;
  }
}
@media (min-width: 1024px) {
  .contact {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: 6.4rem;
  }
}

.contact__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
  padding-inline: calc(2rem + 1px);
}
@media (min-width: 768px) {
  .contact__intro {
    padding-inline: calc(2.4rem + 1px);
  }
}
@media (min-width: 1024px) {
  .contact__intro {
    padding-inline: 0;
  }
}

.contact__intro h1 {
  font-size: clamp(3.2rem, 4vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact__intro h1 span {
  display: block;
  color: var(--accent);
}

.contact__lead {
  max-width: 52rem;
  color: var(--gray);
  font-size: 1.6rem;
  line-height: 1.6;
}

.contact__lead br {
  display: none;
}
@media (min-width: 768px) {
  .contact__lead br {
    display: inline;
  }
}

.contact__email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.contact__email a {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(11, 18, 32, 0.25);
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.2s ease;
}

.contact__email a:hover {
  text-decoration-color: currentColor;
}

.contact__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 12px rgba(15, 23, 42, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease-out;
}
@media (min-width: 768px) {
  .contact__copy {
    gap: 0.6rem;
    padding: 0.8rem 1.4rem;
    font-size: 1.3rem;
  }
}

.contact__copy:hover {
  transform: scale(1.03);
}

.contact__copy:active {
  transform: scale(0.97);
}

.contact__copy:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.contact__copy svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 768px) {
  .contact__copy svg {
    width: 1.6rem;
    height: 1.6rem;
  }
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2.4rem;
  margin-top: 1.2rem;
}

.contact__actions .btn {
  gap: 0.8rem;
}

.contact__actions .btn svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem;
  border: 1px solid;
  border-radius: 3rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .contact__side {
    background: var(--glass-fallback);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .contact__side {
    background: var(--glass-fallback);
    backdrop-filter: none;
  }
}
@media (min-width: 768px) {
  .contact__side {
    padding: 2.4rem;
  }
}

.contact__code {
  width: 100%;
  overflow: hidden;
  border-radius: 2.2rem;
  background: var(--black);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 36px -14px rgba(15, 23, 42, 0.35);
}

.contact__code-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.contact__code-bar span {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.contact__code-bar p {
  margin-left: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.2rem;
}

.contact__code pre {
  margin: 0;
  padding: 1.4rem 1.4rem 1.8rem;
  overflow-x: auto;
  color: #c4ccd3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .contact__code pre {
    padding: 2rem 2.4rem 2.4rem;
    font-size: 1.4rem;
  }
}

.token-value {
  color: #ffffff;
}

.token-boolean {
  color: #8fd3b8;
}

.contact__code-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.2em;
  margin-left: 0.1em;
  vertical-align: -0.2em;
  background: #c4ccd3;
  animation: cursor-blink 1s steps(1) infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}
.contact__open {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
  padding: 2rem 2.4rem;
  border-radius: 2.2rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 36px -14px rgba(15, 23, 42, 0.14);
}

.contact__open h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact__open-group h3 {
  margin-bottom: 1rem;
  color: var(--gray);
  font-size: 1.4rem;
  font-weight: 500;
}

.contact__role {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact__role-note {
  margin-top: 0.4rem;
  color: var(--gray);
  font-size: 1.4rem;
}

.contact__open-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact__open-group li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
}

.contact__open-group svg {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: min(92%, 1240px);
  margin: 0 auto;
  padding: 3.2rem 0 6rem;
}
@media (min-width: 768px) {
  .case {
    gap: 5.6rem;
    padding-top: 4rem;
  }
}

.back-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 500;
  transition: background 0.25s ease;
}

.back-link svg {
  width: 0;
  height: 1.4rem;
  margin-right: 0;
  opacity: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(0.4rem);
  transition: width 0.25s ease, margin-right 0.25s ease, opacity 0.2s ease, transform 0.3s var(--ease-spring);
}

.back-link:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.24);
}

.back-link:is(:hover, :focus-visible) svg {
  width: 1.4rem;
  margin-right: 0.6rem;
  opacity: 1;
  transform: translateX(-0.2rem);
}

.back-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@media (hover: none) {
  .back-link svg {
    width: 1.4rem;
    margin-right: 0.6rem;
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-link svg {
    transition: opacity 0.2s ease;
  }
}
.case__heading {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
}
@media (max-width: 767.98px) {
  .case__heading {
    padding-inline: var(--card-pad);
  }
}

.case__eyebrow {
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case__heading h2 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.case__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
  overflow: hidden;
  padding: 3.2rem 2.4rem 0;
  border-radius: 3rem;
  background: radial-gradient(90% 80% at 90% 0%, color-mix(in srgb, var(--tint) 70%, #fff) 0%, transparent 62%), var(--tint);
  color: var(--white);
  isolation: isolate;
}
@media (min-width: 1024px) {
  .case__hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: end;
    gap: 4.8rem;
    padding: 4.8rem 0 0 4.8rem;
  }
}

.case__hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
}
@media (min-width: 1024px) {
  .case__hero-text {
    align-self: stretch;
    padding-bottom: 4.8rem;
  }
}

.case__hero-text .back-link {
  margin-bottom: 0.8rem;
}
@media (min-width: 1024px) {
  .case__hero-text .back-link {
    margin-bottom: auto;
  }
}

.case__badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
}

.case__animal {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.14);
}

.case__animal::before {
  content: "";
  width: 3.4rem;
  height: 3.4rem;
  background: var(--white);
  -webkit-mask: var(--animal) center/contain no-repeat;
  mask: var(--animal) center/contain no-repeat;
}

.case__hero h1 {
  font-size: clamp(3.2rem, 4.5vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.case__lead {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  line-height: 1.55;
}

.case__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  margin-top: 0.8rem;
}

.case__actions .btn {
  gap: 0.8rem;
}

.case__actions .btn svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case__actions .btn--light::before {
  background: var(--white);
  border-color: var(--white);
}

.case__actions .link-action {
  color: var(--white);
}

.case__browser {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.4rem 1.4rem 0 0;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 30px 60px -10px rgba(0, 0, 0, 0.45);
  color: var(--text);
}
@media (min-width: 1024px) {
  .case__browser {
    border-top-right-radius: 0;
  }
}

.case__browser-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--soft-gray);
  background: #f6f7f8;
}

.case__browser-bar i {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #d9dde1;
}

.case__browser-bar span {
  flex: 1;
  margin-left: 0.8rem;
  padding: 0.3rem 1rem;
  overflow: hidden;
  border-radius: 0.6rem;
  background: var(--white);
  color: var(--gray);
  font-size: 1.2rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case__browser-screen {
  aspect-ratio: 1440/758;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.case__browser-screen:focus-visible {
  outline: 3px solid var(--tint);
  outline-offset: -3px;
}

.case__browser-screen img {
  height: auto;
}

.case__browser-screen--static {
  overflow: visible;
}

.case__browser-hint {
  position: absolute;
  right: 1.6rem;
  bottom: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  pointer-events: none;
}

.case__browser-hint svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.4rem;
  padding: 2.4rem;
  border-radius: 2.2rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 36px -14px rgba(15, 23, 42, 0.14);
}
@media (min-width: 1024px) {
  .case__facts {
    grid-template-columns: 0.6fr 1fr 1fr 1.6fr;
    padding: 2.4rem 3.2rem;
  }
}

.case__facts dt {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case__facts dd {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.case__story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
}
@media (max-width: 767.98px) {
  .case__story {
    counter-reset: story;
  }
}
@media (min-width: 768px) {
  .case__story {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.2rem;
  }
}

.case__story article {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 767.98px) {
  .case__story article {
    position: relative;
    padding-top: 1.6rem;
    padding-inline: calc(var(--card-pad) + 2.4rem) var(--card-pad);
    counter-increment: story;
  }
  .case__story article .case__eyebrow::before {
    content: counter(story, decimal-leading-zero) " · ";
    color: var(--tint);
    font-weight: 700;
  }
  .case__story article::before {
    content: "";
    position: absolute;
    top: 2.55rem;
    left: calc(var(--card-pad) + 0.5rem - 0.075rem);
    width: 0.15rem;
    height: calc(100% + 2.4rem);
    background: color-mix(in srgb, var(--tint) 40%, var(--border));
  }
  .case__story article:last-of-type::before {
    display: none;
  }
  .case__story article::after {
    content: "";
    position: absolute;
    top: 2.05rem;
    left: var(--card-pad);
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--tint);
    box-shadow: 0 0 0 0.4rem var(--bg);
  }
}

.case__story h3 {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.case__story p {
  color: var(--gray);
  font-size: 1.5rem;
  line-height: 1.6;
}

.case__bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
@media (min-width: 768px) {
  .case__bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .case__bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }
}

.case__tile {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 2.4rem;
  border-radius: 2.4rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 36px -14px rgba(15, 23, 42, 0.12);
}

.case__tile h3 {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.case__tile p {
  color: var(--gray);
  font-size: 1.4rem;
  line-height: 1.55;
}

.case__tile-index {
  color: var(--tint);
  font-size: 1.3rem;
  font-weight: 700;
}

.case__tile--feature {
  overflow: hidden;
  padding-bottom: 0;
}
@media (min-width: 768px) {
  .case__tile--feature {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .case__tile--feature {
    grid-row: span 2;
  }
}

.case__tile--feature img {
  height: auto;
  aspect-ratio: 16/8;
  margin-top: auto;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  border-radius: 1.2rem 1.2rem 0 0;
  box-shadow: 0 0 0 1px var(--soft-gray);
}

.case__tile--feature p {
  margin-bottom: 2rem;
}

.case__code {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .case__code {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4.8rem;
  }
}

.case__code .case__heading {
  margin-bottom: 1.2rem;
}

@media (max-width: 767.98px) {
  .case__code-text > p {
    padding-inline: var(--card-pad);
  }
}

.case__code-text p {
  color: var(--gray);
  font-size: 1.5rem;
  line-height: 1.6;
}

.case__code-text p + p {
  margin-top: 1rem;
}

.case__code-text code,
.case__tile code {
  padding: 0.1rem 0.5rem;
  border-radius: 0.4rem;
  background: var(--soft-gray);
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.case__snippet {
  overflow: hidden;
  border-radius: 2.2rem;
  background: #0b1220;
  box-shadow: 0 30px 60px -20px rgba(11, 18, 32, 0.5);
}

.case__snippet figcaption {
  padding: 1.2rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #8b97a3;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.2rem;
}

.case__snippet pre {
  overflow-x: auto;
  padding: 2rem;
  color: #e6eaf0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.3rem;
  line-height: 1.7;
  -moz-tab-size: 2;
    -o-tab-size: 2;
       tab-size: 2;
}

.token-keyword {
  color: #9fb4c7;
}

.token-function {
  color: #a9c0cd;
  font-weight: 600;
}

.token-string {
  color: #c4d6a4;
}

.token-comment {
  color: #6b7a89;
  font-style: italic;
}

.case__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}
@media (min-width: 1024px) {
  .case__gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.case__gallery figure {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.case__gallery img {
  height: auto;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 1.8rem;
}

.case__gallery figcaption {
  color: var(--gray);
  font-size: 1.3rem;
}

.case__credit {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.case__gallery--tall {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
@media (min-width: 1024px) {
  .case__gallery--tall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.case__gallery--tall figcaption {
  font-size: 1.2rem;
  line-height: 1.35;
}

.case__gallery--tall img {
  aspect-ratio: 4/5;
  border-radius: 1.2rem;
}

.case__devices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: end;
}
@media (min-width: 768px) {
  .case__devices {
    grid-template-columns: 3fr 1.9fr 0.95fr;
    gap: 1.6rem;
  }
}

.case__devices figure {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.case__devices img {
  height: auto;
  border-radius: 1.4rem;
  box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.35);
}

.case__devices figcaption {
  color: var(--gray);
  font-size: 1.3rem;
}

.case__devices figcaption strong {
  color: var(--text);
}

.case__versions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.4rem;
}
@media (min-width: 768px) {
  .case__versions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }
}

.case__version {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.case__version img {
  height: auto;
  border-radius: 1.4rem;
  box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.35);
}

.case__version figcaption {
  color: var(--gray);
  font-size: 1.3rem;
  line-height: 1.45;
}
@media (max-width: 767.98px) {
  .case__version figcaption {
    padding-inline: var(--card-pad);
  }
}

.case__version figcaption strong {
  color: var(--text);
}

.case__stamp {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}

.case__swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}
@media (min-width: 1024px) {
  .case__swatches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.case__swatch {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2.2rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 36px -14px rgba(15, 23, 42, 0.12);
}

.case__swatch-sample {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 12rem;
  padding: 1.6rem;
  background: var(--bg-sample);
  color: var(--fg-sample);
}

.case__swatch-sample span:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
}

.case__swatch-sample span:last-child {
  font-size: 1.3rem;
  font-weight: 600;
}

.case__swatch-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.6rem;
}

.case__swatch-info strong {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.case__swatch-info span {
  color: var(--gray);
  font-size: 1.3rem;
  line-height: 1.45;
}

.case__next {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem;
  border-radius: 3rem;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--next-tint) 70%, #fff) 0%, transparent 60%), var(--next-tint);
  color: var(--white);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}
@media (min-width: 768px) {
  .case__next {
    padding: 3.2rem 4rem;
  }
}

.case__next:hover {
  transform: scale(1.01);
  box-shadow: 0 32px 60px -14px rgba(15, 23, 42, 0.3);
}

.case__next:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.case__next-text {
  flex: 1;
  min-width: 0;
}

.case__next-text span {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case__next-text strong {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.case__next .case__animal {
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 1.8rem;
}

.case__next .case__animal::before {
  width: 4.8rem;
  height: 4.8rem;
}

.case__next-arrow {
  width: 2.4rem;
  height: 2.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-spring);
}

.case__next:hover .case__next-arrow {
  transform: translateX(0.4rem);
}

@media (prefers-reduced-motion: reduce) {
  .case__next,
  .case__next-arrow {
    transition: none;
  }
}