

:root {
  color-scheme: dark;
  --ink: #181716;
  --cream: #f8eee5;
  --orange: #ff542f;
  --mute: #c6b9ae;
  --line: #ffffff25;
  font-family: Bricolage, Arial, sans-serif;
  color: var(--cream);
  background: var(--ink);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 82% 14%,#401f17 0,transparent 42rem),url("assets/carbon.svg") repeat,#181716;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

.skip {
  position: fixed;
  left: 1rem;
  top: 1rem;
  padding: 12px;
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-200%);
  z-index: 40;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1192px,calc(100% - 80px));
  margin-inline: auto;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.hero h1,
h2,
.project-page h1 {
  font-weight: 900;
  letter-spacing: -.078em;
  line-height: .97;
  margin: 0;
  text-wrap: balance;
}

.hero h1 strong,
h2 em,
.contact strong {
  color: var(--orange);
  font-style: normal;
}

.hero p,
.section-lead,
.contact>p {
  font-size: clamp(1.06rem,1.65vw,1.35rem);
  line-height: 1.5;
  color: var(--mute);
  max-width: 38ch;
}

.section {
  padding-block: 85px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 18px;
}

.section-lead {
  margin: 15px 0 29px;
}

.services,
.projects {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: 30px;
}

.service h3,
.project h3 {
  font-size: 1.45rem;
  letter-spacing: -.045em;
  margin: 0;
}

.contact-links a,
.back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  min-height: 44px;
  font-size: .92rem;
}

.contact-links a:hover,
.back:hover {
  text-decoration: underline;
}

.closing .scene-logo {
  width: min(78vw,570px);
  margin-bottom: 12px;
}

@media (max-width:960px) {
  .wrap {
    width: calc(100% - 56px);
  }
}

@media (max-width:690px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .section {
    padding-block: 54px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto!important;
    animation-duration: .01ms!important;
    transition-duration: .01ms!important;
  }
}

@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

html {
  -webkit-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
}


.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 153px;
}

.wordmark {
  left: 50%;
  position: static;
  transform: none;
  width: 138px;
  flex: none;
  display: block;
}

.wordmark img {
  width: 100%;
}

@media (max-width:690px) {
  .nav {
    align-content: center;
    flex-wrap: wrap;
    min-height: 112px;
  }

  .wordmark {
    width: 112px;
  }
}

.top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  color: var(--cream);
}

.top::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 86% 107% at 50% 0%, #ff542fb6, #ca43289c 32%, #702a1d75 70%, transparent 100%);
  mask-image: linear-gradient(#000 8%, #000c 46%, transparent 100%);
  animation: aurora-flow 12s ease-in-out infinite alternate;
}

@keyframes aurora-flow {
  to {
    transform: translateX(3%) scaleX(1.08) skewX(-8deg);
  }
}

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


.hero {
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.hero>div:first-child {
  position: relative;
  z-index: 1;
}

.hero h1 {
  text-wrap: initial;
}

.hero p {
  margin: 26px 0;
}

@media (max-width:960px) {
  .hero {
    grid-template-columns: 1fr .28fr;
  }

  .hero h1 {
    font-size: clamp(2.5rem,6.6vw,5.7rem);
  }
}

@media (max-width:690px) {
  .hero {
    display: block;
    min-height: auto;
    padding: 75px 0 68px;
  }

  .hero h1 {
    letter-spacing: -.069em;
  }

  .hero p {
    max-width: 32ch;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  padding-block: clamp(40px,8vw,110px);
  min-height: 0;
}

.hero h1 {
  letter-spacing: -.064em;
}

.hero-line {
  grid-template-columns: minmax(0,1fr) max-content;
  align-items: baseline;
  column-gap: 3vw;
}

.hero-line + .hero-line {
  margin-top: .14em;
}

.hero-line strong {
  font-weight: 800;
}

.hero-logo {
  display: inline-block;
  width: 2.12em;
  vertical-align: -.275em;
  margin: 0 -.11em;
  max-width: none;
}

.hero p {
  max-width: 49ch;
}

@media (max-width:690px) {
  .hero h1 {
    font-size: clamp(1.8rem,5.8vw,2.53rem);
  }

  .hero-line {
    column-gap: 8px;
  }

  .hero-logo {
    width: 1.86em;
  }

  .hero-line:nth-child(2) {
    margin-top: .3em;
  }
}

@media (max-width:390px) {
  .hero-line {
    grid-template-columns: 1fr;
  }

  .hero-line strong {
    justify-self: end;
    font-size: 1.17em;
  }

  .hero-line:nth-child(2) {
    margin-top: .36em;
  }
}

.hero h1 {
  font-size: clamp(1.85rem,5.65vw,5.5rem);
  line-height: 1.07;
}

.hero-line {
  display: block;
}

.hero-end {
  white-space: nowrap;
}

.hero .depth-word {
  display: inline-block;
  color: #fff0e7;
  text-shadow: calc(var(--dx, .8px)*1) calc(var(--dy, 1px)*1) #ff542f,calc(var(--dx, .8px)*2) calc(var(--dy, 1px)*2) #ff542f,calc(var(--dx, .8px)*3) calc(var(--dy, 1px)*3) #ff542f,calc(var(--dx, .8px)*4) calc(var(--dy, 1px)*4) #ff542f,calc(var(--dx, .8px)*5) calc(var(--dy, 1px)*5) #ff542f,calc(var(--dx, .8px)*6) calc(var(--dy, 1px)*6) #ff542f;
}

@media (max-width:390px) {
  .hero h1 {
    font-size: clamp(1.65rem,7.2vw,1.95rem);
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero .depth-word {
    --dx: .8px!important;
    --dy: 1px!important;
  }
}

.hero .depth-word {
  transition: none;
}

.hero {
  padding-top: clamp(28px,4.1vw,64px);
}

@media (max-width:690px) {
  .hero {
    padding-top: 36px;
  }
}


.pixel-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.service {
  padding: 25px;
  border: 1px solid #ffffff2b;
  border-radius: 16px;
  background: linear-gradient(145deg,#46332dbf,#24201eea);
  backdrop-filter: blur(8px);
}

.tone-0 {
  background: linear-gradient(145deg,#a33b26c9,#411f1be8);
}

.tone-1 {
  background: linear-gradient(145deg,#f8eee5e8,#d9bfb1ea);
  color: #241e1b;
}

.tone-2 {
  background: linear-gradient(145deg,#3b3735e8,#24211fe8);
}

.service:nth-child(4) {
  background: linear-gradient(220deg,#642b23,#342221);
}

.service:nth-child(5) {
  background: linear-gradient(150deg,#f8eee5,#e4c3a7dd);
}

.service:nth-child(6) {
  background: linear-gradient(35deg,#4a3931,#221f1d);
}

.service:nth-child(7) {
  background: linear-gradient(135deg,#743923,#301e18);
}

.service:nth-child(8) {
  background: linear-gradient(115deg,#eee0d7,#f8eee5df);
}

.service-icon {
  width: 45px;
  height: 45px;
  border-radius: 11px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.service p {
  line-height: 1.48;
  margin: .7em 0 0;
}

.problem,
.option h4 {
  font-weight: 800;
}

.service .tag {
  font-size: .83rem;
  font-weight: 700;
}

.brand-service {
  grid-column: span 2;
}

.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}

.option {
  border: 1px solid #211a1940;
  background: #ffffff30;
  border-radius: 10px;
  padding: 14px;
}

.option h4 {
  margin: 0;
  font-size: 1rem;
}

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

  .brand-service {
    grid-column: auto;
  }

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

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

  .service {
    padding: 20px;
  }
}

#servicios .services {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(12px,1.4vw,20px);
  margin-top: clamp(24px,4vw,46px);
}

#servicios .service {
  --pixel: 255 84 47;
  --edge: #ffffff20;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: start;
  row-gap: 12px;
  padding: clamp(20px,3.1vw,38px);
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: linear-gradient(145deg,#262320,#1b1918 80%);
  color: var(--cream);
  backdrop-filter: none;
  transition: border-color .22s ease;
}

#servicios .service:nth-child(3n+2) {
  --pixel: 248 238 229;
  background: linear-gradient(145deg,#2b2622,#1b1918 80%);
}

#servicios .service:nth-child(3n) {
  background: linear-gradient(145deg,#29201d,#1b1918 80%);
}

#servicios .service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px,rgb(var(--pixel) / .63) .7px,transparent 1.3px);
  background-size: 6px 6px;
  mask-image: radial-gradient(circle 150px at var(--pixel-x,68%) var(--pixel-y,30%),#000 5%,#000b 34%,transparent 97%);
  clip-path: circle(25px at var(--pixel-x,68%) var(--pixel-y,30%));
  opacity: 0;
  transition: opacity .25s ease,clip-path .48s cubic-bezier(.2,.75,.25,1);
}

@media (hover:hover) and (pointer:fine) {
  #servicios .service:hover {
    border-color: rgb(var(--pixel) / .48);
  }

  #servicios .service:hover::before {
    opacity: .61;
    clip-path: circle(180px at var(--pixel-x,68%) var(--pixel-y,30%));
  }
}

#servicios .service-icon {
  width: 47px;
  height: 47px;
  margin: 0 0 4px;
  color: #ff8c73;
  border-color: #ff542f42;
  background: #ff542f13;
  border-radius: 12px;
}

#servicios .service h3 {
  font-size: clamp(1.48rem,2.5vw,2.04rem);
  line-height: 1.08;
}

#servicios .service p {
  margin: 0;
  line-height: 1.55;
  color: #d8cec5;
  font-size: 1rem;
}

#servicios .service p.problem {
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.42;
}

#servicios .service p.tag {
  font-size: .85rem;
  font-weight: 700;
  color: #ffac99;
}

#servicios .service:first-child,
#servicios .brand-service {
  grid-column: 1 / -1;
}

#servicios .service:first-child {
  background: radial-gradient(ellipse at 100% 0,#4e2a21,transparent 63%),#211c1a;
  --edge: #ff542f51;
}

#servicios .brand-service {
  --edge: #f8eee538;
}

#servicios .options {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 5px;
}

#servicios .option {
  display: grid;
  gap: 8px;
  padding: clamp(14px,2vw,23px);
}

#servicios .option h4 {
  font-size: 1.12rem;
}

@media (min-width:800px) {
  #servicios .service:first-child {
    grid-template-columns: minmax(0,.82fr) minmax(0,1fr);
    column-gap: 30px;
    align-items: start;
  }

  #servicios .service:first-child .service-icon {
    grid-area: 1 / 1;
  }

  #servicios .service:first-child h3 {
    grid-area: 2 / 1;
    font-size: 2.4rem;
  }

  #servicios .service:first-child .problem {
    grid-area: 1 / 2;
    align-self: end;
  }

  #servicios .service:first-child p:last-child {
    grid-area: 2 / 2;
  }
}

@media (max-width:690px) {
  #servicios .services,
  #servicios .options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion:reduce) {
  #servicios .service::before {
    display: none;
  }
}

#servicios .service:nth-child(odd) {
  --pixel: 116 33 19;
  color: #21140f;
}

#servicios .service:nth-child(even) {
  --pixel: 200 64 35;
  color: #271a14;
}

#servicios .service:nth-child(n) {
  grid-template-columns: minmax(0,1fr);
}

#servicios .service:nth-child(n)>* {
  grid-area: auto;
}

#servicios .service-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

#servicios .service-label img {
  flex: none;
}

#servicios .service-label h3 {
  font-size: clamp(1.08rem,1.8vw,1.42rem);
  letter-spacing: -.025em;
}

#servicios .service p,
#servicios .service p.problem,
#servicios .service p.tag {
  color: #2d1c16;
}

#servicios .service>.problem {
  font-size: clamp(1.4rem,2.65vw,2.4rem);
  line-height: 1.08;
  letter-spacing: -.048em;
  font-weight: 760;
  max-width: 38ch;
  text-wrap: pretty;
}

#servicios .service:nth-child(odd)>.problem strong {
  color: #522114;
}

#servicios .service:nth-child(even)>.problem strong {
  color: #a33321;
}

#servicios .option h4 {
  color: #7d281a;
}

#servicios .service:first-child .problem,
#servicios .service:first-child p:last-child {
  grid-area: auto;
  align-self: auto;
}

#servicios .service:first-child .service-label h3 {
  font-size: clamp(1.08rem,1.8vw,1.42rem);
}

#servicios .service>p.problem {
  font-size: clamp(1.4rem,2.65vw,2.4rem);
  line-height: 1.08;
}

#servicios .service:nth-child(odd) {
  background: linear-gradient(145deg,#ff997bc7,#ff6240be 78%);
  --edge: #ffc4ac94;
}

#servicios .service:nth-child(even) {
  background: linear-gradient(145deg,#fff5ebbe,#edd9cabb 92%);
  --edge: #fff7ef84;
}

#servicios .service-label img {
  margin-left: 0;
}

#servicios .service::before {
  display: none;
}

.service:hover .pixel-field i {
  opacity: var(--pixel-alpha);
  transform: scale(1);
}

#servicios .service:nth-child(n) {
  background: transparent;
  color: var(--cream);
  --edge: #ffffff2b;
  border-color: var(--edge);
  backdrop-filter: none;
}

#servicios .service:nth-child(n) p {
  color: #d8cbc1;
}

#servicios .service:nth-child(n) p.problem {
  color: var(--cream);
}

#servicios .service:nth-child(n) .problem strong,
#servicios .service:nth-child(n) p.tag,
#servicios .option h4 {
  color: #ff927b;
}

#servicios .option {
  background: none;
  border-color: #ffffff28;
}

#servicios .service-label img {
  width: 32px;
  height: 32px;
}


.project {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  background: #241f1c;
  transition: transform .2s,border-color .2s;
}

.project:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.project-art {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1200 / 760;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 10%,#7c3c29,#302019);
  color: #f8eee5;
}

.project-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.project-1 .project-art {
  background: radial-gradient(ellipse at 60% 10%,#f8eee5,#c99b83);
  color: #3a231e;
}

.project-2 .project-art {
  background: radial-gradient(ellipse at 60% 10%,#51423a,#242021);
}

.project-art .icon {
  width: 30%;
  height: auto;
  max-width: 100px;
  stroke-width: 1;
}

.project-copy {
  padding: clamp(14px,2vw,25px);
}

.project-copy p {
  margin: 5px 0 12px;
  color: var(--mute);
}

.project-link {
  color: var(--orange);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-link .icon {
  width: 18px;
}

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

  .project {
    max-width: 450px;
    width: 100%;
    margin-inline: auto;
  }
}

.project-copy h3 {
  font-weight: 800;
  margin-bottom: 12px;
}

.spark-strip {
  overflow: hidden;
  max-width: 100%;
  margin: clamp(22px,5vw,65px) auto 0;
  mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
}

.spark-strip-track {
  display: flex;
  width: max-content;
  animation: spark-roll 23s linear infinite;
}

.spark-strip-group {
  display: flex;
  align-items: center;
  gap: clamp(26px,6vw,92px);
  padding-inline-end: clamp(26px,6vw,92px);
}

.spark-strip-group img {
  height: auto;
  flex: none;
}

@keyframes spark-roll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion:reduce) {
  .spark-strip {
    mask-image: none;
  }

  .spark-strip-track {
    width: 100%;
    justify-content: center;
    animation: none;
  }

  .spark-strip-group {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 1vw;
    padding: 0;
    width: min(92%,720px);
    justify-items: center;
  }

  .spark-strip-group+ .spark-strip-group {
    display: none;
  }

  .spark-strip-group img {
    width: min(100%,100px);
  }
}

.spark-strip-group {
  min-width: 100vw;
  justify-content: space-around;
}

@media (prefers-reduced-motion:reduce) {
  .spark-strip-group {
    min-width: 0;
  }
}

.spark-strip-group img {
  width: clamp(44px,6vw,84px);
}

.project-art img:first-child {
  filter: grayscale(1);
}

.project-art .chroma-color {
  opacity: 0;
  transition: opacity .28s ease;
  mask-image: radial-gradient(circle clamp(140px,15vw,180px) at var(--chroma-x,50%) var(--chroma-y,50%),#000 28%,#000d 52%,transparent 100%);
}

.project:hover .chroma-color,
.project:focus-visible .chroma-color {
  opacity: 1;
}

@media (hover:none) {
  .project:hover .chroma-color {
    opacity: 0;
  }
}

@media (hover:none) and (pointer:coarse) and (prefers-reduced-motion:no-preference) {
  .project-art .chroma-color,
  .project:hover .project-art .chroma-color {
    opacity: var(--scroll-color,0);
  }
}

.spark-strip .spark-strip-group img {
  width: clamp(27px,3vw,45px);
  opacity: .78;
}


.section h2,
.project-page h1 {
  font-size: clamp(2.55rem,6vw,5.35rem);
}

.project-page {
  padding-block: 40px 75px;
}

.project-page h1 {
  margin-top: 16px;
}

.viewer {
  border: 1px solid #f8eee54d;
  border-radius: 14px;
  overflow: hidden;
  background: #221e1b;
  margin: 20px 0 17px;
}

.viewer-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  color: var(--mute);
  font-size: .82rem;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 100%;
}

.window-dots i:nth-child(2) {
  opacity: .6;
}

.window-dots i:nth-child(3) {
  opacity: .36;
}

.viewer iframe {
  width: 100%;
  height: clamp(430px,75svh,900px);
  display: block;
  border: 0;
  background: #fff;
}

@media (max-width:690px) {
  .viewer iframe {
    height: max(460px,66svh);
  }
}

.viewer-bar a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.like {
  font: inherit;
  color: var(--cream);
  min-height: 50px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #f8eee577;
  border-radius: 13px;
  background: #211e1c;
  cursor: pointer;
}

.like:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.heart {
  width: 24px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.75;
}

.like[aria-pressed=true] .heart {
  fill: var(--orange);
  stroke: var(--orange);
}

.pulse-heart {
  color: #fff;
  min-width: 102px;
  justify-content: center;
}

.pulse-heart[aria-pressed=true] .heart {
  fill: #ff542f;
  stroke: #ff542f;
}

.like-total {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.vote-note,
.vote-status {
  display: block;
  margin-top: 8px;
  color: var(--mute);
  font-size: .85rem;
}

.vote-status:empty {
  display: none;
}


.actions,
.closing-links,
.contact-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(24px,5vw,68px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #141312;
}

.contact h2 {
  font-size: clamp(2.1rem,5.5vw,4.75rem);
  position: relative;
}

.contact-star {
  position: absolute;
  width: 35%;
  right: -5%;
  top: 3%;
  opacity: .19;
  transform: rotate(13deg);
  pointer-events: none;
}

.contact>p {
  position: relative;
  margin: 20px 0 25px;
}

.contact-links {
  margin-top: 16px;
}

.contact-links .icon {
  width: 17px;
  height: 17px;
}

.closing {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  min-height: min(670px,85svh);
  padding: 85px 20px;
  background: #141312;
}

.closing p {
  margin: 0 0 20px;
  color: var(--mute);
}

.closing h2 {
  font-size: clamp(1.55rem,3vw,2.3rem);
  margin-bottom: 15px;
}

.closing-links {
  justify-content: center;
}

@media (max-width:690px) {
  .contact-links {
    gap: 2px 14px;
  }

  .closing {
    padding-block: 65px;
    min-height: 540px;
  }
}

#contacto {
  padding-top: clamp(32px,5vw,70px);
}

.contact>p {
  max-width: 67ch;
}

.closing>p {
  font-size: clamp(1.08rem,2.3vw,1.58rem);
  letter-spacing: -.02em;
}

.closing>p strong {
  color: var(--orange);
  font-weight: 800;
}

.closing-signal {
  position: absolute;
  width: 66px;
  height: 66px;
  left: 50%;
  top: 32%;
  opacity: 0;
  pointer-events: none;
  background: url("assets/destello.webp") center/contain no-repeat;
}


.scene-logo {
  position: relative;
  z-index: 1;
  width: min(80vw,670px);
}

.scene-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.intro[hidden] {
  display: none;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion:reduce) {
  .intro {
    display: none!important;
  }
}

.intro .scene-logo {
  animation: none;
}

.intro-flight {
  display: none;
  position: fixed;
  left: var(--flight-x);
  top: var(--flight-y);
  width: var(--flight-size);
  height: var(--flight-size);
  transform: translate(-50%,-50%);
  filter: drop-shadow(0 0 12px #ff542f66);
}

.intro.depart .intro-flight {
  display: block;
}

.intro-flight>* {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-flight svg {
  fill: var(--orange);
}

.intro {
  background: radial-gradient(ellipse at 82% 14%,#401f17 0,transparent 42rem),url("assets/carbon.svg") repeat,#181716;
  animation: none;
}

.intro::after {
  content: "";
  position: absolute;
  opacity: 0;
}

.intro.impact {
  animation: impact-out .55s ease-in both;
}

.intro.impact::after {
  animation: impact-bloom .55s ease-out both;
}

@keyframes impact-out {
  0%,
  24% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.intro.depart .intro-flight {
  z-index: 2;
}

.intro-flight img {
  animation: none;
}

body,
.intro {
  background: url("assets/carbon.svg") repeat,#181716;
}

.intro.depart .scene-logo {
  clip-path: none;
}

body:has(.intro:not([hidden])) .splash-cursor {
  visibility: hidden!important;
}

.signature-drawing {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2;
}

.intro::after {
  inset: 0 0 auto;
  height: clamp(165px,28svh,270px);
  transform-origin: 50% 0;
  background: radial-gradient(ellipse 85% 109% at 50% 0%,#ff966f 0%,#ff542f 17%,#ca4328b8 43%,#702a1d66 70%,transparent 100%);
  pointer-events: none;
}

.intro:not(.impact) {
  animation: none;
}

.intro.depart .scene-logo {
  animation: none;
}

.intro.depart .intro-flight {
  animation: none;
  transform: none;
  filter: none;
}

.intro-flight img {
  transform: none;
}

.intro.impact .intro-flight {
  opacity: 0;
}

.intro.impact,
.intro.impact::after {
  animation-delay: var(--impact-clock,0ms);
  animation-play-state: paused;
}

.intro::after {
  mask-image: radial-gradient(ellipse 55% 100% at 50% 0,#000 22%,#000d 54%,transparent 100%);
}

@keyframes impact-bloom {
  0% {
    opacity: .88;
    transform: scale(.105,.24);
  }
  44% {
    opacity: .96;
    transform: scale(.79,.87);
  }
  100% {
    opacity: .8;
    transform: scale(1.24,1);
  }
}

.closing.signature-pending .scene-logo {
  visibility: hidden;
}

@media (prefers-reduced-motion:reduce) {
  .closing.signature-pending .scene-logo {
    visibility: visible;
  }
}


.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 9px;
  padding: 10px 18px;
  font-size: .95rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .17s,background-color .17s,box-shadow .17s;
}

.button .icon {
  width: 19px;
  height: 19px;
  transition: transform .17s;
}

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

.button:hover .icon {
  transform: translateX(3px);
}

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

.primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 4px 0 #9e2e19;
}

.primary:hover {
  background: #ff7455;
  box-shadow: 0 7px 0 #9e2e19;
}

.secondary {
  background: #211e1c;
  border-color: #f8eee577;
}

.secondary:hover {
  background: #39302a;
}

.star-button {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-radius: 13px;
  background: #201917;
  color: var(--cream);
  border: 1px solid #ff785a80;
  box-shadow: none;
}

.star-button:hover {
  background: #2f211c;
  box-shadow: 0 0 20px #ff4d2e22;
}

.star-button .star-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  color: #ff4d2e;
}

.star-track rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 25 75;
}

.star-button:active {
  box-shadow: 0 0 0 5px #ff4d2e38;
}

.reveal-now {
  animation: reveal-content .65s cubic-bezier(.2,.7,.21,1) both;
  animation-delay: var(--reveal-delay,0s);
}

.star-spark {
  fill: #f8eee5;
  opacity: 0;
  filter: drop-shadow(0 0 4px #ff4d2e);
}

@keyframes reveal-content {
  from {
    opacity: .72;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.star-track rect {
  opacity: 1;
  animation: ember-loop 5s linear infinite;
  filter: drop-shadow(0 0 5px #ff4d2e);
}

.star-track .star-spark {
  opacity: 1;
  filter: drop-shadow(0 0 5px #ff4d2e);
}

@keyframes ember-loop {
  to {
    stroke-dashoffset: -100;
  }
}

.splash-cursor {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.splash-cursor {
  z-index: 1;
  visibility: hidden;
}

.splash-cursor {
  mix-blend-mode: screen;
}

.splash-cursor {
  opacity: 1;
}
