:root {
  --ink: #242321;
  --ink-soft: #3a3936;
  --paper: #ffffff;
  --paper-2: #f7f6f4;
  --brand: #ff8603;
  --brand-deep: #e56a00;
  --brand-soft: #fff1e3;
  --mute: #6b6864;
  --line: rgba(36, 35, 33, 0.12);
  --cut: 1.7rem;
  --mark: polygon(1.7rem 0, 100% 0, calc(100% - 1.7rem) 100%, 0 100%);
  --mark-box: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  line-height: 1.45;
  overflow-x: hidden;
}

body.has-custom-cursor {
  cursor: none;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.95;
}

p {
  margin: 0;
}

.grain {
  display: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor {
  display: none;
}

body.has-custom-cursor .cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 18px;
  height: 12px;
  border-radius: 0;
  background: var(--brand);
  clip-path: var(--mark);
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 6vw;
  color: var(--paper);
  background: rgba(17, 17, 16, 0.42);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.28s ease, border-color 0.28s ease;
}

.nav.is-solid {
  background: rgba(17, 17, 16, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 2.85rem;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  line-height: 1;
}

.logo-text strong {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-text small {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.nav-links a {
  opacity: 0.7;
}

.nav-links a:hover,
.nav-cta:hover {
  opacity: 1;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.2rem;
  border: 0;
  border-radius: 0;
  clip-path: var(--mark);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn {
  width: fit-content;
  background: var(--brand);
  color: var(--paper);
}

.btn:hover {
  background: var(--brand-deep);
  transform: translateX(5px);
}

.btn-stack {
  align-items: center;
  line-height: 1.12;
  text-align: left;
  clip-path: none;
}

.nav-cta {
  background: var(--brand);
  color: var(--paper);
  clip-path: none;
}

.nav-cta:hover {
  background: var(--brand-deep);
  transform: translateX(5px);
}

.menu-btn {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.5rem 0.95rem;
  border-radius: 0;
  clip-path: var(--mark);
}

.mobile-nav {
  display: grid;
  gap: 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 1.25rem 6vw 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 16, 0.96);
  color: var(--paper);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  font-size: 1.4rem;
  font-weight: 700;
}

.hero,
.studio,
.services,
.work,
.process,
.contact,
.footer {
  padding: 5.5rem 6vw;
}

.work,
.process,
.contact {
  scroll-margin-top: 5.2rem;
}

.work,
#pasos {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 134, 3, 0.16), transparent 48%),
    #111110;
  color: var(--paper);
}

.work .kicker,
#pasos .kicker {
  color: rgba(255, 255, 255, 0.55);
}

.work .card {
  background: #1c1b1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.work .card-meta p,
.work .card-includes li {
  color: rgba(255, 255, 255, 0.7);
}

#pasos .slider li p {
  color: rgba(255, 255, 255, 0.7);
}

.work .slider-dots button,
#pasos .slider-dots button {
  background: #c5c2bc;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 134, 3, 0.22), transparent 42%),
    #111110;
  color: var(--paper);
}

.hero > :not(.hero-dock) {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.hero h1 {
  font-size: clamp(3.4rem, 11vw, 9.2rem);
  max-width: 14ch;
  letter-spacing: -0.045em;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow,
.kicker {
  color: var(--mute);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.62rem;
  margin-right: 0.5rem;
  background: var(--brand);
  clip-path: var(--mark);
  vertical-align: 0.05em;
}

.hero h1 em {
  display: inline-grid;
  align-items: end;
  min-height: 1.05em;
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  transform: skewX(-8deg);
}

.hero-swap span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-swap span.is-on {
  opacity: 1;
  transform: none;
}

.hero-row,
.studio,
.work-head,
.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.hero-dock {
  position: absolute;
  right: 6vw;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 17, 16, 0.78);
  backdrop-filter: blur(12px);
}

.hero-dock a {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  color: var(--paper);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-dock a:last-child {
  border-right: 0;
}

.hero-dock a:hover {
  background: var(--brand);
  color: var(--paper);
}

.hero-dock svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.lede {
  max-width: 38ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.marquee {
  overflow: hidden;
  border: 0;
  background: var(--ink);
  color: var(--brand);
}

.marquee-light {
  background: var(--brand);
  color: var(--paper);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  padding: 1.05rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: ticker 18s linear infinite;
}

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

.studio {
  align-items: end;
}

.studio-copy {
  max-width: 38rem;
}

.studio h2,
.services h2,
.work h2,
.process h2,
.contact h2 {
  margin: 0.7rem 0 1.2rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.studio p + p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  min-width: 16rem;
}

.stats strong {
  display: block;
  font-size: 2.6rem;
  letter-spacing: -0.06em;
  font-style: italic;
  transform: skewX(-8deg);
  transform-origin: left center;
}

.stats span {
  color: var(--mute);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}

.service-list article,
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0;
  clip-path: var(--mark-box);
  overflow: hidden;
}

.service-list article {
  position: relative;
  padding: 1.5rem;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-list article::after {
  content: "";
  position: absolute;
  right: -1.2rem;
  bottom: -1.4rem;
  width: 8.5rem;
  height: 8.5rem;
  background: url("./mark.png") center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.service-list article:hover {
  transform: translate(6px, -6px);
  background: var(--brand-soft);
  border-color: rgba(255, 134, 3, 0.35);
}

.service-list span {
  color: var(--mute);
}

.service-list h3 {
  font-size: 2.4rem;
  margin: 2rem 0 0.6rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 2rem;
}

.card-lg {
  grid-row: span 2;
}

.card {
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translate(6px, -4px);
}

.card-visual {
  position: relative;
  min-height: 16rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem 1.15rem;
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.card-lg .card-visual {
  min-height: 18rem;
}

.card-visual span {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.v1 {
  background:
    radial-gradient(circle at 22% 18%, #ffd089, transparent 34%),
    linear-gradient(160deg, #ff8603, #e56a00 48%, #242321);
  background-size: 140% 140%;
  animation: glow-shift 7s ease-in-out infinite;
}

.v2 {
  background:
    repeating-linear-gradient(
      -12deg,
      #ff8603 0 14px,
      #e56a00 14px 28px
    );
  background-size: 56px 56px;
  animation: stripe-shift 8s linear infinite;
}

.v3 {
  background:
    radial-gradient(circle at 80% 30%, #ff8603, transparent 32%),
    linear-gradient(180deg, #242321, #111110);
  background-size: 160% 160%, 100% 100%;
  animation: glow-shift 9s ease-in-out infinite reverse;
}

.card-meta {
  padding: 1.1rem 1.2rem 1.3rem;
}

.card-meta p {
  margin-top: 0.35rem;
  color: var(--mute);
}

.card-meta .card-includes-label {
  margin: 0.9rem 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.card-includes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.card-includes li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.card-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.45rem;
  height: 0.32rem;
  background: var(--brand);
  clip-path: var(--mark);
}

.process ol.slider-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  grid-template-columns: none;
  gap: 0;
  counter-reset: step;
}

.process li {
  padding: 1.3rem 1.2rem 1.6rem;
  counter-increment: step;
  display: block;
  background: #1c1b1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: var(--mark-box);
  overflow: hidden;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--brand);
  font-size: clamp(5.2rem, 16vw, 9.5rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.process h3 {
  margin: 1.1rem 0 0.6rem;
  font-size: 1.35rem;
}

#pasos li::before {
  content: none;
}

#pasos h3 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.slider {
  overflow: hidden;
  margin-top: 2rem;
}

.slider-track {
  display: flex;
  flex-direction: row;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.slider-track > [data-slide] {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.pack-slider .work-grid,
.pack-slider .slider-track.work-grid {
  display: flex;
  flex-direction: row;
  grid-template-columns: none;
  gap: 0;
  margin-top: 0;
}

.pack-slider .card-lg {
  grid-row: auto;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.slider-dots button {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  background: var(--mute);
  opacity: 0.35;
  cursor: pointer;
}

.slider-dots button.is-on {
  background: var(--brand);
  opacity: 1;
  transform: scale(1.25);
}

.contact .slider-dots button {
  background: #c5c2bc;
}

.contact {
  background: var(--ink);
  color: var(--paper);
  clip-path: none;
}

.contact .kicker,
.contact .lede {
  color: #c5c2bc;
}

.contact .kicker::before {
  clip-path: none;
  width: 0.7rem;
  height: 0.7rem;
}

.mail {
  display: inline-block;
  margin: 1.6rem 0 2.2rem;
  font-size: clamp(2rem, 6vw, 4.6rem);
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  letter-spacing: -0.04em;
}

.mail:hover {
  color: var(--brand);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.2rem;
  background: #2c2b29;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  clip-path: none;
}

.form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #c5c2bc;
}

.form .full,
.form .btn,
.form-note {
  grid-column: 1 / -1;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  appearance: none;
  border-radius: 0;
  clip-path: none;
  background: #1a1917;
  color: var(--paper);
  font: inherit;
  padding: 0.85rem 0.9rem;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--brand);
}

.form .btn {
  background: var(--brand);
  color: var(--paper);
  justify-content: center;
  clip-path: none;
  border-radius: 0;
}

.form-note {
  min-height: 1.2rem;
  margin: 0;
}

.footer {
  font-size: 0.92rem;
  color: var(--mute);
  padding-block: 1.6rem;
}

@media (hover: none), (pointer: coarse) {
  body.has-custom-cursor {
    cursor: auto;
  }

  body.has-custom-cursor .cursor {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --cut: 1.15rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .logo img {
    height: 2.35rem;
  }

  .logo-text strong {
    font-size: 1.05rem;
  }

  .logo-text small {
    font-size: 0.48rem;
    letter-spacing: 0.1em;
  }

  .hero-row,
  .studio,
  .work-head,
  .footer,
  .service-list,
  .work-grid,
  .process ol,
  .form {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .process ol.slider-track,
  .pack-slider .work-grid,
  .pack-slider .slider-track {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
  }

  .card-lg {
    grid-row: auto;
  }

  .card-lg .card-visual,
  .card-visual {
    min-height: 14rem;
  }

  .hero,
  .studio,
  .services,
  .work,
  .process,
  .contact {
    padding-block: 3.5rem;
  }

  .hero-dock {
    bottom: 1.15rem;
  }
}

.motion .reveal:not(.is-in) .eyebrow,
.motion .reveal:not(.is-in) .kicker,
.motion .reveal:not(.is-in) h1,
.motion .reveal:not(.is-in) h2,
.motion .reveal:not(.is-in) .lede,
.motion .reveal:not(.is-in) .hero-row .btn,
.motion .reveal:not(.is-in) .hero-dock,
.motion .reveal:not(.is-in) .card,
.motion .reveal:not(.is-in) .process ol li,
.motion .reveal:not(.is-in) .mail,
.motion .reveal:not(.is-in) .form,
.motion .reveal:not(.is-in) .footer p {
  opacity: 0;
}

.motion .hero.is-in .eyebrow,
.motion .hero.is-in h1,
.motion .hero.is-in .lede,
.motion .hero.is-in .btn-stack {
  animation: rise-in 0.8s ease both;
}

.motion .hero.is-in h1 {
  animation-delay: 0.12s;
}

.motion .hero.is-in .lede {
  animation-delay: 0.24s;
}

.motion .hero.is-in .btn-stack {
  animation-delay: 0.36s;
}

.motion .hero.is-in .hero-dock {
  animation: rise-in 0.8s ease both, dock-float 4.5s ease-in-out 0.8s infinite;
}

.motion .kicker::before,
.motion .eyebrow::before {
  animation: dash-pulse 1.8s ease-in-out infinite;
}

.motion .btn-stack span[aria-hidden="true"] {
  display: inline-block;
  animation: arrow-nudge 1.2s ease-in-out infinite;
}

.motion .mail {
  animation: fade-up 0.75s ease both, mail-glow 2.8s ease-in-out infinite;
}

.motion .nav-cta {
  animation: cta-pulse 2.6s ease-in-out infinite;
}

.motion body.has-custom-cursor .cursor {
  animation: cursor-flick 1.1s ease-in-out infinite;
}

.motion .work.is-in .kicker,
.motion .work.is-in h2 {
  animation: rise-in 0.7s ease both;
}

.motion .work.is-in h2 {
  animation-delay: 0.08s;
}

.motion .work.is-in .card {
  animation: slide-right 0.75s ease both;
}

.motion .work.is-in .card:nth-child(1) {
  animation-delay: 0.12s;
}

.motion .work.is-in .card:nth-child(2) {
  animation-delay: 0.24s;
}

.motion .work.is-in .card:nth-child(3) {
  animation-delay: 0.36s;
}

.motion .process.is-in .kicker,
.motion .process.is-in h2 {
  animation: rise-in 0.7s ease both;
}

.motion .process.is-in h2 {
  animation-delay: 0.08s;
}

.motion .process.is-in ol li {
  animation: rise-in 0.65s ease both;
}

.motion .process.is-in ol li:nth-child(1) {
  animation-delay: 0.1s;
}

.motion .process.is-in ol li:nth-child(2) {
  animation-delay: 0.2s;
}

.motion .process.is-in ol li:nth-child(3) {
  animation-delay: 0.3s;
}

.motion .contact.is-in .kicker,
.motion .contact.is-in h2,
.motion .contact.is-in .lede,
.motion .contact.is-in .mail,
.motion .contact.is-in .form {
  animation: fade-up 0.75s ease both;
}

.motion .contact.is-in h2 {
  animation-delay: 0.08s;
}

.motion .contact.is-in .lede {
  animation-delay: 0.16s;
}

.motion .contact.is-in .mail {
  animation-delay: 0.24s;
  animation: fade-up 0.75s ease 0.24s both, mail-glow 2.8s ease-in-out 1s infinite;
}

.motion .contact.is-in .form {
  animation-delay: 0.32s;
}

.motion .footer.is-in p {
  animation: fade-up 0.6s ease both;
}

.motion .footer.is-in p:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes glow-shift {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 80% 40%;
  }
}

@keyframes stripe-shift {
  to {
    background-position: 56px 0;
  }
}

@keyframes dock-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes dash-pulse {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(1.35);
    opacity: 0.7;
  }
}

@keyframes arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

@keyframes mail-glow {
  0%,
  100% {
    color: var(--paper);
  }
  50% {
    color: var(--brand);
  }
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 134, 3, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 134, 3, 0);
  }
}

@keyframes cursor-flick {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .v1,
  .v2,
  .v3,
  .hero-dock,
  .kicker::before,
  .eyebrow::before,
  .btn-stack span[aria-hidden="true"],
  .mail,
  .nav-cta,
  .cursor {
    animation: none !important;
  }

  .hero-swap span {
    transition: none;
  }

  .slider-track {
    transition: none;
  }
}
