/* =========================================================
   CAVYAR SRL — Landing
   Fonts: Playfair Display (titles) · Archivo (UI/body) · Manrope (captions)
   ========================================================= */

:root {
  --navy: #161c67;
  --navy-2: #1b2a86;
  --navy-deep: #0e1249;
  --teal: #207ea8;
  --sky-ink: #8fc3ea;
  --red: #de1f1b;
  --red-2: #ef3b33;
  --ink: #0d0d0d;
  --ink-2: #4b5065;
  --ink-3: #767b8f;
  --line: rgba(13, 13, 13, .12);
  --mist: #f2f5fa;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --alt: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gx: clamp(16px, 2.2vw, 40px);          /* hero / header gutter */
  --px: clamp(16px, 2.8vw, 48px);          /* section gutter */
  --header-h: 65px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --radius: clamp(8px, 1vw, 16px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: #fff;
  color: #fff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
html.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky-ink); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--navy);
  font-size: 14px; transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--px); }
.section { position: relative; padding: clamp(56px, 6.4vw, 112px) 0; }

.eyebrow {
  margin: 0 0 clamp(14px, 1.6vw, 24px);
  font: 500 13px/1.2 var(--sans);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow--light { color: var(--sky-ink); }
.eyebrow--center { text-align: center; }

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 80px);
  line-height: 1.12;
  color: var(--ink);
}
/* underlined heading lines (Section 2 style) */
.u-head .line { display: block; }
.u-head .w,
html:not(.js) .u-head .line {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .06em;
}
.u-head--light { color: #fff; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(28px, 3.4vw, 56px);
}
.section-head__text {
  max-width: 470px; margin: 0;
  color: var(--ink-2);
  font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6;
}

/* =========================================================
   Animations
   ========================================================= */
@keyframes wordIn {
  from { opacity: 0; transform: translateY(.45em); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes lineGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes riseIn {
  0%   { opacity: 0; transform: translateY(70%) scale(1.06); }
  25%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes barsIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes riseUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes stuckIn { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* word-by-word ("wordIn") */
.w { display: inline-block; text-indent: 0; }
.js .w { opacity: 0; }
.is-loaded .hero .w,
.in-view .w {
  animation: wordIn var(--dur, .9s) var(--ease) var(--delay, 0s) both;
}

/* generic scroll reveal */
.js .reveal-up { opacity: 0; }
.reveal-up.in-view { animation: riseUp 1.1s var(--ease) var(--rd, 0s) both; }
.reveal-up.is-static { animation: none; opacity: 1; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 24px var(--gx) 0;
}
.site-header.is-stuck {
  position: fixed;
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(18, 23, 90, .9);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 32px -20px rgba(5, 10, 40, .7);
  animation: stuckIn .5s var(--ease) both;
}
/* the stuck bar already blurs; avoid nested backdrop-filters */
.is-stuck .pill, .is-stuck .lang, .is-stuck .burger { -webkit-backdrop-filter: none; backdrop-filter: none; }
.js .site-header .fd { opacity: 0; }
.is-loaded .site-header .fd { animation: fadeDown .8s var(--ease) var(--fd, 0s) both; }

.brand { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 44px; height: 30px; flex: none;
  --tt: #8fc3ea; --ts: #4f8fbf; --nt: #fff; --ns: rgba(255, 255, 255, .5);
}
.brand__word { width: auto; height: 22px; }

.nav { grid-column: 2; justify-self: center; display: flex; gap: 1px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 13px; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap;
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff;
  transition: background .3s, color .3s;
}
.pill:hover { background: rgba(255, 255, 255, .3); }
.pill.is-active { background: #fff; color: #161616; }
.pill .ico { width: 15px; height: 15px; flex: none; }

.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.lang {
  display: flex; align-items: center; height: 40px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lang button {
  height: 32px; min-width: 38px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: #fff; cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: -.01em;
  transition: background .3s, color .3s;
}
.lang button[aria-pressed="true"] { background: #fff; color: #161616; }
.btn-ghost {
  display: inline-flex; align-items: center; height: 41px; padding: 0 19px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .9);
  font-size: 13px; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s, color .3s;
}
.btn-ghost:hover, .btn-ghost.is-active { background: #fff; color: var(--navy); }
.burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff;
}
.burger svg { width: 20px; height: 20px; }

.mobile-menu {
  position: absolute; top: 78px; left: var(--gx); right: var(--gx);
  display: flex; flex-direction: column; gap: 6px; padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .3);
  animation: menuIn .4s var(--ease) both;
}
.mobile-menu[hidden] { display: none; }
.is-stuck .mobile-menu { top: 72px; background: rgba(18, 23, 90, .92); }
.pill--lg { height: 48px; padding: 0 20px; font-size: 14px; }

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .btn-ghost { display: none; }
}

/* =========================================================
   Sky (Hero + Latest works)
   ========================================================= */
.sky { position: relative; overflow: hidden; background: #fff; }
.sky__lines, .purpose__lines, .contact__lines { position: absolute; inset: 0; pointer-events: none; }
.sky__lines span, .purpose__lines span, .contact__lines span {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: rgba(255, 255, 255, .28);
  transform-origin: top;
}
.sky__lines span:nth-child(1), .purpose__lines span:nth-child(1), .contact__lines span:nth-child(1) { left: 4.8%; }
.sky__lines span:nth-child(2), .purpose__lines span:nth-child(2), .contact__lines span:nth-child(2) { left: 35.45%; }
.sky__lines span:nth-child(3), .purpose__lines span:nth-child(3), .contact__lines span:nth-child(3) { left: 64.7%; }
.sky__lines span:nth-child(4), .purpose__lines span:nth-child(4), .contact__lines span:nth-child(4) { left: 95.2%; }
.js .sky__lines span { transform: scaleY(0); }
.latest > .sky__lines span { background: rgba(255, 255, 255, .2); }
.is-loaded .sky__lines span { animation: lineGrow 1.6s var(--ease-io) both; }
.is-loaded .sky__lines span:nth-child(2) { animation-delay: .1s; }
.is-loaded .sky__lines span:nth-child(3) { animation-delay: .2s; }
.is-loaded .sky__lines span:nth-child(4) { animation-delay: .3s; }
.purpose__lines span, .contact__lines span { background: rgba(255, 255, 255, .07); }

/* ---------- hero: full-screen corporate video ---------- */
.hero {
  position: relative; z-index: 1; overflow: hidden;
  min-height: max(620px, min(100svh, 1100px));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) 0 clamp(22px, 2.6vw, 40px);
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: #0b0f3a; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 40%;
}
.is-loaded .hero__video { animation: videoIn 2.4s cubic-bezier(.22, .61, .24, 1) .1s both; }
@keyframes videoIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
/* legibility: soft top for the nav, deep navy bottom that melts into the section below */
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 58, .62) 0%, rgba(11, 15, 58, 0) 24%),
    linear-gradient(0deg, #161c67 0%, rgba(22, 28, 103, .72) 13%, rgba(22, 28, 103, .22) 30%, rgba(22, 28, 103, 0) 44%);
}
.hero__media .sky__lines span { background: rgba(255, 255, 255, .16); }

.hero__head {
  position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 24px; row-gap: clamp(20px, 2.4vw, 32px);
  padding: 0 var(--gx);
}
.hero__title {
  margin: 0;
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, calc(12px + 3vw), 76px);
  line-height: .92; letter-spacing: -.005em;
  text-shadow: 0 2px 30px rgba(5, 8, 40, .25);
}
.hero__line { display: block; }
.hero__line--indent { padding-left: .92em; }
.hero__title .y { color: var(--red-2); }

.hero__aside { margin-left: auto; width: clamp(260px, 25vw, 400px); display: grid; gap: clamp(12px, 1.3vw, 20px); }
.hero__tagline {
  margin: 0;
  font-family: var(--sans); text-transform: uppercase;
  font-size: clamp(12px, 1vw, 16px); line-height: 1.1; letter-spacing: -.03em;
  text-indent: 3.6em;
}
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(10px, 1.2vw, 20px); margin: 0; }
.hero-fact { padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .38); }
.js .hero-fact { opacity: 0; }
.is-loaded .hero-fact { animation: riseUp .9s var(--ease) var(--fd, 1.5s) both; }
.hero-fact dt {
  font-family: var(--serif); font-size: clamp(20px, 1.7vw, 30px); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.hero-fact dd {
  margin: 5px 0 0;
  font: 500 clamp(9.5px, .62vw, 11px)/1.25 var(--sans); letter-spacing: .03em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.hero__bar {
  position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: clamp(16px, 1.8vw, 28px); padding: 0 var(--gx);
}
.explore {
  display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 34px);
  font-size: clamp(12px, .95vw, 15px); letter-spacing: -.01em; text-transform: uppercase;
  transition: opacity .3s;
}
.explore:hover { opacity: .8; }
.explore svg { width: 18px; height: 18px; }

/* video controls (pause · sound · 4 progress bars) */
.vctrl {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .22);
}
.js .vctrl { opacity: 0; }
.is-loaded .vctrl { animation: cardIn 1s var(--ease) 2s both; }
.vbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 34px; min-width: 34px; padding: 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #fff;
  font: 500 11px/1 var(--sans); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s, color .3s;
}
.vbtn svg { width: 15px; height: 15px; flex: none; }
.vbtn:hover { background: rgba(255, 255, 255, .3); }
.vbtn--sound { background: #fff; color: var(--navy); padding: 0 16px; }
.vbtn--sound:hover { background: #fff; color: var(--teal); }
.vbtn--sound[aria-pressed="true"] { background: rgba(255, 255, 255, .16); color: #fff; }
.vprog { display: grid; gap: 3px; width: clamp(160px, 13vw, 210px); padding: 0 12px 0 8px; }
.vprog__meta { display: flex; justify-content: space-between; gap: 10px; font: 500 10px/1 var(--alt); letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.vprog__time { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .65); }
.vbars { display: flex; gap: 5px; }
.vbar {
  position: relative; flex: 1; height: 14px; padding: 0; border: 0; background: none; cursor: pointer;
  transition: flex .6s var(--ease);
}
.vbar::before, .vbar__fill {
  content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px;
}
.vbar::before { right: 0; background: rgba(255, 255, 255, .4); }
.vbar__fill { width: 0; background: #fff; }
.vbar.is-done .vbar__fill { width: 100%; }
.vbar.is-active { flex: 1.7; }

@media (max-width: 900px) {
  .hero__aside { width: 100%; margin-left: 0; }
  .hero__tagline { font-size: clamp(13px, 2vw, 17px); }
}
@media (max-width: 600px) {
  .hero { min-height: max(600px, 100svh); }
  .hero__bar { flex-direction: column; align-items: stretch; }
  .vctrl { border-radius: 22px; flex-wrap: wrap; }
  .vprog { flex: 1; width: auto; min-width: 150px; padding: 0 6px; }
  .vbtn--sound span { display: none; }
  .vbtn--sound { padding: 0 12px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: min(calc(18px + 4.2vw), 10.5vw); }
}

/* ---------- latest works (Section 2) ---------- */
.latest {
  position: relative; z-index: 1;
  /* starts on the exact navy the video fades into, ends white for the next section */
  background:
    radial-gradient(40% 30% at 30% 18%, rgba(110, 165, 235, .28), transparent 70%),
    radial-gradient(35% 26% at 80% 40%, rgba(120, 180, 240, .22), transparent 70%),
    linear-gradient(180deg, #161c67 0%, #1d3893 24%, #3a77bf 52%, #8dbde6 80%, #ffffff 100%);
  display: flex; flex-wrap: wrap; row-gap: 32px;
  padding: clamp(40px, 4.6vw, 80px) clamp(16px, 4vw, 70px) clamp(40px, 4.4vw, 72px) clamp(16px, 2.8vw, 48px);
}
.latest__intro { flex: 1 1 max(200px, 24.5vw); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.6vw, 24px); }
.latest__intro { position: relative; z-index: 1; }
.latest__cards { position: relative; z-index: 1; }
.latest__text { margin: 0; max-width: 32ch; color: rgba(255, 255, 255, .86); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; }
.latest__link {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 20px; border-radius: 999px;
  background: #fff; color: var(--navy); font: 500 13px/1 var(--sans); letter-spacing: -.01em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.latest__link svg { width: 16px; height: 16px; }
.latest__link:hover { background: var(--navy); color: #fff; }
.latest__title {
  margin: clamp(0px, .9vw, 16px) 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 4.6vw, 80px); line-height: 1.2;
  color: #fff;
}
.latest__cards {
  flex: 999 1 540px; min-width: 0;
  display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: clamp(10px, 1.25vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.latest__cards::-webkit-scrollbar { display: none; }

.lcard {
  position: relative; margin: 0;
  display: grid;
  aspect-ratio: .79; border-radius: clamp(6px, .8vw, 12px); overflow: hidden;
  background: #cfdcec; scroll-snap-align: start;
}
.lcard > img, .lcard > .lcard__info { grid-area: 1 / 1; }
.js .lcard { opacity: 0; }
.latest__cards.in-view .lcard { animation: cardIn 1.1s var(--ease) .2s both; }
.latest__cards.in-view .lcard:nth-child(2) { animation-delay: .35s; }
.latest__cards.in-view .lcard:nth-child(3) { animation-delay: .5s; }
.latest__cards.is-static .lcard { animation: none; opacity: 1; }
.lcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lcard:hover img { transform: scale(1.05); }
/* grid item with z-index (not positioned) so the stretched button below covers the whole card */
.lcard__info {
  align-self: end; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  padding: clamp(40px, 4vw, 70px) clamp(12px, 1.4vw, 22px) clamp(12px, 1.4vw, 22px);
  background: linear-gradient(180deg, transparent, rgba(10, 14, 50, .75));
  color: #fff;
}
.lcard__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(17px, 1.6vw, 26px); line-height: 1.1; }
.lcard__btn { all: unset; cursor: pointer; }
.lcard__btn::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.lcard__btn:focus-visible::after { outline: 2px solid #fff; outline-offset: -4px; border-radius: inherit; }
.lcard__meta { display: block; margin-top: 6px; font: 500 11px/1.2 var(--sans); letter-spacing: .03em; text-transform: uppercase; opacity: .85; }
.lcard__plus {
  flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.lcard__plus svg { width: 16px; height: 16px; }
.lcard:hover .lcard__plus { background: #fff; color: var(--navy); transform: rotate(90deg); }

@media (max-width: 560px) {
  .latest__cards { grid-template-columns: repeat(3, 72vw); }
}

/* =========================================================
   Nosotros
   ========================================================= */
.about { color: var(--ink); padding-top: clamp(40px, 4.4vw, 72px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.about__intro { display: grid; gap: clamp(20px, 2.2vw, 32px); justify-items: start; }
.about__body { padding-top: clamp(0px, 2.2vw, 40px); }
.about__body p { margin: 0 0 1.2em; color: var(--ink-2); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.7; }
.about__body .lead { color: var(--ink); font-family: var(--serif); font-size: clamp(22px, 2vw, 32px); line-height: 1.3; }

.video-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink);
  font: 500 13px/1 var(--sans); letter-spacing: -.01em; text-transform: uppercase;
}
.video-btn__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff;
  box-shadow: 0 0 0 0 rgba(22, 28, 103, .35);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.video-btn__icon svg { width: 18px; height: 18px; margin-left: 2px; }
.video-btn:hover .video-btn__icon { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(22, 28, 103, .1); }

.about__photo { position: relative; width: 100%; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.about__photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.about__photo figcaption {
  position: absolute; left: clamp(12px, 1.6vw, 24px); bottom: clamp(12px, 1.6vw, 24px);
  max-width: calc(100% - 24px);
  padding: 10px 16px; border-radius: 999px;
  background: rgba(10, 14, 50, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font: 400 13px/1.3 var(--alt); letter-spacing: .02em;
}

.timeline {
  list-style: none; margin: clamp(40px, 4.6vw, 76px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
}
.tl { position: relative; padding: 30px clamp(12px, 1.4vw, 24px) 0 0; border-top: 1px solid var(--line); }
.tl::before {
  content: ""; position: absolute; left: 0; top: -5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px #fff;
}
.tl:last-child::before { background: var(--red); }
.tl__year { display: block; font-family: var(--serif); font-size: clamp(30px, 2.6vw, 44px); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums; }
.tl__title { margin: 14px 0 8px; font: 500 13px/1.3 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.tl p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
}
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo img { aspect-ratio: 16 / 10; }
  .about__body { padding-top: 0; }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; row-gap: 0; margin-left: 4px; }
  .tl { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 34px 26px; }
  .tl::before { left: -5px; top: 4px; }
  .tl:last-child { padding-bottom: 0; }
}

/* =========================================================
   Propósito / Misión / Visión
   ========================================================= */
.purpose {
  overflow: hidden; color: #fff;
  background:
    radial-gradient(55% 45% at 85% 0%, rgba(32, 126, 168, .4), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(32, 126, 168, .22), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, #121758 100%);
}
.purpose .container { position: relative; }
.purpose__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.purpose__title {
  margin: 0; max-width: 12ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 5.6vw, 100px); line-height: .98; letter-spacing: -.01em;
}
.purpose__title em { font-style: italic; color: var(--sky-ink); }
.purpose__cols { display: grid; gap: clamp(24px, 2.6vw, 40px); }
.pcard { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.pcard__num { font: 500 13px/1 var(--sans); color: var(--sky-ink); }
.pcard h3 { margin: 14px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 44px); line-height: 1.05; }
.pcard p { margin: 0; max-width: 44ch; color: rgba(255, 255, 255, .8); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; }
.values { margin-top: clamp(28px, 3.4vw, 52px); }
.values__label { margin: 0 0 16px; font: 500 13px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--sky-ink); }
.values ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.values li {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px; letter-spacing: -.01em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.values li:hover { background: #fff; color: var(--navy); }
@media (max-width: 860px) {
  .purpose__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Servicios
   ========================================================= */
.services { color: var(--ink); }
.svc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.svc {
  display: grid; align-items: center;
  grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1fr) clamp(140px, 13vw, 200px);
  gap: clamp(16px, 2.6vw, 44px);
  padding: clamp(16px, 1.6vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}
.svc__num { font: 500 13px/1 var(--sans); color: var(--teal); }
.svc__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 44px); line-height: 1.08; transition: transform .5s var(--ease); }
.svc__text { margin: 0; color: var(--ink-2); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; }
.svc__img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--mist); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.07); }
.svc:hover .svc__title { transform: translateX(8px); }
@media (max-width: 860px) {
  .svc { grid-template-columns: 36px minmax(0, 1fr); align-items: start; row-gap: 12px; }
  .svc__num { padding-top: 10px; }
  .svc__text, .svc__img { grid-column: 2; }
  .svc__img { aspect-ratio: 16 / 9; margin-top: 6px; }
}

/* =========================================================
   Proyectos
   ========================================================= */
.projects { color: var(--ink); padding-top: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 44px); }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: 500 13px/1 var(--sans); letter-spacing: -.02em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip__count { font-size: 11px; opacity: .55; }

/* =========================================================
   Clientes (marquee)
   ========================================================= */
.clients { padding: clamp(28px, 3.4vw, 56px) 0; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee {
  margin-top: clamp(14px, 2vw, 28px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee__group li {
  display: inline-flex; align-items: center; gap: .35em; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 56px); line-height: 1.2;
}
.marquee__group li::after {
  content: ""; width: .22em; height: .22em; margin: 0 .9em 0 .55em;
  background: var(--teal); transform: rotate(45deg) skew(-8deg, -8deg);
}
.marquee__group li:nth-child(3n)::after { background: var(--red); }
.marquee__group small { font-family: var(--sans); font-size: .3em; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); align-self: center; }

/* =========================================================
   Equipo
   ========================================================= */
.team { color: var(--ink); }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.founder {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  border-radius: clamp(10px, 1.2vw, 18px); overflow: hidden; background: var(--mist);
}
.founder__photo { min-height: 100%; background: #e3e8f1; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.founder__body { padding: clamp(22px, 2.4vw, 40px); }
.founder__role { margin: 0; font: 500 12px/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.founder__name { margin: 10px 0 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.3vw, 40px); line-height: 1.05; }
.founder__edu { margin: 0 0 20px; color: var(--ink-2); font-size: 14px; }
.founder__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.founder__list li { position: relative; padding-left: 20px; }
.founder__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--teal); }

.nextgen {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(18px, 2.6vw, 44px);
  margin-top: clamp(16px, 2vw, 32px); padding: clamp(22px, 2.4vw, 40px);
  border-radius: clamp(10px, 1.2vw, 18px); border: 1px solid var(--line);
}
.nextgen__mono {
  display: grid; place-items: center; width: clamp(76px, 7vw, 112px); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 40px);
}
.nextgen__text { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

@media (max-width: 1180px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .founder { grid-template-columns: 1fr; }
  .founder__photo img { aspect-ratio: 4 / 3.4; }
  .nextgen { grid-template-columns: 1fr; }
}

/* =========================================================
   Testimonios
   ========================================================= */
.voices { color: var(--ink); padding-top: 0; }
.voices__nav { display: flex; gap: 8px; }
.round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.voices__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 27vw, 400px);
  gap: clamp(12px, 1.4vw, 24px);
  align-items: start; /* each card hugs its own quote — no stretched empty space */
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px max(var(--px), calc((100vw - 1440px) / 2 + var(--px))) 12px;
  scroll-padding: 0 max(var(--px), calc((100vw - 1440px) / 2 + var(--px)));
  scrollbar-width: none;
}
.voices__track::-webkit-scrollbar { display: none; }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  margin: 0; padding: clamp(22px, 2vw, 32px);
  border-radius: clamp(10px, 1.2vw, 18px); background: var(--mist);
  scroll-snap-align: start;
}
.quote:nth-child(3n + 2) { background: var(--navy); color: #fff; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.4vw, 22px); line-height: 1.42; }
.quote figcaption strong { display: block; font: 500 15px/1.3 var(--sans); }
.quote figcaption span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.quote:nth-child(3n + 2) figcaption span { color: var(--sky-ink); }

/* =========================================================
   Contacto
   ========================================================= */
.contact {
  overflow: hidden; color: #fff;
  background:
    radial-gradient(50% 40% at 12% 0%, rgba(32, 126, 168, .45), transparent 70%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 55%, var(--navy-deep) 100%);
}
.contact .container { position: relative; }
.contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 96px); align-items: start; }
.contact__lead { max-width: 44ch; margin: 20px 0 28px; color: rgba(255, 255, 255, .8); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; }
.contact__list { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.contact__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.cicon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cicon svg { width: 19px; height: 19px; }
.contact__list .label { display: block; margin-bottom: 6px; font: 500 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--sky-ink); }
.contact__list a { display: block; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.contact__list a small { font-size: 12px; opacity: .65; margin-left: 4px; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.social[hidden], .footer li[hidden] { display: none; }
.social {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); transition: background .3s, color .3s;
}
.social svg { width: 19px; height: 19px; }
.social:hover { background: #fff; color: var(--navy); }

.form {
  padding: clamp(22px, 3vw, 48px); border-radius: clamp(14px, 1.6vw, 24px);
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}
.form__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 2.8vw, 46px); line-height: 1.05; }
.form__sub { margin: 8px 0 26px; color: var(--ink-2); font-size: 15px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font: 500 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 12px;
  background: var(--mist); color: var(--ink); font: 400 16px/1.4 var(--sans);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(32, 126, 168, .15); }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 500 13px/1 var(--sans); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--wa { background: #15803d; color: #fff; }
.btn--wa:hover { background: #116a32; }
.btn--line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.form__note { margin: 14px 0 0; color: var(--ink-3); font-size: 13px; line-height: 1.45; }
.form__note.is-ok { color: #15803d; }

.visit {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(10px, 1.2vw, 18px);
  margin-top: clamp(36px, 4.4vw, 72px); height: clamp(240px, 23vw, 340px);
}
.visit__building {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(40% 50% at 70% 10%, rgba(140, 190, 245, .35), transparent 70%),
    linear-gradient(180deg, #1b2f8f 0%, #2c64b0 42%, #7cafdb 100%);
}
.visit__building figcaption { position: relative; z-index: 2; display: grid; gap: 6px; padding: clamp(18px, 2vw, 28px); }
.visit__title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 36px); line-height: 1; }
.visit__addr { font: 500 12px/1.3 var(--sans); letter-spacing: .03em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.visit__building img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; transform-origin: 50% 100%; }
.visit__building.in-view img { animation: riseIn 2.6s cubic-bezier(.22, .61, .24, 1) .15s both; }
.map { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .08); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.03); }
.map__cta {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--navy); color: #fff; font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: -.01em;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: background .3s;
}
.map__cta svg { width: 16px; height: 16px; }
.map__cta:hover { background: var(--teal); }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; height: auto; }
  .visit__building { aspect-ratio: 2.1; }
  .map { height: 280px; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer { padding: clamp(56px, 7vw, 110px) 0 28px; background: var(--navy-deep); color: #fff; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.footer__logo { width: clamp(150px, 13vw, 200px); height: auto; }
.footer__claim { margin: 26px 0 0; max-width: 12ch; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 44px); line-height: 1.1; }
.footer h4 { margin: 0 0 18px; font: 500 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--sky-ink); }
.footer ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.45; }
.footer a:hover, .link-btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.link-btn { padding: 0; border: 0; background: none; cursor: pointer; color: inherit; font: inherit; text-align: left; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 90px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .6); font-size: 13px;
}
.footer__bottom p { margin: 0; }
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 55;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transform: scale(0); transition: transform .5s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-visible { transform: none; }
.wa-float:hover { transform: scale(1.06); }

/* =========================================================
   Modals
   ========================================================= */
.pm, .vm {
  padding: 0; border: 0; overflow: hidden;
  border-radius: clamp(14px, 1.6vw, 24px);
  background: #fff; color: var(--ink);
}
.pm::backdrop, .vm::backdrop { background: rgba(9, 12, 45, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pm[open], .vm[open] { animation: modalIn .5s var(--ease) both; }
.pm { width: min(1200px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); }
.pm__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); height: min(760px, calc(100dvh - 32px)); }
.pm__close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4);
}
.pm__close svg { width: 20px; height: 20px; }
.pm__gallery { display: flex; flex-direction: column; min-height: 0; background: #0c0f2e; }
.pm__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.pm__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.pm__stage img.is-loading { opacity: .35; }
.pm__nav {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: var(--ink);
}
.pm__nav svg { width: 20px; height: 20px; }
.pm__nav--prev { left: 12px; }
.pm__nav--next { right: 12px; }
.pm__counter {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 14, 50, .55); color: #fff; font: 500 12px/1 var(--alt); letter-spacing: .04em;
}
.pm__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.pm__thumbs button {
  flex: none; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer;
  background: #1a1f4a; opacity: .55; transition: opacity .3s, border-color .3s;
}
.pm__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pm__thumbs button[aria-current="true"] { opacity: 1; border-color: #fff; }
.pm__info { padding: clamp(24px, 3vw, 48px); overflow-y: auto; }
.pm__title { margin: 0 0 20px; padding-right: 40px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 46px); line-height: 1.06; }
.pm__desc p { margin: 0 0 1em; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.pm__facts {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 20px;
  margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45;
}
.pm__facts dt { padding-top: 2px; color: var(--ink-3); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.pm__facts dd { margin: 0; color: var(--ink); }
@media (max-width: 860px) {
  .pm__inner { grid-template-columns: 1fr; height: auto; max-height: calc(100dvh - 32px); overflow-y: auto; }
  .pm__stage { flex: none; aspect-ratio: 4 / 3; }
  .pm__info { overflow: visible; }
}

.vm { width: min(1100px, calc(100vw - 32px)); background: #000; color: #fff; }
.vm__frame { aspect-ratio: 16 / 9; background: #000; }
.vm__frame video { width: 100%; height: 100%; display: block; background: #000; }
/* =========================================================
   Dark editorial theme — the whole page follows the hero:
   continuous navy, thin grid lines, small uppercase labels,
   moderate serif titles and glass cards.
   ========================================================= */
body { background: #0f1352; color: #fff; }
.page-lines { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.page-lines span { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .055); }
.page-lines span:nth-child(1) { left: 4.8%; } .page-lines span:nth-child(2) { left: 35.45%; }
.page-lines span:nth-child(3) { left: 64.7%; } .page-lines span:nth-child(4) { left: 95.2%; }
.sky { background: transparent; }
.latest { background: linear-gradient(180deg, #161c67 0%, rgba(22, 28, 103, 0) 70%); }
.latest > .sky__lines, .purpose__lines, .contact__lines { display: none; }
.purpose, .contact { background: radial-gradient(45% 40% at 85% 0%, rgba(32, 126, 168, .16), transparent 70%); }
.footer { background: rgba(5, 8, 40, .35); border-top: 1px solid rgba(255, 255, 255, .08); }

.section { padding: clamp(48px, 5.2vw, 92px) 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.projects, .voices { padding-top: clamp(48px, 5.2vw, 92px); }
.about { padding-top: clamp(48px, 5.2vw, 92px); }
.section-head { margin-bottom: clamp(24px, 2.6vw, 40px); gap: 16px 40px; }
.eyebrow { color: var(--sky-ink); font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; }

/* titles: same serif as the hero figures, moderate size, no underline */
.h2, .latest__title, .purpose__title {
  color: #fff; font-weight: 400; line-height: 1.08; letter-spacing: -.01em;
  font-size: clamp(28px, 2.6vw, 44px);
}
.u-head .line { display: inline; }
.u-head .w, html:not(.js) .u-head .line { text-decoration: none; }
.purpose__title { max-width: 16ch; font-size: clamp(30px, 3.2vw, 54px); }
.latest__title { margin: 0; }

/* body copy */
.section-head__text, .about__body p, .svc__text, .proj__loc, .founder__list, .founder__edu,
.nextgen__text, .tl p, .contact__lead, .latest__text, .pcard p {
  color: rgba(255, 255, 255, .66); font-size: clamp(14px, 1vw, 15.5px); line-height: 1.65;
}
.about__body .lead { color: #fff; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.4; }
.about, .services, .projects, .team, .voices, .clients { color: #fff; }

/* nosotros */
.video-btn { color: #fff; font-size: 12px; }
.video-btn__icon { width: 44px; height: 44px; background: #fff; color: var(--navy); }
.about__photo img { aspect-ratio: 16 / 11; }
.tl { border-top-color: rgba(255, 255, 255, .14); }
.tl::before { box-shadow: 0 0 0 4px #0f1352; background: var(--sky-ink); }
.tl__year { color: #fff; font-size: clamp(22px, 1.8vw, 30px); }
.tl__title { color: #fff; font-size: 11px; letter-spacing: .1em; }
.tl p { font-size: 13px; }

/* propósito */
.pcard { border-top-color: rgba(255, 255, 255, .14); }
.pcard h3 { font-size: clamp(20px, 1.7vw, 28px); margin: 10px 0; }
.values li { height: 34px; padding: 0 14px; font-size: 11px; letter-spacing: .06em; background: rgba(255, 255, 255, .04); }

/* servicios */
.svc-list, .svc { border-color: rgba(255, 255, 255, .1); }
.svc { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.2fr) clamp(120px, 11vw, 170px); }
.svc__num { color: var(--sky-ink); font-size: 11px; letter-spacing: .1em; }
.svc__title { color: #fff; font-size: clamp(19px, 1.6vw, 26px); }
.svc__img { border-radius: 8px; }
@media (max-width: 860px) {
  .svc { grid-template-columns: 32px minmax(0, 1fr); }
  .svc__img { max-width: 100%; }
}

/* proyectos */
.chip { height: 34px; padding: 0 14px; font-size: 11px; letter-spacing: .06em; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .18); color: #fff; }
.chip:hover { border-color: #fff; }
.chip.is-active { background: #fff; border-color: #fff; color: var(--navy); }

/* clientes */
.clients { border-color: rgba(255, 255, 255, .08); padding: clamp(24px, 2.6vw, 40px) 0; }
.marquee__group li { font-size: clamp(20px, 2vw, 32px); color: rgba(255, 255, 255, .9); }
.marquee__group small { color: rgba(255, 255, 255, .45); }

/* equipo */
.founder, .nextgen { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); }
.founder__photo { background: rgba(255, 255, 255, .05); }
.founder__role { color: var(--sky-ink); font-size: 11px; letter-spacing: .1em; }
.founder__name { color: #fff; font-size: clamp(21px, 1.7vw, 28px); }
.founder__edu { font-size: 13px; margin-bottom: 14px; }
.founder__list { font-size: 13px; gap: 8px; }
.founder__list li::before { background: var(--sky-ink); }
.nextgen__mono { width: clamp(60px, 5vw, 80px); font-size: clamp(20px, 1.8vw, 28px); }

/* testimonios */
.quote { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.quote:nth-child(3n + 2) { background: rgba(32, 126, 168, .2); border-color: rgba(143, 195, 234, .25); }
.quote blockquote { font-size: clamp(15.5px, 1.15vw, 18px); }
.quote figcaption strong { font-size: 13px; }
.quote figcaption span { color: rgba(255, 255, 255, .55); font-size: 12px; }
.round-btn { width: 40px; height: 40px; background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.round-btn:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* contacto: glass form like the video controls */
.contact__list a { font-size: 15px; }
.form { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); color: #fff; box-shadow: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.form__title { font-size: clamp(22px, 1.9vw, 30px); }
.form__sub, .form__note { color: rgba(255, 255, 255, .6); font-size: 13px; }
.field label { color: rgba(255, 255, 255, .7); font-size: 11px; }
.field input, .field textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; font-size: 15px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { background: rgba(255, 255, 255, .1); border-color: var(--sky-ink); box-shadow: 0 0 0 4px rgba(143, 195, 234, .15); }
.btn { height: 44px; font-size: 12px; }
.btn--line { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--line:hover { border-color: #fff; }
.form__note.is-ok { color: #6ee7a0; }
.footer__claim { font-size: clamp(22px, 1.8vw, 30px); }
.footer__logo { width: clamp(130px, 10vw, 170px); }

/* ---------- project viewer (Urbania-style window) ---------- */
.viewer { margin-bottom: clamp(32px, 3.6vw, 56px); }
.viewer__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
.viewer__tabs::-webkit-scrollbar { display: none; }
.vtab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .8); font: 500 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.vtab:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }
.vtab.is-active { background: #fff; border-color: #fff; color: var(--navy); }
.vtab__dot { width: 6px; height: 6px; border-radius: 50%; }
.vtab__dot--tour { background: #8b5cf6; }
.vtab__dot--evolution { background: var(--red-2); }
.viewer__frame {
  border-radius: 14px; overflow: hidden;
  background: #121646; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.viewer__bar {
  display: flex; align-items: center; gap: 16px; height: 42px; padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font: 400 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(255, 255, 255, .55);
}
.viewer__dots { display: inline-flex; gap: 6px; }
.viewer__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.viewer__url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer__badge { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
.viewer__badge i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.viewer__badge.is-live { color: #c4b5fd; }
.viewer__badge.is-live i { background: #8b5cf6; box-shadow: 0 0 0 0 rgba(139, 92, 246, .6); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 7px rgba(139, 92, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); } }
.viewer__stage { position: relative; aspect-ratio: 16 / 7.5; background: #0b0e33; overflow: hidden; }
.viewer__stage:fullscreen { aspect-ratio: auto; }
.viewer__poster, .viewer__video, .viewer__iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.viewer__poster { transition: opacity .35s ease; }
.viewer__poster.is-fading { opacity: 0; }
.viewer__poster[hidden], .viewer__video[hidden], .viewer__iframe[hidden] { display: none; }
.viewer__iframe { z-index: 2; background: #000; }
.viewer__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 14, 51, .45) 0%, transparent 30%, transparent 62%, rgba(11, 14, 51, .55) 100%); }
.viewer__iframe:not([hidden]) ~ .viewer__shade, .viewer__iframe:not([hidden]) ~ .viewer__name { display: none; }
.viewer__name {
  position: absolute; left: 16px; top: 16px; z-index: 3;
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px;
  background: rgba(11, 14, 51, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font: 500 13px/1 var(--sans);
}
.viewer__full {
  position: absolute; right: 16px; top: 16px; z-index: 3;
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: var(--navy); cursor: pointer;
}
.viewer__full svg { width: 18px; height: 18px; }
.viewer__enter {
  position: absolute; left: 50%; bottom: 14%; z-index: 3; translate: -50% 0;
  min-width: 200px; height: 52px; padding: 0 32px; border: 0; border-radius: 999px;
  background: #fff; color: var(--ink); font: 500 17px/1 var(--sans); cursor: pointer;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6); transition: transform .3s var(--ease);
}
.viewer__enter:hover { transform: scale(1.04); }
.viewer__enter[hidden], .viewer__soon[hidden] { display: none; }
.viewer__soon {
  position: absolute; left: 50%; bottom: 10%; z-index: 3; translate: -50% 0;
  height: 38px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px;
  background: rgba(11, 14, 51, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2); color: #fff; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.viewer__foot {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 14px;
  font: 500 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.viewer__foot a { color: #c4b5fd; }
.viewer__foot a[hidden] { display: none; }
.pm__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.pm__viewer { color: var(--ink); border-color: rgba(13, 13, 13, .2); }
.pm__viewer svg { width: 14px; height: 14px; }
@media (max-width: 700px) {
  .viewer__stage { aspect-ratio: 4 / 3.4; }
  .viewer__enter { min-width: 160px; height: 46px; font-size: 15px; }
  .viewer__foot { flex-direction: column; gap: 8px; }
}

/* ---------- project window: expands from the card (Urbania-style) ---------- */
.px {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0;
  padding: clamp(10px, 1.6vw, 24px); border: 0; background: transparent; color: #fff; overflow: hidden;
}
.px::backdrop { background: rgba(6, 9, 36, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.px[open]::backdrop { animation: pxFade .5s ease both; }
.px.is-closing::backdrop { animation: pxFade .5s ease reverse both; }
@keyframes pxFade { from { opacity: 0; } to { opacity: 1; } }
.px__win {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; background: #121646; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .8);
}
.px__close {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-left: 6px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .3s;
}
.px__close:hover { background: rgba(255, 255, 255, .25); }
.px__close svg { width: 16px; height: 16px; }
.px__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 27vw, 420px); }
.px__media { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.px__stage { flex: 1; aspect-ratio: auto; min-height: 0; transform-origin: 50% 50%; }
.px .viewer__enter { bottom: 12%; }
.px .viewer__soon { bottom: 7%; }
.px .pm__nav { background: rgba(255, 255, 255, .9); }
.px__strip {
  flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px; overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, .08); scrollbar-width: thin;
}
.px__thumb, .px__mode {
  flex: none; height: 54px; border-radius: 8px; border: 2px solid transparent; padding: 0; cursor: pointer;
  opacity: .6; transition: opacity .3s, border-color .3s, transform .3s var(--ease);
}
.px__thumb { width: 78px; overflow: hidden; background: #1a1f4a; }
.px__thumb img { width: 100%; height: 100%; object-fit: cover; }
.px__mode {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; background: rgba(255, 255, 255, .08); color: #fff;
  font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.px__mode i { width: 7px; height: 7px; border-radius: 50%; }
.px__mode--tour i { background: #8b5cf6; }
.px__mode--evolution i { background: var(--red-2); }
.px__thumb:hover, .px__mode:hover { opacity: 1; transform: translateY(-2px); }
.px__thumb[aria-current="true"], .px__mode[aria-current="true"] { opacity: 1; border-color: #fff; }
.px__info { overflow-y: auto; padding: clamp(22px, 2.2vw, 36px); border-left: 1px solid rgba(255, 255, 255, .08); }
.px .eyebrow { color: var(--sky-ink); }
.px .pm__title { color: #fff; font-size: clamp(24px, 2vw, 34px); padding-right: 0; margin-bottom: 16px; }
.px .pm__desc p { color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.px .pm__facts { border-top-color: rgba(255, 255, 255, .12); }
.px .pm__facts dt { color: rgba(255, 255, 255, .5); }
.px .pm__facts dd { color: #fff; }
.px .btn--line { color: #fff; border-color: rgba(255, 255, 255, .3); }
.px .btn--line:hover { border-color: #fff; }
.px .btn--line[hidden] { display: none; }
@media (max-width: 900px) {
  .px__body { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow-y: auto; }
  .px__stage { flex: none; height: 52vh; }
  .px__info { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); overflow: visible; }
  .px__media, .px__info { min-height: auto; }
}
@media (max-width: 600px) {
  .px .viewer__url { visibility: hidden; }
  .px__stage { height: 46vh; }
}

/* nosotros: title on top, photo and text side by side on one line */
.about__head { margin-bottom: clamp(24px, 2.6vw, 40px); }
.about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; gap: clamp(28px, 4vw, 72px); }
.about__photo { height: 100%; min-height: 360px; }
.about__photo img { height: 100%; aspect-ratio: auto; object-position: 50% 30%; }
.about__body { padding-top: 0; display: flex; flex-direction: column; justify-content: center; }
.about__body p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { min-height: 0; }
  .about__photo img { aspect-ratio: 16 / 10; height: auto; }
}

/* timeline: a progress line advances on scroll and lights each milestone */
.about .timeline { position: relative; --p: 0; }
.about .timeline .tl { border: 0; }
.about .timeline::before, .about .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.about .timeline::before { background: rgba(13, 13, 13, .12); }
.about .timeline::after {
  height: 3px; top: -1px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--navy) 85%, var(--red));
  transform-origin: left center; transform: scaleX(var(--p));
}
.about .timeline .tl::before {
  width: 13px; height: 13px; left: -1px; top: -6px;
  background: #fff; border: 2px solid #c9d1df; box-shadow: none;
  transition: background .4s, border-color .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.about .timeline .tl::after {
  content: ""; position: absolute; left: -1px; top: -6px; width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid var(--teal); opacity: 0; pointer-events: none;
}
.about .timeline .tl > * { opacity: .32; transition: opacity .6s ease, transform .6s var(--ease); transform: translateY(6px); }
.about .timeline .tl.is-reached > * { opacity: 1; transform: none; }
.about .timeline .tl.is-reached::before { background: var(--teal); border-color: var(--teal); transform: scale(1.25); }
.about .timeline .tl.is-reached::after { animation: milestone 1s ease-out; }
.about .timeline .tl:last-child.is-reached::before { background: var(--red); border-color: var(--red); }
.about .timeline .tl:last-child.is-reached::after { border-color: var(--red); animation: milestone 1.8s ease-out infinite; }
.about .timeline .tl.is-reached .tl__year { color: var(--navy); }
.about.theme-light .timeline .tl:not(.is-reached)::before { background: #fff; border-color: #c9d1df; }
/* unlock: the dot bursts, shows a check and settles */
.about .timeline::before { right: var(--end, 0); }
.about .timeline .tl::before {
  content: ""; display: grid; place-items: center;
  font: 700 8px/1 var(--sans); color: #fff;
}
.about .timeline .tl.is-reached::before { content: "✓"; animation: unlock .9s cubic-bezier(.34, 1.56, .64, 1) both; }
.about .timeline .tl.is-reached::after { animation: milestone 1s ease-out .15s; }
.about .timeline .tl.is-reached .tl__year { animation: yearPop .8s cubic-bezier(.34, 1.56, .64, 1) both; transform-origin: left bottom; }
@keyframes unlock {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(32, 126, 168, 0); }
  35% { transform: scale(2.8); box-shadow: 0 0 0 10px rgba(32, 126, 168, .18), 0 0 30px 6px rgba(32, 126, 168, .45); }
  100% { transform: scale(1.5); box-shadow: 0 0 0 5px rgba(32, 126, 168, .12); }
}
@keyframes yearPop { 0% { transform: scale(.85); color: var(--teal); } 50% { transform: scale(1.12); } 100% { transform: none; } }
.about .timeline .tl:last-child.is-reached::before { animation: unlock .9s cubic-bezier(.34, 1.56, .64, 1) both; box-shadow: 0 0 0 5px rgba(222, 31, 27, .14); }

/* pinned storytelling: section stays fixed while the milestones unlock (desktop, tall enough screens) */
.about.is-pinned { height: calc(100svh + 6 * 42svh); padding: 0; }
.about.is-pinned > .container {
  position: sticky; top: 64px; height: calc(100svh - 64px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 8px; padding-bottom: 8px;
}
.about.is-pinned .about__head { margin-bottom: clamp(16px, 2vh, 28px); }
.about.is-pinned .about__head .eyebrow { margin-bottom: 8px; }
.about.is-pinned .about__photo { min-height: 0; }
.about.is-pinned .about__body p { font-size: 14.5px; line-height: 1.6; margin-bottom: .9em; }
.about.is-pinned .about__body .lead { font-size: clamp(17px, 1.3vw, 21px); }
.about.is-pinned .timeline { margin-top: clamp(28px, 4.5vh, 52px); }
.about.is-pinned .tl { padding-top: 26px; }
.about.is-pinned .tl p { font-size: 12.5px; line-height: 1.5; }

@keyframes milestone { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@media (max-width: 600px) {
  .about .timeline::before, .about .timeline::after { right: auto; bottom: 0; width: 1px; height: auto; top: 0; left: 0; }
  .about .timeline::after { width: 3px; left: -1px; transform-origin: center top; transform: scaleY(var(--p));
    background: linear-gradient(180deg, var(--teal), var(--navy) 85%, var(--red)); }
  .about .timeline .tl::before, .about .timeline .tl::after { left: -6px; top: 2px; }
}

/* ---------- Propósito: fusion scene ---------- */
.fuse { position: relative; color: #fff; overflow: clip; }
.fuse__stage {
  position: relative; max-width: 1440px; margin: 0 auto; padding: clamp(56px, 6vw, 100px) var(--px);
  display: grid; gap: 28px; justify-items: center; text-align: center;
}
.fuse__eyebrow { margin: 0; }
.fuse__title { margin: 0; max-width: 18ch; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 64px); line-height: 1.02; letter-spacing: -.01em; }
.fuse__title em { font-style: italic; color: var(--sky-ink); }
.fuse__card {
  width: min(440px, 86vw); padding: clamp(20px, 1.8vw, 30px); text-align: left;
  border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.fuse__card h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.8vw, 30px); }
.fuse__card p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 16px; line-height: 1.6; }
.fuse__card--m h3::before, .fuse__card--v h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; transform: rotate(45deg) skew(-8deg, -8deg); vertical-align: .12em; }
.fuse__card--m h3::before { background: var(--sky-ink); }
.fuse__card--v h3::before { background: #fff; }
.fuse__values { display: grid; gap: 12px; justify-items: center; }
.fuse__vlabel { margin: 0; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-ink); }
.fuse__values ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fuse__val {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06);
  font: 500 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.fuse__logo { position: relative; width: min(240px, 50vw); aspect-ratio: 316 / 215; }
.fuse__piece { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fuse__piece--tt polygon { fill: #8fc3ea; }
.fuse__piece--ts polygon { fill: #4f8fbf; }
.fuse__piece--nt polygon { fill: #fff; }
.fuse__piece--ns polygon { fill: rgba(255, 255, 255, .55); }
.fuse__word { width: min(200px, 42vw); height: auto; }
.fuse__glow, .fuse__ring { display: none; }

/* scroll-driven mode */
.fuse.is-fusing { height: calc(100svh + 445svh); }
.fuse.is-fusing .fuse__stage {
  position: sticky; top: 64px; height: calc(100svh - 64px); max-width: none; padding: 0; display: block; overflow: hidden;
}
.fuse.is-fusing .fuse__stage > :not(.fuse__values), .fuse.is-fusing .fuse__val, .fuse.is-fusing .fuse__vlabel {
  position: absolute; left: 50%; top: 50%; will-change: transform, opacity; opacity: 0;
}
.fuse.is-fusing .fuse__values { position: static; display: block; }
.fuse.is-fusing .fuse__values ul { display: block; }
.fuse.is-fusing .fuse__logo { opacity: 1; }
.fuse.is-fusing .fuse__piece { opacity: 0; will-change: transform, opacity; }
.fuse.is-fusing .fuse__glow {
  display: block; width: min(760px, 120vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 195, 234, .42) 0%, rgba(32, 126, 168, .2) 32%, transparent 66%);
}
.fuse.is-fusing .fuse__ring { display: block; width: 260px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(143, 195, 234, .8); }
.fuse.is-fusing .fuse__eyebrow { white-space: nowrap; }

/* ---------- Servicios: stacking cards ---------- */
.svcx { padding: clamp(56px, 6vw, 100px) 0; }
.svcx .section-head { margin-bottom: clamp(20px, 2.4vw, 36px); }
.svcx__index { display: none; }
.svcx__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.svcx__card {
  position: relative; overflow: hidden; border-radius: 18px; min-height: 340px; background: var(--navy);
  box-shadow: 0 30px 60px -30px rgba(10, 14, 50, .55); color: #fff;
}
.svcx__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svcx__card:hover img { transform: scale(1.05); }
.svcx__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 50, .05) 25%, rgba(10, 14, 50, .88) 100%); }
.svcx__dim { position: absolute; inset: 0; background: #0b0e33; opacity: 0; pointer-events: none; }
.svcx__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 30px); }
.svcx__tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 10px/1 var(--sans); letter-spacing: .14em;
}
.svcx__card h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 32px); line-height: 1.08; }
.svcx__card p { margin: 0; max-width: 46ch; color: rgba(255, 255, 255, .8); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 700px) { .svcx__cards { grid-template-columns: 1fr; } .svcx__card { min-height: 300px; } }

.svcx.is-stacking { height: calc(100svh + 330svh); padding: 0; }
.svcx.is-stacking .svcx__stage { position: sticky; top: 64px; height: calc(100svh - 64px); overflow: hidden; }
.svcx.is-stacking .svcx__inner { position: relative; height: 100%; padding-top: clamp(20px, 3.4vh, 40px); }
.svcx.is-stacking .svcx__cards { display: block; }
.svcx.is-stacking .svcx__card { container-type: inline-size; position: absolute; left: 0; top: 0; min-height: 0; will-change: transform, width, height; transform-origin: 50% 0; }
.svcx.is-stacking .svcx__index {
  display: grid; gap: 4px; position: absolute; margin: 0; padding: 0; list-style: none;
}
.svcx__item {
  display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 14px; padding: 12px 0;
  font-family: var(--serif); font-size: clamp(20px, 1.7vw, 28px); color: rgba(13, 13, 13, .25);
  transition: color .5s ease, transform .5s var(--ease);
}
.svcx__bar { position: relative; height: 2px; background: rgba(13, 13, 13, .1); overflow: hidden; }
.svcx__bar i { position: absolute; inset: 0; background: var(--teal); transform-origin: left; transform: scaleX(var(--f, 0)); }
.svcx__item.is-on { color: var(--navy); transform: translateX(6px); }

.svcx.is-stacking .svcx__card h3 { font-size: clamp(19px, 6.4cqi, 34px); }
.svcx.is-stacking .svcx__card p { font-size: clamp(12.5px, 3.4cqi, 15px); }
.svcx.is-stacking .svcx__body { padding: clamp(16px, 5cqi, 32px); }

.svcx__card { cursor: pointer; }
.svcx__body { display: flex; flex-direction: column; align-items: flex-start; }
.svcx__go {
  order: 5; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; height: 36px; padding: 0 16px;
  border: 0; border-radius: 999px; background: #fff; color: var(--navy); cursor: pointer;
  font: 500 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s, gap .3s;
}
.svcx__go svg { width: 14px; height: 14px; }
.svcx__card:hover .svcx__go { background: var(--teal); color: #fff; gap: 12px; }
.pempty { display: grid; justify-items: start; gap: 18px; padding: clamp(28px, 3vw, 48px); border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .25); max-width: 640px; }
.pempty[hidden] { display: none; }
.pempty p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 16px; line-height: 1.6; }

/* ---------- Team: founders + family branches + in-house team ---------- */
.tree__founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.fcard {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-radius: 18px; overflow: hidden;
  background: var(--mist); cursor: pointer; text-align: left;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.fcard:hover, .fcard:focus-visible { transform: translateY(-4px); box-shadow: 0 30px 60px -32px rgba(10, 14, 50, .45); }
.fcard__photo { position: relative; overflow: hidden; min-height: 320px; background: #e3e8f1; }
.fcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1s var(--ease); }
.fcard:hover .fcard__img { transform: scale(1.05); }
.fcard__body { padding: clamp(20px, 2.2vw, 34px); display: flex; flex-direction: column; align-items: flex-start; }
.fcard__role { margin: 0; font: 500 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.fcard__name { margin: 10px 0 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.05; color: var(--navy); }
.fcard__edu { margin: 0 0 14px; font-size: 13px; color: var(--ink-3); }
.fcard__sum { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.fcard__go {
  margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); transition: gap .3s;
}
.fcard__go svg { width: 14px; height: 14px; }
.fcard:hover .fcard__go { gap: 12px; color: var(--teal); }

.branch__link { position: relative; height: 54px; display: flex; align-items: center; padding-left: calc(20% + 22px); }
.branch__stem { position: absolute; left: 20%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--teal), rgba(32, 126, 168, .25)); transform-origin: top; }
.branch__stem::after { content: ""; position: absolute; left: -4px; bottom: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.branch__label { font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.branch__kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; padding-left: calc(20% - 40px); }
.mcard {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 16px; align-items: center; gap: 14px; width: 100%;
  padding: 12px 16px 12px 12px; border-radius: 14px; border: 1px solid rgba(13, 13, 13, .08); background: #fff;
  font: inherit; color: var(--ink); text-align: left; cursor: pointer;
  box-shadow: 0 10px 24px -18px rgba(10, 14, 50, .4); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.mcard:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 18px 34px -20px rgba(10, 14, 50, .5); }
.mcard__img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.mcard__img--mono, .tm__img--mono, .fcard__img--mono {
  display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; font-family: var(--serif);
}
.mcard__img--mono { font-size: 18px; }
.mcard__txt strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--navy); }
.mcard__txt small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.mcard__go { width: 15px; height: 15px; color: var(--ink-3); transition: color .3s, transform .3s; }
.mcard:hover .mcard__go { color: var(--teal); transform: translate(2px, -2px); }
.mcard--soon { display: flex; cursor: default; border-style: dashed; box-shadow: none; color: var(--ink-3); font-size: 13px; min-height: 76px; }
.mcard--soon:hover { transform: none; border-color: rgba(13, 13, 13, .08); box-shadow: none; }
.staff { margin-top: clamp(36px, 4vw, 60px); padding-top: clamp(24px, 2.6vw, 36px); border-top: 1px solid rgba(13, 13, 13, .08); }
.staff__title { margin: 0 0 16px; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.staff__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }

/* reveal: founder card, then the branch line draws, then the kids pop in */
.js .branch .fcard, .js .branch .branch__kids > *, .js .staff { opacity: 0; }
.js .branch .branch__stem { transform: scaleY(0); }
.js .branch .branch__label { opacity: 0; }
.branch.in-view .fcard { animation: riseUp 1s var(--ease) both; }
.branch.in-view .branch__stem { animation: lineGrow .7s var(--ease-io) .45s both; }
.branch.in-view .branch__label { animation: riseUp .6s var(--ease) .8s both; }
.branch.in-view .branch__kids > * { animation: cardIn .8s var(--ease) 1s both; }
.branch.in-view .branch__kids > :nth-child(2) { animation-delay: 1.1s; }
.branch.in-view .branch__kids > :nth-child(3) { animation-delay: 1.2s; }
.branch:nth-child(2).in-view .fcard { animation-delay: .12s; }
.staff.in-view { animation: riseUp 1s var(--ease) .2s both; }
@media (max-width: 1180px) { .tree__founders { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .fcard { grid-template-columns: 1fr; }
  .fcard__photo { min-height: 300px; }
  .branch__link { padding-left: 34px; }
  .branch__stem { left: 14px; }
  .branch__kids { padding-left: 0; }
}

/* profile dialog */
.tm { width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #fff; color: var(--ink); }
.tm::backdrop { background: rgba(9, 12, 45, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tm[open] { animation: modalIn .55s var(--ease) both; }
.tm__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); max-height: calc(100dvh - 32px); }
.tm__photo { position: relative; min-height: 420px; background: #e3e8f1; overflow: hidden; }
.tm__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; animation: kenburns 1.6s var(--ease) both; }
.tm__img--mono { font-size: clamp(64px, 8vw, 110px); animation: none; }
.tm__info { padding: clamp(26px, 3vw, 44px); overflow-y: auto; }
.tm__info .eyebrow { color: var(--teal); }
.tm__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; color: var(--navy); padding-right: 40px; }
.tm__role { margin: 8px 0 18px; color: var(--ink-3); font-size: 14px; }
.tm__sum { margin: 0 0 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.tm__h { margin: 18px 0 8px; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.tm__edu { margin: 0; color: var(--ink); font-size: 14.5px; }
.tm__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.tm__list li { position: relative; padding-left: 20px; }
.tm__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--teal); }
.tm__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tm__actions .btn--line { color: var(--ink); border-color: rgba(13, 13, 13, .2); }
.tm__in { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: #0a66c2; color: #fff; font: 700 11px/1 var(--sans); }
@media (max-width: 760px) {
  .tm__inner { grid-template-columns: 1fr; overflow-y: auto; }
  .tm__photo { min-height: 300px; }
  .tm__info { overflow: visible; }
}

/* ---------- testimonials belt ---------- */
.voices__stats { display: flex; gap: clamp(20px, 3vw, 48px); margin: 0; }
.voices__stats div { display: grid; gap: 6px; }
.voices__stats dt { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 42px); line-height: 1; color: #fff; }
.voices__stats dd { margin: 0; max-width: 14ch; font: 500 10.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--sky-ink); }
.voices__track { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 100%; gap: clamp(10px, 1.1vw, 16px); overflow: hidden; padding: 6px 0 14px; scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.voices__belt { display: flex; align-items: stretch; gap: clamp(10px, 1.1vw, 16px); width: max-content; animation: beltLR var(--belt-dur, 60s) linear infinite; }
.voices__belt.is-left { animation-name: beltRL; }
.voices__track:hover .voices__belt { animation-play-state: paused; }
.voices__belt .quote { width: clamp(260px, 21vw, 340px); flex: none; gap: 16px; padding: clamp(16px, 1.4vw, 22px); }
.voices__belt .quote blockquote { font-size: clamp(14.5px, 1vw, 16px); line-height: 1.45; }
.quote--proof { background: rgba(143, 195, 234, .08); border-color: rgba(143, 195, 234, .22); }
.quote--proof blockquote { font-style: normal; }
.quote__badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: var(--sky-ink); font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.quote__badge::before { content: ""; width: 7px; height: 7px; background: var(--sky-ink); transform: rotate(45deg) skew(-8deg, -8deg); }
.voices__belt--works .quote--work { width: clamp(220px, 17vw, 280px); padding: 0; gap: 0; overflow: hidden; background: rgba(255, 255, 255, .04); }
.quote--work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.quote--work figcaption { padding: 12px 14px 14px; }
.quote--work figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 16px; }
.quote--work figcaption span { color: var(--sky-ink) !important; }
@keyframes beltRL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes beltLR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 700px) { .voices__stats { width: 100%; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .voices__belt { animation: none !important; } .voices__track { overflow-x: auto; } }

/* ---------- Tecnología ---------- */
.tech__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 32px); align-items: stretch; }
.tech__visual { position: relative; margin: 0; min-height: 420px; border-radius: 18px; overflow: hidden; background: var(--navy); }
.tech__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.tech__visual:hover img { transform: scale(1.12); }
.tech__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 50, .2), rgba(10, 14, 50, .45)); }
.tech__scan { position: absolute; left: 0; right: 0; top: 0; height: 26%; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(143, 195, 234, .28) 85%, rgba(143, 195, 234, .9)); animation: techScan 3.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes techScan { 0% { transform: translateY(-100%); } 100% { transform: translateY(400%); } }
.tech__hud { position: absolute; z-index: 3; padding: 6px 10px; border-radius: 6px; background: rgba(10, 14, 50, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font: 500 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.tech__hud--tl { left: 18px; top: 18px; }
.tech__hud--tl::first-letter { color: #ef4444; }
.tech__hud--br { right: 18px; bottom: 18px; }
.tech__frame { position: absolute; inset: 14px; z-index: 2; pointer-events: none; }
.tech__frame i { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, .85); }
.tech__frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.tech__frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.tech__frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.tech__frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.tech__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tcard { position: relative; overflow: hidden; padding: clamp(20px, 2vw, 30px); border-radius: 16px; background: var(--mist); border: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s, background .4s; }
.tcard::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--navy));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tcard:hover { transform: translateY(-4px); background: #fff; border-color: rgba(32, 126, 168, .25); box-shadow: 0 26px 50px -30px rgba(10, 14, 50, .45); }
.tcard:hover::before { transform: scaleX(1); }
.tcard__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 18px; transition: background .4s, transform .5s var(--ease); }
.tcard:hover .tcard__icon { background: var(--teal); transform: rotate(-8deg) scale(1.06); }
.tcard__icon svg { width: 24px; height: 24px; }
.tcard h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.5vw, 24px); color: var(--navy); line-height: 1.15; }
.tcard p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.tech__side { display: flex; flex-direction: column; gap: 14px; }
.tech__tabs { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; background: var(--mist); }
.tech__tab { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--ink-2); font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s; }
.tech__tab small { font-size: 10.5px; opacity: .6; }
.tech__tab.is-active { background: var(--navy); color: #fff; }
.tech__intro { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.tech__cards { flex: 1; align-content: stretch; }
.tech__cards .tcard { animation: cardIn .7s var(--ease) var(--rd, 0s) both; }
.tcard--soon { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; border: 1px dashed rgba(13, 13, 13, .18); background: transparent; }
.tcard--soon .tcard__icon { margin: 0; flex: none; }
.tcard--soon:hover { transform: none; box-shadow: none; }
@media (max-width: 900px) { .tech__grid { grid-template-columns: 1fr; } .tech__visual { min-height: 300px; } }
@media (max-width: 560px) { .tech__cards { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 961px) { .nav .pill { padding: 0 12px; } }

/* projects + brands strip fit in one screen */
.projects { padding-top: clamp(36px, 4vh, 64px); padding-bottom: 0; }
.clients--in { border: 0; margin-top: clamp(16px, 2.2vh, 28px); padding: clamp(16px, 2.2vh, 26px) 0 clamp(16px, 2.4vh, 28px); background: #fff; color: var(--ink); }
.clients--in .eyebrow { margin-bottom: 2px; color: var(--teal); }
.clients--in .marquee { margin-top: 6px; }
.clients--in .marquee__group li { font-size: clamp(22px, 2.3vw, 36px); color: var(--navy); }
.clients--in .marquee__group small { color: var(--ink-3); }

/* ---------- Tecnología: animated demos (one per technology) ---------- */
.tech__visual .tdemo { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.tech__visual .tdemo.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.tech__visual > img { display: none; }
.tdemo--drone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.tech__visual::after { z-index: 1; pointer-events: none; }
.tdemo > *:not(img):not(.pano):not(.evo__after):not(.evo__before) { z-index: 3; }
.tech__hud--tr { right: 18px; top: 18px; }
.tech__hud b { font-weight: 600; color: var(--sky-ink); }

/* drone */
.dr__path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.dr__path path { fill: none; stroke: #8fc3ea; stroke-width: .5; stroke-dasharray: 2 1.4; vector-effect: non-scaling-stroke; stroke-width: 2; }
.dr__wps circle { r: 1.2; fill: #fff; stroke: var(--teal); stroke-width: .5; opacity: 0; }
.tdemo.is-active .dr__wps circle { animation: wpIn 9s infinite; }
.dr__wps circle:nth-child(2) { animation-delay: 1.3s !important; } .dr__wps circle:nth-child(3) { animation-delay: 2.6s !important; }
.dr__wps circle:nth-child(4) { animation-delay: 3.9s !important; } .dr__wps circle:nth-child(5) { animation-delay: 5.1s !important; }
.dr__wps circle:nth-child(6) { animation-delay: 6.4s !important; } .dr__wps circle:nth-child(7) { animation-delay: 7.6s !important; }
@keyframes wpIn { 0% { opacity: 0; } 4% { opacity: 1; r: 2.4; } 10%, 85% { opacity: 1; r: 1.2; } 100% { opacity: 0; } }
.dr__drone circle { fill: #fff; }
.dr__drone .dr__halo { fill: rgba(143, 195, 234, .35); animation: halo 1.2s ease-out infinite; }
@keyframes halo { from { r: 1.5; opacity: .9; } to { r: 5; opacity: 0; } }

/* 360 pano */
.pano { position: absolute; inset: 0; background-size: auto 135%; background-position: 0% 50%; cursor: grab; touch-action: pan-y; }
.pano.is-drag { cursor: grabbing; }
.pano__hot { position: absolute; display: flex; align-items: center; gap: 8px; translate: -50% -50%; pointer-events: none; }
.pano__hot i { width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: hotPulse 1.8s infinite; }
.pano__hot b { padding: 5px 10px; border-radius: 999px; background: rgba(10, 14, 50, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 500 11px/1 var(--sans); letter-spacing: .06em; }
@keyframes hotPulse { 70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.pano__compass { position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; }
.pano__compass circle { fill: rgba(10, 14, 50, .55); stroke: rgba(255, 255, 255, .6); }
.pano__compass text { fill: #fff; font: 600 5px var(--sans); text-anchor: middle; }
.pano__needle { fill: var(--red-2); transform-origin: 20px 20px; }

/* before / after */
.evo__after, .evo__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evo__before { position: absolute; inset: 0; z-index: 2; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0);
  background: #123a6b; }
.evo__before img { filter: grayscale(1) contrast(1.6) brightness(1.25); mix-blend-mode: luminosity; opacity: .55; }
.evo__before::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(143, 195, 234, .22) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(143, 195, 234, .22) 1px, transparent 1px) 0 0 / 28px 28px; }
.evo__bar { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; translate: -1px 0; background: #fff; z-index: 3; box-shadow: 0 0 18px rgba(255, 255, 255, .8); }
.evo__bar i { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.evo__bar i::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--navy); font: 700 14px/1 var(--sans); }
.evo__steps { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.evo__steps li { flex: 1; padding: 8px 0 0; border-top: 3px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .6); font: 500 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: color .4s, border-color .4s; }
.evo__steps li.is-on { border-color: var(--sky-ink); color: #fff; }

/* chat */
.tdemo--chat { display: grid; place-items: center; background: radial-gradient(60% 60% at 70% 20%, rgba(32, 126, 168, .55), transparent 70%), linear-gradient(160deg, #1b2a86, #0e1249); }
.phone { width: min(290px, 70%); height: 88%; border-radius: 30px; background: #f2f5fa; border: 8px solid #0b0e33; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); overflow: hidden; display: flex; flex-direction: column; }
.phone__top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075e54; color: #fff; }
.phone__top b { display: block; font-size: 13px; } .phone__top small { font-size: 11px; opacity: .8; }
.phone__av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--navy); font-family: var(--serif); }
.phone__msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; overflow: hidden;
  background: #ece5dd; }
.msg { flex: none; margin: 0; max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; color: #111; box-shadow: 0 1px 1px rgba(0,0,0,.08); opacity: 0; transform: translateY(10px) scale(.96); }
.msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; background: #dcf8c6; border-top-right-radius: 4px; }
.msg__prog { display: block; height: 6px; margin: 8px 0 4px; border-radius: 3px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.msg__prog i { display: block; height: 100%; width: 0; background: #25d366; }
.msg small { font-weight: 600; color: #075e54; }
.msg--img { padding: 4px; width: 72%; } .msg--img img { display: block; width: 100%; height: auto; border-radius: 9px; aspect-ratio: 16 / 10; object-fit: cover; } .msg--img span { display: block; padding: 6px 6px 3px; }
.msg--typing { display: flex; gap: 4px; background: #fff; align-self: flex-start; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #999; animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .5; } }
.tdemo--chat.is-active .msg { animation: msgIn .45s var(--ease) both; }
.tdemo--chat.is-active .msg:nth-child(1) { animation-delay: .3s; } .tdemo--chat.is-active .msg:nth-child(2) { animation-delay: 1.4s; }
.tdemo--chat.is-active .msg:nth-child(3) { animation-delay: 2.8s; } .tdemo--chat.is-active .msg:nth-child(4) { animation-delay: 4.2s; }
.tdemo--chat.is-active .msg:nth-child(5) { animation-delay: 5s; }
.tdemo--chat.is-active .msg__prog i { animation: progFill 1.4s var(--ease) 1.8s both; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
@keyframes progFill { to { width: 68%; } }

.phone__msgs .msg--img img { height: 96px !important; aspect-ratio: auto !important; position: static !important; }
.phone__msgs .msg--img { overflow: hidden; }

/* dashboard */
.tdemo--dash { display: grid; place-items: center; padding: 6%; background: radial-gradient(60% 60% at 20% 0%, rgba(32, 126, 168, .5), transparent 70%), linear-gradient(160deg, #1b2a86, #0e1249); }
.dash { width: 100%; height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dash__head { display: flex; justify-content: space-between; font-size: 13px; }
.dash__live { color: #6ee7a0; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpis div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); font-family: var(--serif); font-size: 15px; }
.dash__kpis small { display: block; margin-bottom: 4px; font: 500 10px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--sky-ink); }
.dash__kpis b { font-size: clamp(22px, 2vw, 32px); font-weight: 400; }
.dash__chart { position: relative; display: flex; align-items: flex-end; gap: 6%; padding: 10px 4% 0; border-bottom: 1px solid rgba(255, 255, 255, .2); min-height: 80px; }
.dash__chart i { flex: 1; height: 0; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--sky-ink), var(--teal)); }
.tdemo--dash.is-active .dash__chart i { animation: barUp .9s var(--ease) both; }
.dash__chart i:nth-child(n) { animation-delay: calc(var(--i, 0) * 1s); }
@keyframes barUp { to { height: var(--h); } }
.dash__chart svg { position: absolute; inset: 10px 4% 0; width: 92%; height: calc(100% - 10px); overflow: visible; }
.dash__chart path { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; }
.tdemo--dash.is-active .dash__chart path { animation: draw 2s var(--ease) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash__rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.dash__rows li { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); opacity: 0; }
.dash__rows em { font-style: normal; color: #6ee7a0; }
.tdemo--dash.is-active .dash__rows li { animation: msgIn .5s var(--ease) both; }
.tdemo--dash.is-active .dash__rows li:nth-child(1) { animation-delay: 1.6s; } .tdemo--dash.is-active .dash__rows li:nth-child(2) { animation-delay: 2s; } .tdemo--dash.is-active .dash__rows li:nth-child(3) { animation-delay: 2.4s; }

/* cards: selectable, with a progress bar while their demo plays */
.tcard { cursor: pointer; }
.tcard.is-active { background: #fff; border-color: rgba(32, 126, 168, .35); box-shadow: 0 26px 50px -30px rgba(10, 14, 50, .45); }
.tcard.is-active .tcard__icon { background: var(--teal); }
.tcard::before { transform: scaleX(0); }
.tcard.is-active::before { animation: cardProg var(--cycle, 7s) linear both; }
.tech.is-paused .tcard.is-active::before { animation-play-state: paused; }
@keyframes cardProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- admin live preview ---------- */
html.is-preview [data-i18n] { cursor: text !important; }
html.is-preview [data-i18n]:hover { outline: 1px dashed rgba(32, 126, 168, .8); outline-offset: 3px; }
html.is-preview .cv-hl { outline: 2px solid #f0b54a !important; outline-offset: 4px; background-color: rgba(240, 181, 74, .14); border-radius: 4px; }
html.is-preview .acursor, html.is-preview .wa-float { display: none !important; }
html.is-preview.has-acursor, html.is-preview.has-acursor a, html.is-preview.has-acursor button { cursor: auto; }

/* ---------- light sections: same system, white ground with navy ink ---------- */
.theme-light { background: #fff; color: var(--ink); border-top-color: rgba(13, 13, 13, .08); }
.theme-light.clients { border-color: rgba(13, 13, 13, .08); }
.clients.theme-light + .team.theme-light { border-top: 0; }
.theme-light .eyebrow { color: var(--teal); }
.theme-light .h2, .theme-light .u-head--light, .theme-light .purpose__title, .theme-light .form__title { color: var(--navy); }
.theme-light .section-head__text, .theme-light .about__body p, .theme-light .svc__text, .theme-light .founder__list,
.theme-light .founder__edu, .theme-light .nextgen__text, .theme-light .tl p, .theme-light .contact__lead { color: var(--ink-2); }
.theme-light .about__body .lead { color: var(--ink); }
.theme-light .video-btn { color: var(--ink); }
.theme-light .video-btn__icon { background: var(--navy); color: #fff; }
.theme-light .tl { border-color: rgba(13, 13, 13, .1); }
.theme-light .tl::before { box-shadow: 0 0 0 4px #fff; background: var(--teal); }
.theme-light .tl:last-child::before { background: var(--red); }
.theme-light .tl__year { color: var(--navy); }
.theme-light .tl__title { color: var(--ink); }
.theme-light .svc-list, .theme-light .svc { border-color: rgba(13, 13, 13, .1); }
.theme-light .svc__title { color: var(--ink); }
.theme-light .svc__num, .theme-light .founder__role { color: var(--teal); }
.theme-light .marquee__group li { color: var(--navy); }
.theme-light .marquee__group small { color: var(--ink-3); }
.theme-light .founder, .theme-light .nextgen { background: var(--mist); border-color: transparent; }
.theme-light .founder__photo { background: #e3e8f1; }
.theme-light .founder__name { color: var(--navy); }
.theme-light .founder__list li::before { background: var(--teal); }
.theme-light .contact__list a { color: var(--ink); }
.theme-light .contact__list .label { color: var(--teal); }
.theme-light .cicon { background: rgba(22, 28, 103, .07); color: var(--navy); }
.theme-light .social { border-color: rgba(13, 13, 13, .18); color: var(--navy); }
.theme-light .social:hover { background: var(--navy); color: #fff; }
.theme-light .form { background: var(--mist); border-color: transparent; color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-light .form__sub, .theme-light .form__note { color: var(--ink-3); }
.theme-light .field label { color: var(--ink-2); }
.theme-light .field input, .theme-light .field textarea { background: #fff; border-color: rgba(13, 13, 13, .1); color: var(--ink); }
.theme-light .field input:focus, .theme-light .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(32, 126, 168, .14); }
.theme-light .btn--line { border-color: rgba(13, 13, 13, .2); color: var(--ink); }
.theme-light .btn--line:hover { border-color: var(--ink); }
.theme-light .form__note.is-ok { color: #15803d; }
.theme-light .map { background: var(--mist); }

/* =========================================================
   Architectural cursor — CAD crosshair + isometric diamond
   ========================================================= */
.acursor { display: none; }
html.has-acursor, html.has-acursor a, html.has-acursor button, html.has-acursor [role="tab"] { cursor: none; }
html.has-acursor input, html.has-acursor textarea { cursor: text; }
.has-acursor .acursor {
  display: block; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  mix-blend-mode: difference; color: #fff;
  opacity: 0; transition: opacity .3s;
}
.has-acursor .acursor.is-on { opacity: 1; }
.acursor__dot, .acursor__iso, .acursor__coords { position: absolute; left: 0; top: 0; will-change: transform; }
/* exact point with short CAD crosshair arms */
.acursor__dot { width: 0; height: 0; }
.acursor__dot::before, .acursor__dot::after { content: ""; position: absolute; background: currentColor; }
.acursor__dot::before { left: -9px; top: -.5px; width: 18px; height: 1px; }
.acursor__dot::after { left: -.5px; top: -9px; width: 1px; height: 18px; }
/* trailing isometric diamond (same proportions as the logo faces) */
.acursor__iso {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  display: grid; place-items: center;
}
.acursor__iso::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid currentColor;
  transform: scaleY(.58) rotate(45deg);
  transition: inset .35s var(--ease), background .35s, border-color .35s;
}
.acursor.is-hover .acursor__iso::before { inset: -14px; background: rgba(255, 255, 255, .14); }
.acursor.is-down .acursor__iso::before { inset: 6px; }
.acursor__label {
  position: relative; font: 600 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transition: opacity .25s;
}
.acursor.has-label .acursor__label { opacity: 1; }
.acursor.has-label { mix-blend-mode: normal; }
.acursor.has-label .acursor__iso::before { inset: -24px; background: rgba(22, 28, 103, .88); border-color: rgba(255, 255, 255, .5); }
.acursor.has-label .acursor__dot { opacity: 0; }
.acursor__dot { transition: opacity .2s; }
/* blueprint-style coordinate readout */
.acursor__coords {
  font: 500 9.5px/1 var(--alt); letter-spacing: .08em; white-space: nowrap;
  opacity: .75; transition: opacity .3s;
}
.acursor.is-hover .acursor__coords, .acursor.has-label .acursor__coords { opacity: 0; }
/* while a dialog is open the cursor lives inside it (top layer); iframes keep the native cursor */
/* cursor as a top-layer popover: full-viewport, transparent, never clipped */
.acursor[popover] { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; color: #fff; }
.acursor[popover]::backdrop { display: none; }
html.acursor-native, html.acursor-native * { cursor: auto !important; }
html.acursor-native .acursor { display: none !important; }

/* failsafe (script didn't run): everything visible, no animations */
.no-anim .w, .no-anim .reveal-up, .no-anim .lcard, .no-anim .hero-fact, .no-anim .vctrl,
.no-anim .site-header .fd, .no-anim .sky__lines span {
  opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important;
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee__track { width: auto; animation: none !important; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--px); }
}

/* project kinds */
.proj__mtag--video i, .px__mode--video i { background: var(--red-2); }
.proj__mtag--gallery i, .px__mode--gallery i { background: #f6c86a; }
.viewer__badge--gallery i { background: #f6c86a; }
.viewer__badge--video i { background: var(--red-2); }
.viewer__badge--tour i { background: #8b5cf6; }
.px__space { width: 100%; justify-content: space-between; }
.pm__alt { display: block; width: 100%; text-align: center; font-size: 14px; color: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.pm__alt:hover { opacity: 1; }
.pm__alt[hidden] { display: none; }

/* Propósito: brand pairing — Misión in glass/blue, Visión in white (like the two faces of the CAVYAR logo) */
.fuse__card--v { background: #fff; border-color: #fff; color: var(--navy); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); -webkit-backdrop-filter: none; backdrop-filter: none; }
.fuse__card--v h3 { color: var(--navy); }
.fuse__card--v p { color: var(--ink-2); }
.fuse__card--v h3::before { background: var(--navy); }
.fuse__card--m { background: rgba(32, 126, 168, .22); border-color: rgba(143, 195, 234, .45); }
.fuse__card--m h3::before { background: var(--sky-ink); }
/* values alternate white / brand blue */
.fuse__val:nth-child(odd) { background: #fff; border-color: #fff; color: var(--navy); }
.fuse__val:nth-child(even) { background: #207ea8; border-color: #207ea8; color: #fff; }

/* scroll cue (hero) */
.scrollcue { position: absolute; left: 50%; bottom: clamp(24px, 3vw, 42px); z-index: 4; translate: -50% 0; display: grid; justify-items: center; gap: 8px; color: #fff; transition: opacity .5s, transform .5s; }
.js .scrollcue { opacity: 0; }
.is-loaded .scrollcue { animation: riseUp 1s var(--ease) 2.4s both; }
.scrollcue.is-gone { opacity: 0 !important; transform: translateY(12px); pointer-events: none; }
.scrollcue__mouse { position: relative; width: 26px; height: 40px; border: 2px solid rgba(255,255,255,.85); border-radius: 14px; }
.scrollcue__mouse i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cueWheel 1.8s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes cueWheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
.scrollcue__txt { font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.scrollcue__chev { display: grid; justify-items: center; margin-top: -2px; }
.scrollcue__chev b { width: 10px; height: 10px; margin-top: -4px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: cueChev 1.8s ease-in-out infinite; }
.scrollcue__chev b:nth-child(2) { animation-delay: .2s; }
@keyframes cueChev { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.scrollcue:hover .scrollcue__mouse { border-color: var(--sky-ink); }
@media (max-width: 600px) { .scrollcue { bottom: auto; top: 46%; } }

/* sound hint (shown only if the browser blocked autoplay with sound) */
.soundhint { position: absolute; left: 50%; top: calc(var(--header-h) + 40px); z-index: 5; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(10,14,50,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font: 500 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; animation: hintIn .6s var(--ease) both, hintGlow 2.2s ease-in-out 1s infinite; }
.soundhint[hidden] { display: none; }
@keyframes hintIn { from { opacity: 0; transform: translateY(-10px); } }
@keyframes hintGlow { 50% { box-shadow: 0 0 0 8px rgba(255,255,255,.08); } }
.soundhint__wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.soundhint__wave i { width: 3px; background: #fff; border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.soundhint__wave i:nth-child(1) { height: 6px; } .soundhint__wave i:nth-child(2) { height: 12px; animation-delay: .15s; } .soundhint__wave i:nth-child(3) { height: 8px; animation-delay: .3s; }
@keyframes wave { 50% { transform: scaleY(.4); } }

/* =========================================================
   Micro-animations for Equipo & Contacto (sections that were static)
   ========================================================= */
/* Equipo — founder cards: light sweep on reveal, gentle 3D tilt (JS), photo breathing */
.fcard { position: relative; transform-style: preserve-3d; will-change: transform; }
.fcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); background-size: 250% 100%; background-position: 130% 0; opacity: 0; }
.branch.in-view .fcard::after { animation: sweep 1.4s ease 1.1s 1 both; }
@keyframes sweep { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 0; background-position: -60% 0; } }
.fcard__img { animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.045); } }
.fcard:hover .fcard__img { animation-play-state: paused; }
.fcard__name { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); display: inline; }
.fcard:hover .fcard__name { background-size: 100% 1.5px; }
.fcard__go svg { transition: transform .4s var(--ease); }
.fcard:hover .fcard__go svg { transform: translate(3px, -3px); }
/* branch line: a light pulse keeps travelling down to the next generation */
.branch__stem { overflow: visible; }
.branch__stem::before { content: ""; position: absolute; left: -2px; top: 0; width: 6px; height: 14px; border-radius: 3px; background: linear-gradient(transparent, #8fc3ea); opacity: 0; }
.branch.in-view .branch__stem::before { animation: flow 2.4s ease-in 1.6s infinite; }
@keyframes flow { 0% { top: -10%; opacity: 0; } 20% { opacity: 1; } 90% { opacity: 1; } 100% { top: 95%; opacity: 0; } }
.branch.in-view .branch__stem::after { animation: dotPulse 2.4s ease-out 1.6s infinite; }
@keyframes dotPulse { 0%, 85% { box-shadow: 0 0 0 0 rgba(32,126,168,.45); } 100% { box-shadow: 0 0 0 10px rgba(32,126,168,0); } }
/* member avatars & monograms */
.mcard__img--mono, .tm__img--mono, .fcard__img--mono { background-size: 200% 200%; animation: monoShift 6s ease-in-out infinite alternate; }
@keyframes monoShift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.mcard__img { transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.mcard:hover .mcard__img { transform: scale(1.08) rotate(-4deg); }
/* "coming soon" cards: marching dashed border */
.mcard--soon { border: 0; background-image:
  repeating-linear-gradient(90deg, rgba(13,13,13,.18) 0 8px, transparent 8px 16px), repeating-linear-gradient(90deg, rgba(13,13,13,.18) 0 8px, transparent 8px 16px),
  repeating-linear-gradient(0deg, rgba(13,13,13,.18) 0 8px, transparent 8px 16px), repeating-linear-gradient(0deg, rgba(13,13,13,.18) 0 8px, transparent 8px 16px);
  background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%; background-position: 0 0, 0 100%, 0 0, 100% 0; background-repeat: no-repeat; animation: march 1.2s linear infinite; }
@keyframes march { to { background-position: 16px 0, -16px 100%, 0 -16px, 100% 16px; } }

/* Contacto — ambient light, staggered list, pulsing icons, map ping, shiny submit */
.contact { position: relative; }
.contact__glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.contact__glow i { position: absolute; width: 46vw; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: .35; }
.contact__glow i:nth-child(1) { left: -12vw; top: -10vw; background: radial-gradient(circle, rgba(32,126,168,.9), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.contact__glow i:nth-child(2) { right: -14vw; bottom: -16vw; background: radial-gradient(circle, rgba(143,195,234,.55), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 10vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vw, -8vw) scale(.9); } }
.contact__list.in-view li { animation: riseUp .8s var(--ease) both; }
.contact__list.in-view li:nth-child(2) { animation-delay: .12s; } .contact__list.in-view li:nth-child(3) { animation-delay: .24s; }
.cicon { position: relative; transition: background .3s, transform .4s var(--ease); }
.cicon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(143,195,234,.6); animation: ring 2.8s ease-out infinite; }
.contact__list li:nth-child(2) .cicon::after { animation-delay: .9s; } .contact__list li:nth-child(3) .cicon::after { animation-delay: 1.8s; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.contact__list li:hover .cicon { background: #fff; color: var(--navy); transform: rotate(-8deg) scale(1.06); }
.social { transition: background .3s, color .3s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.social:hover { transform: translateY(-4px) rotate(-6deg); }
.socials.in-view .social { animation: popIn .6s cubic-bezier(.34,1.56,.64,1) both; }
.socials.in-view .social:nth-child(2) { animation-delay: .1s; } .socials.in-view .social:nth-child(3) { animation-delay: .2s; }
@keyframes popIn { from { opacity: 0; transform: scale(.4); } }
.field input, .field textarea { transition: border-color .25s, background .25s, box-shadow .25s, transform .25s; }
.field input:focus, .field textarea:focus { transform: translateY(-1px); }
.field label { transition: color .25s, letter-spacing .25s; }
.field:focus-within label { color: var(--sky-ink); letter-spacing: .08em; }
.btn--wa { position: relative; overflow: hidden; }
.btn--wa::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 4s ease-in-out 2s infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.map__ping { position: absolute; left: 50%; top: 50%; z-index: 2; width: 0; height: 0; pointer-events: none; }
.map__ping i { position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(224,72,63,.75); animation: ping 2.4s ease-out infinite; }
.map__ping i:nth-child(2) { animation-delay: 1.2s; }
.map__ping b { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #e0483f; box-shadow: 0 0 0 3px #fff; }
@keyframes ping { from { transform: scale(.15); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
.visit__building img { transition: transform 1.2s var(--ease); }
.visit__building:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .fcard__img, .contact__glow i, .cicon::after, .btn--wa::after, .map__ping i, .mcard--soon, .branch__stem::before { animation: none !important; }
}

/* ---------- mobile refinements (main page) ---------- */
@media (max-width: 600px) {
  .soundhint { white-space: nowrap; height: 36px; padding: 0 14px; font-size: 10.5px; top: calc(var(--header-h) + 18px); }
  .scrollcue { top: auto; bottom: auto; position: relative; left: auto; translate: none; margin: 0 auto 14px; grid-auto-flow: column; align-items: center; gap: 10px; }
  .scrollcue__mouse { width: 20px; height: 32px; }
  .scrollcue__chev { display: none; }
  .hero { justify-content: flex-end; }
  .hero__aside { gap: 14px; }
  .hero-facts { gap: 0 8px; }
  .hero-fact dt { font-size: 22px; }
  .vctrl { padding: 5px; }
  .fuse__card { padding: 16px 18px; }
  .fuse__card p { font-size: 14px; line-height: 1.5; }
  .fuse__card h3 { font-size: 21px; margin-bottom: 6px; }
  .fuse__val { height: 30px; padding: 0 11px; font-size: 10px; }
  .fuse__title { font-size: 30px; }
  .contact__grid { gap: 28px; }
  .form { padding: 20px 16px; }
  .footer__top { gap: 28px; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .chip { height: 32px; padding: 0 12px; font-size: 10px; }
  .filters { gap: 6px; }
  .voices__belt .quote { width: 78vw; }
}
@media (max-width: 900px) {
  .hero { min-height: max(620px, 100svh); }
  .latest__intro { flex-basis: 100%; }
  .latest__title { font-size: clamp(30px, 6vw, 44px); }
}
@media (max-width: 900px) {
  .scrollcue { top: auto; bottom: auto; position: relative; left: auto; translate: none; margin: 0 auto 14px; grid-auto-flow: column; align-items: center; gap: 10px; }
  .scrollcue__mouse { width: 20px; height: 32px; }
  .scrollcue__chev { display: none; }
  .vprog__meta { white-space: nowrap; }
}

@media (max-width: 760px) { .scrollcue { display: none !important; } }

/* no custom cursor on small / touch screens (also covers device emulation) */
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .acursor { display: none !important; }
  html.has-acursor, html.has-acursor * { cursor: auto !important; }
}

/* sticky action buttons inside every pop-up (desktop and mobile) */
.px .pm__ctas, .tm__actions {
  position: sticky; bottom: 0; z-index: 3;
  margin-left: calc(var(--padx, 0px) * -1); margin-right: calc(var(--padx, 0px) * -1);
  padding: 14px var(--padx, 0px) 16px;
}
.px .pm__ctas { --padx: clamp(22px, 2.2vw, 36px); margin-bottom: calc(clamp(22px, 2.2vw, 36px) * -1); background: linear-gradient(180deg, rgba(18,22,70,0), #121646 30%); }
.tm__actions { --padx: clamp(26px, 3vw, 44px); margin-bottom: calc(clamp(26px, 3vw, 44px) * -1); background: linear-gradient(180deg, rgba(255,255,255,0), #fff 30%); }
.px .pm__ctas .btn, .tm__actions .btn { box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
@media (max-width: 900px) {
  .px .pm__ctas { --padx: 22px; margin-bottom: -22px; }
}
@media (max-width: 760px) {
  .tm__actions { --padx: 26px; margin-bottom: -26px; }
  .tm__actions .btn { flex: 1 1 auto; }
}
.px .pm__ctas { background: linear-gradient(180deg, rgba(18,22,70,0) 0, #121646 18px); padding-top: 22px; }
.tm__actions { background: linear-gradient(180deg, rgba(255,255,255,0) 0, #fff 18px); padding-top: 22px; }


/* =========================================================
   Proyectos — time travel through a tunnel of year gates that ends
   on the list of works. Brand palette only: navy, teal, sky and red.
   .is-3d: pinned trip · .is-list: the trip is over · .is-static: vertical list
   ========================================================= */
.projects.tt { display: block; min-height: 0; padding: 0; background: var(--navy-deep); }
.tt__track { position: relative; }
.tt__pin {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(110% 85% at 50% var(--vpy, 55%), var(--navy-2) 0, var(--navy) 38%, var(--navy-deep) 72%, #090c33 100%);
}
.tt__hud { position: relative; z-index: 5; padding-top: clamp(24px, 3.4vh, 48px); padding-bottom: 8px; pointer-events: none; }
.tt__hud .filters, .tt__hud .filters * { pointer-events: auto; }
.tt__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(12px, 1.8vh, 22px); }
.tt__head .eyebrow { color: var(--sky-ink); }
.tt__title { color: inherit; font-size: clamp(34px, 3.6vw, 62px); }
.tt .filters { margin-bottom: 0; }
.tt__meter { display: flex; align-items: center; gap: 18px; font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tt.is-3d .tt__meter { opacity: calc(1 - var(--out, 0)); }
.tt__era { display: inline-flex; align-items: center; gap: 10px; }
.tt__era::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 4px rgba(222, 31, 27, .22); animation: ttRec 1.6s ease-in-out infinite; }
@keyframes ttRec { 50% { opacity: .35; } }
.tt__count { opacity: .6; }

/* header and timeline stay readable while big photos rush past under them */
.tt.is-3d .tt__hud::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: -28px; left: calc(50% - 50vw); width: 100vw; pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 12, 51, .9) 0, rgba(9, 12, 51, .7) 70%, rgba(9, 12, 51, 0)); opacity: calc(1 - var(--out, 0));
}
.tt.is-3d .tt__pin::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 130px; pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 12, 51, 0), rgba(9, 12, 51, .9)); opacity: calc(1 - var(--out, 0));
}

/* glow at the vanishing point (its colour follows the decade), year gates and the giant year;
   all of it fades away when the list takes over */
.tt__glow, .tt__fx, .tt__year, .tt__rail, .tt__hint, .tt__grain, .tt__list { display: none; }
.tt.is-3d .tt__glow {
  position: absolute; inset: 0; z-index: 0; display: block; pointer-events: none; opacity: calc(.22 - var(--out, 0) * .1); mix-blend-mode: screen;
  color: var(--sky-ink); transition: color 1.2s ease;
  background: radial-gradient(circle at 50% var(--vpy, 55%), currentColor 0, transparent 32%);
}
.tt.is-3d .tt__fx { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; pointer-events: none; opacity: calc(1 - var(--out, 0)); }
.tt.is-3d .tt__year { position: absolute; left: 50%; top: var(--vpy, 55%); z-index: 0; display: block; translate: -50% -50%; pointer-events: none; opacity: calc(1 - var(--out, 0)); }
.tt__year span {
  font: 400 clamp(140px, 21vw, 360px)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums;
  color: transparent; -webkit-text-stroke: 1px rgba(143, 195, 234, .13);
}

/* the works */
.tt__stage { transition: opacity .28s ease; }
.tt__stage.is-out { opacity: 0; }
.tt.is-3d .tt__track { height: calc(100svh - 64px + (var(--n, 9) + 5.9) * 62svh); }
.tt.is-3d .tt__pin { position: sticky; top: 64px; height: calc(100svh - 64px); }
.tt.is-3d .tt__stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: calc(1 - var(--out, 0)); }
.tt.is-3d .tt__stage.is-out { opacity: 0; }
.tt.is-3d .tt__card { position: absolute; left: 0; top: 0; width: var(--iw, 300px); visibility: hidden; pointer-events: none; will-change: transform, opacity, filter; }
.tt.is-3d .tt__card.is-hit { pointer-events: auto; }
.tt__card { display: block; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tt__card:focus-visible { outline: none; }
.tt__card:focus-visible .tt__frame { outline: 2px solid var(--sky-ink); outline-offset: 4px; }
.tt__frame {
  position: relative; display: block; overflow: hidden; border-radius: 3px; transition: box-shadow .5s ease;
  box-shadow: 0 0 0 1px rgba(143, 195, 234, .16), 0 40px 80px -30px rgba(0, 0, 0, .85);
}
.tt__card.is-focus .tt__frame { box-shadow: 0 0 0 1px rgba(143, 195, 234, .5), 0 0 40px -6px rgba(143, 195, 234, .35), 0 40px 80px -30px rgba(0, 0, 0, .85); }
.tt__frame img { width: 100%; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; transition: transform 1.2s var(--ease); }
.tt__card:hover .tt__frame img { transform: scale(1.05); }
.tt__plus {
  position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--navy); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  opacity: 0; transform: scale(.7); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tt__plus svg { width: 18px; height: 18px; }
.tt__card.is-focus .tt__plus, .tt__card:hover .tt__plus { opacity: 1; transform: none; }
.tt__info { display: block; margin-top: calc(1.4 * var(--u, 12px)); opacity: var(--fo, 1); }
.tt.is-3d .tt__card.is-r .tt__info { text-align: right; }
.tt__yr { display: block; font: italic 400 calc(2.3 * var(--u, 12px))/1 var(--serif); color: var(--sky-ink); }
.tt__name { display: block; margin-top: .3em; font: 400 calc(2.5 * var(--u, 12px))/1.1 var(--serif); }
.tt__meta { display: inline-block; margin-top: .8em; padding: 3px 8px; background: var(--red); font: 500 11px/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* captions: below the photo (default), over it, or beside it towards the centre */
.tt.is-3d .tt__card--over .tt__info {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; border-radius: 0 0 3px 3px; pointer-events: none;
  padding: calc(6 * var(--u, 12px)) calc(1.8 * var(--u, 12px)) calc(1.6 * var(--u, 12px));
  background: linear-gradient(180deg, rgba(9, 12, 51, 0), rgba(9, 12, 51, .9));
}
.tt.is-3d .tt__card--over .tt__plus { top: 14px; bottom: auto; }
.tt.is-3d .tt__card--side { display: flex; align-items: flex-end; gap: calc(1.8 * var(--u, 12px)); width: auto; }
.tt.is-3d .tt__card--side.is-r { flex-direction: row-reverse; }
.tt.is-3d .tt__card--side .tt__frame { flex: none; width: var(--iw, 300px); }
.tt.is-3d .tt__card--side .tt__info { flex: none; width: calc(19 * var(--u, 12px)); margin: 0 0 calc(.6 * var(--u, 12px)); }
.tt.is-3d .tt__card--side .tt__name { font-size: calc(2.3 * var(--u, 12px)); }

/* timeline along the bottom: an architect's scale that fills to the right */
.tt.is-3d .tt__rail {
  position: absolute; left: calc(var(--px) + 28px); right: calc(var(--px) + 96px); bottom: clamp(14px, 2.6vh, 28px); z-index: 6;
  display: block; height: 40px; opacity: calc(1 - var(--out, 0));
}
.tt.is-3d.is-list .tt__rail { pointer-events: none; }
.tt.is-3d .tt__rail::before, .tt.is-3d .tt__rail::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; }
.tt.is-3d .tt__rail::before { right: 0; background: rgba(143, 195, 234, .28); }
.tt.is-3d .tt__rail::after { top: -.5px; height: 2px; width: calc(var(--tp, 0) * 100%); background: linear-gradient(90deg, var(--teal), var(--sky-ink)); }
.tt__ticks {
  position: absolute; left: 0; right: 0; top: 1px; height: 5px; opacity: .4;
  background: repeating-linear-gradient(90deg, var(--sky-ink) 0 1px, transparent 1px calc(100% / max(1, (var(--n, 9) - 1) * 5)));
}
/* the marker is the logo's rhombus in the brand red */
.tt__mark { position: absolute; z-index: 1; top: 0; left: calc(var(--tp, 0) * 100%); width: 18px; height: 10px; translate: -50% -50%; filter: drop-shadow(0 0 6px rgba(222, 31, 27, .8)); }
.tt__mark::before { content: ""; position: absolute; inset: 0; background: var(--red-2); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.tt__rail button {
  position: absolute; top: 14px; left: calc(var(--k, 0) * 100%); translate: -50% 0; padding: 4px 6px; border: 0; background: none; color: inherit; cursor: pointer;
  font: 500 11px/1 var(--sans); letter-spacing: .1em; font-variant-numeric: tabular-nums; opacity: .45; transition: opacity .3s;
}
.tt__rail button::before { content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 9px; background: var(--sky-ink); }
.tt__rail button:hover { opacity: .9; }
.tt__rail button.is-past { opacity: .7; }
.tt__rail button[aria-current="true"] { opacity: 1; font-weight: 600; }

/* "scroll to travel" hint, only before the trip starts */
.tt.is-3d .tt__hint {
  position: absolute; left: calc(var(--px) + 28px); bottom: clamp(72px, 10vh, 96px); z-index: 6; margin: 0;
  display: flex; align-items: center; gap: 12px; color: var(--sky-ink);
  font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: 0; transition: opacity .5s;
}
.tt.is-3d.is-intro .tt__hint { opacity: .9; }
.tt__hint i { width: 46px; height: 1px; background: linear-gradient(90deg, currentColor, transparent); animation: ttHint 1.6s var(--ease-io) infinite; transform-origin: left; }
@keyframes ttHint { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* film grain + vignette */
.tt.is-3d .tt__grain {
  position: absolute; inset: -50%; z-index: 4; display: block; pointer-events: none; opacity: calc(.07 - var(--out, 0) * .07); mix-blend-mode: overlay;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: ttGrain .9s steps(5) infinite;
}
@keyframes ttGrain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } }
.tt.is-3d .tt__pin::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 200px rgba(5, 7, 30, .6); opacity: calc(1 - var(--out, 0) * .7); }
.tt.is-3d .pempty { position: absolute; left: 50%; top: calc(var(--hud, 180px) + 40px); z-index: 6; translate: -50% 0; width: min(640px, calc(100% - 2 * var(--px))); }

/* ---------- the end of the trip: the list of works (accordion) + brands strip ---------- */
.tt.is-3d .tt__list {
  position: absolute; left: 0; right: 0; top: calc(var(--hud, 180px) + 4px); bottom: calc(var(--cl, 140px) + 22px); z-index: 4; margin: 0 auto;
  display: flex; flex-direction: column; visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility 0s .5s;
}
.tt.is-3d.is-list .tt__list { visibility: visible; opacity: 1; transition: opacity .5s ease; }
.tt__list .pgrid { flex: 1; min-height: 0; display: flex; gap: 6px; transition: opacity .28s ease; }
.tt__list .pgrid.is-out { opacity: 0; }
.tt__list .proj {
  position: relative; flex: 1 1 0; min-width: 0; opacity: 0; transform: translateY(48px);
  transition: flex .8s cubic-bezier(.65, 0, .25, 1), opacity .6s ease calc(var(--i, 0) * 60ms), transform .9s var(--ease) calc(var(--i, 0) * 60ms);
}
.tt.is-list .tt__list .proj { opacity: 1; transform: none; }
.tt__list .proj.is-open { flex: 6 1 0; }
.tt__list .proj__media { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer; }
.tt__list .proj__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.8); transition: transform 1.2s var(--ease), filter .8s ease; }
.tt__list .proj:hover .proj__media img { transform: scale(1.05); }
.tt__list .proj.is-open .proj__media img { filter: none; }
.tt__list .proj__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; transition: opacity .6s;
  background: linear-gradient(180deg, rgba(10, 14, 50, .1) 40%, rgba(10, 14, 50, .85));
}
.tt__list .proj.is-open .proj__media::after { opacity: 1; }
.proj__vlabel {
  position: absolute; top: 14px; right: 12px; z-index: 2; writing-mode: vertical-rl;
  padding: 12px 7px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--navy);
  font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  max-height: calc(100% - 80px); overflow: hidden; text-overflow: ellipsis; transition: opacity .4s;
}
.proj__num {
  position: absolute; left: 50%; bottom: 16px; z-index: 2; translate: -50% 0;
  min-width: 38px; height: 24px; padding: 0 9px; display: grid; place-items: center; border-radius: 999px;
  background: rgba(10, 14, 50, .6); color: #fff; font: 500 11px/1 var(--sans); transition: opacity .4s;
}
.tt__list .proj.is-open .proj__vlabel, .tt__list .proj.is-open .proj__num { opacity: 0; }
.tt__list .proj__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; min-width: 360px; padding: clamp(18px, 2vw, 30px); pointer-events: none;
  opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .5s var(--ease);
}
.tt__list .proj.is-open .proj__info { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }
.proj__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.proj__tag, .proj__mtag {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px;
  background: rgba(10, 14, 50, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font: 500 10px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.proj__mtag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.tt__list .proj__mtag--tour i { background: var(--sky-ink); }
.tt__list .proj__mtag--video i { background: var(--red-2); }
.proj__name { margin: 0; font: 400 clamp(22px, 2vw, 34px)/1.15 var(--serif); color: #fff; }
.proj__btn { all: unset; cursor: pointer; }
.proj__btn::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.proj__btn:focus-visible::after { outline: 2px solid var(--sky-ink); outline-offset: 4px; border-radius: 12px; }
.tt__list .proj__loc { margin: 6px 0 0; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.45; }
.proj__view {
  position: absolute; right: 18px; bottom: 18px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--navy); opacity: 0; transform: scale(.7); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.proj__view svg { width: 18px; height: 18px; }
.tt__list .proj.is-open .proj__view { opacity: 1; transform: none; }
/* the brands strip slides in under the list, like the previous one-screen layout */
.tt.is-3d .tt__pin > .clients { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; margin: 0; transform: translateY(105%); transition: transform .8s var(--ease); }
.tt.is-3d.is-list .tt__pin > .clients { transform: none; }

/* ---------- static version (phones, short screens, reduced motion) ---------- */
.tt.is-static .tt__meter { display: none; }
.tt.is-static .tt__hud { padding-bottom: clamp(20px, 3vw, 36px); }
.tt.is-static .pempty { margin: 0 var(--px) 40px; }
.tt.is-static .tt__stage { display: grid; gap: 44px 20px; padding: 0 var(--px) clamp(44px, 6vw, 72px); }
.tt.is-static .tt__frame img { aspect-ratio: 4 / 3; }
.tt.is-static .tt__plus { opacity: 1; transform: none; width: 40px; height: 40px; }
.tt.is-static .tt__info { margin-top: 14px; }
.tt.is-static .tt__yr { font-size: 30px; }
.tt.is-static .tt__name { font-size: clamp(24px, 5.6vw, 30px); }
.tt.is-static .tt__card { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .tt.is-static .tt__card:not(.in-view) { opacity: 0; transform: translateY(28px); }
@media (min-width: 761px) { .tt.is-static .tt__stage { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .tt .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--px) * -1); padding: 0 var(--px) 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tt .filters::-webkit-scrollbar { display: none; }
  .tt .chip { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .tt__era::before, .tt__hint i { animation: none; } }
