/**
 * Content
 */

body {
	background-color: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

.page a.active {
	opacity: 0.4;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bolder;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}

s {
	text-decoration: line-through;
}

img {
	border: 0;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 1em;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: rgba(127, 127, 127, 0.2);
	border: 0;
	height: 1px;
	display: block;
}

.content img {
	float: none;
	margin-bottom: .5em;
}

.gallery_image_caption {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
	line-height: 1.3;
	font-family: 'Neue Haas Grotesk', Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(41, 41, 41, 0.3);
}

/**
 * Loading Animation
 */

.loading[data-loading] {
	position: fixed;
	bottom: 8px; 
    left: 8px;
}

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 1.4rem;
	font-weight: normal;
	color: rgba(0, 0, 0, 1);
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Neue Regular", Icons;
	font-style: normal;
	line-height: 1;
    letter-spacing: 0.01em;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(0, 0, 0, 1);
	padding-bottom: 0.1em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.9);
	text-decoration: underline;
}

[data-predefined-style="true"] bodycopy a:hover {

}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Neue Regular", Icons;
	font-style: normal;
	font-weight: normal;
	padding: 0;
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.1;
	color: rgba(0, 0, 0, 0.9);
    letter-spacing: 0.01em;
	}

[data-predefined-style="true"] h1 a {
	color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgb(41, 41, 41);
}

[data-predefined-style="true"] h2 {
	font-family: "Neue Haas Grotesk", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.9);
	font-size: 1.4rem;
	line-height: 1;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgb(41, 41, 41);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.4rem;
	line-height: 1;
	font-family: "Neue Haas Grotesk", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.9);
}

[data-predefined-style="true"] small a {
	color: rgba(0, 0, 0, 0.9);
	border-bottom-width: 0em;
}

/**
 * Breakpoints
 */


[data-css-preset] .page {
    background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
	background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
	margin-left: auto /*!content_center*/;
	margin-right: auto /*!content_center*/;
	text-align: left /*!text_left*/;
}

[data-css-preset] body {
	background-color: rgb(255, 255, 255)/*!body_bgcolor*/;
}

[data-css-preset] .container_width {
	width: 100% /*!content_center*/;
}

[data-css-preset] .content_padding {
	padding-top: 3.5rem /*!main_margin*/;
	padding-bottom: 3.5rem /*!main_margin*/;
	padding-left: 3.5rem /*!main_margin*/;
	padding-right: 3.5rem /*!main_margin*/;
}


[data-css-preset] text-limit {
	display: inline-block /*!text_width*/;
	max-width: 66rem/*!text_width*/;
}

/**
 * Thumbnails
 */

div[thumbnails] {
	justify-content: flex-start;
}

[data-css-preset] .thumbnails {
   	background-color: transparent/*!thumbnails_bgcolor*/;   
}

[data-css-preset] .thumbnails_width {
    width: 96%/*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
    padding: 0.6rem/*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -1.2rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.6rem/*!responsive_thumbnails_padding*/; 
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1.2rem/*!responsive_thumbnails_padding*/; 
}

.thumbnails .thumb_image {
	outline: 0px solid rgba(0,0,0,.12);
    outline-offset: -1px;
    position: relative;
}

.thumbnails .title {
    margin-top: 1.2rem;
    margin-bottom: 0.1rem;
    font-size: 2.2rem;
	font-weight: normal;
	color: rgba(0, 0, 0, 0.9);
	font-family: 'Neue Haas Grotesk', Icons;
	font-style: normal;
	line-height: 1.3;
}


.thumbnails .tags {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
	line-height: 1.3;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.35);
	font-family: 'Neue Haas Grotesk', Icons;
	font-style: normal;
}

.thumbnails .tags a {
	border-bottom: 0;
    color: rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

.thumbnails .has_title .tags {
	margin-top: 1.2rem;
}

/**
 * Thumbnail Hover
 */

.thumbnails .thumbnail > a {
    overflow:hidden;
	position: relative;
}

.thumbnails .thumbnail .title {
	background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1.2rem 0.7rem 1.2rem;
    margin: 2.4rem;
    color: rgba(255, 255, 255, 1);
    align-content: center;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
    opacity: 0;
}

.thumbnails .title span {
	margin: auto;
	display: inline-block;
}

.thumbnails .thumbnail:hover .title {
    opacity: 1;
}

body.mobile .thumbnails .thumbnail:hover .title {
	opacity: 0;
}

/**
 * Site Menu
 */

[data-css-preset] #site_menu_button {
    color: rgba(0, 0, 0, 0.9);
    line-height: 1;
    font-size: 28px /*!site_menu_button*/;
    padding: 6px;
    line-height: 1;
    background: rgba(33, 32, 46, 0);
    position: fixed;
    top: .6rem /*!site_menu_button*/;
	right: .6rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
	margin: -6px;
    font-size: 34px;
}

#site_menu_button.custom_icon {
	width: 40px;
    height: auto;
}

#site_menu_button.active {
	display: none;
}

/**
 * Site Menu
 */

#site_menu {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	background: rgba(20, 20, 20, 0.95);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	padding: 20px 30px 90px 30px;
	max-width: 400px;
	min-width: 300px;
	text-align: left;
	display: flex;
	justify-content: flex-start;
}

body.mobile #site_menu {
	width: 100%;
}

#site_menu .page-link a {
	color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
	color: rgba(255, 255, 255, 0.75);
	font-weight: bold;
}

#site_menu a:active {
	opacity: .7;
}

#site_menu a.active {
	opacity: .4;
}

#site_menu .close {
	display: none;
	color: rgba(255, 255, 255, 0.4);
	line-height: .85em;
	font-size: 45px;
}

body.mobile #site_menu .close {
	display: block;
	font-size: 50px;
	line-height: 1em;
}

#site_menu .break {
	height: 28px;
}

#site_menu .indent {
	margin-left: 28px;
}

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: rgba(0, 0, 0, 0.85);
    background: transparent;
	font-size: 40px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	top: 1.2rem /*!shop_button*/;
	right: 1.2rem /*!shop_button*/;
}

#shop_button.text {
    font-family: "Neue Haas Grotesk", Icons;
	font-size: 2.2rem;
    padding: 0;
    line-height: 1.2;
	font-style: normal;
	font-weight: 400;
}

#shop_button.custom_icon {
	width: 40px;
    height: auto;
}

body.mobile #shop_button:not(.text) {
	margin: -6px;
    font-size: 46px;
}

/*
 * Shop Product Widget
 */

.shop_product {
    width: 100%;
	max-width: 22rem;
    position: relative;
    display: block;
}

.shop_product .price {
	font-family: "Neue Haas Grotesk", Icons;
	font-style: normal;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.9);
    display: block;
    margin-bottom: 1rem;
}

.shop_product .dropdown {
    font-family: "Neue Haas Grotesk", Icons;
    color: rgba(0, 0, 0, .9);
    font-size: 1.4rem;
    display: inline-block;
	width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background:  white url(https://static.cargo.site/assets/images/select-line-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: .8rem 2.5rem .8rem 1rem;
}

.shop_product .button {
    font-family: "Neue Haas Grotesk", Icons;
	font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.8);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1;
    padding: .8rem 1rem .9rem;
}

/*
 * Image Zoom
 */

.content img.image-zoom:active {
  opacity: .7;
}

/**
 * Quick View
 */

[data-css-preset] .quick-view {
    padding-top: 2.5rem /*!quick_view_padding*/;
    padding-bottom: 2.5rem /*!quick_view_padding*/;
    padding-left: 2.5rem /*!quick_view_padding*/;
    padding-right: 2.5rem /*!quick_view_padding*/;
    height: 100% /*!quick_view_height*/;
    width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}


[data-css-preset] .quick-view-background {
	background: rgba(0, 0, 0, 0.8) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: "Neue Haas Grotesk", Icons;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 3.5rem 0;
    text-align: center;
    font-size: 1.3rem;
    line-height: 3.5;
	font-style: normal;
	font-weight: 400;
    line-height: 1.3;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.5);
    color: white;
}


/**
 * Quick View Navigation 
 */

.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

.quick-view-navigation .close-button {  
    top: 10px;
    right: 10px;
    /* Change height/width together to scale */
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

/** 
 * Image Gallery Navigation Arrows 
 */
 
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

/**
 * Wallpaper Backdrop Navigation Arrows 
 */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
   /* Change height/width together to scale */
   width: 36px;
   height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
   stroke: #fff;
    stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}


/**
 * Feed
 */

.feed .content_container .page {
    border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
	border-top: 0;
}



/*
 * Audio Player
 */

.audio-player {
    max-width: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    font-size: 1.2rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

body.mobile .audio-player {
    max-width: 100%;
}

.audio-player .separator {
    width: 1px;
    background-color: rgba(0,0,0,0.15);
}

.audio-player .button {
    background: transparent;
    cursor: pointer;
    fill: rgba(0, 0, 0, 0.85);
}

.audio-player .icon {
    fill: rgba(0, 0, 0, 0.85);
    padding: 30%;
    width: 100%;
    margin: auto;
}

.audio-player .buffer {
    background: rgba(0,0,0,0.03);
}

.audio-player .progress {
    background: rgba(0,0,0,0.1);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(0, 0, 0, 0.7);
    width: 1px;
    height: 100%;
    right: 0;
    position: absolute;
    cursor: ew-resize;
}

.audio-player .note-icon {
    height: 100%;
    width: 3.8rem;
    padding: 1rem;
    fill: rgba(0, 0, 0, 0.5);
}

.audio-player .current-time {
    padding-left: 1rem;
}

.audio-player .total-time {
    padding-right: 1rem;
}

@media (min-width: 768px) {
  img {
    max-height: 100vh;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
}

/* ==========================================================
   ESTUDIO YME — Home interactiva
   Pegar en Cargo: Site Settings → CSS / HTML → CSS
   Todo está dentro de .yme, así no afecta al resto del sitio.
   ========================================================== */

.yme {
  --paper: #F2EFE8;
  --paper-2: #E8E4DA;
  --ink: #161614;
  --muted: #6E6A62;
  --line: rgba(22, 22, 20, .14);
  --accent: rgb(76, 153, 133);
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --gut: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* ocupa todo el ancho aunque Cargo agregue padding a la página */
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.yme *, .yme *::before, .yme *::after { box-sizing: border-box; }
.yme a { color: inherit; text-decoration: none; }
.yme img { display: block; max-width: 100%; }
.yme em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
/* reset de .yme (reglas :where) y min-height 100svh: van en un <style> en Custom HTML porque el validador de Cargo no los acepta */
.yme ::selection { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.yme-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gut);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .3s;
}
.yme.is-scrolled .yme-head { border-color: var(--line); }
.yme.is-hidden .yme-head { transform: translateY(-100%); }
.yme-logo { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 15px; white-space: nowrap; }
.yme-nav { display: flex; gap: clamp(14px, 2vw, 30px); font-size: 14px; }
.yme-nav a { position: relative; padding: 4px 0; color: var(--muted); transition: color .2s; }
.yme-nav a span { font-size: 10px; margin-right: 5px; vertical-align: top; opacity: .7; }
.yme-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.yme-nav a:hover, .yme-nav a.is-active { color: var(--ink); }
.yme-nav a:hover::after, .yme-nav a.is-active::after { transform: scaleX(1); }
.yme-head-r { display: flex; align-items: center; gap: 18px; }
.yme-clock { font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.yme-clock b { font-weight: 500; color: var(--ink); }
.yme-burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.yme-burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.yme-burger i:first-child { top: 16px; } .yme-burger i:last-child { top: 23px; }
.yme.menu-open .yme-burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.yme.menu-open .yme-burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Botones y links ---------- */
.yme-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper) !important; font-size: 15px; font-weight: 500;
  transition: background .25s, transform .25s var(--ease);
}
.yme-btn:hover { background: var(--accent); transform: translateY(-2px); }
.yme-btn-sm { padding: 9px 16px; font-size: 13px; }
.yme-link { position: relative; font-size: 15px; padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease); }
.yme-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Tipografía ---------- */
.yme-kicker, .yme-num { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.yme-h1 { font-size: clamp(46px, 7.2vw, 120px); line-height: .96; font-weight: 500; letter-spacing: -.035em; margin: 22px 0 clamp(28px, 3vw, 44px); }
.yme-h2 { font-size: clamp(34px, 4.8vw, 72px); line-height: 1; font-weight: 500; letter-spacing: -.03em; }
.yme-h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.02em; }
.yme-huge { font-size: clamp(56px, 11vw, 190px); line-height: .9; font-weight: 500; letter-spacing: -.045em; margin: 20px 0 clamp(28px, 3vw, 44px); }
.yme-lead { font-size: clamp(17px, 1.35vw, 20px); color: #3b3935; max-width: 34em; }
.yme-small { font-size: 13px; color: var(--muted); }

/* ---------- Hero ---------- */
.yme-hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: end;
  padding: 120px var(--gut) 72px;
}
.yme-line { display: block; overflow: hidden; padding-bottom: .06em; }
.yme-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.yme-line:nth-child(2) > span { transition-delay: .08s; }
.yme-line:nth-child(3) > span { transition-delay: .16s; }
.yme.is-ready .yme-line > span { transform: none; }
.yme-cta { display: flex; align-items: center; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.yme-hero-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease) .2s; }
.yme.is-ready .yme-hero-img { clip-path: inset(0 0 0 0); }
.yme-hero-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.yme-hero-img figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: #fff; mix-blend-mode: difference; }
.yme-scroll { position: absolute; left: var(--gut); bottom: 22px; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.yme-scroll span { width: 1px; height: 28px; background: var(--line); position: relative; overflow: hidden; }
.yme-scroll span::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: yme-drop 1.8s var(--ease) infinite; }
@keyframes yme-drop { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Marquesina ---------- */
.yme-marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.yme-marquee-track { display: flex; width: max-content; animation: yme-marq 38s linear infinite; }
.yme-marquee:hover .yme-marquee-track { animation-play-state: paused; }
.yme-marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -.01em; padding: 0 .9em; white-space: nowrap; }
.yme-marquee span::after { content: "✳"; font-size: .5em; margin-left: 1.8em; vertical-align: middle; color: var(--accent); font-style: normal; }
@keyframes yme-marq { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.yme-sec { padding: clamp(80px, 11vw, 160px) var(--gut); scroll-margin-top: 40px; }
.yme-sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.yme-sec-head .yme-num { grid-column: 1 / -1; }

/* ---------- Carrusel de obras ---------- */
.yme-car-ctrl { display: flex; align-items: center; gap: 10px; }
.yme-count { font-size: 14px; color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
.yme-count b { color: var(--ink); font-weight: 500; }
.yme-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: none; color: var(--ink); font-size: 18px; cursor: pointer; transition: background .2s, color .2s; }
.yme-arrow:hover { background: var(--ink); color: var(--paper); }
.yme-car {
  display: flex; gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut);
  cursor: grab;
}
.yme-car::-webkit-scrollbar { display: none; }
.yme-car.is-drag { cursor: grabbing; scroll-snap-type: none; }
.yme-car.is-drag a { pointer-events: none; }
.yme { --card-h: clamp(340px, 62vh, 640px); }
.yme-card { flex: 0 0 auto; scroll-snap-align: start; max-width: 88vw; }
.yme-card-img { height: var(--card-h); overflow: hidden; background: var(--paper-2); }
.yme-card-img img { height: 100%; width: auto; min-width: calc(var(--card-h) * .66); max-width: 88vw; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; user-select: none; }
.yme-card:hover .yme-card-img img { transform: scale(1.05); }
.yme-card-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding-top: 14px; }
.yme-card-meta span { font-size: 12px; color: var(--muted); padding-top: 6px; }
.yme-card-meta h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.015em; }
.yme-card-meta p { grid-column: 2; font-size: 13px; color: var(--muted); }
.yme-card-meta .yme-tag { color: var(--accent); }

/* ---------- Índice ---------- */
.yme-index { margin-top: clamp(72px, 9vw, 130px); }
.yme-index-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.yme-filters { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.yme-filters > div { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.yme-filters > div + div button { font-size: 12px; padding: 5px 12px; }
.yme-empty { padding: 28px 0; color: var(--muted); }
.yme-filters button { font: inherit; font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; transition: all .2s; }
.yme-filters button:hover { border-color: var(--ink); }
.yme-filters button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.yme-list li { border-bottom: 1px solid var(--line); transition: opacity .35s, max-height .5s var(--ease); max-height: 120px; overflow: hidden; }
.yme-list li.is-out { opacity: 0; max-height: 0; border-color: transparent; }
.yme-list a { display: grid; grid-template-columns: 40px 1.3fr 1fr 150px 80px; align-items: baseline; gap: 16px; padding: 20px 0; transition: padding .4s var(--ease), color .2s; }
.yme-list .n, .yme-list .c, .yme-list .l, .yme-list .s { font-size: 13px; color: var(--muted); }
.yme-list .s { text-align: right; }
.yme-list .t { font-size: clamp(20px, 2.1vw, 32px); letter-spacing: -.02em; }
.yme-list li[data-estado="en-curso"] .s { color: var(--accent); }
.yme-list:hover a[href] { color: var(--muted); }
.yme-list a[href]:hover { color: var(--ink); padding-left: 14px; }
.yme-list a:not([href]) { cursor: default; }
.yme-float {
  position: fixed; left: 0; top: 0; z-index: 40; width: clamp(150px, 14vw, 220px); aspect-ratio: 4 / 5;
  pointer-events: none; overflow: hidden; opacity: 0;
  transition: opacity .3s; background: var(--paper-2);
}
.yme-float.is-on { opacity: 1; }
.yme-float img { width: 100%; height: 100%; object-fit: cover; }
.yme-float-ph { display: none; position: absolute; inset: 0; padding: 14px; background: var(--accent); color: #fff; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.1; align-items: flex-end; }
.yme-float.is-ph img { display: none; }
.yme-float.is-ph .yme-float-ph { display: flex; }

/* ---------- Estudio ---------- */
.yme-estudio { background: var(--paper-2); }
.yme-statement { font-size: clamp(28px, 3.9vw, 60px); line-height: 1.08; letter-spacing: -.028em; max-width: 20em; }
.yme-team-img { margin-top: clamp(48px, 6vw, 90px); overflow: hidden; aspect-ratio: 1920 / 1326; background: var(--paper); }
.yme-team-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.yme-team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 96px); margin-top: clamp(36px, 4vw, 56px); }
.yme-both { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.3; letter-spacing: -.01em; max-width: 40em; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.yme-credits { margin-top: clamp(40px, 5vw, 72px); padding-top: 20px; border-top: 1px solid var(--line); }
.yme-person h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.02em; margin: 10px 0 14px; }
.yme-person p:not(.yme-num) { color: #3b3935; margin-bottom: 16px; max-width: 34em; }
.yme-facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 18px; }
.yme-facts dl div { background: var(--paper-2); padding: 16px; }
.yme-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.yme-facts dd { margin: 4px 0 0; font-size: 20px; letter-spacing: -.01em; }

/* ---------- Cómo trabajamos ---------- */
.yme-proceso { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.yme-proceso-l { position: sticky; top: 110px; }
.yme-proceso-l .yme-h2 { margin: 18px 0 24px; }
.yme-steps { position: relative; padding-left: 34px; }
.yme-steps-bar { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.yme-steps-bar b { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }
.yme-step { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: clamp(30px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); opacity: .32; transition: opacity .5s; }
.yme-step:first-child { padding-top: 0; }
.yme-step.is-in { opacity: 1; }
.yme-step-n { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--accent); }
.yme-step h3 small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 8px; white-space: nowrap; }
.yme-step h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.yme-step p { color: #3b3935; max-width: 30em; }

/* ---------- Servicios (acordeón) ---------- */
.yme-acc { border-top: 1px solid var(--ink); }
.yme-acc details { border-bottom: 1px solid var(--line); }
.yme-acc summary { list-style: none; display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 16px; padding: 26px 0; cursor: pointer; }
.yme-acc summary::-webkit-details-marker { display: none; }
.yme-acc summary .n { font-size: 12px; color: var(--muted); }
.yme-acc summary .t { font-size: clamp(24px, 3.2vw, 48px); letter-spacing: -.03em; line-height: 1.05; transition: transform .4s var(--ease); }
.yme-acc summary:hover .t { transform: translateX(10px); }
.yme-acc details[open] summary .t { color: var(--accent); }
.yme-acc summary .p { position: relative; width: 22px; height: 22px; justify-self: end; }
.yme-acc summary .p::before, .yme-acc summary .p::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.yme-acc summary .p::after { transform: rotate(90deg); }
.yme-acc details[open] summary .p::after { transform: rotate(0); }
.yme-acc-b { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px clamp(24px, 4vw, 64px); padding: 0 0 34px 106px; color: #3b3935; font-size: 17px; animation: yme-in .5s var(--ease); }
.yme-acc-b .yme-num { margin-bottom: 8px; }
.yme-acc-b .yme-small { margin-top: 14px; }
.yme-acc-b ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.yme-acc-b li { padding: 7px 0; border-bottom: 1px solid var(--line); }
@keyframes yme-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contacto ---------- */
.yme-contacto { background: var(--ink); color: var(--paper); padding-bottom: 32px; }
.yme-contacto .yme-num, .yme-contacto .yme-lead { color: #b9b4a9; }
.yme-contacto em { color: var(--accent); }
.yme-contact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(242, 239, 232, .16); border: 1px solid rgba(242, 239, 232, .16); margin-top: clamp(40px, 5vw, 72px); }
.yme-cbox { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px 54px; background: var(--ink); transition: background .3s; overflow: hidden; }
.yme-cbox span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #b9b4a9; }
.yme-cbox b { font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.01em; word-break: break-word; }
.yme-cbox i { position: absolute; right: 22px; bottom: 18px; font-style: normal; font-size: 22px; transition: transform .35s var(--ease); }
.yme-cbox:hover { background: #24231f; }
.yme-cbox:hover i { transform: translateX(6px); }
.yme-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(80px, 10vw, 150px); padding-top: 20px; border-top: 1px solid rgba(242, 239, 232, .16); font-size: 13px; color: #b9b4a9; }
.yme-foot a:hover { color: var(--paper); }

/* ---------- Revelado al hacer scroll ---------- */
.yme.js .yme-r { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.yme.js .yme-r.is-in { opacity: 1; transform: none; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 1080px) {
  .yme-clock { display: none; }
  .yme-contact-grid { grid-template-columns: 1fr 1fr; }
  .yme-list a { grid-template-columns: 40px 1.3fr 1fr 80px; }
  .yme-list .l { display: none; }
}
@media (max-width: 860px) {
  .yme-filters, .yme-filters > div { align-items: flex-start; justify-content: flex-start; }
  .yme-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .yme-nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    padding: 80px var(--gut) 40px; background: var(--paper); font-size: 34px; letter-spacing: -.02em;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .yme-nav a { color: var(--ink); align-self: flex-start; }
  .yme-nav a span { font-size: 12px; }
  .yme.menu-open .yme-nav { opacity: 1; visibility: visible; }
  .yme-burger { display: block; }
  .yme-head-r .yme-btn-sm { display: none; }
  .yme-hero { grid-template-columns: 1fr; padding-top: 100px; align-items: start; }
  .yme-hero-img { aspect-ratio: 4 / 3; order: -1; }
  .yme-scroll { display: none; }
  .yme-sec-head { grid-template-columns: 1fr; }
  .yme-list a { grid-template-columns: 34px 1fr auto; }
  .yme-list .c, .yme-list .l { display: none; }
  .yme-team { grid-template-columns: 1fr; }
  .yme-proceso { grid-template-columns: 1fr; }
  .yme-proceso-l { position: static; }
  .yme-step { grid-template-columns: 52px 1fr; }
  .yme-step-n { font-size: 34px; }
  .yme-acc summary { grid-template-columns: 1fr 30px; }
  .yme-acc summary .n { grid-column: 1 / -1; }
  .yme-acc-b { padding-left: 0; font-size: 16px; grid-template-columns: 1fr; }
  .yme { --card-h: 58vh; }
  .yme-float { display: none; }
}
@media (max-width: 520px) {
  .yme-contact-grid { grid-template-columns: 1fr; }
  .yme-team-img { aspect-ratio: 4 / 3; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .yme *, .yme *::before, .yme *::after { animation: none !important; transition: none !important; }
  .yme-line > span, .yme.js .yme-r { transform: none !important; opacity: 1 !important; }
  .yme-hero-img { clip-path: none !important; }
}

/* ==========================================================
   PÁGINAS DE OBRA
   El bloque .yme-obra va arriba de las fotos de cada página.
   El script marca la página con .yme-obra-page y lleva el pie al final.
   ========================================================== */
html.yme-has-obra, html.yme-has-obra body { background: #F2EFE8 !important; }
.yme-obra-page {
  --paper: #F2EFE8; --ink: #161614; --muted: #6E6A62; --line: rgba(22, 22, 20, .14); --accent: rgb(76, 153, 133);
  --gut: clamp(16px, 3.2vw, 48px);
  background: var(--paper); color: var(--ink);
}
.yme-obra-page img { display: block; }
.yme.yme-obra { overflow: visible; }
.yme-obra .yme-head { position: relative; transform: none !important; border-bottom-color: var(--line); }
.yme-obra-back { font-size: 14px; color: var(--muted); transition: color .2s; }
.yme-obra-back:hover { color: var(--ink); }
.yme-obra-hero { padding: clamp(64px, 9vw, 130px) var(--gut) clamp(40px, 5vw, 72px); }
.yme-obra-hero .yme-num { margin-bottom: 18px; }
.yme-obra-title { font-size: clamp(56px, 10vw, 170px); line-height: .9; font-weight: 500; letter-spacing: -.045em; }
.yme-obra-tag { display: inline-block; margin-top: 22px; font-size: 13px; color: var(--accent); }
.yme-obra-data { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); }
.yme-obra-data div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.yme-obra-data dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.yme-obra-data dd { margin: 0; font-size: clamp(16px, 1.3vw, 19px); }
.yme-obra-txt { margin-top: clamp(32px, 4vw, 56px); font-size: clamp(19px, 1.7vw, 26px); line-height: 1.3; letter-spacing: -.01em; max-width: 36em; }
.yme-obra-txt:empty { display: none; }

/* pie: obra siguiente */
.yme-obra-foot { display: block; margin: clamp(80px, 10vw, 140px) 0 0; padding: 0 var(--gut) 32px; font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; color: var(--ink); }
.yme-obra-next { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; padding: 28px 0 40px; border-top: 1px solid var(--ink); color: inherit !important; text-decoration: none !important; }
.yme-obra-next span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); grid-column: 1 / -1; }
.yme-obra-next b { font-size: clamp(44px, 8vw, 130px); line-height: .95; font-weight: 500; letter-spacing: -.04em; transition: color .3s; }
.yme-obra-next i { font-style: normal; font-size: clamp(32px, 5vw, 72px); transition: transform .4s cubic-bezier(.2, .7, .1, 1); }
.yme-obra-next:hover b { color: var(--accent); }
.yme-obra-next:hover i { transform: translateX(12px); }
.yme-obra-foot nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.yme-obra-foot nav a { color: inherit !important; text-decoration: none !important; }
.yme-obra-foot nav a:hover { color: var(--ink) !important; }

@media (max-width: 860px) {
  .yme-obra-data { grid-template-columns: 1fr 1fr; }
}
