@font-face { font-family: Geist; src: url("assets/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap }
:root {
  color-scheme: dark;
  --ink: #10101b;
  --paper: #f6f4ed;
  --muted: #c8c4d2;
  --lime: #d9ef9b;
  --border: #ffffff30;
  --pad: clamp(24px, 5.15vw, 100px);
  --ease: cubic-bezier(.2,.7,.25,1);
  background: var(--ink);
  color: var(--paper);
  font-family: Geist, Arial, sans-serif;
}
* { box-sizing: border-box }
body, h1, h2, h3, p { margin: 0 }
html { scroll-behavior: smooth }
a { color: inherit; text-decoration: none }
button { font: inherit; cursor: pointer }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px }
[hidden] { display: none !important }
.skip { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 12px; background: var(--ink); transform: translateY(-160%) }
.skip:focus { transform: none }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.site-head { position: absolute; inset: 0 0 auto; z-index: 5; padding: 25px var(--pad); display: flex; align-items: center; justify-content: space-between }
.brand { font-size: 21px; letter-spacing: -.055em }
.brand strong { font-size: 27px; font-weight: 650 }
.site-head nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 48px); font-size: 14px }
.site-head nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px }
.mobile-menu { display: none }
.opening { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(#0b0b10, #181726 76%, #151522) }
.scenes { position: absolute; inset: 0 0 auto; height: clamp(550px, 56.25vw, 1000px); overflow: hidden; z-index: -1 }
.scene, .scene img, .scene video, .scenes::after { position: absolute; inset: 0; width: 100%; height: 100% }
.scene { opacity: 0; transition: opacity .68s ease }
.scene img, .scene video { object-fit: cover; object-position: center }
.scene video { opacity: 0; transition: opacity .25s ease }
.scene video.is-ready { opacity: 1 }
.scene.is-active { opacity: 1 }
.scenes::after {
  content: "";
  background: linear-gradient(0deg,#181726 0%,#18172600 44%),
    linear-gradient(90deg,#08090dbd 0%,#08090d52 42%,transparent 74%),
    linear-gradient(180deg,#08090d96,transparent 25%);
}
.hero-copy { padding: clamp(126px, 10.6vw, 192px) var(--pad) 0 }
h1 { font-size: clamp(56px, 6.14vw, 108px); line-height: .99; letter-spacing: -.045em; font-weight: 520 }
.quote { display: inline-flex; align-items: center; gap: 11px; min-height: 50px; background: var(--lime); color: #171a10; border-radius: 30px; padding: 10px 18px; font-size: 15px; font-weight: 600 }
.quote:hover { background: #e9f8bb }
.hero-copy .quote { margin-top: clamp(26px, 3.5vw, 52px) }
#proyectos { margin-top: clamp(66px, 6vw, 104px); padding-bottom: clamp(38px, 5vw, 78px); scroll-margin-top: 18px }
.carousel-track { --card: min(48vw, 900px); position: relative; height: calc(var(--card) * .625 + 22px); touch-action: pan-y }
.project {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card);
  margin-left: calc(var(--card) / -2);
  opacity: .7;
  transition: transform .55s var(--ease), opacity .4s ease;
}
.project[data-slot="center"] { z-index: 2; transform: none; opacity: 1 }
.project[data-slot="left"] { transform: translate(-100%, 4%) rotate(-2deg) scale(.88) }
.project[data-slot="right"] { transform: translate(100%, 4%) rotate(2deg) scale(.88) }
.project.wrap { transition: none; animation: reenter .38s ease both }
@keyframes reenter { from { opacity: 0 } to { opacity: .7 } }
.project-art { position: relative; overflow: hidden; aspect-ratio: 1.6; isolation: isolate; container-type: inline-size; border-radius: 8px; background: #241c23; color: #f5e9da; box-shadow: 0 10px 30px #08080d50 }
.project-art img, .project-art::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2 }
.project-art img { object-fit: cover }
.project-art::before { z-index: -1; content: ""; background: linear-gradient(90deg,#090b14c4,transparent 90%), linear-gradient(#090b14ac,transparent 34%) }
.linea .project-art { background: #eae4d8; color: #2a2520 }
.linea .project-art img { inset: 21% 4% 6% auto; width: 43%; height: 73%; object-position: 70% center }
.linea .project-art::before { display: none }
.ritmo .project-art::before { background: linear-gradient(90deg,#330917e2,#28091328), linear-gradient(#25091585,transparent 35%) }
.austral .project-art::before { background: linear-gradient(90deg,#0b1d19de,#0b1d1910) }
.project-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid currentColor; margin: 0 4%; padding: 3% 0 2.7%; font-size: 2.5cqw }
.project-top strong { font-size: 3.4cqw }
.project-copy { padding: 5% 4%; font-size: 2.45cqw }
.project-copy small { text-transform: uppercase; letter-spacing: .12em; font-size: 1.95cqw }
.project-copy p { font: 9.3cqw/.92 Georgia, serif; letter-spacing: -.05em; margin: 1.7% 0 4% }
.ritmo .project-copy p { font-style: italic }
.card-action { position: absolute; inset: 0; width: 100%; border: 0; border-radius: 9px; background: transparent }
.project-info { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin: 12px var(--pad) 0 }
.project-info h2 { font-size: clamp(22px, 2.3vw, 35px); font-weight: 520; letter-spacing: -.035em }
.project-info p { color: var(--muted); font-size: 13px; margin-top: 5px }
.carousel-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0 }
#project-count { font-size: 12px; color: var(--muted); margin-right: 15px; font-variant-numeric: tabular-nums }
.carousel-controls button, .dialog-head button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ffffff09; border: 1px solid var(--border); color: var(--paper); font-size: 18px }
.carousel-controls button:hover, .dialog-head button:hover { background: #ffffff21 }
#rotation { font-size: 14px }
.section-pad { padding: clamp(50px,8vw,100px) var(--pad); background: #151522 }
.services { position: relative; background: radial-gradient(ellipse at 85% 30%, #242038, transparent 65%), #151522 }
.questions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6vw; position: relative }
.services::before { content: ""; position: absolute; inset: 0 var(--pad) auto; height: 1px; background: var(--border) }
.section-title,.contact-block h2 { font: clamp(44px,5.8vw,82px)/.99 Georgia,serif; letter-spacing: -.045em }
.service-list,.process ol { margin: 0; padding: 0 }
.service-list div,.process li,.question-list details { padding: 20px 0; border-top: 1px solid var(--border) }
.service-list dt,.process h3 { font-size: clamp(19px,2vw,28px); font-weight: 530 }
.service-list dd,.process p,.question-list p,.contact-block p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; max-width: 58ch }
.services-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 4.5vw, 54px) }
.services-heading p, .service-panels p { max-width: 48ch; color: var(--muted); line-height: 1.55 }
.services-interactive { display: grid; grid-template-columns: 1fr 1.55fr; gap: clamp(24px, 6vw, 94px); align-items: start }
.service-tabs { display: grid }
.service-tabs button { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 62px; padding: 14px 12px; border: 0; border-top: 1px solid var(--border); color: var(--muted); background: transparent; text-align: left; font-size: clamp(17px, 2.1vw, 28px); transition: color .18s, background .18s }
.service-tabs button:last-child { border-bottom: 1px solid var(--border) }
.service-tabs button[aria-selected="true"] { color: var(--lime); background: #d9ef9b0c; box-shadow: inset 2px 0 var(--lime) }
.service-tabs button:hover { color: var(--paper) }
.service-tabs button span { font-size: 16px }
.service-progress { position: absolute; inset: auto 0 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; pointer-events: none }
.service-rotation { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 44px; padding: 0 13px; border: 1px solid var(--border); border-radius: 24px; background: #ffffff09; color: var(--paper); font-size: 13px }
.service-rotation:hover { background: #ffffff21 }
.service-rotation span:first-child { width: 1em; color: var(--lime) }
.service-panels { min-width: 0 }
.service-panels .service-preview, .service-panels .comparison { animation: service-fade .28s var(--ease) both }
.comparison .service-preview { animation: none }
.service-panels > section > p { margin-top: 14px }
@keyframes service-fade { from { opacity: .35 } to { opacity: 1 } }
.service-preview .project-art { box-shadow: none }
.comparison { --split: 50%; aspect-ratio: 1.6; position: relative; isolation: isolate; container-type: inline-size; overflow: hidden; border-radius: 8px; touch-action: pan-y; cursor: ew-resize; user-select: none }
.comparison-old,.comparison-new { position: absolute; inset: 0 }
.comparison-new { clip-path: inset(0 0 0 var(--split)) }
.comparison-old { background: #f0eee7; color: #233929; padding: 5%; font-size: 3cqw }
.comparison-old strong { display: block; padding-bottom: 3%; border-bottom: 1px solid #23392950 }
.comparison-old-body { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; margin-top: 7% }
.comparison-old-body img { width: 100%; height: 22cqw; object-fit: cover }
.comparison-old-body p { color: #46514a; margin: 4% 0 }
.comparison-old-body span { color: #275a49; text-decoration: underline }
.comparison-label { position: absolute; bottom: 8px; border-radius: 4px; padding: 3px 7px; background: #10101bdc; color: var(--paper); font-size: 11px }
.comparison-label.before { left: 8px }
.comparison-label.after { right: 8px }
.comparison-divider { position: absolute; inset: 0 auto 0 var(--split); border-left: 2px solid var(--lime); pointer-events: none }
.comparison-divider span { position: absolute; top: 50%; left: -1px; transform: translate(-50%,-50%); display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: var(--ink); background: var(--lime) }
.comparison-control { display: flex; gap: 6px 16px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: 13px }
.comparison-control input { min-height: 36px; min-width: 140px; flex: 1; margin: 0; accent-color: var(--lime); cursor: ew-resize }
.process { background: #1a1929 }
.process ol { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px }
.process li { position: relative; min-width: 0 }
.process li::before { content: ""; position: absolute; inset: -1px 0 auto; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) }
.process li.in-view::before { transform: scaleX(1) }
.step-visual { aspect-ratio: 1.6; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 18px; background: #232035 }
.brief-visual,.wireframe-visual { display: flex; flex-direction: column; justify-content: center; padding: 8%; gap: 9% }
.brief-visual div { max-width: 90%; align-self: start; border-radius: 9px 9px 9px 0; padding: 8px 10px; background: #38324b; font-size: clamp(11px,1.1vw,15px) }
.brief-visual div:last-child { align-self: end; background: #d9ef9b; color: #171a10; border-radius: 9px 9px 0 9px }
.wireframe-visual { background: #252337 }
.wireframe { display: grid; grid-template: repeat(6,1fr) / repeat(6,1fr); gap: 7%; width: 92%; height: 95%; margin: auto; padding: 7%; border: 1px solid #777187; border-radius: 5px }
.wireframe i { background: #6c647a; border-radius: 2px }
.wireframe i:nth-child(1) { grid-area: 1 / 1 / 2 / 7 }
.wireframe i:nth-child(2) { grid-area: 2 / 1 / 3 / 4 }
.wireframe i:nth-child(3) { grid-area: 3 / 1 / 4 / 3 }
.wireframe i:nth-child(4) { grid-area: 5 / 1 / 6 / 3; background: #d9ef9b91 }
.wireframe i:nth-child(5) { grid-area: 2 / 4 / 7 / 7; background: #524962 }
.launch-visual { position: relative; isolation: isolate; background: #232035 }
.launch-desktop, .launch-draft { position: absolute; inset: 15% 16% auto 6%; border: 1px solid #8b8499; border-radius: 5px; overflow: hidden }
.launch-desktop .project-art { border-radius: 0; box-shadow: none }
.launch-draft { display: grid; place-items: center; aspect-ratio: 1.6; background: #252337; opacity: 0 }
.launch-draft .wireframe { width: 88%; height: 82%; padding: 5% }
.launch-phone { display: flex; flex-direction: column; justify-content: space-between; position: absolute; inset: 24% 5% 7% auto; width: 25%; padding: 7% 2.5% 6%; isolation: isolate; overflow: hidden; background: #14251f; border: 2px solid #e4e1d1; border-radius: 10px; box-shadow: 0 4px 16px #09080db0; container-type: inline-size }
.launch-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: -2 }
.launch-phone::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#08150cb3,#08150c35,#08150cc9) }
.launch-phone span { font-size: 13cqw; font-weight: 650 }
.launch-phone strong { font: 20cqw/.95 Georgia,serif }
@media (prefers-reduced-motion: no-preference) {
  .process-motion li:not(.in-view) :is(.brief-visual div, .wireframe-visual .wireframe, .launch-desktop, .launch-phone) { opacity: 0 }
  .process-motion li:not(.in-view) .launch-draft { opacity: 1 }
}
.in-view .brief-visual div { animation: step-in .3s var(--ease) both }
.in-view .brief-visual div:last-child { animation-delay: .19s }
.in-view .wireframe-visual .wireframe { animation: service-fade .25s var(--ease) both }
.in-view .wireframe-visual i { animation: step-in .31s var(--ease) both }
.in-view .wireframe-visual i:nth-child(1) { animation-delay: .06s }
.in-view .wireframe-visual i:nth-child(2), .in-view .wireframe-visual i:nth-child(3) { animation-delay: .15s }
.in-view .wireframe-visual i:nth-child(5) { animation-delay: .27s }
.in-view .wireframe-visual i:nth-child(4) { animation-delay: .35s }
.in-view .launch-draft { animation: draft-out .42s ease-out both }
.in-view .launch-desktop { animation: step-in .36s var(--ease) .12s both }
.in-view .launch-phone { animation: step-in .35s var(--ease) .29s both }
@keyframes step-in { from { opacity: 0; transform: translateY(5px) } to { opacity: 1; transform: translateY(0) } }
@keyframes draft-out { 0%, 30% { opacity: 1 } 100% { opacity: 0 } }
.question-list details { padding: 0 }
.question-list details:last-child { border-bottom: 1px solid var(--border) }
.question-list summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 62px; padding: 15px 0; cursor: pointer; font-weight: 530; font-size: clamp(16px,1.7vw,22px); list-style: none; transition: color .2s ease }
.question-list summary::-webkit-details-marker { display: none }
.question-list summary::after { content: "+"; font-size: 25px; line-height: 1; transition: transform .23s var(--ease) }
.question-list details[open] summary { color: var(--lime) }
.question-list details[open] summary::after { transform: rotate(45deg) }
.question-list p { margin: 0; padding: 0 22px 20px 0 }
@supports (interpolate-size: allow-keywords) {
  .question-list { interpolate-size: allow-keywords }
  .question-list details::details-content { height: 0; overflow: clip; opacity: 0; transition: height .26s var(--ease), opacity .22s ease, content-visibility .26s allow-discrete }
  .question-list details[open]::details-content { height: auto; opacity: 1 }
}
.contact-block { background: radial-gradient(ellipse at 12% 110%, #342846, transparent 72%), #1d1a2c; display: flex; align-items: end; justify-content: space-between; gap: 24px }
.contact-block .quote { margin-top: 18px }
.contact-handle { display: block; margin-top: 14px; color: var(--muted); width: fit-content }
.contact-handle:hover { text-decoration: underline }
footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 24px var(--pad); border-top: 1px solid var(--border) }
dialog { color: var(--paper); background: #1a1928; border: 1px solid var(--border); border-radius: 14px; width: min(780px,calc(100% - 32px)); max-height: calc(100% - 32px); padding: clamp(14px,3vw,28px) }
dialog::backdrop { background: #080810cc }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px }
#dialog-detail { color: var(--muted); margin-top: 18px; line-height: 1.55 }
body:has(dialog[open]) { overflow: hidden }
@media (max-width: 700px) {
  .site-head { padding-block: 16px }
  .site-head > nav { display: none }
  .mobile-menu { display: block }
  .mobile-menu summary { display: grid; place-items: center; min-height: 44px; padding: 0 7px; cursor: pointer; list-style: none; font-size: 13px }
  .mobile-menu summary::-webkit-details-marker { display: none }
  .mobile-menu nav { position: absolute; top: 62px; right: var(--pad); flex-direction: column; align-items: stretch; gap: 4px; min-width: 172px; padding: 8px; background: #151522; border: 1px solid var(--border); border-radius: 10px }
  .mobile-menu nav a { padding: 12px }
  .hero-copy { padding-top: 118px }
  h1 { font-size: clamp(35px,10.8vw,62px); line-height: 1.04 }
  .hero-copy .quote { margin-top: 28px }
  .scenes { height: 465px }
  .scene img, .scene video { object-position: 90% center }
  .scene:last-child img, .scene:last-child video { object-position: 73% center }
  .scenes::after { background: linear-gradient(0deg,#181726,transparent 40%), linear-gradient(90deg,#08090d8c,#08090d23), linear-gradient(180deg,#08090d87,transparent 18%,#08090d66 37%,transparent 68%) }
  #proyectos { margin-top: 81px }
  .carousel-track { --card: min(78vw,490px) }
  .project[data-slot="left"] { transform: translate(-99%, 5%) rotate(-2deg) scale(.88) }
  .project[data-slot="right"] { transform: translate(99%, 5%) rotate(2deg) scale(.88) }
  .project-info { flex-direction: column; align-items: stretch; gap: 12px }
  #project-count { margin-right: auto }
  .services-heading { flex-direction: column; align-items: start; gap: 16px }
  .services-interactive,.questions,.process ol { grid-template-columns: 1fr; gap: 24px }
  .process li { max-width: 480px }
  .contact-block { flex-direction: column; align-items: flex-start }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .scene,.scene video,.project { transition: none }
  .project.wrap { animation: none }
  .services .service-preview, .services .comparison, .process li.in-view .step-visual * { animation: none }
  .service-tabs button,.process li::before,.question-list summary,.question-list summary::after,.question-list details::details-content { transition: none }
}
