/* ==============================================================================
   VELACCIO — Home V4. Solo la carga index.html (`css:` en su bloque meta), y todo
   cuelga de .pg-home: no llega a ninguna otra página. Las medidas salen de
   VELACCIO_HOME_V4_ESPECIFICACION_CLAUDE.md §4 y §10.3.
   El azul es provisional (§4.1): se cambia solo aquí, en --v-blue.
   ============================================================================== */

.pg-home {
  --v-bg: #FFFFFF; --v-ink: #101114; --v-surface: #F5F6F8; --v-muted: #5D636D; --v-line: #DCE0E6;
  --v-blue: #2D5BFF; --v-blue-hover: #1C47E3; --v-black: #000;
  --v-radius: 12px; --v-container: 1280px;
  /* tiempos de movimiento (V3.1 §26.2) */
  --m-fast: 180ms; --m-normal: 260ms; --m-slow: 560ms; --m-ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--v-bg);
}
.pg-home main { color: var(--v-ink); }

/* Botones: un solo azul. El plato y la flecha son el mismo botón. */
.pg-home main .bt { --b-bg: var(--v-blue); --b-fg: #fff; }
.pg-home main .bt:hover { --b-bg: var(--v-blue-hover); }
.pg-home .bt--lg { height: 48px; }
.pg-home .bt--lg .bt__a { width: 48px; }
.pg-home .bo { min-height: 48px; display: inline-flex; align-items: center; }

/* ── S00 cabecera: la misma que en el resto de la web (header.html) ───────── */

/* ── rejilla y ritmo ──────────────────────────────────────────────────────── */
/* the site's side margin (--gutter, base.css): wide, the same on every section */
.h-wrap { width: calc(100% - 2 * var(--gutter)); margin-inline: auto; }

.h-sec { padding-block: clamp(72px, 8vw, 128px); background: var(--v-bg); color: var(--v-ink); }
.h-sec--soft { background: var(--v-surface); }
.h-sec--dark { background: var(--v-black); color: #fff; --v-muted: #B4B9C1; --v-line: #30343A; }
.h-sec--line { border-top: 1px solid var(--v-line); }

/* every eyebrow (.h-eye, .dk-eye, .hf-eye): the type of the line under the
   hero's wordmark (13px, semibold, capitals), in the brand blue; the lighter
   blue on dark sections */
.h-eye, .dk-eye, .hf-eye { font-size: .8125rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.5; text-transform: uppercase; }
.h-eye { margin: 0 0 18px; color: var(--v-blue); }
.h-sec--dark .h-eye { color: #7C9BFF; }
.h-h1, .h-h2 { margin: 0; font-family: var(--f-serif); font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
.h-h1 { font-size: clamp(2.75rem, 6.1vw, 5.375rem); line-height: 1.04; max-width: 16ch; }
.h-h1 em { font-style: normal; color: var(--v-blue); }
.h-h1 > span { display: block; }
.h-h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.12; max-width: 20ch; }
/* one sentence per line: a title with two sentences never starts the second
   one mid-line (no "…el / reto. Después…"); each still balances inside */
.h-h2 > .h-ln { display: block; }
.h-h3 { margin: 0; font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.2; letter-spacing: -.015em; }
.h-case__t { margin: 0; font-family: var(--f-sans); font-weight: 500; font-size: 1.1875rem; line-height: 1.3; }
.h-lead { margin: 22px 0 0; max-width: 62ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--v-muted); }
.h-p { margin: 12px 0 0; max-width: 62ch; font-size: 1.0625rem; line-height: 1.6; color: var(--v-muted); }
.h-micro { margin: 18px 0 0; font-size: .875rem; color: var(--v-muted); }
.h-head { margin-bottom: clamp(40px, 5vw, 64px); }
.h-line { margin: 36px 0 18px; font-family: var(--f-serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.3; letter-spacing: -.01em; }
.h-n { display: block; margin-bottom: 14px; font-size: .875rem; color: var(--v-blue); }
.h-sec--dark .h-n { color: #8FA8FF; }
.h-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.h-ctas--end { margin-top: 40px; }
.h-go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 18px; font-size: 1rem; color: var(--v-blue); }
.h-go svg { width: 14px; height: 14px; transition: transform .2s; }
.h-go:hover svg, .h-go:focus-visible svg { transform: translateX(3px); }
.pg-home :is(a, button, summary):focus-visible { outline: 2px solid var(--v-blue); outline-offset: 3px; }
.h-sec--dark :is(a, button):focus-visible { outline-color: #fff; }

.h-list { list-style: none; margin: 18px 0 0; padding: 0; }
.h-list li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--v-line); font-size: 1rem; line-height: 1.5; }
.h-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--v-ink); }
.h-list--no li::before { background: none; border: 1px solid var(--v-muted); }

/* ── rediseño: la voz y los botones de la portada (referencia Grafit) ────────
   General Sans (--f-display) for titles, buttons and navigation; Geist stays
   for running text. Every button on the page has one shape, Grafit's: a pill
   with a hairline border and a flat fill, no glow, no arrow plate. Light
   sections: Velaccio blue, ink on hover. Dark sections: blue glass. A second,
   quieter button (.bt--ghost) is only the line. Changes ease out slowly. */
.pg-home { --ease-out: cubic-bezier(.22, 1, .36, 1); }
.pg-home :is(main, .ft-g) .bt, .pg-home .hd__cta {
  --pill-bg: var(--v-blue); --pill-line: var(--v-blue); --pill-fg: #fff;
  --pill-bg-h: #0E0F12; --pill-line-h: #0E0F12; --pill-fg-h: #fff;
  justify-content: center; gap: 0; height: 50px; padding: 0 26px; border: 1px solid var(--pill-line); border-radius: 999px;
  background: var(--pill-bg); color: var(--pill-fg);
  font-family: var(--f-display); font-size: .9375rem; font-weight: 500; letter-spacing: 0;
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out), color .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity .3s var(--ease-soft);
}
.pg-home :is(main, .ft-g) .bt:hover, .pg-home :is(main, .ft-g) .bt:focus-visible { background: var(--pill-bg-h); border-color: var(--pill-line-h); color: var(--pill-fg-h); }
.pg-home :is(main, .ft-g) .bt .bt__t, .pg-home .hd__cta .bt__t { min-width: 0; padding: 0; background: none; transform: none; }
.pg-home :is(main, .ft-g) .bt .bt__a, .pg-home .hd__cta .bt__a { display: none; }
.pg-home :is(main, .ft-g) .bt:active { transform: scale(.985); }
.pg-home :is(main, .ft-g) .bt--ghost { --pill-bg: transparent; --pill-line: rgba(14, 15, 18, .2); --pill-fg: var(--v-ink); --pill-bg-h: rgba(14, 15, 18, .05); --pill-line-h: rgba(14, 15, 18, .42); --pill-fg-h: var(--v-ink); }
.pg-home :is(main [data-theme="dark"], .ft-g) .bt { --pill-bg: rgba(96, 120, 255, .34); --pill-line: rgba(168, 184, 255, .34); --pill-bg-h: rgba(96, 120, 255, .54); --pill-line-h: rgba(190, 202, 255, .5); --pill-fg-h: #fff; }
.pg-home :is(main [data-theme="dark"], .ft-g) .bt--ghost { --pill-fg: #fff; --pill-fg-h: #fff; --pill-bg: rgba(255, 255, 255, .02); --pill-line: rgba(255, 255, 255, .2); --pill-bg-h: rgba(255, 255, 255, .08); --pill-line-h: rgba(255, 255, 255, .38); }

/* ── cabecera flotante (fase 1 · referencia Grafit) ──────────────────────────
   The logo and the navigation share one capsule of dark glass, apart from the
   page edges; the booking button floats on its own on the right, in the same
   pill as every other button (grey glass, as in the reference). No plate when
   the page moves: the capsule is its own background, over any section.
   Wide screens show the links (the services, the cases, who we are); narrower
   ones keep "Menú" inside the capsule, which opens the full index. */
.pg-home .hd { --hd-fg: #fff; --hd-pill: rgba(255, 255, 255, .08); --hd-pill-fg: #fff; }
.pg-home .hd::before { content: none; }
.pg-home .hd__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: auto; padding: clamp(10px, 1.4vw, 18px) var(--gutter) 0; }
.pg-home .hd__cap { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); height: 50px; padding: 0 5px 0 22px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px;
  background: rgba(10, 11, 14, .94);
  color: #fff; transition: opacity .35s var(--ease-soft); }
.pg-home .hd__logo { padding: 0; color: #fff; }
.pg-home .hd .logo { width: 88px; }
.pg-home .hd__links { gap: clamp(18px, 1.9vw, 30px); margin: 0; padding: 0; list-style: none; }
.pg-home .hd__l { font-family: var(--f-display); font-size: .875rem; font-weight: 500; white-space: nowrap; color: rgba(255, 255, 255, .84); transition: color .4s var(--ease-out); }
.pg-home .hd__l:hover, .pg-home .hd__l:focus-visible, .pg-home .hd__l[aria-current] { color: #fff; }
.pg-home .hd__menu { height: 40px; min-width: 0; padding: 0 16px; border-radius: 999px; font-family: var(--f-display); font-size: .8125rem; font-weight: 500; }
html.is-menu-open .pg-home .hd__menu { width: 40px; padding: 0; }
.pg-home .hd__cta { --pill-bg: linear-gradient(180deg, rgba(96, 99, 108, .92), rgba(42, 44, 50, .92)); --pill-line: rgba(255, 255, 255, .16);
  padding: 0 24px; }
.pg-home .hd__cta:hover, .pg-home .hd__cta:focus-visible { box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .07); }
/* booking panel open (js/v2/book.js): the panel brings its own top, so the
   capsule and the button step aside */
html.is-book-open .pg-home .hd__cap { opacity: 0; pointer-events: none; }
html.is-book-up .pg-home .hd__cta { opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-soft); }
/* over the light and grey sections (app.js copies the section's data-theme
   to data-on) the capsule turns to light glass with ink text, and the
   button to ink, so the header always reads; the change eases over */
.pg-home .hd__cap { transition: opacity .35s var(--ease-soft), background-color .5s var(--ease-out), border-color .5s var(--ease-out), color .5s var(--ease-out); }
.pg-home .hd__logo, .pg-home .hd__menu { transition: color .5s var(--ease-out), background-color .5s var(--ease-out); }
.pg-home .hd:not([data-on="dark"]) .hd__cap { background: rgba(255, 255, 255, .94); border-color: rgba(14, 15, 18, .12); color: var(--v-ink); box-shadow: 0 6px 24px rgba(14, 15, 18, .07); }
.pg-home .hd:not([data-on="dark"]) .hd__logo { color: var(--v-ink); }
.pg-home .hd:not([data-on="dark"]) .hd__l { color: rgba(14, 15, 18, .8); }
.pg-home .hd:not([data-on="dark"]) .hd__l:hover, .pg-home .hd:not([data-on="dark"]) .hd__l:focus-visible, .pg-home .hd:not([data-on="dark"]) .hd__l[aria-current] { color: var(--v-ink); }
.pg-home .hd:not([data-on="dark"]) .hd__menu { background: rgba(14, 15, 18, .06); color: var(--v-ink); }
.pg-home .hd:not([data-on="dark"]) .hd__cta { --pill-bg: linear-gradient(180deg, #2A2C31, #0E0F12); --pill-line: #0E0F12; }
html.is-menu-open .pg-home .hd .hd__menu { background: var(--c-black); color: #fff; }
@media (min-width: 1180px) {
  .pg-home .hd__links { display: flex; }
  .pg-home .hd__menu { display: none; }
  .pg-home .hd__cap { padding-right: 28px; }
}
@media (max-width: 359px) { .pg-home .hd .logo { width: 76px; } .pg-home .hd__cap { padding-left: 14px; gap: 10px; } .pg-home .hd__cta { padding: 0 16px; } }

/* ── S01 hero (fase 1 · referencia: la portada antigua de Grafit) ─────────────
   The whole screen in black, behind the header too, with big curved forms lit
   blue and white along their edges. Only js/home-hero.js paints it, in WebGL:
   the hero starts black with a faint glow behind the copy and the canvas fades
   up from black once its first frame is drawn, so there is no second picture
   to swap out. Without WebGL it stays black with that glow. */
.hx { --hx-h: max(100svh, 640px); position: relative; isolation: isolate; display: grid; place-items: center;
  min-height: var(--hx-h); padding: calc(var(--hd-h) + 24px) 0 clamp(56px, 9vh, 96px); overflow: clip; background: #000; color: #fff; }
.hx::after { content: none; }
.hx-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(42% 46% at 50% 47%, rgba(45, 91, 255, .16), rgba(45, 91, 255, .04) 60%, transparent 80%), #000; }
.hx-gl { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 2.6s cubic-bezier(.33, 0, .2, 1); }
.hx-bg.is-gl .hx-gl { opacity: 1; }

/* the copy: label, two lines, one line under them, two buttons */
.hx-copy { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.hx-eye { margin: 0 0 clamp(20px, 2.2vw, 28px); font-family: var(--f-display); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hx-eye span:not(.hx-eye__l) { margin-inline: .55em; color: rgba(255, 255, 255, .35); }
@media (max-width: 479px) {
  .hx-eye { font-size: .6875rem; letter-spacing: .16em; line-height: 1.9; }
  .hx-eye .hx-eye__s2 { display: none; }
  .hx-eye__l { display: block; }
}
.hx-h1 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.5rem, 1rem + 4.1vw, 4.5rem); line-height: 1.04; letter-spacing: -.035em; color: #fff; }
/* each line is its own mask: the words rise into it */
.hx-ln { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; text-wrap: balance; }
.hx-ln > span { display: inline-block; }
.hx-h1 em { font-style: normal; background: linear-gradient(100deg, #E4E9FF, #94A9FF 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-sub { margin: clamp(20px, 2.2vw, 26px) 0 0; font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.5; color: rgba(255, 255, 255, .58); }
.hx-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(30px, 3.2vw, 42px); }
@media (max-width: 479px) {
  .hx-ctas { width: 100%; flex-direction: column; }
  .hx-ctas .bt { width: 100%; }
}

/* motion: the copy comes in once: label, the two lines rising into their
   masks, the line under them, the buttons */
@media (prefers-reduced-motion: no-preference) {
  .hx-eye { animation: hx-fade 1s var(--ease-out) .15s both; }
  .hx-ln > span { animation: hx-line 1.25s var(--ease-out) .25s both; }
  .hx-ln + .hx-ln > span { animation-delay: .37s; }
  .hx-sub { animation: hx-fade 1s var(--ease-out) .75s both; }
  .hx-ctas { animation: hx-fade 1s var(--ease-out) .87s both; }
  /* held until the page really paints (js/home-hero.js sets .is-go) */
  .js .hx:not(.is-go) :is(.hx-eye, .hx-ln > span, .hx-sub, .hx-ctas) { animation-play-state: paused; }
}
@keyframes hx-line { from { transform: translate3d(0, 108%, 0); } to { transform: none; } }
@keyframes hx-fade { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@keyframes h-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* mobile: the closing buttons go full width */
@media (max-width: 599px) {
  .h-ctas--end > *, .h-end .bt { width: 100%; justify-content: center; }
  .h-ctas--end .bt__t, .h-end .bt__t { flex: 1; }
}

/* ── S02 confianza ────────────────────────────────────────────────────────── */
/* ── S02 · confianza (referencia: pensatori-irrazionali.com) ──────────────────
   The hero's grey. The statement, then the four logos in bordered cells; at
   the foot, one place at each end with its coordinates and the three figures
   between them. Behind it all, the real coastline of each place in the brand
   blue (assets/v2/map, shaded relief from real elevation data), cut by the
   section's edges. */
.h-trust { position: relative; overflow: clip; padding-block: clamp(56px, 6vw, 88px) clamp(24px, 3vw, 36px); background: #fff; }
.h-trust > .h-wrap { position: relative; z-index: 1; }
.h-trust__head { max-width: 820px; }
.h-trust .h-eye { margin-bottom: 14px; }
.h-trust .h-h3 { font-size: clamp(1.75rem, 1.15rem + 1.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.03em; max-width: 26ch; }
.h-trust .h-p { margin: 14px 0 0; max-width: 60ch; font-size: 1rem; line-height: 1.5; color: var(--v-muted); }
.h-logos { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: clamp(28px, 3vw, 44px) 0 0; padding: 0; }
.h-logos li:nth-child(n + 5) { display: none; }
@media (min-width: 768px) { .h-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); } .h-logos li:nth-child(n + 5) { display: grid; } }
/* see-through cells, only a hairline: the land shows inside them, as in the reference */
.h-logos li { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border: 1px solid rgba(16, 17, 20, .12); }
.h-logos img { display: block; width: 56%; max-width: 170px; height: 40px; object-fit: contain; filter: brightness(0) blur(0); opacity: .82;
  transition: filter .45s var(--m-ease, ease), opacity .45s var(--m-ease, ease); }
/* a cell changing logo (app.js, data-logos): the old one blurs out, the new one blurs in */
.h-logos li.is-out img { filter: brightness(0) blur(10px); opacity: 0; }
.h-trust__foot { display: grid; gap: 24px; margin-top: clamp(24px, 3vw, 40px); }
.h-place { margin: 0; color: var(--v-ink); }
.h-place__t { display: block; font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.h-place__c { display: block; margin-top: 10px; font-size: .8125rem; color: var(--v-muted); font-variant-numeric: tabular-nums; }
.h-proofs { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; }
.h-proofs strong { display: block; font-weight: 500; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.1; letter-spacing: -.02em; }
.h-proofs span { display: block; margin-top: 4px; font-size: .875rem; color: var(--v-muted); }
/* the land: each island flat, in the brand blue, with its real coastline
   (OpenStreetMap, tools/coast.py), used as a mask */
.h-land { position: absolute; z-index: 0; pointer-events: none; background: var(--v-blue);
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.h-land--tf { --m: url(../assets/v2/map/tenerife.svg); aspect-ratio: 1000 / 826; width: clamp(200px, 44vw, 360px); left: -5%; bottom: 128px; }
.h-land--cy { --m: url(../assets/v2/map/chipre.svg); aspect-ratio: 1000 / 593; width: clamp(320px, 86vw, 640px); right: -38%; bottom: 128px; }
/* phones: the figures, then the two places side by side under the land */
.h-trust__foot { grid-template-columns: 1fr 1fr; }
.h-trust__foot .h-proofs { grid-column: 1 / -1; grid-row: 1; margin-bottom: clamp(150px, 46vw, 240px); }
.h-place--r { justify-self: end; }
@media (min-width: 900px) {
  .h-trust__foot { grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 40px; min-height: clamp(190px, 17vw, 250px); }
  /* the figures float halfway between the logos and the two places */
  .h-trust__foot .h-proofs { grid-column: 2; grid-row: 1; align-self: center; margin: 0 0 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .h-land--tf { width: clamp(220px, 17vw, 330px); left: -6vw; bottom: 165px; }
  .h-land--cy { width: clamp(360px, 30vw, 560px); right: -14vw; bottom: 165px; }
}

/* ── S03 manifiesto ───────────────────────────────────────────────────────── */
/* S03 manifiesto (referencia: DeepBook, "The Sui finance Stack"): a blue
   square with the text, centred, a "+" in each corner; beside it a black
   panel with a sparse grid of dots and, in the middle, a white square with
   the drawing that builds itself (tools/iso.js → lego). Stacked on phones. */
.mf { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .mf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mf-card { --mf-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cpath d='M8.5 0v17M0 8.5h17' stroke='%23fff' stroke-width='1.4' stroke-opacity='.85'/%3E%3C/svg%3E");
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 32px;
  padding: clamp(48px, 4.5vw, 64px) clamp(28px, 4.5vw, 72px); text-align: center; color: #fff;
  background: var(--mf-plus) 22px 22px no-repeat, var(--mf-plus) right 22px top 22px no-repeat,
    var(--mf-plus) left 22px bottom 22px no-repeat, var(--mf-plus) right 22px bottom 22px no-repeat, var(--v-blue); }
.mf-eye { margin: 0; font-size: .9375rem; line-height: 1.3; color: rgba(255, 255, 255, .92); }
.h-man { padding-block: clamp(48px, 5vw, 88px); }
.h-man .mf-h { margin: 0; max-width: 17ch; font-family: var(--f-sans); font-weight: 500; font-size: clamp(1.875rem, 1.1rem + 2.1vw, 3.25rem);
  line-height: 1.06; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.mf-sign { margin: 0; max-width: 40ch; font-size: .9375rem; font-weight: 500; line-height: 1.45; color: #fff; text-wrap: balance; }
.mf-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: clamp(20px, 2.5vw, 36px);
  background: var(--v-black); border: 1px solid #2A2D33; }
/* side by side: the blue square sets the row's height (at least 16:15, more
   if its text needs it) and the black panel stretches to match */
@media (min-width: 900px) { .mf-card { aspect-ratio: 16 / 11; } .mf-art { aspect-ratio: auto; border-left: 0; } }
.mf-sq { position: relative; display: grid; place-items: center; width: min(84%, 600px); aspect-ratio: 1.09; background: #fff; }
/* side by side the panel is wide and low: the square is sized by its height */
@media (min-width: 900px) { .mf-sq { width: auto; height: 84%; max-width: 90%; } }
.mf-sq .ik { width: 100%; height: 100%; }

/* the drawing in the white square: outlined bricks, as the reference */
.ik--lego { --ik-edge: rgba(255, 255, 255, .07); --ik-hl: rgba(255, 255, 255, .2); --ik-bedge: rgba(10, 30, 120, .45); --ik-bhl: rgba(214, 225, 255, .75);
  --ik-pool: rgba(16, 17, 20, .2);
  --g-ink-t1: #33363E; --g-ink-t2: #1C1E23; --g-ink-x1: #15161A; --g-ink-x2: #08090B; --g-ink-y1: #23252B; --g-ink-y2: #121317;
  --g-blue-t1: #6D90FF; --g-blue-t2: #3363FF; --g-blue-x1: #2753F2; --g-blue-x2: #1536B4; --g-blue-y1: #3A66FF; --g-blue-y2: #2147DE;
  --g-plate-t1: #FFFFFF; --g-plate-t2: #F3F4F6; --g-plate-x1: #E6E9ED; --g-plate-x2: #CDD2D9; --g-plate-y1: #F3F4F7; --g-plate-y2: #DEE2E7; }
.ik--lego .k-plate polygon, .ik--lego .k-plate path, .ik--lego .k-plate ellipse { stroke: rgba(16, 17, 20, .32); stroke-width: .6; }
.ik--lego .ik-ring.ik-ring { stroke: var(--v-blue); stroke-width: 1.4; }
/* without motion: built (rings hidden, both bricks in place) */
.lg-ping, .lg-ping2 { opacity: 0; }
.lg-ping, .lg-ping2 { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .mf-art.is-in .lg-a { animation: lg-a 9s 1.5s infinite both; }
  .mf-art.is-in .lg-b { animation: lg-b 9s 1.5s infinite both; }
  .mf-art.is-in .lg-ping { animation: lg-ping 9s linear 1.5s infinite both; }
  .mf-art.is-in .lg-ping2 { animation: lg-ping2 9s linear 1.5s infinite both; }
}
/* 0–18 %: the blue brick floats over its slot; 18–30 %: it comes down
   and settles in place (a long, soft ease, no bounce); 36–48 %: the black
   2×2 fades in over its studs and floats; 48–60 %: it settles the same way;
   74–84 %: it lifts off and fades; 84–95 %: the blue brick lifts. When a
   brick lands, the plate answers with a ring that fades in and spreads. */
@keyframes lg-a {
  0% { transform: translate3d(0, -28.6px, 0); animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  9% { transform: translate3d(0, -31.5px, 0); animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  18% { transform: translate3d(0, -28.6px, 0); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  30%, 84% { transform: none; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  95%, 100% { transform: translate3d(0, -28.6px, 0); }
}
@keyframes lg-b {
  0%, 36% { opacity: 0; transform: translate3d(0, -26px, 0); animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  42% { opacity: 1; transform: translate3d(0, -28.4px, 0); animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  48% { transform: translate3d(0, -26px, 0); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  60%, 74% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  84%, 100% { opacity: 0; transform: translate3d(0, -26px, 0); }
}
@keyframes lg-ping {
  0%, 27% { opacity: 0; transform: scale(.85); animation-timing-function: cubic-bezier(.33, 0, .67, 1); }
  32% { opacity: .9; animation-timing-function: cubic-bezier(.33, 0, .67, 1); }
  48%, 100% { opacity: 0; transform: scale(1.3); }
}
@keyframes lg-ping2 {
  0%, 57% { opacity: 0; transform: scale(.85); animation-timing-function: cubic-bezier(.33, 0, .67, 1); }
  62% { opacity: .9; animation-timing-function: cubic-bezier(.33, 0, .67, 1); }
  78%, 100% { opacity: 0; transform: scale(1.3); }
}

/* ── S04 servicios (referencia: DeepBook, "Builders / Traders", en claro) ──
   Un panel gris por servicio: arriba el nombre a lo grande y, al pie de ese
   bloque, su frase. Debajo, tres filas blancas con un cuadrado azul y el
   botón azul a todo lo ancho, con la flecha aparte. Al entrar en pantalla el
   panel se abre de arriba abajo, el texto sube, las filas entran una tras
   otra y el botón se dibuja de izquierda a derecha. */
.sv { padding-bottom: clamp(64px, 7vw, 112px); }
.sv .dk-head .h-h2 { max-width: 20ch; }
.sv-lead { margin: 20px 0 0; max-width: 38rem; font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.5; color: var(--dk-muted); text-wrap: pretty; }
.sv-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.sv-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 6px; padding: 8px; color: var(--dk-fg); }
.sv-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 4px; background: var(--dk-bar); }
/* the top: the name, and its line at the foot of the block */
.sv-top { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: clamp(190px, 16vw, 240px); padding: clamp(22px, 2.4vw, 36px) clamp(14px, 1.8vw, 26px) 18px; }
.sv-t { margin: 0; font-family: var(--f-sans); font-size: clamp(2.25rem, 1.3rem + 2.4vw, 3.5rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.sv-s { margin: 0; max-width: 30ch; font-size: 1rem; line-height: 1.45; color: var(--dk-muted); text-wrap: pretty; }
.sv-rows { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.sv-rows li { display: flex; align-items: center; gap: 20px; min-height: 84px; padding: 16px clamp(16px, 2vw, 28px); border-radius: 3px; background: #fff;
  font-size: clamp(1rem, .9rem + .3vw, 1.1875rem); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; text-wrap: pretty; }
.sv-rows li::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--v-blue); }
.sv-rows li:nth-child(2) { --r: 1; }
.sv-rows li:nth-child(3) { --r: 2; }
/* the button: both plates blue, the label to the right, the arrow apart;
   on hover the arrow steps right */
.sv-cta { --b-bg: var(--warm); --b-fg: #fff; width: 100%; height: 60px; font-size: 1.0625rem; font-weight: 500; }
.sv-cta .bt__t { flex: 1; justify-content: flex-end; padding: 0 28px; }
.sv-cta .bt__a { width: 60px; }
.sv-cta .bt__a svg { width: 16px; height: 16px; }
.sv .sv-cta:hover .bt__a svg, .sv .sv-cta:focus-visible .bt__a svg { transform: translateX(3px); }
.sv .sv-cta:hover .bt__t, .sv .sv-cta:focus-visible .bt__t { transform: none; }
@media (max-width: 559px) {
  .sv-top { min-height: 0; gap: 14px; }
  .sv-rows li { gap: 14px; min-height: 68px; padding: 14px 16px; }
  .sv-rows li::before { width: 12px; height: 12px; }
  .sv-cta { height: 54px; font-size: 1rem; }
  .sv-cta .bt__t { padding: 0 20px; }
  .sv-cta .bt__a { width: 54px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .sv-card[data-rv] { opacity: 1; transform: none; }
  .js .sv-card::before { clip-path: inset(0 0 100% 0 round 4px); transition: clip-path 1.1s var(--m-ease) calc(var(--i, 0) * 140ms); }
  .js .sv-card.is-in::before { clip-path: inset(0 0 0 0 round 4px); }
  .js .sv-t, .js .sv-s { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--m-ease), transform .9s var(--m-ease); }
  .js .sv-t { transition-delay: calc(var(--i, 0) * 140ms + .38s); }
  .js .sv-s { transition-delay: calc(var(--i, 0) * 140ms + .5s); }
  .js .sv-card.is-in .sv-t, .js .sv-card.is-in .sv-s { opacity: 1; transform: none; }
  .js .sv-rows li { opacity: 0; transform: translate3d(-14px, 0, 0); transition: opacity .6s var(--m-ease), transform .8s var(--m-ease);
    transition-delay: calc(var(--i, 0) * 140ms + .6s + var(--r, 0) * 110ms); }
  .js .sv-rows li::before { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--i, 0) * 140ms + .8s + var(--r, 0) * 110ms); }
  .js .sv-card.is-in .sv-rows li { opacity: 1; transform: none; }
  .js .sv-card.is-in .sv-rows li::before { transform: none; }
  .js .sv-cta { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--m-ease) calc(var(--i, 0) * 140ms + .95s); }
  .js .sv-card.is-in .sv-cta { clip-path: inset(0 0 0 0); }
}

/* ── S05 casos (referencia: DeepBook, sección "bh-finance") ────────────────
   Blanca, con la línea de dos cuadrados arriba (.dk-div) y el titular a la
   izquierda y el texto a la derecha. Ocho tarjetas negras y cortas, cada una
   un enlace: una barra con el nombre (sus letras ruedan al pasar el ratón,
   data-roll en app.js) y la flecha, el sector, la cifra con su duración y,
   abajo, el logo en un panel de puntos. Al pasar el ratón: el panel y la
   flecha se encienden con el azul de la marca, la flecha se adelanta un poco
   (como la del botón de la cabecera), los puntos se encogen y se van y el
   logo crece. El logo no lleva caja: los puntos se apartan de él con una
   máscara, así que con el azul solo queda el logo. Móvil: carrusel. */
.hf { --ease-db: cubic-bezier(.65, 0, .35, 1); --dk-line: #DCE0E6; background: #fff; padding-block: clamp(80px, 8vw, 120px) clamp(56px, 5vw, 80px); }
.hf .dk-div { margin-bottom: clamp(48px, 5vw, 80px); }
.hf-head { display: grid; gap: 20px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) { .hf-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hf-lead { justify-self: end; } }
.hf-eye { margin: 0 0 16px; color: var(--v-blue); }
.hf-h2 { max-width: 14ch; font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); line-height: 1.1; letter-spacing: -.03em; }
.hf-lead { margin: 0; max-width: 26rem; font-size: clamp(1rem, .95rem + .2vw, 1.125rem); font-weight: 500; line-height: 1.45; letter-spacing: -.02em; color: rgba(0, 0, 0, .5); text-wrap: pretty; }

.hf-grid { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; }
@media (min-width: 640px) { .hf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .hf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hf-card { display: flex; }
.hf-in { display: flex; flex-direction: column; gap: 2px; width: 100%; border-radius: 8px; color: #fff; text-decoration: none; }
.hf-in:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 3px; }
.hf-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 14px; border-radius: 6px; background: #000; }
.hf-name { display: flex; overflow: hidden; margin: 0; font-family: var(--f-sans); font-size: 1.0625rem; font-weight: 500; line-height: 1.25; letter-spacing: -.03em; white-space: nowrap; }
/* the arrow plate: grey, blue on hover, and the arrow steps right */
.hf-ar { position: relative; isolation: isolate; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 2px; background: #2E2E2E; overflow: hidden; }
.hf-ar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--warm); opacity: 0; transition: opacity .4s var(--ease-db); }
.hf-ar svg { width: 13px; height: 13px; transition: transform .7s var(--ease); }
.hf-body { display: flex; flex-direction: column; flex: 1; border-radius: 8px; background: #000; }
.hf-top { padding: 16px 16px 14px; }
.hf-cat { margin: 0 0 16px; font-size: .8125rem; line-height: 1.4; color: rgba(255, 255, 255, .55); }
.hf-r { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding-top: 12px; border-top: 1px solid #2A2F34; }
.hf-r b { font-size: 1.125rem; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.hf-d { flex: none; font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.hf-bottom { flex: 1; display: flex; align-items: flex-end; padding: 0 8px 8px; }
/* the panel: grey ground, the blue (hidden until hover), the dots, the logo */
.hf-img { --hf-hole: 11em 5em; position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; min-height: 9em; border-radius: 6px; background: #1F1F1F; overflow: hidden; }
.hf-img::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--warm); opacity: 0; transition: opacity .4s var(--ease-db); }
.hf-img::before { content: ""; position: absolute; inset: 16px 24px; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, #A0A9B1 .9px, transparent 1.3px) 0 0 / calc((100% - 2px) / 8) calc((100% - 2px) / 4);
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0); -webkit-mask-size: var(--hf-hole), 100% 100%;
  -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0); mask-size: var(--hf-hole), 100% 100%;
  mask-position: center; mask-repeat: no-repeat; mask-composite: exclude;
  transition: transform .4s var(--ease-db), opacity .4s var(--ease-db); }
.hf-logo { position: relative; z-index: 2; display: grid; place-items: center; width: min(100%, 11em); height: 5em; padding: 0 1em; }
.hf-logo img { display: block; width: 100%; max-width: 9em; max-height: 3em; object-fit: contain; transition: transform .4s var(--ease-db); }
/* the name rolls: each letter goes up and its copy (the text-shadow) comes in */
.rl-c { display: inline-block; text-shadow: 0 1.25em currentColor; transition: transform .28s cubic-bezier(.3, .7, .2, 1) calc(var(--c, 0) * 8ms); }
@media (hover: hover) {
  .hf-in:hover .hf-ar::before, .hf-in:hover .hf-img::after { opacity: 1; }
  .hf-in:hover .hf-ar svg { transform: translateX(3px); }
  .hf-in:hover .hf-img::before { transform: scale(.5); opacity: 0; }
  .hf-in:hover .hf-logo img { transform: scale(1.2); }
  .hf-in:hover .rl-c { transform: translate3d(0, -1.25em, 0); }
}
.hf-in:focus-visible .hf-ar::before { opacity: 1; }
.hf-in:focus-visible .hf-ar svg { transform: translateX(3px); }
/* phone: a row that slides sideways, each card in its own black frame */
@media (max-width: 639px) {
  .hf-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc((100vw - 100%) / -2); padding-inline: calc((100vw - 100%) / 2); scroll-padding-inline: calc((100vw - 100%) / 2); }
  .hf-grid::-webkit-scrollbar { display: none; }
  .hf-card { flex: 0 0 78%; scroll-snap-align: start; }
  .hf-in { padding: 8px; border-radius: 6px; background: #000; }
  .hf-bar { padding: 4px 4px 4px 12px; background: #1F1F1F; }
  .hf-top { padding: 24px 12px 16px; }
  .hf-bottom { padding: 0; }
  .hf-img { min-height: 8em; border-top: 1px solid #2A2F34; border-radius: 0; background: transparent; }
}
@media (prefers-reduced-motion: reduce) { .hf .rl-c, .hf-img::before, .hf-img::after, .hf-logo img, .hf-ar::before, .hf-ar svg { transition: none; } }

/* ── S06 / S08 / S11 · tarjetas numeradas (.dk) ──────────────────────────────
   Referencia: DeepBook. Cada tarjeta: una barra con el número y el título, el
   texto y un panel de puntos con un dibujo isométrico (tools/iso.js). Al
   entrar en pantalla (data-rv → .is-in): la barra se dibuja, los puntos se
   abren desde el centro y las piezas del dibujo caen a su sitio; después
   quedan en movimiento suave. Colores por tema: oscuro (S06, S08) y claro (S11). */
.dk { --dk-bar: #1A1C21; --dk-line: #272A31; --dk-fg: #F2F3F5; --dk-muted: #A3A9B3;
  --dk-glow: radial-gradient(52% 58% at 50% 60%, rgba(45, 91, 255, .13), rgba(45, 91, 255, 0) 100%);
  --ik-top: #2C2F36; --ik-x: #15171B; --ik-y: #1E2026; --ik-edge: rgba(255, 255, 255, .07); --ik-hl: rgba(255, 255, 255, .24);
  --ik-btop: #6F93FF; --ik-bx: #2D5BFF; --ik-by: #1C3FCC; --ik-bedge: rgba(150, 175, 255, .3); --ik-bhl: rgba(220, 229, 255, .8);
  --ik-wire: rgba(45, 91, 255, .1); --ik-wedge: rgba(110, 145, 255, .8); --ik-ring: rgba(120, 150, 255, .5); --ik-pool: rgba(45, 91, 255, .3);
  --g-ink-t1: #41454F; --g-ink-t2: #26292F; --g-ink-x1: #1C1E23; --g-ink-x2: #0B0C0E; --g-ink-y1: #2E3138; --g-ink-y2: #17191C;
  --g-blue-t1: #A9BEFF; --g-blue-t2: #5F84FF; --g-blue-x1: #2A57FA; --g-blue-x2: #1331A8; --g-blue-y1: #4470FF; --g-blue-y2: #2247DC; }
.dk--light { --dk-bar: #F1F2F4; --dk-line: #E2E4E9; --dk-fg: #101114; --dk-muted: #5D636D;
  --dk-glow: radial-gradient(52% 58% at 50% 60%, rgba(45, 91, 255, .06), rgba(45, 91, 255, 0) 100%);
  --ik-top: #FFFFFF; --ik-x: #CDD2DB; --ik-y: #E4E7EC; --ik-edge: rgba(16, 17, 20, .08); --ik-hl: rgba(16, 17, 20, .13);
  --ik-wire: rgba(45, 91, 255, .07); --ik-ring: rgba(45, 91, 255, .4); --ik-pool: rgba(16, 17, 20, .13);
  --g-ink-t1: #FFFFFF; --g-ink-t2: #F1F3F6; --g-ink-x1: #DADEE5; --g-ink-x2: #BAC1CC; --g-ink-y1: #F2F4F7; --g-ink-y2: #DCE0E6;
  --g-blue-t1: #8EA9FF; --g-blue-t2: #4B74FF; --g-blue-x1: #2A57FA; --g-blue-x2: #1838BE; --g-blue-y1: #4470FF; --g-blue-y2: #2650EE; }
.dk.h-sec--dark + .dk.h-sec--dark, .h-sec--dark + .dk.h-sec--dark { padding-top: clamp(32px, 4vw, 64px); }

/* the divider: a hairline with two small squares at its start */
/* as DeepBook's: a still hairline and two blue squares, one at each end. With
   the scroll they come apart: both start in the middle and reach the ends as
   the divider rises from the bottom of the screen to 30% from the top
   (app.js, [data-divx]); scrolling back brings them together again. */
.dk-div { position: relative; display: flex; justify-content: space-between; align-items: center; height: 9px; margin-bottom: clamp(40px, 5vw, 72px); }
.dk-div::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--dk-line); }
.dk-div i { position: relative; z-index: 1; flex: none; width: 9px; height: 9px; background: var(--v-blue); will-change: transform; }

.dk-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 5vw, 64px); }
.dk-eye { margin: 0; color: #7C9BFF; }
.dk--light .dk-eye { color: var(--v-blue); }
.dk-head .h-h2 { max-width: 22ch; }
.dk-head .h-h2.h-h2--wide { max-width: 27ch; }
/* the label sits just above the title, everything aligned to the left edge
   (no side column pushing the title to the right) */

.dk-grid { list-style: none; display: grid; gap: 22px; margin: 0; padding: 0; }
@media (min-width: 720px) { .dk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .dk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dk-card { display: flex; flex-direction: column; gap: 10px; color: var(--dk-fg); }
/* the bars and the boxes line up across a row even when a title takes two lines */
@supports (grid-template-rows: subgrid) { @media (min-width: 720px) { .dk-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 10px; } } }
.js .dk-card[data-rv] { opacity: 1; transform: none; }
.dk-bar { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 7px 14px 7px 7px; background: var(--dk-bar); }
.dk-n { display: grid; place-items: center; flex: none; min-width: 38px; height: 38px; padding: 0 6px; background: var(--v-blue); color: #fff;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; font-size: .875rem; font-variant-numeric: tabular-nums; }
.dk-t { margin: 0; font-family: var(--f-sans); font-weight: 500; font-size: 1.0625rem; line-height: 1.25; letter-spacing: -.01em; }
.dk-body { display: flex; flex-direction: column; flex: 1; border: 1px solid var(--dk-line); }
.dk-p { display: flex; align-items: flex-end; min-height: 176px; margin: 0; padding: 22px 22px 20px; border-bottom: 1px solid var(--dk-line); font-size: 1rem; line-height: 1.5; color: var(--dk-fg); text-wrap: pretty; }
.dk-art { position: relative; flex: 1; display: grid; place-items: center; min-height: 190px; padding: 12px 8px; overflow: hidden; }
.dk-art::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--dk-glow); }
.dk-art .ik { position: relative; width: 112%; max-width: 340px; height: auto; overflow: visible; }
.dk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; margin-top: clamp(32px, 4vw, 48px); }
.dk-foot .h-line { margin: 0; }
.dk-foot .h-go { margin-top: 0; }
.h-sec--dark .h-go { color: #8FA8FF; }

/* the drawing: faces are filled with gradients (tools/iso.js) whose stops
   take the theme's --g-* colours; edges are hairlines, lighter on the tops
   so each block catches the light along its upper rim */
.ik { shape-rendering: geometricPrecision; }
.ik polygon, .ik path, .ik ellipse.f-top { stroke-width: .6; stroke-linejoin: round; }
.ik .k-ink .f-top { stroke: var(--ik-hl); }
.ik .k-ink .f-x, .ik .k-ink .f-y { stroke: var(--ik-edge); }
.ik .k-blue .f-top { stroke: var(--ik-bhl); }
.ik .k-blue .f-x, .ik .k-blue .f-y { stroke: var(--ik-bedge); }
.ik .ik-pool { stroke: none; }
.ik .ik-track { stroke-opacity: .6; }
.ik .k-wire polygon, .ik .k-wire path, .ik .k-wire ellipse { fill: var(--ik-wire); stroke: var(--ik-wedge); }
.ik .ik-head.k-ink { fill: var(--ik-top); stroke: var(--ik-edge); stroke-width: .8; }
.ik .ik-head.k-blue { fill: var(--ik-btop); stroke: var(--ik-bedge); stroke-width: .8; }
.ik .ik-ring { fill: none; stroke: var(--ik-ring); stroke-width: 1; }
.ik .ik-line { stroke: var(--ik-ring); stroke-width: 1.2; }
.ik .ik-hole { fill: #000; fill-opacity: .55; stroke: var(--ik-edge); stroke-width: .8; }
.dk--light .ik .ik-hole { fill-opacity: .12; }
.ik .ik-flag { fill: var(--ik-bx); stroke: var(--ik-bedge); stroke-width: .8; }
.ik .ik-tick circle { fill: var(--ik-bx); stroke: var(--ik-bedge); }
.ik .ik-tick path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the scanning ring */
.ik .ik-scan { stroke: #7C9BFF; stroke-width: 1.4; }
.dk--light .ik .ik-scan { stroke: var(--ik-bx); }

/* ── movimiento ── (only with JS and without reduced motion; otherwise the
   finished drawing simply shows) */
@media (prefers-reduced-motion: no-preference) {
  .js .dk-bar { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--m-ease) calc(var(--i, 0) * 120ms); }
  .js .dk-n { opacity: 0; transition: opacity .4s var(--m-ease) calc(var(--i, 0) * 120ms + .35s); }
  .js .dk-t { opacity: 0; transform: translate3d(-10px, 0, 0); transition: opacity .6s var(--m-ease), transform .6s var(--m-ease); transition-delay: calc(var(--i, 0) * 120ms + .4s); }
  .js .dk-body { border-color: transparent; transition: border-color .8s var(--m-ease) calc(var(--i, 0) * 120ms + .2s); }
  .js .dk-p { border-bottom-color: transparent; opacity: 0; transform: translate3d(0, 10px, 0);
    transition: opacity .7s var(--m-ease), transform .7s var(--m-ease), border-color .8s var(--m-ease); transition-delay: calc(var(--i, 0) * 120ms + .45s); }
  .js .dk-art::before { opacity: 0; transform: scale(.8); transition: opacity 1.6s var(--m-ease), transform 1.8s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--i, 0) * 120ms + .35s); }
  .js [data-rv] .ik-p { opacity: 0; transform: translate3d(0, -18px, 0); }
  .js [data-rv] .ik-pool { opacity: 0; transition: opacity 1.6s var(--m-ease) calc(var(--i, 0) * 120ms + .6s); }
  .js .is-in .ik-pool { opacity: 1; }
  .js .dk-card.is-in .dk-bar { clip-path: inset(0 0 0 0); }
  .js .dk-card.is-in .dk-n, .js .dk-card.is-in .dk-t, .js .dk-card.is-in .dk-p { opacity: 1; transform: none; }
  .js .dk-card.is-in .dk-body, .js .dk-card.is-in .dk-p { border-color: var(--dk-line); }
  .js .dk-card.is-in .dk-art::before { opacity: 1; transform: none; }
  .js .is-in .ik-p { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform 1.4s cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--i, 0) * 120ms + .55s + var(--d, 0) * 130ms); }

  /* after landing: small, slow, endless; sine-like easing, no overshoot */
  .is-in .ik-float { animation: ik-float 6s var(--ik-sine) calc(var(--i, 0) * .4s + 1.8s) infinite; }
  .is-in .ik-pulse { transform-box: fill-box; transform-origin: center; animation: ik-pulse 4.4s var(--ik-sine) 1.8s infinite; }
  .is-in .ik-drop { animation: ik-drop 5s var(--ik-sine) 2s infinite; }
  /* each drawing has its own loop (tools/iso.js) */
  .is-in .ik-bob { animation: ik-bob 5s var(--ik-sine) calc(1.8s + var(--o, 0s)) infinite; }
  .is-in .ik-rise { animation: ik-rise 5s var(--ik-sine) calc(1.8s + var(--o, 0s)) infinite; }
  .is-in .ik-sweep { animation: ik-sweep 5.6s var(--ik-sine) 1.8s infinite; }
  .is-in .ik-glow { animation: ik-glow 5.6s var(--ik-sine) 1.8s infinite; }
  .is-in .ik-ripple { transform-box: fill-box; transform-origin: center; animation: ik-ripple 4.4s linear calc(1.6s + var(--o, 0s)) infinite backwards; }
  .is-in .ik-aim { animation: ik-aim 4.4s var(--ik-sine) 1.8s infinite; }
  .is-in .ik-pop { transform-box: fill-box; transform-origin: center; animation: ik-pop 5s var(--ik-sine) 2.2s infinite; }
  .is-in .ik-slide-x { animation: ik-slide-x 6s var(--ik-sine) 2s infinite; }
  .is-in .ik-slide-z { animation: ik-slide-z 6s var(--ik-sine) 3.5s infinite; }
  .is-in .ik-wave { transform-box: fill-box; transform-origin: 0 50%; animation: ik-wave 2.8s var(--ik-sine) infinite; }
  .is-in .ik-l { animation: ik-l 5.2s var(--ik-sine) calc(1.9s + var(--ph, 0s)) infinite; }
  .ik { --ik-sine: cubic-bezier(.37, 0, .63, 1); }
  .ik-float, .ik-bob, .ik-rise, .ik-drop, .ik-aim, .ik-slide-x, .ik-slide-z, .ik-l, .lg-a, .lg-b { will-change: transform; }
}
/* the orbiting cube is an SVG animation, which the motion setting cannot
   pause: it is simply not shown */
@media (prefers-reduced-motion: reduce) { .ik .ik-orbit { display: none; } }
@keyframes ik-float { 50% { transform: translate3d(0, -8px, 0); } }
@keyframes ik-l { 50% { transform: translate3d(0, calc(var(--l, 1) * -6px), 0); } }
@keyframes ik-pulse { 50% { transform: scale(1.06); opacity: .5; } }
.js .dk-div[data-rv] { opacity: 1; transform: none; }
@keyframes ik-bob { 50% { transform: translate3d(0, -8px, 0); } }
@keyframes ik-rise { 50% { transform: translate3d(0, -16px, 0); } }
@keyframes ik-sweep { 50% { transform: translate3d(0, 30px, 0); } }
@keyframes ik-glow { 0%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(45, 91, 255, 0)); } 50% { filter: brightness(1.2) drop-shadow(0 0 12px rgba(45, 91, 255, .55)); } }
@keyframes ik-ripple { 0% { transform: scale(.5); opacity: 0; animation-timing-function: cubic-bezier(.33, 0, .67, 1); } 30% { opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes ik-aim { 50% { transform: translate3d(0, 12px, 0); } }
@keyframes ik-pop { 50% { transform: scale(1.08); } }
@keyframes ik-slide-x { 50% { transform: translate3d(14px, 8px, 0); } }
@keyframes ik-slide-z { 50% { transform: translate3d(0, -12px, 0); } }
@keyframes ik-wave { 50% { transform: skewY(-5deg) scaleX(.92); } }
@keyframes ik-drop { 50% { transform: translate3d(0, 13px, 0); } }

/* ── S07 creative lab: testing map (V3.1 §17) ─────────────────────────────
   The statement and its text side by side; under them, the example as an
   editorial index (hairlines, no boxes): the hypothesis on the left, the
   three variants as large rows on the right, and along the foot what is
   measured, the goal and what comes next. Hovering a row dims the others. */
.lb-head { display: grid; gap: 28px; }
@media (min-width: 1000px) { .lb-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(48px, 6vw, 120px); align-items: end; } }
.lb-head .dk-eye { margin-bottom: 14px; }
.h-lab .h-h2 { max-width: 25ch; }
.lb-intro .h-p:first-child { margin-top: 0; }
.lb-tags { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0 0; padding: 0; }
.lb-tags li { padding-top: 12px; border-top: 1px solid var(--v-line); font-size: .9375rem; color: var(--v-ink); }
.lb-tags li + li { padding-left: 14px; }
.lb-tags span { display: block; margin-bottom: 2px; font-size: .75rem; color: var(--v-blue); font-variant-numeric: tabular-nums; }
.lb-intro .bt { margin-top: 28px; }

.lb-sheet { margin: clamp(48px, 5vw, 80px) 0 0; border-top: 1px solid var(--v-ink); }
.lb-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 12px 0 0;
  font-size: .8125rem; line-height: 1.4; color: var(--v-muted); }
.lb-cap span:first-child { color: var(--v-ink); font-weight: 500; }
.lb-k { margin: 0 0 10px; font-size: .8125rem; line-height: 1.4; color: var(--v-muted); }

.lb-body { display: grid; gap: 36px; margin-top: clamp(28px, 3vw, 40px); }
.lb-h { margin: 0; max-width: 24ch; font-size: clamp(1.375rem, 1.05rem + 1vw, 2rem); font-weight: 400; line-height: 1.22; letter-spacing: -.025em; color: var(--v-ink); text-wrap: pretty; }

.lb-cols, .lb-row { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 12px; }
.lb-cols { display: none; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--v-line); font-size: .8125rem; color: var(--v-muted); }
.lb-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--v-line); }
.lb-row { align-items: baseline; padding: 14px 0 16px; border-bottom: 1px solid var(--v-line); transition: opacity .35s var(--m-ease, ease); }
.lb-l { font-size: .875rem; color: var(--v-blue); font-variant-numeric: tabular-nums; }
.lb-a { margin: 0; font-size: clamp(1.75rem, 1.15rem + 1.7vw, 2.875rem); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; color: var(--v-ink); }
.lb-d { grid-column: 2; margin: 8px 0 0; font-size: .9375rem; line-height: 1.45; color: var(--v-muted); }
@media (hover: hover) { .lb-rows:hover .lb-row:not(:hover) { opacity: .32; } }

.lb-foot { display: grid; gap: 24px; margin-top: clamp(32px, 3.5vw, 48px); }
.lb-foot > div { padding-top: 12px; border-top: 1px solid var(--v-line); }
.lb-v { margin: 0; max-width: 34ch; font-size: 1rem; line-height: 1.45; color: var(--v-ink); }
.lb-v i { font-style: normal; color: #A3A9B3; padding: 0 .3em; }
.lb-next .lb-v { color: var(--v-blue); }

@media (min-width: 1000px) {
  .lb-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 6vw, 120px); }
  .lb-cols { display: grid; }
  .lb-rows { border-top: 0; }
  .lb-cols, .lb-row { grid-template-columns: 3rem minmax(0, .9fr) minmax(0, 1fr); column-gap: 20px; }
  .lb-d { grid-column: 3; margin: 0; }
  .lb-foot { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
}

/* ── S10 encaje ───────────────────────────────────────────────────────────── */
.h-fit { display: grid; gap: 36px; }
@media (min-width: 900px) { .h-fit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }

/* ── S12 sobre Velaccio ───────────────────────────────────────────────────── */
.h-about { display: grid; gap: 40px; }
@media (min-width: 1024px) { .h-about { grid-template-columns: 55fr 45fr; gap: 64px; align-items: center; } }
.h-about .h-p + .h-p { margin-top: 16px; }
.h-about .h-go { margin-top: 28px; }
/* four client posters as loose polaroids (reference: extrafazant.nl, "Wie
   wij zijn"): a white frame with a deeper foot, measured from it (12px sides
   and 48px foot on a 309px card: 3.9% and 15.5% of the card), no shadow, no
   rounding, each turned a little. They lie in a loose two-by-two, the lower
   ones over the upper ones. Every photo keeps its poster's proportions, so
   nothing is cropped. Positions and widths are shares of the group's width;
   the group is 1 : 1.06, plus room for the caption under the front print. */
.h-snap { position: relative; width: 100%; max-width: 600px; margin: 0 auto 64px; aspect-ratio: 1 / 1.06; }
.h-snap figure { position: absolute; margin: 0; }
.h-snap__card { padding: 3.9% 3.9% 15.5%; background: #fff; }
.h-snap img { display: block; width: 100%; height: auto; }
.h-snap__p--1 { left: 1%; top: 2%; z-index: 1; width: 45%; rotate: -5deg; }
.h-snap__p--2 { left: 51%; top: 5%; z-index: 2; width: 43%; rotate: 4deg; }
.h-snap__p--3 { left: 8%; top: 39%; z-index: 3; width: 32%; rotate: 3deg; }
.h-snap__p--4 { left: 41%; top: 41%; z-index: 4; width: 41%; rotate: -3.5deg; }
/* the front print carries the line in its foot */
.h-snap__p--4 .h-snap__card { padding-bottom: 0; }
.h-snap__cap { margin: 0; padding: .85em .15em 1.1em; font-family: var(--f-serif); font-size: clamp(.8125rem, .62rem + .55vw, 1.0625rem);
  line-height: 1.22; letter-spacing: -.005em; color: #101114; text-wrap: balance; }

/* ── S13 FAQ ──────────────────────────────────────────────────────────────── */
.h-faq { display: grid; gap: 36px; }
@media (min-width: 1024px) { .h-faq { grid-template-columns: 2fr 3fr; gap: 64px; } }
.h-faq .h-h2 { font-size: clamp(2rem, 3.4vw, 3rem); }

/* ── S14 cierre ───────────────────────────────────────────────────────────── */
.h-end { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 11vw, 168px); background: #000; }
/* el cierre recupera la trama del hero */
.h-end::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(70% 90% at 15% 50%, #000 20%, transparent 80%); mask-image: radial-gradient(70% 90% at 15% 50%, #000 20%, transparent 80%); }
.h-end .h-h2 { max-width: 18ch; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); line-height: 1.06; }
.h-end .bt { margin-top: 32px; }

/* ── S15 pie ──────────────────────────────────────────────────────────────── */
.ft-h { padding: 56px 0 28px; background: var(--v-black); color: #fff; border-top: 1px solid #30343A; }
.ft-h__top { display: grid; gap: 36px; }
@media (min-width: 900px) { .ft-h__top { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.ft-h__id p { margin: 16px 0 0; max-width: 34ch; font-size: .9375rem; line-height: 1.5; color: #B4B9C1; }
.ft-h__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (min-width: 700px) { .ft-h__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ft-h__cols ul { list-style: none; margin: 0; padding: 0; }
.ft-h__cols li { margin-bottom: 10px; font-size: .9375rem; }
.ft-h__bar { margin-top: 40px; padding-top: 18px; border-top: 1px solid #30343A; font-size: .8125rem; color: #B4B9C1; }

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

/* El degradado cálido de la flecha no entra en la home: blanco, negro y un azul. */
.pg-home main .bt__a { background: var(--v-blue); color: #fff; }

/* ── S02 · qué hacemos (rediseño · referencia: «Who we are» de Grafit) ───────
   A light, editorial page after the black hero: label, title, a large lead
   with the key ideas marked inside the sentence (.w2-tag), then the three
   service lines as cards whose picture explains the service. The pictures are
   built in HTML/CSS on a container (cqw units), so every part scales with the
   card; on hover their pieces drift apart a little. */
.w2, .w3 { --w-bg: #F6F6F7; --w-line: #E6E7EB; --w-mute: #6B6F78; background: var(--w-bg); color: var(--v-ink); }
.w2 { padding-block: clamp(96px, 10vw, 160px) clamp(40px, 5vw, 72px); }
.w2-head { display: grid; justify-items: center; text-align: center; }
.w2-eye { margin: 0 0 18px; font-family: var(--f-display); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--w-mute); }
.w2-h, .w3-h { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.25rem, 1.1rem + 3.3vw, 4.25rem); line-height: 1.04; letter-spacing: -.045em; color: var(--v-ink); text-wrap: balance; }
.w2-h .h-ln, .w3-h .h-ln { display: block; }
.w2-lead { max-width: 31em; margin: clamp(40px, 5vw, 72px) auto 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.25rem, 1rem + .85vw, 1.875rem); line-height: 1.72; letter-spacing: -.02em; text-wrap: pretty; }
.w2-tag { display: inline-flex; align-items: center; gap: .34em; padding: .02em .4em .06em; margin-inline: .04em; border: 1px solid var(--w-line); border-radius: 4px; background: #fff; line-height: 1.35; white-space: nowrap; }
.w2-tag svg { flex: none; width: .74em; height: .74em; fill: none; stroke: var(--v-blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.w2-grid { display: grid; gap: 16px; margin: clamp(56px, 7vw, 104px) 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .w2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.w2-in { display: flex; flex-direction: column; height: 100%; padding: 10px; border: 1px solid var(--w-line); border-radius: 8px; background: #fff; color: var(--v-ink); transition: border-color .5s var(--ease-out); }
.w2-in:hover { border-color: #CFD2D8; }
.w2-vis { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 4px; background: #EFF0F3; container-type: inline-size; }
.w2-vis > * { position: absolute; margin: 0; transition: transform 1s var(--ease-out); }
.w2-txt { display: grid; gap: 10px; flex: 1; align-content: start; padding: 26px 14px 14px; }
.w2-t { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + .6vw, 1.875rem); line-height: 1.1; letter-spacing: -.035em; }
.w2-d { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--w-mute); }
.w2-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--f-display); font-size: .9375rem; font-weight: 500; }
.w2-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.w2-in:hover .w2-go svg { transform: translateX(4px); }

/* Ads Management: a campaign dashboard, and the ad sets on a card over it */
.w2-dash { left: 8%; top: 12%; width: 72%; padding: 4cqw 4.4cqw; border-radius: 6px; background: #16171B; color: #fff; font-size: 2.3cqw; box-shadow: 0 24px 48px -24px rgba(16, 17, 20, .45); }
.w2-dash__bar { display: flex; align-items: center; gap: 1.6cqw; }
.w2-dash__bar i { width: 1.6cqw; height: 1.6cqw; background: var(--v-blue); }
.w2-dash__bar span { font-family: var(--f-display); font-weight: 500; }
.w2-dash__bar em { margin-left: auto; font-style: normal; opacity: .5; }
.w2-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw; margin-top: 4.4cqw; }
.w2-kpis span { display: block; opacity: .55; }
.w2-kpis b { display: block; margin-top: .8cqw; font-family: var(--f-display); font-size: 3.8cqw; font-weight: 500; letter-spacing: -.02em; }
.w2-chart { display: block; width: 100%; height: 19cqw; margin-top: 3.4cqw; }
.w2-chart__a { fill: url(#w2g); }
.w2-chart__l { fill: none; stroke: #6F8CFF; stroke-width: 2; vector-effect: non-scaling-stroke; }
.w2-sets { right: 6%; bottom: 9%; width: 46%; padding: 3cqw 3.4cqw 1.4cqw; border: 1px solid var(--w-line); border-radius: 6px; background: #fff; font-size: 2.3cqw; box-shadow: 0 24px 40px -22px rgba(16, 17, 20, .3); }
.w2-sets__h { margin: 0 0 1.4cqw; font-family: var(--f-display); font-weight: 500; }
.w2-set { display: flex; align-items: center; gap: 1.6cqw; margin: 0; padding: 1.6cqw 0; border-top: 1px solid #EEF0F3; }
.w2-set i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #C8CCD4; }
.w2-set i.is-on { background: var(--v-blue); }
.w2-set em { margin-left: auto; font-style: normal; color: var(--w-mute); }
.w2-in:hover .w2-dash { transform: translate3d(-1.5%, -2.5%, 0); }
.w2-in:hover .w2-sets { transform: translate3d(2.5%, 3%, 0); }

/* Creative Engine: a vertical video in the middle, static ads and the tags of
   a test (angle, hook, variant) around it */
.w2-ad { overflow: hidden; border-radius: 6px; background: #1A1A1A; box-shadow: 0 24px 44px -22px rgba(16, 17, 20, .45); }
.w2-ad img { display: block; width: 100%; height: 100%; object-fit: cover; }
.w2-ad--l { left: 7%; top: 20%; width: 34%; aspect-ratio: 1; transform: rotate(-7deg); }
.w2-ad--r { right: 8%; top: 15%; width: 23%; aspect-ratio: 9 / 16; transform: rotate(6deg); }
.w2-ad--c { left: 35%; top: 8%; z-index: 2; width: 30%; aspect-ratio: 9 / 16; }
.w2-ad--c .media { position: absolute; inset: 0; }
.w2-chip { z-index: 3; padding: 1.2cqw 2cqw; border: 1px solid var(--w-line); border-radius: 4px; background: #fff; font-family: var(--f-display); font-size: 2.3cqw; font-weight: 500; white-space: nowrap; box-shadow: 0 12px 24px -16px rgba(16, 17, 20, .35); }
.w2-chip--1 { left: 6%; bottom: 16%; }
.w2-chip--2 { right: 7%; bottom: 25%; border-color: #16171B; background: #16171B; color: #fff; }
.w2-chip--3 { left: 52%; bottom: 7%; }
.w2-in:hover .w2-ad--l { transform: rotate(-9deg) translate3d(-3%, 1%, 0); }
.w2-in:hover .w2-ad--r { transform: rotate(8deg) translate3d(4%, -1%, 0); }
.w2-in:hover .w2-ad--c { transform: translate3d(0, -2.5%, 0) scale(1.03); }

/* Leads a la Carta: the form a prospect fills in, the pipeline it lands in,
   and the moment a lead arrives */
.w2-form { left: 7%; top: 11%; width: 44%; padding: 3.4cqw; border: 1px solid var(--w-line); border-radius: 6px; background: #fff; font-size: 2.3cqw; box-shadow: 0 24px 44px -24px rgba(16, 17, 20, .35); }
.w2-form__h { margin: 0 0 2.4cqw; font-family: var(--f-display); font-size: 3cqw; font-weight: 500; letter-spacing: -.02em; }
.w2-field { margin: 0 0 1.5cqw; padding: 1.5cqw 2cqw; border: 1px solid #E3E5EA; border-radius: 4px; color: #9AA0AA; }
.w2-form__b { margin: 2.4cqw 0 0; padding: 1.7cqw; border-radius: 999px; background: var(--v-blue); color: #fff; text-align: center; font-family: var(--f-display); font-weight: 500; }
.w2-pipe { right: 6%; top: 20%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4cqw; width: 45%; padding: 2.4cqw; border-radius: 6px; background: #16171B; color: #fff; font-size: 2cqw; box-shadow: 0 24px 48px -24px rgba(16, 17, 20, .45); }
.w2-col p { margin: 0 0 1.6cqw; opacity: .6; white-space: nowrap; }
.w2-col i { display: block; height: 7cqw; margin-bottom: 1.4cqw; border: 1px solid rgba(255, 255, 255, .08); border-radius: 3px; background: rgba(255, 255, 255, .06); }
.w2-col:first-child i:first-of-type { border-color: rgba(111, 140, 255, .7); background: rgba(45, 91, 255, .45); }
.w2-note { left: 33%; bottom: 9%; z-index: 2; display: flex; align-items: center; gap: 1.6cqw; padding: 1.6cqw 2.4cqw; border: 1px solid var(--w-line); border-radius: 6px; background: #fff; font-family: var(--f-display); font-size: 2.4cqw; font-weight: 500; box-shadow: 0 16px 32px -18px rgba(16, 17, 20, .35); }
.w2-note i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--v-blue); }
.w2-note em { margin-left: 3cqw; font-style: normal; font-weight: 400; color: var(--w-mute); }
.w2-in:hover .w2-form { transform: translate3d(-2%, -2%, 0); }
.w2-in:hover .w2-pipe { transform: translate3d(2.5%, -1.5%, 0); }
.w2-in:hover .w2-note { transform: translate3d(0, -12%, 0); }

/* ── S03 · casos de éxito destacados (rediseño · referencia: «Success stories»
   de Grafit) ─────────────────────────────────────────────────────────────────
   Title in two tones on the left, a line and the link to every case on the
   right; three dark cards of the same size, each a whole composition in the
   client's colour: the result, the work in one line, a piece standing for
   it, the logo bottom left, the arrow bottom right. On hover the piece
   moves and grows a little; the VINNO bars rise when the card comes in. */
.w3 { padding-block: clamp(48px, 6vw, 96px) clamp(96px, 10vw, 160px); }
.w3-head { display: grid; gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .w3-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); } }
.w3-eye { margin-bottom: 18px; }
.w3-h__2 { color: #9A9EA7; }
.w3-side p { margin: 0; max-width: 36ch; font-size: 1rem; line-height: 1.55; color: var(--w-mute); }
.w3-all { display: inline-block; margin-top: 18px; font-family: var(--f-display); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color .4s var(--ease-out); }
.w3-all:hover { text-decoration-color: transparent; }

.w3-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .w3-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.w3-in { --pad: clamp(22px, 2.2vw, 30px); position: relative; isolation: isolate; display: block; aspect-ratio: 1 / 1.02; overflow: hidden; padding: var(--pad);
  border-radius: 10px; background: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.4px) 0 0 / 14px 14px, var(--card); color: #fff; container-type: inline-size; }
.w3-card--cc { --card: radial-gradient(110% 85% at 85% 100%, #3552F0 0%, rgba(53, 82, 240, 0) 62%), linear-gradient(160deg, #1A1F4D, #0B0E24); }
.w3-card--vn { --card: radial-gradient(110% 85% at 80% 100%, #17808A 0%, rgba(23, 128, 138, 0) 60%), linear-gradient(160deg, #0D272B, #061315); }
.w3-card--ols { --card: radial-gradient(110% 85% at 75% 100%, #7A4F26 0%, rgba(122, 79, 38, 0) 60%), linear-gradient(160deg, #231912, #0B0907); }
.w3-r { position: relative; margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.625rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; letter-spacing: -.04em; }
.w3-d { position: relative; margin: 10px 0 0; max-width: 34ch; font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.w3-vis { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.w3-vis > * { position: absolute; margin: 0; transition: transform 1s var(--ease-out); }
.w3-logo { position: absolute; left: var(--pad); bottom: var(--pad); width: auto; height: 24px; max-width: 45%; object-fit: contain; object-position: left bottom; filter: brightness(0) invert(1); }
.w3-card--ols .w3-logo { height: 38px; }
.w3-ar { position: absolute; right: var(--pad); bottom: calc(var(--pad) - 8px); display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .9); background: #0E0F12; color: #fff; transition: background-color .5s var(--ease-out), color .5s var(--ease-out); }
.w3-ar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.w3-in:hover .w3-ar { background: #fff; color: var(--v-ink); }
.w3-in:hover .w3-ar svg { transform: translateX(2px); }

/* Consulcommerce: a phone with the contact form of an ad */
.w3-phone { left: 40%; top: 37%; width: 46%; aspect-ratio: 9 / 18.5; padding: 2cqw; border: 1px solid rgba(255, 255, 255, .18); border-radius: 7cqw; background: #0E0F12; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transform: rotate(-10deg); }
.w3-screen { height: 100%; overflow: hidden; padding: 6cqw 4cqw; border-radius: 5.4cqw; background: #fff; color: var(--v-ink); font-size: 2.6cqw; }
.w3-ad__by { display: flex; align-items: center; gap: 1.6cqw; margin: 0; font-family: var(--f-display); font-weight: 500; }
.w3-ad__by i { width: 4cqw; height: 4cqw; border-radius: 50%; background: var(--v-blue); }
.w3-ad__by em { margin-left: auto; font-style: normal; font-weight: 400; color: #9AA0AA; }
.w3-ad__h { margin: 4cqw 0 3cqw; font-family: var(--f-display); font-size: 4cqw; font-weight: 500; letter-spacing: -.02em; }
.w3-in-f { margin: 0 0 2cqw; padding: 2.2cqw; border: 1px solid #E3E5EA; border-radius: 1.4cqw; color: #9AA0AA; }
.w3-ad__b { margin: 3cqw 0 0; padding: 2.6cqw; border-radius: 999px; background: var(--v-blue); color: #fff; text-align: center; font-family: var(--f-display); font-weight: 500; }
.w3-in:hover .w3-phone { transform: rotate(-8deg) translate3d(0, -4%, 0) scale(1.03); }

/* VINNO: leads per year, rising, and demo requests arriving */
.w3-panel { left: 9%; top: 42%; width: 58%; padding: 4cqw; border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; background: rgba(255, 255, 255, .06); font-size: 2.4cqw; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.w3-panel__h { margin: 0 0 3cqw; color: rgba(255, 255, 255, .7); }
.w3-bars { display: flex; align-items: flex-end; gap: 2.4cqw; height: 22cqw; }
.w3-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #67D6DE, rgba(103, 214, 222, .2)); transform-origin: 50% 100%; transition: transform 1.2s var(--ease-out); }
.js .w3-card:not(.is-in) .w3-bars i { transform: scaleY(.12); }
.w3-bars i:nth-child(2) { transition-delay: .08s; } .w3-bars i:nth-child(3) { transition-delay: .16s; } .w3-bars i:nth-child(4) { transition-delay: .24s; } .w3-bars i:nth-child(5) { transition-delay: .32s; }
.w3-panel__x { display: flex; justify-content: space-between; margin: 2cqw 0 0; color: rgba(255, 255, 255, .5); }
.w3-stack { right: 7%; top: 56%; display: grid; gap: 1.6cqw; width: 44%; }
.w3-stack p { display: flex; align-items: center; gap: 1.6cqw; margin: 0; padding: 2.2cqw 2.6cqw; border-radius: 6px; background: #fff; color: var(--v-ink); font-family: var(--f-display); font-size: 2.3cqw; font-weight: 500; box-shadow: 0 20px 36px -20px rgba(0, 0, 0, .6); }
.w3-stack p + p { transform: translateX(8%); opacity: .82; }
.w3-stack i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #1FA6B1; }
.w3-stack em { margin-left: auto; font-style: normal; font-weight: 400; color: #9AA0AA; }
.w3-in:hover .w3-panel { transform: translate3d(0, -3%, 0); }
.w3-in:hover .w3-stack { transform: translate3d(-3%, -5%, 0); }

/* OLS Import Cars: one of the vertical ads we made, playing in a phone */
.w3-phone--vid { left: 38%; top: 35%; padding: 1.6cqw; transform: rotate(8deg); }
.w3-phone--vid .media { position: relative; height: 100%; border-radius: 5.6cqw; }
.w3-in:hover .w3-phone--vid { transform: rotate(6deg) translate3d(0, -4%, 0) scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .w2-vis > *, .w3-vis > *, .w3-bars i { transition: none; }
  .js .w3-card:not(.is-in) .w3-bars i { transform: none; }
}

/* ── S04–S07 · el bloque oscuro de Ads Management (referencia: Grafit) ─────
   Negro grisáceo, filetes finos, cifras grandes, textos secundarios en gris
   y un azul muy medido. Comparten tokens, etiqueta, titular, la caja con
   cruces en las esquinas y la línea de progreso de las pestañas. */
.w4, .wd {
  --d-bg: #141417; --d-cell: #17171B; --d-line: rgba(255, 255, 255, .09); --d-mute: #8A8E98; --d-text: #C5C8D0; --d-blue: #5B7BFF;
  background: var(--d-bg); color: #fff;
}
.wd + .wd { padding-top: clamp(24px, 3vw, 48px); }
.wd-eye { margin: 0 0 18px; font-family: var(--f-display); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--d-mute); }
.wd-h { margin: 0 0 clamp(40px, 5vw, 72px); max-width: 15em; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.25rem, 1.1rem + 3.1vw, 4rem); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.wd-box { position: relative; border: 1px solid var(--d-line); }
.wd-box::before {
  content: ""; position: absolute; inset: -6px; pointer-events: none; z-index: 2;
  --x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%23686C76'/%3E%3C/svg%3E");
  background: var(--x) left top / 11px no-repeat, var(--x) right top / 11px no-repeat, var(--x) left bottom / 11px no-repeat, var(--x) right bottom / 11px no-repeat;
}
.wd-fill { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--d-line); pointer-events: none; }
.wd-fill i { position: absolute; left: 0; right: 0; top: -.5px; height: 2px; background: var(--d-blue); transform: scaleX(var(--p, 0)); transform-origin: left; }
.wd .ico, .w4 .ico { width: 20px; height: 20px; color: currentColor; }

/* S04 · el sistema: la sección mide varias pantallas y su interior se queda
   fijo (sticky); js/home-dark.js lee el avance y pone --k0…--k3 (cuánto se
   ve de cada estado) y la forma de la línea. */
.w4 { position: relative; height: 420svh; }
.w4-pin { position: sticky; top: 0; height: 100svh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.w4-pin::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 52% at 72% 52%, rgba(91, 123, 255, .07), transparent 70%); }
.w4-in { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 96px); align-items: center; padding-top: 64px; }
.w4-heads { display: grid; }
.w4-head { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease-out), transform .8s var(--ease-out); pointer-events: none; }
.w4-head.is-on { opacity: 1; transform: none; transition-delay: .12s; pointer-events: auto; }
.w4-h { margin: 0 0 20px; max-width: 12.5em; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1rem + 2.3vw, 3.25rem); line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.w4-p { margin: 0; max-width: 33em; font-size: 1rem; line-height: 1.6; color: var(--d-text); }
.w4-pts { margin: clamp(24px, 4.5vh, 48px) 0 0; padding: 0; list-style: none; }
.w4-pt { position: relative; display: grid; grid-template-columns: 20px 1fr; column-gap: 16px; padding: 15px 0 16px; opacity: .3; transition: opacity .5s var(--ease-out); }
.w4-pt.is-on { opacity: 1; }
.w4-pt__l { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--d-line); }
.w4-pt__l i { position: absolute; inset: 0; background: rgba(255, 255, 255, .6); transform: scaleX(var(--f, 0)); transform-origin: left; }
.w4-pt .ico { grid-row: span 2; margin-top: 1px; }
.w4-pt__t { margin: 0; font-family: var(--f-display); font-size: .9375rem; font-weight: 500; }
.w4-pt__d { margin: 5px 0 0; font-size: .875rem; line-height: 1.5; color: var(--d-mute); }
@media (max-height: 820px) and (min-width: 900px) { .w4-pt { padding-block: 12px; } .w4-pt__d { display: none; } }

.w4-vis { --k0: 1; --k1: 0; --k2: 0; --k3: 0; position: relative; justify-self: end; width: min(100%, calc((100svh - 150px) * 1.2)); aspect-ratio: 720 / 600; font-family: var(--f-display); }
.w4-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.w4-cols { position: absolute; left: 0; right: 0; top: 0; height: 57%; display: grid; grid-template-columns: repeat(4, 1fr); opacity: calc(1 - var(--k0)); }
.w4-cols span { position: relative; padding-left: 6%; font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--d-mute); }
.w4-cols span + span::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 0; width: 1px; background: linear-gradient(var(--d-line), rgba(255, 255, 255, .02)); }
.w4-line { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.w4-line--glow { stroke: #9DB0FF; stroke-width: 6; opacity: calc(.45 - var(--k2) * .25); }
.w4-line:not(.w4-line--glow) { opacity: calc(1 - var(--k2) * .55); }
.w4-area { fill: url(#w4-area); opacity: var(--k3); }
.w4-wire { fill: none; stroke: var(--d-blue); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: calc((1 - var(--k0)) * .9); }
.w4-bus { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: calc(1 - var(--k0)); }
.w4-dots circle { fill: #fff; stroke: rgba(255, 255, 255, .14); stroke-width: 7; transition: fill .5s var(--ease-out), stroke .5s var(--ease-out); }
.w4-dots.is-bad circle { fill: #FF7A59; stroke: rgba(255, 122, 89, .22); }
.w4-dots .w4-head-dot { fill: #fff; stroke: rgba(157, 176, 255, .35); stroke-width: 10; opacity: var(--k3); }
.w4-tags { position: absolute; inset: 0; pointer-events: none; }
.w4-tag { position: absolute; margin: 0; white-space: nowrap; font-size: .75rem; font-weight: 500; transform: translate(-50%, calc(-100% - 18px)); }
.w4-tag--bad { padding: 3px 8px; border-radius: 4px; background: rgba(20, 20, 23, .88); color: #FF8F73; opacity: var(--k0); }
.w4-tag--go { opacity: var(--k3); transform: translateY(calc(-100% - 22px)); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--d-mute); }
.w4-tag--go b { display: block; margin-bottom: 2px; font-size: clamp(1.125rem, .8rem + .9vw, 1.6rem); font-weight: 400; letter-spacing: -.02em; text-transform: none; color: #fff; }
.w4-ads { position: absolute; inset: 0; opacity: var(--k2); pointer-events: none; }
.w4-ads i { position: absolute; border-radius: 6px; background: linear-gradient(180deg, #2A2B31, #1E1F24); border: 1px solid rgba(255, 255, 255, .1); transform: translateY(calc((1 - var(--k2)) * 18px)) scale(calc(.92 + var(--k2) * .08)); }
.w4-ads i::after { content: ""; position: absolute; left: 26%; right: 26%; bottom: 22%; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .28); }
.w4-ads i.is-win { background: linear-gradient(180deg, #6F86FF, #4562F2); border-color: #B7C4FF; box-shadow: 0 0 0 4px rgba(91, 123, 255, .12); }
.w4-ads i.is-win::after { background: rgba(255, 255, 255, .6); }
.w4-mods { position: absolute; left: 0; right: 0; top: 66.7%; display: grid; grid-template-columns: repeat(4, 1fr); transform: translateY(calc(-50% + var(--k0) * 14px)); opacity: calc(1 - var(--k0)); }
.w4-mod { justify-self: center; display: inline-grid; place-items: center; min-width: 74%; height: clamp(36px, 3.4vw, 46px); padding: 0 10px; border-radius: 8px; background: linear-gradient(180deg, #2C2D33, #1D1E22); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 24px -14px #000; font-size: clamp(.8125rem, .7rem + .3vw, 1rem); font-weight: 500; }
.w4-core { position: absolute; left: 50%; top: 81.7%; display: grid; justify-items: center; gap: 10px; transform: translate(-50%, -28px); opacity: calc(1 - var(--k0)); }
.w4-core__k { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(180deg, #2C2D33, #1A1B1F); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 6px var(--d-bg); }
.w4-core .logo { width: 38px; color: #fff; }
.w4-core__l { font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--d-mute); white-space: nowrap; }
.w4-note { position: absolute; right: 0; bottom: -6px; margin: 0; font-family: var(--f-sans); font-size: .75rem; color: #6B6F78; opacity: var(--k3); }

@media (max-width: 899px) {
  .w4 { height: 400svh; }
  .w4-pin { align-items: flex-start; min-height: 0; }
  .w4-in { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 84px; }
  .w4-h { margin-bottom: 12px; font-size: clamp(1.6rem, 1rem + 2.6vw, 2.2rem); }
  .w4-p { font-size: .9375rem; line-height: 1.55; }
  .w4-pts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
  .w4-pt { display: block; padding: 10px 0 0; }
  .w4-pt .ico, .w4-pt__d { display: none; }
  .w4-pt__t { font-size: .6875rem; line-height: 1.3; }
  .w4-vis { justify-self: stretch; width: 100%; }
  .w4-cols span { font-size: .5625rem; letter-spacing: .04em; }
  .w4-tag { font-size: .625rem; }
  .w4-tag--go { font-size: .5625rem; }
  .w4-tag--bad:nth-child(even) { transform: translate(-50%, 16px); }
  .w4-tag--go { font-size: 0; transform: translateY(calc(-100% - 14px)); }
  .w4-tag--go b { margin: 0; font-size: .875rem; }
  .w4-cols { opacity: calc(1 - var(--k0) - var(--k3) * .7); }
  .w4-mod { min-width: 88%; height: 30px; padding: 0 4px; font-size: .6875rem; border-radius: 6px; }
  .w4-core__k { width: 40px; height: 40px; border-radius: 9px; }
  .w4-core .logo { width: 28px; }
  .w4-core { transform: translate(-50%, -20px); gap: 6px; }
  .w4-core__l { font-size: .5625rem; }
  .w4-note { font-size: .625rem; bottom: -14px; }
}

/* S05 · testimonios: logos | cita | cifra, en una sola caja */
.w5-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.w5-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--d-line); }
.w5-tab { position: relative; flex: 1; min-height: 140px; display: grid; place-items: center; padding: 24px; border: 0; background: transparent; color: inherit; cursor: pointer; transition: background-color .5s var(--ease-out); }
.w5-tab + .w5-tab { border-top: 1px solid var(--d-line); }
.w5-tab img { width: auto; max-width: 52%; max-height: 46px; filter: brightness(0) invert(1); opacity: .32; transition: opacity .5s var(--ease-out); }
.w5-tab:hover img { opacity: .6; }
.w5-tab[aria-selected="true"] { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .06)); }
.w5-tab[aria-selected="true"] img { opacity: 1; }
.w5-tab .wd-fill { top: auto; bottom: 0; background: none; }
.w5-tab:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.w5-panels { display: grid; }
.w5-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-out), visibility 0s .45s; }
.w5-panel.is-on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease-out) .1s; }
.w5-q { display: flex; flex-direction: column; min-height: clamp(460px, 38vw, 560px); margin: 0; padding: clamp(28px, 3.4vw, 52px); border-right: 1px solid var(--d-line); }
.w5-mark { width: 34px; height: 28px; fill: none; stroke: #6B6F78; stroke-width: 1.3; transform: skewX(-12deg); }
.w5-q blockquote { margin: auto 0; padding: 36px 0; }
.w5-q blockquote p { margin: 0; max-width: 24em; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.25rem, .95rem + .85vw, 1.75rem); line-height: 1.3; letter-spacing: -.02em; text-wrap: pretty; transform: translateY(10px); transition: transform .9s var(--ease-out); }
.w5-panel.is-on blockquote p { transform: none; }
.w5-by { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.w5-av { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #25262B; border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.w5-av img { width: 70%; height: auto; filter: brightness(0) invert(1); }
.w5-who { display: grid; gap: 2px; font-size: .875rem; color: var(--d-mute); }
.w5-who b { font-family: var(--f-display); font-size: .9375rem; font-weight: 500; color: #fff; }
.w5-go { margin-left: auto; }
.w5-m { position: relative; display: flex; flex-direction: column; align-items: center; padding: clamp(28px, 3vw, 48px) 24px 0; text-align: center; overflow: hidden; background: radial-gradient(70% 45% at 50% 0%, rgba(255, 255, 255, .075), transparent 72%); }
.w5-n { margin: auto 0 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 1.6rem + 3.4vw, 5.25rem); line-height: 1; letter-spacing: -.045em; background: linear-gradient(180deg, #fff 30%, #BCC8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w5-l { margin: 0 0 auto; max-width: 15em; font-size: .9375rem; line-height: 1.55; color: var(--d-mute); }
.w5-g { position: relative; width: calc(100% + 48px); height: clamp(120px, 11vw, 170px); margin: 24px -24px 0; overflow: visible; }
.w5-g__l { fill: none; stroke-width: 2; filter: drop-shadow(0 0 6px rgba(91, 123, 255, .7)); stroke-dasharray: 520; stroke-dashoffset: 520; }
.w5-g__a { opacity: 0; transition: opacity 1s var(--ease-out) .5s; }
.w5-g__d { fill: #fff; filter: drop-shadow(0 0 6px #9DB0FF); opacity: 0; transition: opacity .6s var(--ease-out) 1.2s; }
.w5-panel.is-on .w5-g__l { animation: w5-draw 1.8s var(--ease-out) .2s forwards; }
.w5-panel.is-on .w5-g__a, .w5-panel.is-on .w5-g__d { opacity: 1; }
@keyframes w5-draw { to { stroke-dashoffset: 0; } }
.w5-g--set { width: 100%; margin: 24px 0 26px; }
.w5-fr { fill: rgba(91, 123, 255, .07); stroke: url(#w5-s1); stroke-width: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(.25s + var(--d, 0) * .09s); }
.w5-fr--v { fill: rgba(91, 123, 255, .14); filter: drop-shadow(0 0 8px rgba(91, 123, 255, .45)); }
.w5-play { fill: #fff; opacity: 0; transition: opacity .6s var(--ease-out) .3s; }
.w5-panel.is-on .w5-fr { opacity: 1; transform: none; }
.w5-panel.is-on .w5-play { opacity: .9; }
@media (max-width: 899px) {
  .w5-box { grid-template-columns: minmax(0, 1fr); }
  .w5-tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--d-line); }
  .w5-tab { min-height: 84px; padding: 16px; }
  .w5-tab + .w5-tab { border-top: 0; border-left: 1px solid var(--d-line); }
  .w5-tab img { max-width: 64%; max-height: 34px; }
  .w5-panel { grid-template-columns: minmax(0, 1fr); }
  .w5-q { min-height: 0; border-right: 0; border-bottom: 1px solid var(--d-line); }
  .w5-q blockquote { padding: 24px 0 28px; }
  .w5-go { margin-left: 0; }
  .w5-m { min-height: 300px; padding-top: 32px; }
}

/* S06 · por qué Velaccio: una sola rejilla; los huecos de 1px dejan ver el
   color del filete del fondo, así todo es una misma estructura */
.w6-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--d-line); }
.w6-c { position: relative; min-height: clamp(300px, 25vw, 360px); padding: clamp(24px, 2.4vw, 36px); background: var(--d-bg); overflow: hidden; }
.w6-eco, .w6-logos { grid-column: span 2; }
.w6-eco { background: radial-gradient(90% 100% at 18% 12%, #222227, var(--d-bg) 70%); }
.w6-t { position: relative; z-index: 1; margin: 0; max-width: 8.5em; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, .95rem + 1.1vw, 2.125rem); line-height: 1.08; letter-spacing: -.035em; }
.w6-s { position: absolute; left: clamp(24px, 2.4vw, 36px); bottom: clamp(24px, 2.4vw, 36px); z-index: 1; margin: 0; max-width: 16em; font-size: .875rem; line-height: 1.5; color: var(--d-mute); }
.w6-orb { position: absolute; right: 12%; top: 54%; width: min(220px, 32%); aspect-ratio: 1; transform: translateY(-50%); }
.w6-ring { position: absolute; inset: -9%; width: 118%; height: 118%; overflow: visible; }
.w6-ring circle { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.w6-ring .w6-ring__run { stroke: #9DB0FF; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 46 758; filter: drop-shadow(0 0 5px rgba(91, 123, 255, .9)); transform-origin: center; animation: w6-spin 9s linear infinite; }
@keyframes w6-spin { to { transform: rotate(360deg); } }
.w6-ball { position: absolute; inset: 6%; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 38% 30%, #D5D8E0 0%, #8C909C 22%, #43454E 52%, #1D1E23 78%); box-shadow: 0 30px 60px -30px #000; }
.w6-ball::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, transparent 1.05px, rgba(18, 18, 22, .62) 1.35px) 0 0 / 4px 4px; }
.w6-ball .logo { position: relative; z-index: 1; width: 64%; color: #fff; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6)); }
.w6-pill { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 12px; border-radius: 999px; white-space: nowrap; background: linear-gradient(180deg, #2B2C32, #1C1D21); border: 1px solid rgba(255, 255, 255, .11); box-shadow: 0 10px 24px -12px #000; font-family: var(--f-display); font-size: .8125rem; font-weight: 500; }
.w6-pill .ico { width: 16px; height: 16px; color: #9DB0FF; }
.w6-pill--t { left: 50%; top: -12%; transform: translateX(-50%); }
.w6-pill--l { left: -22%; bottom: 4%; }
.w6-pill--r { right: -26%; bottom: 4%; }
.w6-k { display: flex; flex-direction: column; align-items: center; text-align: center; }
.w6-n { margin: 6px 0 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 1.6rem + 2.1vw, 3.9rem); line-height: 1; letter-spacing: -.045em; }
/* a word in place of a figure (C18, until the figures are validated) */
.w6-n--w { font-size: clamp(1.875rem, 1.3rem + 1.3vw, 2.75rem); letter-spacing: -.035em; }
.w6-l { margin: 0; max-width: 17em; font-size: .75rem; font-weight: 500; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; color: var(--d-mute); }
.w6-dial { position: absolute; left: 50%; bottom: 10px; width: min(78%, 250px); transform: translateX(-50%); overflow: visible; }
.w6-ticks line { stroke: rgba(255, 255, 255, .16); stroke-width: 3.2; stroke-linecap: round; transition: stroke .5s var(--ease-out); transition-delay: calc(var(--i) * 40ms + .2s); }
.w6-grid.is-in .w6-ticks line.is-lit { stroke: rgba(255, 255, 255, .85); }
.w6-grid.is-in .w6-ticks line.is-top { stroke: #B9C7FF; filter: drop-shadow(0 0 4px #5B7BFF); }
.w6-needle { stroke: #fff; stroke-width: 1.6; stroke-linecap: round; transform-box: view-box; transform-origin: 120px 122px; transform: rotate(-90deg); transition: transform 1.8s var(--ease-out) .2s; }
.w6-grid.is-in .w6-needle { transform: rotate(var(--a, 50deg)); }
.w6-mx { position: absolute; left: 9%; right: 9%; bottom: -6px; display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
.w6-mx i { aspect-ratio: 1; border-radius: 1.5px; background: #fff; opacity: calc(.08 + var(--o) * .5); }
.w6-mx i.is-hot { opacity: 1; box-shadow: 0 0 10px 2px rgba(157, 176, 255, .7); }
.w6-grid.is-in .w6-mx i { animation: w6-blink 3.6s var(--ease-soft, ease) infinite; animation-delay: calc(var(--c) * 90ms); }
@keyframes w6-blink { 0%, 70%, 100% { filter: none; } 12% { filter: brightness(2.4); } }
.w6-logo { width: 46px; height: 46px; margin-top: 18px; filter: brightness(0) invert(1); opacity: .7; }
.w6-curve { position: absolute; left: 0; bottom: 0; width: 100%; height: 40%; overflow: visible; }
.w6-curve__l { fill: none; stroke: #fff; stroke-width: 1.6; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .5)); stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2s var(--ease-out) .2s; }
.w6-grid.is-in .w6-curve__l { stroke-dashoffset: 0; }
.w6-curve__p { fill: var(--d-bg); stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.w6-curve__h { fill: #fff; filter: drop-shadow(0 0 6px #9DB0FF); }
.w6-ar { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 4px; background: #fff; color: var(--v-ink); transition: transform .4s var(--ease-out), background-color .4s var(--ease-out); }
.w6-ar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.w6-ar:hover { background: #DDE3FF; transform: translateX(3px); }
.w6-apps { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: clamp(10px, 1.4vw, 20px); }
.w6-app { display: grid; place-items: center; width: clamp(64px, 5.6vw, 84px); aspect-ratio: 1; border-radius: 18px; background: linear-gradient(160deg, #2E2F36, #1A1B1F); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 18px 30px -18px #000, inset 0 1px 0 rgba(255, 255, 255, .07); transform: rotate(-9deg) translateY(8px); }
.w6-app:nth-child(2) { transform: translateY(-14px); }
.w6-app:nth-child(3) { transform: rotate(8deg) translateY(8px); }
.w6-app svg { width: 46%; fill: none; stroke: #B9C7FF; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(91, 123, 255, .6)); }
.w6-app .f { fill: #B9C7FF; stroke: none; }
.w6-logos { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.w6-lt { margin: 0; font-family: var(--f-display); font-size: 1.25rem; font-weight: 400; letter-spacing: -.01em; color: var(--d-text); }
.w6-strip { width: 100%; margin: 30px 0 26px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.w6-track { display: flex; align-items: center; gap: clamp(36px, 4vw, 60px); width: max-content; margin: 0; padding: 0; list-style: none; animation: w6-run 46s linear infinite; }
.w6-track li { flex: none; }
.w6-track img { display: block; width: auto; height: 26px; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
@keyframes w6-run { to { transform: translateX(-50%); } }
.w6-sec { margin: 0; max-width: 30em; font-size: .875rem; line-height: 1.5; color: var(--d-mute); }
.w6-geo { margin: 10px 0 0; font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #6B6F78; }
.w6-geo span { letter-spacing: .02em; color: #50535B; }
@media (max-width: 1099px) {
  .w6-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .w6-grid { grid-template-columns: minmax(0, 1fr); }
  .w6-eco, .w6-logos { grid-column: auto; }
  .w6-eco { min-height: 470px; }
  .w6-orb { top: auto; bottom: 92px; right: 50%; width: 190px; transform: translateX(50%); }
  .w6-pill { height: 34px; font-size: .75rem; }
  .w6-pill--l { left: -34%; } .w6-pill--r { right: -40%; }
}

/* S07 · nuestra forma de trabajar */
.w7-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; }
.w7-sign { margin: 0; max-width: 22em; font-size: .9375rem; line-height: 1.5; color: var(--d-mute); }
.w7-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; min-height: clamp(440px, 40vw, 580px); }
.w7-copy { display: grid; }
.w7-s { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .8s var(--ease-out), visibility 0s .45s; }
.w7-s.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease-out) .12s, transform .9s var(--ease-out) .12s; }
.w7-h { margin: 0 0 22px; max-width: 11.5em; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 1.15rem + 2.6vw, 3.75rem); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.w7-p { margin: 0; max-width: 29em; font-size: clamp(1rem, .94rem + .25vw, 1.1875rem); line-height: 1.55; color: var(--d-text); }
.w7-vis { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 1; }
.w7-vis canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; transition: opacity 1s var(--ease-out); }
.w7-vis.is-gl canvas { opacity: 1; }
.w7-fb { position: absolute; inset: 22%; display: grid; place-items: center; color: #7C9BFF; opacity: .9; }
.w7-fb .ico { width: 100%; height: 100%; }
.w7-vis.is-gl .w7-fb { display: none; }
.w7-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: clamp(16px, 2vw, 32px); }
.w7-t { position: relative; display: grid; align-content: start; justify-items: start; gap: 12px; padding: 22px 0 6px; border: 0; background: none; text-align: left; color: #6E727C; cursor: pointer; font-family: var(--f-display); font-size: .875rem; font-weight: 500; line-height: 1.35; transition: color .4s var(--ease-out); }
.w7-t:hover { color: #B4B8C1; }
.w7-t[aria-selected="true"] { color: #fff; }
.w7-t:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 899px) {
  .w7-stage { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; }
  .w7-vis { order: -1; width: min(72%, 300px); }
  .w7-nav { display: flex; gap: 22px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .w7-nav::-webkit-scrollbar { display: none; }
  .w7-t { flex: none; width: 138px; }
}

@media (prefers-reduced-motion: reduce) {
  .w4-head, .w4-pt, .w5-panel, .w5-q blockquote p, .w7-s, .w6-needle, .w6-curve__l, .w5-fr, .w5-g__a, .w5-g__d { transition: none; }
  .w5-panel.is-on .w5-g__l { animation: none; stroke-dashoffset: 0; }
  .w6-ring .w6-ring__run, .w6-track, .w6-grid.is-in .w6-mx i { animation: none; }
  .w6-track { flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ── S08 · Creative Engine (referencia: «Bold Ideas, Brought to Life» de Lusion)
   Cambio de registro: claro y frío. Sin JS o con movimiento reducido, el
   texto y debajo la galería. Con .is-live (js/home-ce.js) el escenario se
   queda fijo encima del texto y el JS mueve la tarjeta, la línea y las capas. */
.w8 {
  --w8-bg: #FFFFFF; --w8-ink: #0D0D0D; --w8-mute: #5E5E5E; --w8-card: #0D0D0D;
  position: relative; display: flex; flex-direction: column;
  background: var(--w8-bg); color: var(--w8-ink);
}
.w8-in { position: relative; z-index: 1; padding-block: clamp(96px, 15svh, 184px) clamp(56px, 7vw, 112px); }
.w8-eye {
  display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(20px, 2.4vw, 36px);
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--w8-ink);
}
.w8-eye i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-blue); }
.w8-h {
  margin: 0; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.75rem, 8.1vw, 9.5rem); line-height: .94;
  /* -.045em juntaba la r y la t de «convierten» (auditoría 27/11, 4.4) */
  letter-spacing: -.03em; font-kerning: normal;
}
.w8-h span { display: block; }
.w8-l1 { padding-left: 21%; }
.w8-row {
  display: grid; grid-template-columns: 47fr 53fr; gap: clamp(24px, 6vw, 96px);
  margin-top: clamp(40px, 5.6vw, 88px); align-items: start;
}
.w8-slot { aspect-ratio: 16 / 9; margin-top: clamp(72px, 9vw, 136px); }
.w8-copy { max-width: 37em; }
.w8-p { margin: 0 0 clamp(24px, 2.6vw, 40px); font-size: clamp(1.0625rem, .82rem + .55vw, 1.5rem); line-height: 1.42; letter-spacing: -.01em; color: var(--w8-ink); }

/* el escenario: en estático, la galería debajo del texto */
.w8-stage { order: 1; position: relative; padding: 0 var(--gutter) clamp(88px, 10vw, 160px); }
.w8-back, .w8-line, .w8-frame, .w8-slot { display: none; }
.w8-card { position: relative; max-width: 1296px; margin-inline: auto; border-radius: 14px; overflow: hidden; background: var(--w8-card); isolation: isolate; }
.w8-main { display: none; position: absolute; inset: 0; overflow: hidden; isolation: isolate; transform-origin: 50% 50%; }
.w8-mv { position: absolute; inset: 0; background: #111; filter: grayscale(var(--g, 0)) contrast(calc(1 + var(--g, 0) * .12)); }
.w8-tint { position: absolute; inset: 0; pointer-events: none; opacity: var(--g, 0); background: var(--c-blue); mix-blend-mode: lighten; }
.w8-reels { display: flex; justify-content: center; gap: clamp(10px, 5vw, 96px); margin: 0; padding: clamp(28px, 6vw, 88px) clamp(12px, 3vw, 48px); list-style: none; }
.w8-reel { width: clamp(92px, 20vw, 272px); }
.w8-rv { aspect-ratio: 9 / 16; border-radius: 8px; background: #1A1A1A; }
.w8-rl {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 14px 0 0;
  font-size: .75rem; line-height: 1.3; letter-spacing: .02em; color: #fff; opacity: var(--s3, 1);
}
.w8-rl span { color: var(--c-blue-l); font-feature-settings: "tnum" 1; }
.w8-rl em { font-style: normal; color: rgba(255, 255, 255, .6); }
.w8-cap {
  display: flex; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap;
  max-width: 1296px; margin: 18px auto 0;
  font-size: .6875rem; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; color: var(--w8-mute);
}
.w8-cap span:first-child { color: var(--w8-ink); }
.w8-cap span:last-child { max-width: 46em; text-transform: none; letter-spacing: .01em; font-size: .75rem; }

/* en vivo: el escenario fijo por encima del texto, sin capturar el ratón */
/* the blue line has a fixed layer of its own UNDER the text (z 0 < 1), so it
   never crosses the headline; the card stays on top (z 2). Both layers are
   sticky and 100svh, stacked with a negative margin like the text. */
.w8.is-live .w8-back {
  display: block; position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh;
  overflow: hidden; pointer-events: none;
}
.w8.is-live .w8-stage {
  order: 0; position: sticky; top: 0; z-index: 2; height: 100vh; height: 100svh; margin-top: -100vh; margin-top: -100svh;
  padding: 0; overflow: hidden; pointer-events: none;
}
.w8.is-live .w8-slot { display: block; }
/* the text slides under the stage from the top of the section; the stage keeps
   its own box, so it lets go exactly where the section ends */
.w8.is-live .w8-in { margin-top: -100vh; margin-top: -100svh; }
.w8.is-live .w8-line { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.w8-line path { fill: none; stroke: url(#w8-g); stroke-linecap: round; stroke-linejoin: round; }
.w8.is-live .w8-card { position: absolute; left: 0; top: 0; max-width: none; margin: 0; will-change: transform; transform-origin: 50% 50%; }
.w8.is-live .w8-main { display: block; }
.w8.is-live .w8-reels { position: absolute; inset: 0; padding: 0; }
.w8.is-live .w8-reel {
  position: absolute; left: 50%; top: 50%; width: var(--rw, 240px);
  margin: calc(var(--rh, 426px) / -2 - 16px) 0 0 calc(var(--rw, 240px) / -2); opacity: 0; will-change: transform, opacity;
}
.w8.is-live .w8-frame { display: block; position: absolute; opacity: 0; }
.w8-frame i {
  position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  background: linear-gradient(var(--w8-ink), var(--w8-ink)) center / 11px 1px no-repeat, linear-gradient(var(--w8-ink), var(--w8-ink)) center / 1px 11px no-repeat;
}
.w8-frame i:nth-child(-n+5) { top: -18px; }
.w8-frame i:nth-child(n+6) { top: calc(100% + 18px); }
.w8-frame i:nth-child(5n+1) { left: 0; }
.w8-frame i:nth-child(5n+2) { left: 25%; }
.w8-frame i:nth-child(5n+3) { left: 50%; }
.w8-frame i:nth-child(5n+4) { left: 75%; }
.w8-frame i:nth-child(5n) { left: 100%; }
.w8.is-live .w8-cap { position: absolute; left: 0; top: 0; margin: 0; max-width: none; opacity: 0; }

@media (max-width: 899px) {
  .w8-l1 { padding-left: 12%; }
  .w8-row { grid-template-columns: 1fr; gap: 0; }
  .w8-copy { order: -1; }
  .w8-slot { margin-top: 48px; }
  .w8-frame i:nth-child(5n+2), .w8-frame i:nth-child(5n+4) { display: none; }
  .w8-frame i:nth-child(-n+5) { top: -14px; }
  .w8-frame i:nth-child(n+6) { top: calc(100% + 14px); }
  .w8-rl { font-size: .625rem; margin-top: 8px; }
  .w8-rl em { display: none; }
  .w8-cap span:last-child { font-size: .6875rem; }
}
@media (min-width: 900px) { .w8:not(.is-live) .w8-copy { grid-column: 2; } }
@media (prefers-reduced-motion: reduce) { .w8 .w8-reel, .w8 .w8-card { transition: none; } }

/* ── S09 · Trabajo seleccionado (referencia: «Featured Work» de Lusion) ──── */
.w9 { --w9-ink: #0D0D0D; --w9-mute: #5E5E5E; background: #fff; color: var(--w9-ink); padding-block: clamp(72px, 8vw, 128px) clamp(96px, 10vw, 160px); }
.w9-head { display: grid; gap: 20px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
@media (min-width: 900px) { .w9-head { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); } }
.w9-h { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.75rem, 7.2vw, 8.25rem); line-height: .95; letter-spacing: -.045em; }
.w9-lead { margin: 0; font-size: .8125rem; line-height: 1.45; letter-spacing: .03em; text-transform: uppercase; color: var(--w9-ink); }
.w9-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(48px, 5vw, 80px) clamp(12px, 1.4vw, 24px); margin: 0; padding: 0; }
.w9-it--h { grid-column: span 2; }
.w9-a { display: flex; flex-direction: column; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.w9-a:focus-visible { outline: none; }
.w9-a:focus-visible .w9-m { outline: 2px solid var(--c-blue); outline-offset: 4px; }
.w9-m { position: relative; display: block; overflow: hidden; border-radius: 10px; background: #111; isolation: isolate; }
.w9-m--v { aspect-ratio: 9 / 16; }
.w9-m--h { aspect-ratio: 16 / 9; }
.w9-m .media { position: absolute; inset: 0; background: #111; transition: transform 1.1s var(--ease); }
.w9-go {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; color: #0D0D0D;
  font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease-soft), transform .5s var(--ease);
}
.w9-go i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); }
.w9-meta { margin-top: 16px; font-size: .6875rem; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; color: var(--w9-mute); }
.w9-meta b { font-weight: 500; color: var(--c-blue); }
.w9-t { margin-top: 6px; font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + .6vw, 1.625rem); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.w9-d { margin-top: 6px; max-width: 34em; font-size: .875rem; line-height: 1.45; color: var(--w9-mute); }
@media (hover: hover) {
  .w9-a:hover .w9-m .media { transform: scale(1.04); }
  .w9-a:hover .w9-go { opacity: 1; transform: none; }
}
.w9-a:focus-visible .w9-go { opacity: 1; transform: none; }
.js .w9-it[data-rv] { transform: translate3d(0, 40px, 0); transition-duration: 1s; }
.js .w9-it[data-rv] .w9-m .media { transform: scale(1.08); }
.js .w9-it[data-rv].is-in { transform: none; }
.js .w9-it[data-rv].is-in .w9-m .media { transform: none; }
.w9-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(56px, 6vw, 96px); padding-top: 24px; border-top: 1px solid rgba(13, 13, 13, .12); }
.w9-note { margin: 0; max-width: 46em; font-size: .75rem; line-height: 1.5; color: var(--w9-mute); }
.w9-note b { font-weight: 500; color: var(--w9-ink); }
@media (max-width: 899px) {
  .w9-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .w9-d { display: none; }
  .w9-go { display: none; }
}

/* ── S11 · CTA final y S12 · pie: un mismo negro grisáceo, sin corte ─────── */
.w11, .ft-g { --d-bg: #141417; --d-line: rgba(255, 255, 255, .09); --d-mute: #8A8E98; --d-text: #C5C8D0; background: var(--d-bg); color: #fff; }
.w11 { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(120px, 14vw, 208px) clamp(96px, 10vw, 152px); text-align: center; }
.w11::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(48% 46% at 50% 46%, rgba(45, 91, 255, .13), rgba(45, 91, 255, .04) 55%, transparent 75%); }
.w11-bg { position: absolute; left: 50%; top: 50%; z-index: -1; width: min(1180px, 140vw); aspect-ratio: 1; transform: translate(-50%, -47%); pointer-events: none; }
.js .w11-bg[data-rv] { transform: translate(-50%, -47%); opacity: 1; transition: none; }
.w11-bg svg { display: block; width: 100%; height: 100%; overflow: visible; }
.w11-s path { fill: none; stroke: #4E6BFF; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.w11-s--1 path { stroke-opacity: .34; }
.w11-s--2 path { stroke-opacity: .2; }
.w11-s--3 path { stroke-opacity: .11; }
.js .w11-bg .w11-s path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.65, 0, .35, 1); }
.js .w11-bg.is-in .w11-s path { stroke-dashoffset: 0; }
.js .w11-bg.is-in .w11-s--2 path { transition-delay: .25s; }
.js .w11-bg.is-in .w11-s--3 path { transition-delay: .5s; }
.w11-in { display: flex; flex-direction: column; align-items: center; }
.w11-eye { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--d-text); }
.w11-eye i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); box-shadow: 0 0 0 4px rgba(45, 91, 255, .18); }
.w11-h { max-width: 15em; margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.w11-p { max-width: 36em; margin: 24px 0 0; font-size: clamp(.9375rem, .88rem + .2vw, 1.0625rem); line-height: 1.55; color: var(--d-mute); text-wrap: pretty; }
.pg-home main .w11 .w11-bt { --pill-bg: var(--c-blue); --pill-line: var(--c-blue); --pill-fg: #fff; --pill-bg-h: #fff; --pill-line-h: #fff; --pill-fg-h: #0D0D0D; height: 54px; padding: 0 32px; font-size: 1rem; }
.w11-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; }
.w11-micro { margin: 0; font-size: .8125rem; color: var(--d-mute); }
.w11-trust { margin-top: clamp(64px, 7vw, 104px); }
.w11-k { margin: 0 0 22px; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--d-mute); }
.w11-logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px clamp(28px, 4vw, 56px); margin: 0; padding: 0; }
.w11-logos img { display: block; width: auto; height: 24px; max-width: 132px; object-fit: contain; filter: brightness(0) invert(1); opacity: .72; transition: opacity .3s var(--ease-soft); }
.w11-logos li:hover img { opacity: 1; }

.ft-g { padding-bottom: 28px; }
.ft-g > .h-wrap { border-top: 1px solid var(--d-line); }
.ft-g__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; border-bottom: 1px solid var(--d-line); }
.ft-g__logo { color: #fff; }
.ft-g__logo .logo { width: 104px; }
.ft-g__mail { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: #fff; text-decoration: none; }
.ft-g__mail i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); box-shadow: 0 0 0 4px rgba(45, 91, 255, .18); }
.ft-g__mail span { color: var(--d-mute); }
.ft-g__mail:hover { color: var(--c-blue-l); }
.ft-g__main { display: grid; border-bottom: 1px solid var(--d-line); }
.ft-g__id { padding-block: 32px 40px; }
.ft-g__say { max-width: 13em; margin: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + .8vw, 1.875rem); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.ft-g__d { max-width: 26em; margin: 16px 0 28px; font-size: .875rem; line-height: 1.55; color: var(--d-mute); }
.ft-g__right { display: flex; flex-direction: column; justify-content: space-between; }
.ft-g__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-block: 32px; }
.ft-g__h { margin: 0 0 16px; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--d-mute); }
.ft-g__cols ul, .ft-g__bar ul { list-style: none; margin: 0; padding: 0; }
.ft-g__cols li + li { margin-top: 10px; }
.ft-g__cols a { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; line-height: 1.4; color: #fff; text-decoration: none; transition: color .2s var(--ease-soft); }
.ft-g__cols a:hover, .ft-g__bar a:hover { color: var(--c-blue-l); }
.ft-g__soc svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ft-g__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 20px 4px; font-size: .75rem; color: var(--d-mute); }
.ft-g__bar ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ft-g__bar a { color: var(--d-mute); text-decoration: none; transition: color .2s var(--ease-soft); }
.ft-g__bar p { margin: 0; }
@media (min-width: 640px) { .ft-g__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .ft-g__main { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .ft-g__id { padding: 40px 48px 48px 0; border-right: 1px solid var(--d-line); }
  .ft-g__right { padding-left: 48px; }
  .ft-g__cols { grid-template-columns: repeat(5, minmax(0, auto)); justify-content: space-between; gap: 32px 40px; padding-block: 40px 56px; }
  .ft-g__bar { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .w11-bg .w11-s path { transition: none; stroke-dashoffset: 0; }
  .w9-m .media, .w9-go { transition: none; }
  .js .w9-it[data-rv] .w9-m .media { transform: none; }
}
/* logos with their own padding or a square shape read smaller: evened out by eye */
.w11-logos li:nth-child(2) img { height: 42px; }
.w11-logos li:nth-child(3) img { height: 30px; max-width: 150px; }
.w11-logos li:nth-child(4) img { height: 36px; }
