/* =====================================================================
   Soluciones / lineas de negocio: hub de practicas (template 11.2). Prefix: so-
   Ported from the inline <style> block of the delivered lineas-de-negocio.html
   lines 22-328 (T6, reviewed-pages-batch-3). Faithful port: nothing is
   retyped, and only colour is tokenized -
     #fff -> var(--ms-on-dark) (11x; the token's value is #ffffff).
   3 literal-carrying rule(s) stay, each declared at its own rule with
   a token-exempt comment stating why no token equals the value.
   Zero selector deviations: every selector is the delivery's own.
   Loads on this page only, AFTER components.css, page.css - the exact set the
   delivered file links. It links no marble-templates.css, and it cannot get
   templates.css here either: marble_enqueue_styles() returns after the
   template branch, so the template sheet and an own sheet are mutually
   exclusive. The page key comes from the so- prefix, which is on this page and on no other of the 119.
   The .pg-* vocabulary in this block (the .pg-hero focus pair, .pg-explora /
   .pg-exl, the .pg-close overrides) is written per page by the delivery and
   is kept per sheet rather than hoisted: page.css is a declaration-for-
   declaration port of the delivered marble-page.css, and hoisting authored
   rules into it would break that comparison and ship dead rules to the 113
   pages that have none of this markup.
   ===================================================================== */
/* =====================================================================
   Soluciones — hub de prácticas (template 11.2, docs/design-system.md)
   House territory (vinotinto). Page chrome comes from marble-page.css;
   only the sections below are specific to this page. Each comparison
   item carries its own practice color via data-practice on the item,
   never on the section or the body.
   ===================================================================== */
.pg-hero { --pg-focus: 50% 40%; --pg-focus-m: 60% 50%; }
.pg-logo--house svg { filter: none; }

.ms-header__side .ms-lede { text-wrap: pretty; }

/* ---------- Hero: slow reframing drift (Home hero language) ---------- */
.pg-hero__media img { transform-origin: 50% 50%; animation: so-reframe 32s ease-in-out 2.4s infinite alternate both; filter: grayscale(1) contrast(1.04) brightness(calc(0.74 - var(--pg-p) * 0.3)); }
@keyframes so-reframe {
	0%   { transform: scale(1.04) translate(0, 0); }
	35%  { transform: scale(1.09) translate(-1.6%, 1.2%); }
	70%  { transform: scale(1.06) translate(1.4%, -0.8%); }
	100% { transform: scale(1.08) translate(-0.6%, -1.4%); }
}

/* ---------- S.01 Cuatro retos: expanding slit gallery, one practice per slit ----------
   Each slit carries its own practice colour (data-practice on the li). One slit is
   open at a time; it opens on hover, focus or tap and advances on its own while the
   section is on screen and nobody is interacting. */
.so-challenge .ms-header__side .ms-lede { max-width: 42ch; }
.so-slits {
	--so-dwell: 7s;
	display: flex; gap: clamp(0.5rem, 0.9vw, 0.875rem);
	height: clamp(26rem, 58svh, 38rem);
	margin: 0; padding: 0; list-style: none;
}
.so-slit {
	position: relative; isolation: isolate; overflow: hidden;
	flex: 1 1 0; min-width: 4.75rem;
	border-radius: var(--ms-radius-lg);
	background: var(--ms-brand-deep);
	transition: flex-grow 0.9s var(--ms-ease);
}
.so-slit.is-active { flex-grow: 7; }
.so-slit__link { position: absolute; inset: 0; display: block; color: var(--ms-on-dark); text-decoration: none; border-radius: inherit; }
.so-slit__link:focus-visible { outline: 2px solid var(--ms-brand); outline-offset: 4px; }
.so-slit__media { position: absolute; inset: 0; z-index: -3; }
.so-slit__media img {
	display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--so-focus, 50% 50%);
	filter: grayscale(1) contrast(0.92) brightness(0.9);
	transform: scale(1.14); transition: transform 1.6s var(--ms-ease);
}
.so-slit.is-active .so-slit__media { animation: so-drift 20s ease-in-out 1s infinite alternate; }
.so-slit.is-active .so-slit__media img { transform: scale(1.03); }
@keyframes so-drift { from { transform: scale(1) translateX(0); } to { transform: scale(1.06) translateX(-1.5%); } }
/* collapsed: practice-tinted veil; open: veil lifts, a bottom scrim keeps the copy legible */
.so-slit__veil { position: absolute; inset: 0; z-index: -2; background: color-mix(in srgb, var(--ms-brand-deep) 62%, transparent); transition: opacity 0.9s ease; }
.so-slit.is-active .so-slit__veil { opacity: 0; }
.so-slit__link::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--ms-brand-deep) 55%, transparent) 62%, color-mix(in srgb, var(--ms-brand-deep) 94%, transparent) 100%);
}
/* collapsed tab: vertical name + practice disc, like the reference's icon chips */
.so-slit__tab {
	position: absolute; inset-inline: 0; bottom: clamp(1rem, 1.6vw, 1.5rem);
	display: flex; flex-direction: column-reverse; align-items: center; gap: 1rem;
	transition: opacity 0.45s ease 0.3s;
}
.so-slit.is-active .so-slit__tab { opacity: 0; transition-delay: 0s; }
.so-slit__label { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label-sm); letter-spacing: var(--ms-tracking-label); text-transform: uppercase; color: var(--ms-on-dark); white-space: nowrap; }
.so-slit__disc { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ms-on-dark); }
.so-slit__disc::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ms-brand); }
/* open body: fixed width so the copy never reflows while the slit grows */
.so-slit__body {
	position: absolute; left: clamp(1.5rem, 3vw, 2.75rem); bottom: clamp(1.5rem, 3vw, 2.75rem);
	width: min(34rem, 60vw); display: grid; gap: 1rem;
	opacity: 0; transform: translateY(1rem);
	transition: opacity 0.35s ease, transform 0.5s var(--ms-ease);
}
.so-slit.is-active .so-slit__body { opacity: 1; transform: none; transition: opacity 0.6s ease 0.4s, transform 0.9s var(--ms-ease) 0.4s; }
.so-slit__name { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label-sm); letter-spacing: var(--ms-tracking-label); text-transform: uppercase; color: var(--ms-on-dark); }
.so-slit__name::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ms-brand-on-dark); }
.so-slit__q { font-family: var(--ms-font-display); font-weight: 300; font-size: clamp(1.9rem, 1.2rem + 1.7vw, 3rem); line-height: 1.04; letter-spacing: -0.01em; color: var(--ms-on-dark); text-wrap: balance; }
.so-slit__q strong { font-weight: 600; }
.so-slit__d { max-width: 40ch; font-size: var(--ms-body-sm); line-height: 1.6; color: var(--ms-on-dark-soft); }
.so-slit__go {
	position: absolute; right: clamp(1.25rem, 2.5vw, 2.25rem); bottom: clamp(1.5rem, 3vw, 2.75rem);
	width: var(--ms-circle); height: var(--ms-circle); background: var(--ms-on-dark); border-color: var(--ms-on-dark); color: var(--ms-ink);
	opacity: 0; transform: scale(0.8); transition: opacity 0.35s ease, transform 0.5s var(--ms-ease), background-color 0.3s ease, color 0.3s ease;
}
.so-slit.is-active .so-slit__go { opacity: 1; transform: none; transition-delay: 0.5s, 0.5s, 0s, 0s; }
.so-slit__link:is(:hover, :focus-visible) .so-slit__go { background: var(--ms-brand); border-color: var(--ms-brand); color: var(--ms-on-dark); }
.so-slit__link:is(:hover, :focus-visible) .so-slit__go svg { transform: translateX(3px); }
/* dwell timer along the bottom edge of the open slit */
.so-slit__timer { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--ms-brand-on-dark); transform: scaleX(0); transform-origin: left center; }
.so-slit.is-timing .so-slit__timer { animation: so-timer var(--so-dwell) linear forwards; }
@keyframes so-timer { to { transform: scaleX(1); } }
@media (max-width: 48rem) {
	.so-slits { flex-direction: column; height: auto; }
	.so-slit { flex: none; height: 4.75rem; min-width: 0; transition: height 0.8s var(--ms-ease); }
	.so-slit.is-active { height: 27rem; }
	.so-slit__tab { inset: 0 auto 0 1rem; bottom: auto; flex-direction: row; gap: 0.85rem; }
	.so-slit__label { writing-mode: horizontal-tb; transform: none; }
	.so-slit__body { left: 1.25rem; right: 1.25rem; bottom: 5.5rem; width: auto; }
	.so-slit__go { left: 1.25rem; right: auto; bottom: 1.25rem; }
}

/* ---------- S.02 Mapeo y evaluación: three fronts as bento cards (Qué hacemos card language) ---------- */
.so-practices { padding-block-end: clamp(3.5rem, 6vw, 5rem); background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--mb-vino-01) 85%, transparent) 9%, color-mix(in srgb, var(--mb-vino-01) 85%, transparent) 91%, transparent 100%); }
.so-fronts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1rem; row-gap: 0; margin: 0; padding: 0; list-style: none; }
/* subgrid keeps title, statement, facts and CTA on the same lines across the three cards */
@supports (grid-template-rows: subgrid) {
	.so-front { display: grid !important; grid-row: span 5; grid-template-rows: subgrid; row-gap: 1.25rem; align-content: start; }
	.so-front__foot { align-self: end; }
}
/* token-exempt: #fcfcfc is the practice front card’s own near-white plate, a step lighter than the ivory ground it sits on, and no token in tokens.css carries that value: --mb-white (--ms-surface) is #ffffff and --mb-bone (--ms-ground) is #f6f6f6, so substituting either would change the rendered plate. The delivered declaration is kept byte for byte; whether this earns a token is a token-layer decision (Sebastian and Mari), reported in odd/tasks/reviewed-pages-batch-3.md. */
.so-front {
	--practice: var(--ms-brand); --pad: clamp(1.5rem, 2.2vw, 2rem);
	--photo: grayscale(1) contrast(0.9) brightness(1.06);
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; gap: 1.25rem;
	padding: var(--pad); border-radius: var(--ms-radius-lg);
	background: #fcfcfc; color: var(--ms-ink);
	box-shadow: 0 0 0 1px rgb(51 51 51 / 0.05), 0 1px 2px rgb(51 51 51 / 0.04), 0 1.25rem 2.5rem -1.75rem rgb(51 51 51 / 0.28);
	transition: translate 0.6s var(--ms-ease), box-shadow 0.6s var(--ms-ease);
}
.so-front:is(:hover, :focus-within) { translate: 0 -4px; box-shadow: 0 0 0 1px rgb(51 51 51 / 0.05), 0 1px 2px rgb(51 51 51 / 0.04), 0 2rem 3rem -1.75rem rgb(51 51 51 / 0.4); }
/* photo bleeds from the top edge and fades into the card (Qué hacemos bento photo language) */
.so-front__head { display: grid; gap: 1.1rem; }
.so-front__photo { margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0; aspect-ratio: 16 / 10; overflow: hidden; }
/* token-exempt: #000 here is a mask-image/-webkit-mask gradient stop, not a rendered colour. mask-image's default mask-mode is alpha (not luminance) for a CSS gradient source, so only the stop's opacity is used and the RGB channel is discarded. No token in tokens.css carries pure #000000 (the nearest, --mb-ink-deep, is #141112 and would not be an exact match), so the literal is left as-is rather than approximated. */
.so-front__photo img {
	display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--f, 50% 50%); filter: var(--photo);
	-webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
	transition: transform 1.4s var(--ms-ease);
}
.so-front:is(:hover, :focus-within) .so-front__photo img { transform: scale(1.04); }
/* the practice is an annotation, not a badge */
.so-front__k { margin: 0; display: flex; align-items: center; gap: 0.75rem; font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label-sm); letter-spacing: var(--ms-tracking-label); text-transform: uppercase; color: var(--practice); }
.so-front__k i { width: 1.75rem; height: 1px; background: var(--practice); transform-origin: left center; transition: transform 0.7s var(--ms-ease); }
.so-front__title { margin: 0; font-family: var(--ms-font-display); font-weight: 300; font-size: clamp(1.9rem, 1.3rem + 1.3vw, 2.6rem); line-height: 0.98; letter-spacing: -0.01em; color: var(--ms-ink); text-wrap: balance; }
.so-front__title strong { font-weight: 600; }
.so-front__say { margin: 0; font-family: var(--ms-font-display); font-weight: 600; font-size: clamp(1.1rem, 0.95rem + 0.35vw, 1.3rem); line-height: 1.2; color: var(--ms-ink); text-wrap: pretty; }
.so-front__say span { font-weight: 400; color: var(--ms-ink-soft); transition: color 0.5s ease; }
.so-front:is(:hover, :focus-within) .so-front__say span { color: var(--practice); }
.so-front__facts { display: grid; gap: 1.1rem; margin: 0; padding-block-start: 1.25rem; border-block-start: 1px solid var(--ms-line); }
.so-front__facts dt { margin: 0 0 0.4rem; font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label-sm); letter-spacing: var(--ms-tracking-label); text-transform: uppercase; color: var(--ms-ink); }
.so-front__facts dd { margin: 0; font-size: var(--ms-body-sm); line-height: 1.6; color: var(--ms-ink-soft); }
.so-front__foot { margin-block-start: auto; padding-block-start: 0.5rem; display: flex; justify-content: flex-end; }
.so-front__go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.so-front__go .ms-cta__label { font-size: var(--ms-label-sm); }
.so-front:is(:hover, :focus-within) .ms-cta__circle { background: var(--practice); border-color: var(--practice); color: var(--ms-on-dark); }
.so-front:is(:hover, :focus-within) .ms-cta__circle svg { transform: translateX(3px); }
/* Shared foundation under the three fronts */
.so-base {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
	margin-block-start: 1rem; padding: 1.1rem clamp(1.5rem, 2.2vw, 2rem);
	border-radius: 999px; background: rgb(255 255 255 / 0.62);
	box-shadow: inset 0 0 0 1px rgb(51 51 51 / 0.06);
}
.so-base__k { margin: 0; font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label-sm); letter-spacing: var(--ms-tracking-label); text-transform: uppercase; color: var(--ms-ink-subtle); }
.so-base ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.so-base li { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--ms-font-display); font-weight: 600; font-size: 1.05rem; color: var(--ms-ink); }
.so-base li::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--ms-brand); }
/* Speakers note: open editorial coda, plum, outside the three fronts */
.so-coda { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) auto; align-items: end; gap: 1.5rem 3rem; margin-block-start: clamp(2.5rem, 4.5vw, 4rem); padding-inline-start: clamp(1.25rem, 2.5vw, 2rem); }
.so-coda::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--ms-brand), color-mix(in srgb, var(--ms-brand) 0%, transparent)); }
.so-coda::after { content: ""; position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ms-brand); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ms-brand) 14%, transparent); }
.so-coda__k { margin: 0 0 0.75rem; font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label-sm); letter-spacing: var(--ms-tracking-label); text-transform: uppercase; color: var(--ms-brand); }
.so-coda__t { margin: 0; max-width: 40ch; font-family: var(--ms-font-display); font-weight: 300; font-size: clamp(1.35rem, 1rem + 0.9vw, 1.75rem); line-height: 1.2; color: var(--ms-ink); text-wrap: pretty; }
.so-coda__t strong { font-weight: 600; }
@media (max-width: 64rem) {
	.so-fronts {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 26rem); column-gap: 0.75rem;
		overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin-inline: calc(-1 * var(--ms-gutter)); padding: 0.5rem var(--ms-gutter) 1.5rem; scroll-padding-inline: var(--ms-gutter);
	}
	.so-fronts::-webkit-scrollbar { display: none; }
	.so-front { display: flex !important; grid-row: auto; scroll-snap-align: start; }
	.so-front:is(:hover, :focus-within) { translate: none; }
	.so-base { border-radius: var(--ms-radius-lg); }
	.so-coda { grid-template-columns: 1fr; }
}

/* ---------- S.03 Cómo se combinan entre sí: editorial composition ----------
   Brand signatures only: a B&W architecture plate held in place while the reader moves
   through four sequences set in Barlow weight contrast; the route is an annotation with
   hairline arrows that draw in. One accent (house vinotinto); no cards, icons or badges. */
.so-combo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ms-grid-gap); align-items: start; }
.so-combo__plate {
	grid-column: 1 / span 5; position: sticky; top: 6.5rem; margin: 0;
	aspect-ratio: 4 / 5; max-height: calc(100svh - 9rem); overflow: hidden; isolation: isolate;
	border-radius: var(--ms-radius-lg); background: var(--ms-dark);
}
.so-combo__plate img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; filter: grayscale(1) contrast(1.05) brightness(0.92); transform: scale(1.06); transition: transform 2.4s var(--ms-ease); }
.so-combos.is-in .so-combo__plate img { transform: scale(1); }
.so-combo__plate::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(0deg, rgb(var(--pg-shade, 23 9 12) / 0.78) 0%, rgb(var(--pg-shade, 23 9 12) / 0) 42%),
		radial-gradient(70% 55% at 15% 100%, color-mix(in srgb, var(--ms-brand) 38%, transparent), transparent 70%);
}
.so-combo__note {
	position: absolute; z-index: 1; left: clamp(1.25rem, 2.2vw, 1.75rem); bottom: clamp(1.25rem, 2.2vw, 1.75rem);
	display: flex; align-items: center; gap: 0.75rem;
	font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label-sm); letter-spacing: var(--ms-tracking-label); text-transform: uppercase; color: var(--ms-on-dark);
}
.so-combo__note i { width: 2.5rem; height: 1px; background: linear-gradient(90deg, var(--ms-brand-on-dark), rgb(255 255 255 / 0.6)); }
.so-combo__list { grid-column: 7 / span 6; margin: 0; padding: 0; list-style: none; }
.so-cb { display: grid; gap: 0.9rem; padding-block: clamp(1.75rem, 3vw, 2.5rem); border-block-start: 1px solid var(--ms-line); }
.so-cb:first-child { padding-block-start: 0; border-block-start: 0; }
.so-cb__k { margin: 0; display: flex; align-items: center; gap: 0.75rem; font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label-sm); letter-spacing: var(--ms-tracking-label); text-transform: uppercase; color: var(--ms-brand); }
.so-cb__k i { width: 1.75rem; height: 1px; background: var(--ms-brand); transform-origin: left center; transition: transform 0.7s var(--ms-ease); }
.so-cb__say { margin: 0; font-family: var(--ms-font-display); font-weight: 300; font-size: clamp(2rem, 1.3rem + 1.7vw, 3rem); line-height: 1; letter-spacing: -0.012em; color: var(--ms-ink); text-wrap: balance; }
.so-cb__say strong { font-weight: 600; transition: color 0.5s ease; }
.so-cb__route { margin: 0.25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.85rem; font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label-sm); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ms-ink); }
.so-cb__muted { color: var(--ms-ink-subtle); }
.so-cb__arrow { position: relative; display: inline-block; width: clamp(2.5rem, 4vw, 3.75rem); height: 0.7rem; }
.so-cb__arrow i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ms-ink-subtle); transform-origin: left center; transition: transform 0.9s var(--ms-ease); }
.so-cb__arrow i::after { content: ""; position: absolute; right: 0; top: 50%; width: 0.4rem; height: 0.4rem; border-top: 1px solid var(--ms-ink-subtle); border-right: 1px solid var(--ms-ink-subtle); transform: translateY(-50%) rotate(45deg); }
.so-cb__text { margin: 0; max-width: 50ch; font-size: var(--ms-body-sm); line-height: 1.7; color: var(--ms-ink-soft); }
.so-cb__text strong { font-weight: 600; color: var(--ms-ink); }
.so-cb:hover .so-cb__say strong { color: var(--ms-brand); }
.so-combos__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ms-grid-gap); margin-block-start: clamp(1.5rem, 3vw, 2.5rem); }
.so-combos__foot .ms-cta { grid-column: 7 / -1; justify-self: start; }
@media (max-width: 64rem) {
	.so-combos__foot .ms-cta { grid-column: 1 / -1; }
	.so-combo__plate { grid-column: 1 / -1; position: relative; top: auto; aspect-ratio: 16 / 10; max-height: none; margin-block-end: clamp(2rem, 5vw, 3rem); }
	.so-combo__list { grid-column: 1 / -1; }
}

/* ---------- S.05 Contacto → footer: the photo fades into the house vinotinto (Home language) ----------
   The vinotinto fade is the top layer so the bottom edge reaches the exact footer colour;
   the grain stops before that edge so no darker band shows at the seam. */
.pg-close__scrim {
	background:
		linear-gradient(0deg, var(--ms-dark) 0%, var(--ms-dark) 6%, color-mix(in srgb, var(--ms-dark) 82%, transparent) 26%, color-mix(in srgb, var(--ms-dark) 0%, transparent) 58%),
		linear-gradient(90deg, rgb(var(--pg-shade) / 0.8) 0%, rgb(var(--pg-shade) / 0.55) 34%, rgb(var(--pg-shade) / 0) 58%),
		radial-gradient(50% 45% at 20% 38%, color-mix(in srgb, var(--ms-brand) 30%, transparent), transparent 70%);
}
/* token-exempt: #000 here is a mask-image/-webkit-mask gradient stop, not a rendered colour. mask-image's default mask-mode is alpha (not luminance) for a CSS gradient source, so only the stop's opacity is used and the RGB channel is discarded. No token in tokens.css carries pure #000000 (the nearest, --mb-ink-deep, is #141112 and would not be an exact match), so the literal is left as-is rather than approximated. */
.pg-close__grain { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 90%); mask-image: linear-gradient(180deg, #000 50%, transparent 90%); }
@media (max-width: 40rem) {
	.pg-close__scrim { background: linear-gradient(0deg, var(--ms-dark) 0%, color-mix(in srgb, var(--ms-dark) 88%, transparent) 32%, rgb(var(--pg-shade) / 0.72) 62%, rgb(var(--pg-shade) / 0.55) 100%); }
}

/* ---------- S.05 Contacto: one screen tall, the routes panel in the first view ---------- */
/* 2026-10-02: min-height instead of a fixed height, so on short laptop screens the frame grows and the routes panel is never clipped */
@media (min-width: 64.01rem) {
	.pg-close { height: auto; min-height: max(100svh, 42rem); }
	.pg-close__frame { position: relative; min-height: max(100svh, 42rem); }
	.pg-close__grid { min-height: max(100svh, 42rem); gap: clamp(2rem, 5vh, 3.5rem); padding-block-start: clamp(4.5rem, 10vh, 7rem); }
}

/* ---------- Motion (transform and opacity only; hidden states only while armed) ---------- */
.so-challenge.is-armed:not(.is-in) .so-slit__link { opacity: 0; transform: translateY(2rem); }
.so-challenge.is-in .so-slit__link { transition: opacity 0.8s ease, transform 1s var(--ms-ease); }
.so-challenge.is-in .so-slit:nth-child(2) .so-slit__link { transition-delay: 0.1s; }
.so-challenge.is-in .so-slit:nth-child(3) .so-slit__link { transition-delay: 0.2s; }
.so-challenge.is-in .so-slit:nth-child(4) .so-slit__link { transition-delay: 0.3s; }

.so-practices.is-armed:not(.is-in) .so-front { opacity: 0; transform: translateY(1.5rem); }
.so-practices.is-in .so-front { transition: opacity 0.8s ease, transform 1s var(--ms-ease), translate 0.6s var(--ms-ease), box-shadow 0.6s var(--ms-ease); }
.so-practices.is-in .so-fronts > :nth-child(2) { transition-delay: 0.1s, 0.1s, 0s, 0s; }
.so-practices.is-in .so-fronts > :nth-child(3) { transition-delay: 0.2s, 0.2s, 0s, 0s; }
.so-practices.is-settled .so-front { transition-delay: 0s; }

.so-combos.is-armed:not(.is-in) .so-combo__plate { opacity: 0; }
.so-combos.is-in .so-combo__plate { transition: opacity 1s ease; }
.so-combos.is-armed:not(.is-in) .so-cb { opacity: 0; transform: translateY(1.25rem); }
.so-combos.is-in .so-cb { transition: opacity 0.8s ease, transform 1s var(--ms-ease); }
.so-combos.is-in .so-cb:nth-child(2) { transition-delay: 0.12s; }
.so-combos.is-in .so-cb:nth-child(3) { transition-delay: 0.24s; }
.so-combos.is-in .so-cb:nth-child(4) { transition-delay: 0.36s; }
.so-combos.is-armed:not(.is-in) .so-cb__arrow i { transform: scaleX(0); }
.so-combos.is-in .so-cb__arrow i { transition-delay: 0.6s; }
.so-combos.is-in .so-cb:nth-child(2) .so-cb__arrow i { transition-delay: 0.72s; }
.so-combos.is-in .so-cb:nth-child(3) .so-cb__arrow i { transition-delay: 0.84s; }
.so-combos.is-in .so-cb:nth-child(4) .so-cb__arrow i { transition-delay: 0.96s; }
@media (prefers-reduced-motion: reduce) {
	.so-slit, .so-slit__link, .so-front, .so-cb, .so-cb__arrow i, .so-combo__plate, .so-combo__plate img { transition: none !important; }
	.pg-hero__media img, .so-slit.is-active .so-slit__media { animation: none; }
	.so-front__photo img { transition: none !important; }
	.so-slit__body, .so-slit__tab, .so-slit__go, .so-slit__veil, .so-slit__media img { transition-duration: 0.01s !important; transition-delay: 0s !important; }
}

/* ---------- Siga explorando: soft vino-01 band + index rows ---------- */
.pg-explora { background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--mb-vino-01) 85%, transparent) 9%, color-mix(in srgb, var(--mb-vino-01) 85%, transparent) 91%, transparent 100%); }
.pg-exl { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid rgb(51 51 51 / 0.14); }
.pg-exl li { border-block-end: 1px solid rgb(51 51 51 / 0.14); }
.pg-exl__row {
	position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; align-items: center; column-gap: 1.25rem;
	padding-block: clamp(1.35rem, 2.2vw, 1.85rem); color: var(--ms-ink); text-decoration: none; isolation: isolate;
}
.pg-exl__row::before { content: ""; position: absolute; inset: 0 -1rem; z-index: -1; border-radius: var(--ms-radius-sm); background: linear-gradient(90deg, color-mix(in srgb, var(--ms-brand) 7%, transparent), transparent 80%); opacity: 0; transition: opacity 0.5s var(--ms-ease); }
.pg-exl__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ms-brand); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ms-ease); }
.pg-exl__n { align-self: start; padding-block-start: 0.55rem; font-family: var(--ms-font-label); font-weight: 600; font-size: var(--ms-label); letter-spacing: 0.06em; color: var(--ms-ink-subtle); font-variant-numeric: tabular-nums; transition: color 0.4s ease; }
.pg-exl__body { display: grid; gap: 0.35rem; transition: translate 0.6s var(--ms-ease); }
.pg-exl__t { font-family: var(--ms-font-display); font-weight: 300; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.pg-exl__d { max-width: 52ch; font-size: var(--ms-body-sm); line-height: 1.5; color: var(--ms-ink-soft); }
.pg-exl__row:is(:hover, :focus-visible)::before { opacity: 1; }
.pg-exl__row:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.pg-exl__row:is(:hover, :focus-visible) .pg-exl__n { color: var(--ms-brand); }
.pg-exl__row:is(:hover, :focus-visible) .pg-exl__body { translate: 0.5rem 0; }
.pg-exl__row:is(:hover, :focus-visible) .pg-exl__t { font-weight: 500; }
.pg-exl__row:is(:hover, :focus-visible) .ms-cta__circle { background: var(--ms-brand); border-color: var(--ms-brand); color: var(--ms-on-dark); }
.pg-exl__row:is(:hover, :focus-visible) .ms-cta__circle svg { transform: translateX(3px); }
.pg-exl__row:focus-visible { outline: 2px solid var(--ms-brand); outline-offset: 4px; }
@media (max-width: 40rem) {
	.pg-exl__row { grid-template-columns: 2.25rem minmax(0, 1fr) auto; column-gap: 0.85rem; }
	.pg-exl__row::before { inset-inline: -0.5rem; }
}
